commit
stringlengths
40
40
old_file
stringlengths
4
118
new_file
stringlengths
4
118
old_contents
stringlengths
0
2.94k
new_contents
stringlengths
1
4.43k
subject
stringlengths
15
444
message
stringlengths
16
3.45k
lang
stringclasses
1 value
license
stringclasses
13 values
repos
stringlengths
5
43.2k
prompt
stringlengths
17
4.58k
response
stringlengths
1
4.43k
prompt_tagged
stringlengths
58
4.62k
response_tagged
stringlengths
1
4.43k
text
stringlengths
132
7.29k
text_tagged
stringlengths
173
7.33k
8817481f758eeb0610b8c77fb9dd15dbdc37579b
setup.py
setup.py
from setuptools import setup exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', maintainer='Chris P', maintainer...
from setuptools import setup from setuptools import setup, find_packages exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', ...
Use `find_packages()` like all the cool kids do.
Use `find_packages()` like all the cool kids do.
Python
mit
plotly/python-api,plotly/python-api,plotly/python-api,plotly/plotly.py,ee-in/python-api,ee-in/python-api,ee-in/python-api,plotly/plotly.py,plotly/plotly.py
from setuptools import setup exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', maintainer='Chris P', maintainer...
from setuptools import setup from setuptools import setup, find_packages exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', ...
<commit_before>from setuptools import setup exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', maintainer='Chris P', ...
from setuptools import setup from setuptools import setup, find_packages exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', ...
from setuptools import setup exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', maintainer='Chris P', maintainer...
<commit_before>from setuptools import setup exec (open('plotly/version.py').read()) def readme(): with open('README.rst') as f: return f.read() setup(name='plotly', version=__version__, use_2to3=False, author='Chris P', author_email='chris@plot.ly', maintainer='Chris P', ...
3320bd5e5790433e9d45c6ee69d87a3ebef88939
setup.py
setup.py
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
Add pubsub dependency for tests
Add pubsub dependency for tests
Python
mit
amol-/tgext.socketio
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
<commit_before>from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO support for Tu...
<commit_before>from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.1" setup(name='tgext.socketio', version=version, description="SocketIO...
87ee89bfa404a81d704fe775031599de84686bbe
braid/base.py
braid/base.py
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
Install some more packages for trac.
Install some more packages for trac.
Python
mit
alex/braid,alex/braid
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
<commit_before>from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and e...
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and execute twis...
<commit_before>from __future__ import absolute_import from fabric.api import sudo, task, put from twisted.python.filepath import FilePath from braid import pypy, service, authbind, git, package, bazaar, postgres @task def bootstrap(): """ Prepare the machine to be able to correctly install, configure and e...
590a1684c7c073879d74240685fe5a304afacfdd
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, url="https:...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, long_descri...
Set description content type so it renders on PyPI
Set description content type so it renders on PyPI
Python
mit
mdowds/python-mock-firestore
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, url="https:...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, long_descri...
<commit_before>import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, ...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, long_descri...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, url="https:...
<commit_before>import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="mock-firestore", version="0.1.2", author="Matt Dowds", description="In-memory implementation of Google Cloud Firestore for use in tests", long_description=long_description, ...
b3533959e096f41c4dfad19d98bf43cb13bd070f
setup.py
setup.py
#!/usr/bin/env python # coding: utf-8 import re from setuptools import setup, find_packages setup( name='dictmixin', __version__=re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too open('dictmixin/__init__.py').read()).group(1), description='Parsing mixi...
#!/usr/bin/env python # coding: utf-8 import os import re from setuptools import setup, find_packages def load_required_modules(): with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: return [line.strip() for line in f.read().strip().split(os.linesep) if line.strip()] setup( ...
Fix bug `No module named yaml`
Fix bug `No module named yaml`
Python
mit
tadashi-aikawa/owlmixin
#!/usr/bin/env python # coding: utf-8 import re from setuptools import setup, find_packages setup( name='dictmixin', __version__=re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too open('dictmixin/__init__.py').read()).group(1), description='Parsing mixi...
#!/usr/bin/env python # coding: utf-8 import os import re from setuptools import setup, find_packages def load_required_modules(): with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: return [line.strip() for line in f.read().strip().split(os.linesep) if line.strip()] setup( ...
<commit_before>#!/usr/bin/env python # coding: utf-8 import re from setuptools import setup, find_packages setup( name='dictmixin', __version__=re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too open('dictmixin/__init__.py').read()).group(1), descriptio...
#!/usr/bin/env python # coding: utf-8 import os import re from setuptools import setup, find_packages def load_required_modules(): with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: return [line.strip() for line in f.read().strip().split(os.linesep) if line.strip()] setup( ...
#!/usr/bin/env python # coding: utf-8 import re from setuptools import setup, find_packages setup( name='dictmixin', __version__=re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too open('dictmixin/__init__.py').read()).group(1), description='Parsing mixi...
<commit_before>#!/usr/bin/env python # coding: utf-8 import re from setuptools import setup, find_packages setup( name='dictmixin', __version__=re.search( r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too open('dictmixin/__init__.py').read()).group(1), descriptio...
ac92bffbbc4b1c1f1fe4f56cd8600b38182e46a8
setup.py
setup.py
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
Add CONTRIBUTING file to package description
Add CONTRIBUTING file to package description
Python
mit
treyhunner/names,treyhunner/names
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
<commit_before>import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').rea...
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').read(), op...
<commit_before>import names from setuptools import setup, find_packages setup( name=names.__title__, version=names.__version__, author=names.__author__, url="https://github.com/treyhunner/names", description="Generate random names", long_description='\n\n'.join(( open('README.rst').rea...
08f501e3276811de7cedc52213c268cb6f1499cb
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', ] setup( name='djang...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', 'whoosh', ] setup( ...
Add whoosh as test dependancy
Add whoosh as test dependancy
Python
bsd-3-clause
WoLpH/django-sentry,WoLpH/django-sentry,tbarbugli/sentry_fork,WoLpH/django-sentry,tbarbugli/sentry_fork,tbarbugli/sentry_fork
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', ] setup( name='djang...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', 'whoosh', ] setup( ...
<commit_before>#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', ] setup( ...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', 'whoosh', ] setup( ...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', ] setup( name='djang...
<commit_before>#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages tests_require = [ 'django', 'django-celery', 'south', 'django-haystack', ] setup( ...
ab199d2cbaf72bb5a8c01e96582f726fdb5acbf5
setup.py
setup.py
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.2', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.3', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
Make 'pages' compatible with 'djangorestframework' 3.2
Make 'pages' compatible with 'djangorestframework' 3.2
Python
bsd-2-clause
incuna/feincms-pages-api
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.2', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.3', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
<commit_before>from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.2', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Lt...
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.3', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.2', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Ltd', author_...
<commit_before>from setuptools import find_packages, setup version = '1.1.0' install_requires = ( 'djangorestframework>=3.0.5,<3.2', 'FeinCMS>=1.9,<1.11', 'django-orderable>=2.0.1,<4', 'feincms-extensions>=0.1.0,<1', ) setup( name='feincms-pages-api', version=version, author='Incuna Lt...
fd50ce4b22b4f3d948a64ed400340c0fc744de49
src/waldur_core/core/migrations/0008_changeemailrequest_uuid.py
src/waldur_core/core/migrations/0008_changeemailrequest_uuid.py
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(), ), ]
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(null=True),...
Allow null values in UUID field.
Allow null values in UUID field.
Python
mit
opennode/nodeconductor-assembly-waldur,opennode/waldur-mastermind,opennode/nodeconductor-assembly-waldur,opennode/waldur-mastermind,opennode/waldur-mastermind,opennode/nodeconductor-assembly-waldur,opennode/waldur-mastermind
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(), ), ] Allow null valu...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(null=True),...
<commit_before>from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(), ), ] ...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(null=True),...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(), ), ] Allow null valu...
<commit_before>from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_changeemailrequest'), ] operations = [ migrations.AddField( model_name='changeemailrequest', name='uuid', field=models.UUIDField(), ), ] ...
a885ebda3774f9d81422a96265bde25f6a93e7bf
tasks.py
tasks.py
from invocations import docs from invocations.testing import test from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task @task(help={ 'pty': "Whether to run tests under a pseudo-tty", }) def integration(pty=True): """Runs integration tests.""" ...
from invocations import docs from invocations.testing import test, integration, watch_tests from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task ns = Collection(test, integration, watch_tests, release, docs) ns.configure({ 'tests': { 'pack...
Use invocations' integration task, also add watch_tests
Use invocations' integration task, also add watch_tests
Python
bsd-2-clause
bitprophet/releases
from invocations import docs from invocations.testing import test from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task @task(help={ 'pty': "Whether to run tests under a pseudo-tty", }) def integration(pty=True): """Runs integration tests.""" ...
from invocations import docs from invocations.testing import test, integration, watch_tests from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task ns = Collection(test, integration, watch_tests, release, docs) ns.configure({ 'tests': { 'pack...
<commit_before>from invocations import docs from invocations.testing import test from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task @task(help={ 'pty': "Whether to run tests under a pseudo-tty", }) def integration(pty=True): """Runs integrat...
from invocations import docs from invocations.testing import test, integration, watch_tests from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task ns = Collection(test, integration, watch_tests, release, docs) ns.configure({ 'tests': { 'pack...
from invocations import docs from invocations.testing import test from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task @task(help={ 'pty': "Whether to run tests under a pseudo-tty", }) def integration(pty=True): """Runs integration tests.""" ...
<commit_before>from invocations import docs from invocations.testing import test from invocations.packaging import release from invoke import Collection from invoke import run from invoke import task @task(help={ 'pty': "Whether to run tests under a pseudo-tty", }) def integration(pty=True): """Runs integrat...
49bed20629d4b2ef50026700b98694da4c2ce224
tasks.py
tasks.py
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
Add task for building docs
Add task for building docs
Python
mit
thebigmunch/gmusicapi-scripts
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
<commit_before># coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache'...
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
# coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache') run('rm -rf ...
<commit_before># coding=utf-8 """Useful task commands for development and maintenance.""" from invoke import run, task @task def clean(): """Clean the project directory of unwanted files and directories.""" run('rm -rf gmusicapi_scripts.egg-info') run('rm -rf .coverage') run('rm -rf .tox') run('rm -rf .cache'...
5641cfde8ddec78a8559705b81b78c3f18c46f8c
python/lazperf/__init__.py
python/lazperf/__init__.py
__version__='1.1.0' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
__version__='1.2.1' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
Change Python package version to 1.2.1
Change Python package version to 1.2.1
Python
lgpl-2.1
verma/laz-perf,verma/laz-perf,verma/laz-perf,abellgithub/laz-perf,hobu/laz-perf,abellgithub/laz-perf,hobu/laz-perf,abellgithub/laz-perf,hobu/laz-perf,verma/laz-perf,hobu/laz-perf,hobu/laz-perf,verma/laz-perf,abellgithub/laz-perf,abellgithub/laz-perf
__version__='1.1.0' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
__version__='1.2.1' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
<commit_before>__version__='1.1.0' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSch...
__version__='1.2.1' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
__version__='1.1.0' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSchema from .pylaz...
<commit_before>__version__='1.1.0' from .pylazperfapi import PyDecompressor as Decompressor from .pylazperfapi import PyCompressor as Compressor from .pylazperfapi import PyVLRDecompressor as VLRDecompressor from .pylazperfapi import PyVLRCompressor as VLRCompressor from .pylazperfapi import PyRecordSchema as RecordSch...
e24f89366a8a58a29d26f58b8f21aba437ec1566
tests/integration/runners/test_cache.py
tests/integration/runners/test_cache.py
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
Use a slightly more specific bank name
Use a slightly more specific bank name
Python
apache-2.0
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
<commit_before># -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ...
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
# -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ''' ...
<commit_before># -*- coding: utf-8 -*- ''' Tests for the salt-run command ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing libs import tests.integration as integration class ManageTest(integration.ShellCase): ''' Test the manage runner ''' def test_cache(self): ...
e32be307fd99c0d38b514385e0af2c257a50d50b
mining/urls.py
mining/urls.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/(?P<slug>[\w-]+)", DashboardHandler), (r"/", MainHandler), ]
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler from .views import ProcessWebSocketHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).ws", ProcessWebSocketHandler), (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/process/(?P<slug>[...
Add URL enter in dynamic process
Add URL enter in dynamic process
Python
mit
mining/mining,mlgruby/mining,jgabriellima/mining,mlgruby/mining,mlgruby/mining,chrisdamba/mining,seagoat/mining,chrisdamba/mining,AndrzejR/mining,avelino/mining,seagoat/mining,jgabriellima/mining,avelino/mining,mining/mining,AndrzejR/mining
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/(?P<slug>[\w-]+)", DashboardHandler), (r"/", MainHandler), ] Add URL enter in dynamic process
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler from .views import ProcessWebSocketHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).ws", ProcessWebSocketHandler), (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/process/(?P<slug>[...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/(?P<slug>[\w-]+)", DashboardHandler), (r"/", MainHandler), ] <commit_msg>Add URL enter in dynamic process<...
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler from .views import ProcessWebSocketHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).ws", ProcessWebSocketHandler), (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/process/(?P<slug>[...
#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/(?P<slug>[\w-]+)", DashboardHandler), (r"/", MainHandler), ] Add URL enter in dynamic process#!/usr/bin/env python # -*- ...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from .views import MainHandler, ProcessHandler, DashboardHandler INCLUDE_URLS = [ (r"/process/(?P<slug>[\w-]+).json", ProcessHandler), (r"/(?P<slug>[\w-]+)", DashboardHandler), (r"/", MainHandler), ] <commit_msg>Add URL enter in dynamic process<...
cafe4629666326fefab17784abac281e7fb226c7
examples/confluence-get-group-members.py
examples/confluence-get-group-members.py
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
Add other side of condition
Add other side of condition
Python
apache-2.0
MattAgile/atlassian-python-api,AstroTech/atlassian-python-api,AstroTech/atlassian-python-api
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
<commit_before># coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: re...
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
# coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: response = conflu...
<commit_before># coding: utf8 from atlassian import Confluence confluence = Confluence( url='http://localhost:8090', username='admin', password='admin') # this example related get all user from group e.g. group_name group_name = 'confluence-users' flag = True i = 0 limit = 50 result = [] while flag: re...
cb5f74d83f1ed5d655823b87d25ff031e9cb4bc8
test/test_utils.py
test/test_utils.py
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
Fix tests for human readable numbers
Fix tests for human readable numbers
Python
mit
crisbal/PlayStoreLinks_Bot
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
<commit_before>import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a ...
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a test!' ...
<commit_before>import unittest from LinkMeBot.utils import get_text_from_markdown, human_readable_download_number class TestUtils(unittest.TestCase): def test_get_text_from_markdown(self): markdown = '**test** [^this](https://google.com) ~~is~~ _a_ test! https://google.com' text = 'test this is a ...
1c61a731bf33ee25e1bc1725455978064c59748b
parkings/api/public/parking_area_statistics.py
parkings/api/public/parking_area_statistics.py
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_current_parking_count(self, area): ...
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea from ..common import WGS84InBBoxFilter class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_...
Add bbox to parking area statistics view set
Add bbox to parking area statistics view set
Python
mit
tuomas777/parkkihubi
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_current_parking_count(self, area): ...
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea from ..common import WGS84InBBoxFilter class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_...
<commit_before>from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_current_parking_count(sel...
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea from ..common import WGS84InBBoxFilter class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_...
from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_current_parking_count(self, area): ...
<commit_before>from django.utils import timezone from rest_framework import serializers, viewsets from parkings.models import Parking, ParkingArea class ParkingAreaStatisticsSerializer(serializers.ModelSerializer): current_parking_count = serializers.SerializerMethodField() def get_current_parking_count(sel...
2d811e0e7e7acf952df25c444d926aee7ef0d8fc
harvest/urls.py
harvest/urls.py
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve/?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel/?$', CancelJobView.as_view(), name = 'cancel_job' ), )
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel?$', CancelJobView.as_view(), name = 'cancel_job' ), )
Remove the tail slash from approce and cancel url
Remove the tail slash from approce and cancel url
Python
bsd-3-clause
rockychen-dpaw/borgcollector,parksandwildlife/borgcollector,rockychen-dpaw/borgcollector,parksandwildlife/borgcollector,rockychen-dpaw/borgcollector,parksandwildlife/borgcollector
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve/?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel/?$', CancelJobView.as_view(), name = 'cancel_job' ), ) Remove the t...
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel?$', CancelJobView.as_view(), name = 'cancel_job' ), )
<commit_before>from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve/?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel/?$', CancelJobView.as_view(), name = 'cancel_job' ), ...
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel?$', CancelJobView.as_view(), name = 'cancel_job' ), )
from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve/?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel/?$', CancelJobView.as_view(), name = 'cancel_job' ), ) Remove the t...
<commit_before>from django.conf.urls import patterns, url from harvest.views import ApproveJobView, CancelJobView urlpatterns = patterns('', url(r'^(?P<job_id>\d+)/approve/?$', ApproveJobView.as_view(), name = 'approve_job' ), url(r'^(?P<job_id>\d+)/cancel/?$', CancelJobView.as_view(), name = 'cancel_job' ), ...
5e3e3bea2c210d2b14873930dac5e98e4b813726
api/base/exceptions.py
api/base/exceptions.py
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
Use dictionary get() method to access 'detail'
Use dictionary get() method to access 'detail'
Python
apache-2.0
amyshi188/osf.io,haoyuchen1992/osf.io,leb2dg/osf.io,DanielSBrown/osf.io,mfraezz/osf.io,arpitar/osf.io,saradbowman/osf.io,felliott/osf.io,brandonPurvis/osf.io,SSJohns/osf.io,njantrania/osf.io,sloria/osf.io,mattclark/osf.io,icereval/osf.io,baylee-d/osf.io,crcresearch/osf.io,RomanZWang/osf.io,caneruguz/osf.io,amyshi188/os...
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
<commit_before> from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler...
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler(exc, context) ...
<commit_before> from rest_framework import status from rest_framework.exceptions import APIException def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ from rest_framework.views import exception_handler response = exception_handler...
367e025f5710301545bde09daf06cc2e5fe21510
nltk/test/unit/test_stem.py
nltk/test/unit/test_stem.py
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. stem...
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. ste...
Add stem test for spanish stemmer
Add stem test for spanish stemmer
Python
apache-2.0
nltk/nltk,nltk/nltk,nltk/nltk
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. stem...
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. ste...
<commit_before># -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemme...
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. ste...
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemmed. stem...
<commit_before># -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import unittest from nltk.stem.snowball import SnowballStemmer class SnowballTest(unittest.TestCase): def test_russian(self): # Russian words both consisting of Cyrillic # and Roman letters can be stemme...
e922f526ce95b8a992004df91b08bf466d9eea15
dbmigrator/cli.py
dbmigrator/cli.py
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { 'migrations_directo...
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { } def main(argv=s...
Remove default config path (development.ini)
Remove default config path (development.ini) Towards #1
Python
agpl-3.0
karenc/db-migrator
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { 'migrations_directo...
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { } def main(argv=s...
<commit_before># -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { 'mig...
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { } def main(argv=s...
# -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { 'migrations_directo...
<commit_before># -*- coding: utf-8 -*- # ### # Copyright (c) 2015, Rice University # This software is subject to the provisions of the GNU Affero General # Public License version 3 (AGPLv3). # See LICENCE.txt for details. # ### import argparse import os import sys from . import commands, utils DEFAULTS = { 'mig...
4539ebc92d59dd0388658fa482626185088222b8
tests.py
tests.py
from __future__ import unicode_literals from tqdm import format_interval, format_meter def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_meter(): assert format_meter(0, 1000, 13) ==...
from __future__ import unicode_literals from StringIO import StringIO import csv from tqdm import format_interval, format_meter, tqdm def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_m...
Test that tqdm fails when iterating over a csv file
Test that tqdm fails when iterating over a csv file
Python
mit
lrq3000/tqdm,kmike/tqdm
from __future__ import unicode_literals from tqdm import format_interval, format_meter def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_meter(): assert format_meter(0, 1000, 13) ==...
from __future__ import unicode_literals from StringIO import StringIO import csv from tqdm import format_interval, format_meter, tqdm def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_m...
<commit_before>from __future__ import unicode_literals from tqdm import format_interval, format_meter def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_meter(): assert format_meter(...
from __future__ import unicode_literals from StringIO import StringIO import csv from tqdm import format_interval, format_meter, tqdm def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_m...
from __future__ import unicode_literals from tqdm import format_interval, format_meter def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_meter(): assert format_meter(0, 1000, 13) ==...
<commit_before>from __future__ import unicode_literals from tqdm import format_interval, format_meter def test_format_interval(): assert format_interval(60) == '01:00' assert format_interval(6160) == '1:42:40' assert format_interval(238113) == '66:08:33' def test_format_meter(): assert format_meter(...
7c5cf5eb9b59a499ab480ea571cbb9d8203c1a79
tests/test_gdal.py
tests/test_gdal.py
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None') def test_gdal_...
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir, need_internet import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None')...
Mark gdal tests as requiring internet
Mark gdal tests as requiring internet
Python
bsd-2-clause
imageio/imageio
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None') def test_gdal_...
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir, need_internet import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None')...
<commit_before>""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None')...
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir, need_internet import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None')...
""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None') def test_gdal_...
<commit_before>""" Test gdal plugin functionality. """ import pytest from imageio.testing import run_tests_if_main, get_test_dir import imageio from imageio.core import get_remote_file test_dir = get_test_dir() try: from osgeo import gdal except ImportError: gdal = None @pytest.mark.skipif('gdal is None')...
54933f992af05ea3ac1edbb11e5873b9327a946e
script/lib/config.py
script/lib/config.py
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '55efd338101e08691560192b2be0f9c3b1b0eb72' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
Upgrade libchromiumcontent to fix icu symbols
Upgrade libchromiumcontent to fix icu symbols
Python
mit
JussMee15/electron,mrwizard82d1/electron,chriskdon/electron,seanchas116/electron,the-ress/electron,anko/electron,brenca/electron,kikong/electron,RobertJGabriel/electron,jacksondc/electron,etiktin/electron,arturts/electron,DivyaKMenon/electron,gerhardberger/electron,twolfson/electron,fffej/electron,mirrh/electron,Bionic...
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '55efd338101e08691560192b2be0f9c3b1b0eb72' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
<commit_before>#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win...
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '55efd338101e08691560192b2be0f9c3b1b0eb72' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win32': '32bit', }...
<commit_before>#!/usr/bin/env python import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[0], 'win...
b8839302c0a4d8ada99a695f8829027fa433e05e
zerver/migrations/0232_make_archive_transaction_field_not_nullable.py
zerver/migrations/0232_make_archive_transaction_field_not_nullable.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('zerver', '0231_add_archive_transaction_model'), ] operations = [ migrations.RunSQL("DELETE ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): """ Tables cannot have data deleted from them and be altered in a single transaction, but we need the DELETEs to be atomic togeth...
Fix migration making archive_transaction field not null.
retention: Fix migration making archive_transaction field not null. DELETing from archive tables and ALTERing ArchivedMessage needs to be split into separate transactions. zerver_archivedattachment_messages needs to be cleared out before zerver_archivedattachment.
Python
apache-2.0
eeshangarg/zulip,shubhamdhama/zulip,zulip/zulip,brainwane/zulip,synicalsyntax/zulip,eeshangarg/zulip,andersk/zulip,hackerkid/zulip,hackerkid/zulip,timabbott/zulip,zulip/zulip,timabbott/zulip,synicalsyntax/zulip,tommyip/zulip,tommyip/zulip,rht/zulip,andersk/zulip,rishig/zulip,rht/zulip,timabbott/zulip,brainwane/zulip,ee...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('zerver', '0231_add_archive_transaction_model'), ] operations = [ migrations.RunSQL("DELETE ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): """ Tables cannot have data deleted from them and be altered in a single transaction, but we need the DELETEs to be atomic togeth...
<commit_before># -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('zerver', '0231_add_archive_transaction_model'), ] operations = [ migrations....
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): """ Tables cannot have data deleted from them and be altered in a single transaction, but we need the DELETEs to be atomic togeth...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('zerver', '0231_add_archive_transaction_model'), ] operations = [ migrations.RunSQL("DELETE ...
<commit_before># -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('zerver', '0231_add_archive_transaction_model'), ] operations = [ migrations....
a8974f140158d27ff2b3c6cf0d38829109244bed
future/builtins/__init__.py
future/builtins/__init__.py
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
Enable backported ``int`` in future.builtins
Enable backported ``int`` in future.builtins
Python
mit
michaelpacer/python-future,krischer/python-future,PythonCharmers/python-future,krischer/python-future,PythonCharmers/python-future,QuLogic/python-future,michaelpacer/python-future,QuLogic/python-future
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
<commit_before>""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.it...
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.iterators import ...
<commit_before>""" A module that brings in equivalents of the new and modified Python 3 builtins into Py2. Has no effect on Py3. See the docs for these modules for more information:: - future.builtins.iterators - future.builtins.backports - future.builtins.misc - future.builtins.disabled """ from future.builtins.it...
b2c90df01d86488b1dece173b6bb6b0afa0fbdcf
src/binder/db_sqlite.py
src/binder/db_sqlite.py
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only=False): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
Make SqliteConnection read_only parameter optional
Make SqliteConnection read_only parameter optional
Python
mit
divtxt/binder
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only=False): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
<commit_before> import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dbe...
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only=False): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dberror, ...
<commit_before> import sqlite3 from binder.conn import Connection from binder.sqlgen import DIALECT_SQLITE class SqliteConnection(Connection): def __init__(self, dbfile, read_only): dbconn = sqlite3.connect(dbfile) dberror = sqlite3.Error Connection.__init__( self, dbconn, dbe...
2a7322104eb4222517f8a1167597104c5daab0bc
notes-cli.py
notes-cli.py
import argparse import yaml from os.path import expanduser def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", choices=["ls", "add", "rm", "edit", "view", "reinde...
import argparse import yaml import os from os.path import expanduser, isdir import whoosh.index as ix from whoosh.fields import * def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", ...
Create or load index directory
Create or load index directory
Python
mit
phss/notes-cli
import argparse import yaml from os.path import expanduser def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", choices=["ls", "add", "rm", "edit", "view", "reinde...
import argparse import yaml import os from os.path import expanduser, isdir import whoosh.index as ix from whoosh.fields import * def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", ...
<commit_before>import argparse import yaml from os.path import expanduser def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", choices=["ls", "add", "rm", "edit", ...
import argparse import yaml import os from os.path import expanduser, isdir import whoosh.index as ix from whoosh.fields import * def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", ...
import argparse import yaml from os.path import expanduser def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", choices=["ls", "add", "rm", "edit", "view", "reinde...
<commit_before>import argparse import yaml from os.path import expanduser def load_config_from(path): with open(expanduser(path)) as file: return yaml.load(file) def parse_options(): parser = argparse.ArgumentParser() parser.add_argument("command", choices=["ls", "add", "rm", "edit", ...
8b0c1fc8d06a4561b9241a92162a24a4df0efa34
viper.py
viper.py
#!/usr/bin/env python3 from viper.interactive import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_argument('-S', '--interactive-sppf', action='store_true', help='lex...
#!/usr/bin/env python3 from viper.interactive import * from viper.lexer import lex_file from viper.grammar import GRAMMAR if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_...
Allow direct SPPF generation from interactive script
Allow direct SPPF generation from interactive script
Python
apache-2.0
pdarragh/Viper
#!/usr/bin/env python3 from viper.interactive import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_argument('-S', '--interactive-sppf', action='store_true', help='lex...
#!/usr/bin/env python3 from viper.interactive import * from viper.lexer import lex_file from viper.grammar import GRAMMAR if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_...
<commit_before>#!/usr/bin/env python3 from viper.interactive import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_argument('-S', '--interactive-sppf', action='store_t...
#!/usr/bin/env python3 from viper.interactive import * from viper.lexer import lex_file from viper.grammar import GRAMMAR if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_...
#!/usr/bin/env python3 from viper.interactive import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_argument('-S', '--interactive-sppf', action='store_true', help='lex...
<commit_before>#!/usr/bin/env python3 from viper.interactive import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-L', '--interactive-lexer', action='store_true', help='lexes input') parser.add_argument('-S', '--interactive-sppf', action='store_t...
3598313c087651a85dce5e31d9fdc227dea0ccf4
binary-search.py
binary-search.py
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element in array high = len(arr) - 1 # last item in array while low <= high: # iterate through "entire" array middle = (low + high)/2 if arr[middl...
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element position in array high = len(arr) - 1 # last element position in array while low <= high: # iterate through "entire" array middle = (low + hi...
Add test cases for python implementation of binary search function
Add test cases for python implementation of binary search function
Python
mit
derekmpham/interview-prep,derekmpham/interview-prep
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element in array high = len(arr) - 1 # last item in array while low <= high: # iterate through "entire" array middle = (low + high)/2 if arr[middl...
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element position in array high = len(arr) - 1 # last element position in array while low <= high: # iterate through "entire" array middle = (low + hi...
<commit_before># iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element in array high = len(arr) - 1 # last item in array while low <= high: # iterate through "entire" array middle = (low + high)/2 ...
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element position in array high = len(arr) - 1 # last element position in array while low <= high: # iterate through "entire" array middle = (low + hi...
# iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element in array high = len(arr) - 1 # last item in array while low <= high: # iterate through "entire" array middle = (low + high)/2 if arr[middl...
<commit_before># iterative approach to binary search function (assume list has distinct elements and elements are in ascending order) def binary_search(arr, data): low = 0 # first element in array high = len(arr) - 1 # last item in array while low <= high: # iterate through "entire" array middle = (low + high)/2 ...
1468d6e257d4f22f803549606cbd3e3245c2ce37
redash/utils/comparators.py
redash/utils/comparators.py
from sqlalchemy import func from sqlalchemy.ext.hybrid import Comparator class CaseInsensitiveComparator(Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other)
from sqlalchemy import String class CaseInsensitiveComparator(String.Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other)
Change CaseInsensitiveComparator to support all operations.
Change CaseInsensitiveComparator to support all operations.
Python
bsd-2-clause
moritz9/redash,44px/redash,getredash/redash,alexanderlz/redash,alexanderlz/redash,moritz9/redash,44px/redash,44px/redash,denisov-vlad/redash,getredash/redash,getredash/redash,denisov-vlad/redash,getredash/redash,denisov-vlad/redash,chriszs/redash,denisov-vlad/redash,44px/redash,alexanderlz/redash,getredash/redash,chris...
from sqlalchemy import func from sqlalchemy.ext.hybrid import Comparator class CaseInsensitiveComparator(Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other) Change CaseInsensitiveComparator to support all operations.
from sqlalchemy import String class CaseInsensitiveComparator(String.Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other)
<commit_before>from sqlalchemy import func from sqlalchemy.ext.hybrid import Comparator class CaseInsensitiveComparator(Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other) <commit_msg>Change CaseInsensitiveComparator to support all operations.<commit_aft...
from sqlalchemy import String class CaseInsensitiveComparator(String.Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other)
from sqlalchemy import func from sqlalchemy.ext.hybrid import Comparator class CaseInsensitiveComparator(Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other) Change CaseInsensitiveComparator to support all operations.from sqlalchemy import String class ...
<commit_before>from sqlalchemy import func from sqlalchemy.ext.hybrid import Comparator class CaseInsensitiveComparator(Comparator): def __eq__(self, other): return func.lower(self.__clause_element__()) == func.lower(other) <commit_msg>Change CaseInsensitiveComparator to support all operations.<commit_aft...
566e68d3b06d3aaba796f0cda57a42bb12cf6d79
celery/__init__.py
celery/__init__.py
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta from celery.decorators import task from celery.task.base import Task, PeriodicTask from celery....
Make decorators.task, Task, PeriodicTask, apply* available from celery.py
Make decorators.task, Task, PeriodicTask, apply* available from celery.py
Python
bsd-3-clause
cbrepo/celery,WoLpH/celery,ask/celery,mitsuhiko/celery,cbrepo/celery,mitsuhiko/celery,frac/celery,frac/celery,ask/celery,WoLpH/celery
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta Make decorators.task, Task, PeriodicTask, apply* available from celery.py
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta from celery.decorators import task from celery.task.base import Task, PeriodicTask from celery....
<commit_before>"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta <commit_msg>Make decorators.task, Task, PeriodicTask, apply* available from celer...
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta from celery.decorators import task from celery.task.base import Task, PeriodicTask from celery....
"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta Make decorators.task, Task, PeriodicTask, apply* available from celery.py"""Distributed Task Que...
<commit_before>"""Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta <commit_msg>Make decorators.task, Task, PeriodicTask, apply* available from celer...
3f87d22624a5a27fdca2f82103aff6bda6491c70
caribou/antler/antler_settings.py
caribou/antler/antler_settings.py
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
Add "full scale" to antler settings.
Add "full scale" to antler settings.
Python
lgpl-2.1
GNOME/caribou,GNOME/caribou,GNOME/caribou
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
<commit_before>from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ ...
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ StringSett...
<commit_before>from caribou.settings.setting_types import * from caribou.i18n import _ AntlerSettings = SettingsTopGroup( _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler", [SettingsGroup("antler", _("Antler"), [ SettingsGroup("appearance", _("Appearance"), [ ...
66602e67c06266735b58fd2bee8b55b7cac401b1
archive/archive_report_ingest_status/src/test_archive_report_ingest_status.py
archive/archive_report_ingest_status/src/test_archive_report_ingest_status.py
# -*- encoding: utf-8 -*- import uuid import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'request_method': '...
# -*- encoding: utf-8 -*- import uuid import pytest import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'req...
Add a test that a non-GET method is rejected
Add a test that a non-GET method is rejected
Python
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
# -*- encoding: utf-8 -*- import uuid import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'request_method': '...
# -*- encoding: utf-8 -*- import uuid import pytest import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'req...
<commit_before># -*- encoding: utf-8 -*- import uuid import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'req...
# -*- encoding: utf-8 -*- import uuid import pytest import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'req...
# -*- encoding: utf-8 -*- import uuid import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'request_method': '...
<commit_before># -*- encoding: utf-8 -*- import uuid import archive_report_ingest_status as report_ingest_status def test_get_returns_status(dynamodb_resource, table_name): guid = str(uuid.uuid4()) table = dynamodb_resource.Table(table_name) table.put_item(Item={'id': guid}) event = { 'req...
342c1c70e2fbf13bea87792b6a289f830fb95692
letsencryptae/models.py
letsencryptae/models.py
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() def __unicode__(self): return self.url_slug def clean(self, *args, **k...
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() class Meta(object): ordering = ('-created',) def __unicode__(self): ...
Order Secret objects by `created` date.
Order Secret objects by `created` date.
Python
mit
adamalton/letsencrypt-appengine
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() def __unicode__(self): return self.url_slug def clean(self, *args, **k...
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() class Meta(object): ordering = ('-created',) def __unicode__(self): ...
<commit_before># THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() def __unicode__(self): return self.url_slug def clean(s...
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() class Meta(object): ordering = ('-created',) def __unicode__(self): ...
# THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() def __unicode__(self): return self.url_slug def clean(self, *args, **k...
<commit_before># THIRD PARTY from djangae.fields import CharField from django.db import models class Secret(models.Model): created = models.DateTimeField(auto_now_add=True) url_slug = CharField(primary_key=True) secret = CharField() def __unicode__(self): return self.url_slug def clean(s...
a827279098ab2ef73778b15a76f738fedce9ed30
tests.py
tests.py
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
Add a test case for test.echo
Add a test case for test.echo
Python
mit
ryanshawty/linode-python,tjfontaine/linode-python
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
<commit_before>import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isin...
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isinstance(availabl...
<commit_before>import api import unittest import os from getpass import getpass class ApiTest(unittest.TestCase): def setUp(self): self.linode = api.Api(os.environ['LINODE_API_KEY']) def testAvailLinodeplans(self): available_plans = self.linode.avail_linodeplans() self.assertTrue(isin...
08da651286cf7ac8459a059a01831f75c08f80a7
alltests.py
alltests.py
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call("nosetests") if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call("make", "doctest")
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call(["nosetests"]) if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call(["make", "doctest"])
Fix invocation of subprocess.call to pass arguments as a list - makes doctests run again.
Fix invocation of subprocess.call to pass arguments as a list - makes doctests run again.
Python
mit
restpose/restpose-py,restpose/restpose-py
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call("nosetests") if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call("make", "doctest") Fix invocation of...
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call(["nosetests"]) if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call(["make", "doctest"])
<commit_before>#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call("nosetests") if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call("make", "doctest") <c...
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call(["nosetests"]) if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call(["make", "doctest"])
#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call("nosetests") if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call("make", "doctest") Fix invocation of...
<commit_before>#!/usr/bin/env python # Run all tests import os import subprocess import sys topdir = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) os.chdir(topdir) retcode = subprocess.call("nosetests") if not retcode: os.chdir(os.path.join(topdir, "docs")) subprocess.call("make", "doctest") <c...
2fcd13435d04622c7ec0915a77efb390ea9c09b1
rcstreamlistener.py
rcstreamlistener.py
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_change(self, change): ...
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace import template_adder urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_cha...
Use if/else instead of try/except
Use if/else instead of try/except
Python
mit
piagetbot/enwikibot
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_change(self, change): ...
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace import template_adder urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_cha...
<commit_before># rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_change(sel...
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace import template_adder urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_cha...
# rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_change(self, change): ...
<commit_before># rcstreamlistener.py import urllib3.contrib.pyopenssl import logging from ipaddress import ip_address from socketIO_client import SocketIO, BaseNamespace urllib3.contrib.pyopenssl.inject_into_urllib3() logging.basicConfig(level=logging.WARNING) class MainNamespace(BaseNamespace): def on_change(sel...
7f1109d38f9bc2f973410f071c97ad874dd6cb0d
minicps/topology.py
minicps/topology.py
""" Recreate the SWaT network with the highest level of precision. """ from mininet.net import Mininet from mininet.topo import Topo from minicps import constants as c class EthRing(Topo): """Docstring for EthRing. """ def __init__(self): """TODO: to be defined1. """ Topo.__init__(self) ...
""" Recreate the SWaT network with the highest level of precision. DMZ AP, L3, L2 L1 wireless star networks and L0 wireless DLR cannot be simulated because miniet lacks wireless (IEEE 802.11) simulation support. """ from mininet.net import Mininet from mininet.topo import Topo # from minicps import constants as c ...
Add swat network layers class.
Add swat network layers class.
Python
mit
scy-phy/minicps,scy-phy/minicps,remmihsorp/minicps,remmihsorp/minicps
""" Recreate the SWaT network with the highest level of precision. """ from mininet.net import Mininet from mininet.topo import Topo from minicps import constants as c class EthRing(Topo): """Docstring for EthRing. """ def __init__(self): """TODO: to be defined1. """ Topo.__init__(self) ...
""" Recreate the SWaT network with the highest level of precision. DMZ AP, L3, L2 L1 wireless star networks and L0 wireless DLR cannot be simulated because miniet lacks wireless (IEEE 802.11) simulation support. """ from mininet.net import Mininet from mininet.topo import Topo # from minicps import constants as c ...
<commit_before>""" Recreate the SWaT network with the highest level of precision. """ from mininet.net import Mininet from mininet.topo import Topo from minicps import constants as c class EthRing(Topo): """Docstring for EthRing. """ def __init__(self): """TODO: to be defined1. """ Topo.__i...
""" Recreate the SWaT network with the highest level of precision. DMZ AP, L3, L2 L1 wireless star networks and L0 wireless DLR cannot be simulated because miniet lacks wireless (IEEE 802.11) simulation support. """ from mininet.net import Mininet from mininet.topo import Topo # from minicps import constants as c ...
""" Recreate the SWaT network with the highest level of precision. """ from mininet.net import Mininet from mininet.topo import Topo from minicps import constants as c class EthRing(Topo): """Docstring for EthRing. """ def __init__(self): """TODO: to be defined1. """ Topo.__init__(self) ...
<commit_before>""" Recreate the SWaT network with the highest level of precision. """ from mininet.net import Mininet from mininet.topo import Topo from minicps import constants as c class EthRing(Topo): """Docstring for EthRing. """ def __init__(self): """TODO: to be defined1. """ Topo.__i...
cf6e7bdbd9ec6968be8767f1bbcab09de6f8aace
codekitlang/command.py
codekitlang/command.py
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
Add interface to interpreter's "-m" option.
Add interface to interpreter's "-m" option.
Python
bsd-3-clause
gjo/python-codekitlang,gjo/python-codekitlang
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
<commit_before># -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framew...
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
# -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framework-paths', '-f...
<commit_before># -*- coding: utf-8 -*- import argparse from . import compiler def main(): parser = argparse.ArgumentParser(description='CodeKit Language Compiler.') parser.add_argument('src', nargs=1, metavar='SOURCE') parser.add_argument('dest', nargs=1, metavar='DEST') parser.add_argument('--framew...
a2f338d06f097d3446627dcbc9b0d727951fcf56
tilezilla/multiprocess.py
tilezilla/multiprocess.py
""" Multiprocess helpers """ class SerialExecutor(object): """ Make regular old 'map' look like :mod:`futures.concurrent` """ map = map def get_executor(executor, njob): """ Return an instance of a execution mapper Args: executor (str): Name of execution method to return njob (i...
""" Multiprocess helpers """ # LOGGING FOR MULTIPROCESSING MULTIPROC_LOG_FORMAT = '%(asctime)s:%(hostname)s:%(process)d:%(levelname)s:%(message)s' # noqa MULTIPROC_LOG_DATE_FORMAT = '%H:%M:%S' def get_logger_multiproc(name=None, filename='', stream='stdout'): """ Return a logger configured/styled for multi-proce...
Add func to return logger configured for multiproc
Add func to return logger configured for multiproc
Python
bsd-3-clause
ceholden/tilezilla,ceholden/landsat_tile,ceholden/landsat_tile,ceholden/landsat_tiles,ceholden/landsat_tiles
""" Multiprocess helpers """ class SerialExecutor(object): """ Make regular old 'map' look like :mod:`futures.concurrent` """ map = map def get_executor(executor, njob): """ Return an instance of a execution mapper Args: executor (str): Name of execution method to return njob (i...
""" Multiprocess helpers """ # LOGGING FOR MULTIPROCESSING MULTIPROC_LOG_FORMAT = '%(asctime)s:%(hostname)s:%(process)d:%(levelname)s:%(message)s' # noqa MULTIPROC_LOG_DATE_FORMAT = '%H:%M:%S' def get_logger_multiproc(name=None, filename='', stream='stdout'): """ Return a logger configured/styled for multi-proce...
<commit_before>""" Multiprocess helpers """ class SerialExecutor(object): """ Make regular old 'map' look like :mod:`futures.concurrent` """ map = map def get_executor(executor, njob): """ Return an instance of a execution mapper Args: executor (str): Name of execution method to return ...
""" Multiprocess helpers """ # LOGGING FOR MULTIPROCESSING MULTIPROC_LOG_FORMAT = '%(asctime)s:%(hostname)s:%(process)d:%(levelname)s:%(message)s' # noqa MULTIPROC_LOG_DATE_FORMAT = '%H:%M:%S' def get_logger_multiproc(name=None, filename='', stream='stdout'): """ Return a logger configured/styled for multi-proce...
""" Multiprocess helpers """ class SerialExecutor(object): """ Make regular old 'map' look like :mod:`futures.concurrent` """ map = map def get_executor(executor, njob): """ Return an instance of a execution mapper Args: executor (str): Name of execution method to return njob (i...
<commit_before>""" Multiprocess helpers """ class SerialExecutor(object): """ Make regular old 'map' look like :mod:`futures.concurrent` """ map = map def get_executor(executor, njob): """ Return an instance of a execution mapper Args: executor (str): Name of execution method to return ...
f0af944db962bdb8ea764737860ce9168f779977
perfkitbenchmarker/linux_packages/azure_credentials.py
perfkitbenchmarker/linux_packages/azure_credentials.py
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
Fix a bug in the Azure credentials package in which they would overwrite the directory.
Fix a bug in the Azure credentials package in which they would overwrite the directory. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248750675
Python
apache-2.0
GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
<commit_before># Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
<commit_before># Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
6250427143245676a5efd7e5c55054b5b3a285fd
src/pushover_complete/__init__.py
src/pushover_complete/__init__.py
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
Add URL for project to the project metadata
Add URL for project to the project metadata
Python
mit
scolby33/pushover_complete
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
<commit_before>"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'push...
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'pushover_complete' ...
<commit_before>"""A Python 3 package for interacting with *all* aspects of the Pushover API""" from .error import PushoverCompleteError, BadAPIRequestError from .pushover_api import PushoverAPI __all__ = [ 'PushoverCompleteError', 'BadAPIRequestError', 'PushoverAPI' ] __version__ = '0.0.1' __title__ = 'push...
8ff455e9eb0f7cbf80f1ac631a5aa7e98f8935af
mysite/project/controllers.py
mysite/project/controllers.py
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
Revert "Do not assume all answers in our session are valid."
Revert "Do not assume all answers in our session are valid." This reverts commit 0f7e535d645086f9c29e77e28588a3165f7bb2b8.
Python
agpl-3.0
moijes12/oh-mainline,nirmeshk/oh-mainline,mzdaniel/oh-mainline,moijes12/oh-mainline,mzdaniel/oh-mainline,heeraj123/oh-mainline,eeshangarg/oh-mainline,SnappleCap/oh-mainline,campbe13/openhatch,ojengwa/oh-mainline,mzdaniel/oh-mainline,onceuponatimeforever/oh-mainline,ehashman/oh-mainline,willingc/oh-mainline,ojengwa/oh-m...
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
<commit_before>import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session...
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session, answer_id, KE...
<commit_before>import mysite.search.models import logging KEY='answer_ids_that_are_ours' def similar_project_names(project_name): # HOPE: One day, order this by relevance. return mysite.search.models.Project.objects.filter( name__icontains=project_name) def note_in_session_we_control_answer_id(session...
546140bee689fc63361977dafa600022396606e7
audio_train.py
audio_train.py
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
Add train config to audio train
Add train config to audio train
Python
apache-2.0
israelg99/eva
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
<commit_before>#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data...
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data RATE, DATA = s...
<commit_before>#%% Setup. import numpy as np import scipy.io.wavfile from keras.utils.visualize_util import plot from keras.callbacks import TensorBoard, ModelCheckpoint from keras.utils import np_utils from eva.models.wavenet import Wavenet, compute_receptive_field from eva.util.mutil import sparse_labels #%% Data...
b7077a85956cae3efb2ec1b2f474735cf6e8c4ed
csv_converter.py
csv_converter.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False def set_deb...
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv import warnings class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False ...
Remove debug and use warngins
Remove debug and use warngins
Python
mit
stormaaja/csvconverter,stormaaja/csvconverter,stormaaja/csvconverter
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False def set_deb...
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv import warnings class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False ...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- import csv class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv import warnings class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False def set_deb...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- import csv class CsvConverter: def __init__(self, csv_file_path): self.csv_file_path = csv_file_path self.rows = [] self.source_product_code = "product_code" self.source_quantity = "quantity" self.debug = False ...
fd5674a1b36498e5d3a597203c180ded8c57d058
morph_proxy.py
morph_proxy.py
# Run this with mitmdump -q -s morph_proxy.py def request(context, flow): # print out all the basic information to determine what request is being made # coming from which container # print flow.request.method # print flow.request.host # print flow.request.path # print flow.request.scheme # print flow.re...
# Run this with mitmdump -q -s morph_proxy.py def response(context, flow): text = flow.request.method + " " + flow.request.scheme + "://" + flow.request.host + flow.request.path + " FROM " + flow.request.client_conn.address[0] + " REQUEST SIZE " + str(len(flow.request.content)) + " RESPONSE SIZE " + str(len(flow.res...
Add request and response size
Add request and response size
Python
agpl-3.0
otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,OpenAddressesUK/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,OpenAddressesUK/morph,openaustralia/morph,OpenAddressesUK/morph,openaustralia/morph,openaustralia/morph,OpenAddr...
# Run this with mitmdump -q -s morph_proxy.py def request(context, flow): # print out all the basic information to determine what request is being made # coming from which container # print flow.request.method # print flow.request.host # print flow.request.path # print flow.request.scheme # print flow.re...
# Run this with mitmdump -q -s morph_proxy.py def response(context, flow): text = flow.request.method + " " + flow.request.scheme + "://" + flow.request.host + flow.request.path + " FROM " + flow.request.client_conn.address[0] + " REQUEST SIZE " + str(len(flow.request.content)) + " RESPONSE SIZE " + str(len(flow.res...
<commit_before># Run this with mitmdump -q -s morph_proxy.py def request(context, flow): # print out all the basic information to determine what request is being made # coming from which container # print flow.request.method # print flow.request.host # print flow.request.path # print flow.request.scheme ...
# Run this with mitmdump -q -s morph_proxy.py def response(context, flow): text = flow.request.method + " " + flow.request.scheme + "://" + flow.request.host + flow.request.path + " FROM " + flow.request.client_conn.address[0] + " REQUEST SIZE " + str(len(flow.request.content)) + " RESPONSE SIZE " + str(len(flow.res...
# Run this with mitmdump -q -s morph_proxy.py def request(context, flow): # print out all the basic information to determine what request is being made # coming from which container # print flow.request.method # print flow.request.host # print flow.request.path # print flow.request.scheme # print flow.re...
<commit_before># Run this with mitmdump -q -s morph_proxy.py def request(context, flow): # print out all the basic information to determine what request is being made # coming from which container # print flow.request.method # print flow.request.host # print flow.request.path # print flow.request.scheme ...
c8cac2a2c1b42fde675b166272729c74c2c42cdc
x.py
x.py
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys rust_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) import bootstrap bootstrap.main()
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys # If this is python2, check if python3 is available and re-execute with that # interpreter. if sys.version_info.major < 3: try: # On Windows, `py -3` sometimes works. # Try this ...
Choose the version of python at runtime (portable version)
Choose the version of python at runtime (portable version) - Try `py -3` first for windows compatibility - Fall back to `python3` if `py` doesn't work
Python
apache-2.0
aidancully/rust,graydon/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys rust_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) import bootstrap bootstrap.main() Choose the version of python at runtime (portable ...
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys # If this is python2, check if python3 is available and re-execute with that # interpreter. if sys.version_info.major < 3: try: # On Windows, `py -3` sometimes works. # Try this ...
<commit_before>#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys rust_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) import bootstrap bootstrap.main() <commit_msg>Choose the version of p...
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys # If this is python2, check if python3 is available and re-execute with that # interpreter. if sys.version_info.major < 3: try: # On Windows, `py -3` sometimes works. # Try this ...
#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys rust_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) import bootstrap bootstrap.main() Choose the version of python at runtime (portable ...
<commit_before>#!/usr/bin/env python # This file is only a "symlink" to bootstrap.py, all logic should go there. import os import sys rust_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) import bootstrap bootstrap.main() <commit_msg>Choose the version of p...
f707daae978f6fb7c8b5cc8f66cac2820097ebde
attack.py
attack.py
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hello!!!"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() #import pdb #pdb.set_trace() print hexCiphertext proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.communicate()[0] print output
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hellooooworlddd"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() import pdb pdb.set_trace() print hexCiphertext print str(len(hexCiphertext)/16)+" blocks" proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.commun...
Make a sixteen byte plaintext
Make a sixteen byte plaintext
Python
mit
somethingnew2-0/CS642-HW4,somethingnew2-0/CS642-HW4
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hello!!!"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() #import pdb #pdb.set_trace() print hexCiphertext proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.communicate()[0] print output Make a sixteen byte pl...
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hellooooworlddd"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() import pdb pdb.set_trace() print hexCiphertext print str(len(hexCiphertext)/16)+" blocks" proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.commun...
<commit_before>from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hello!!!"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() #import pdb #pdb.set_trace() print hexCiphertext proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.communicate()[0] print output <commit...
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hellooooworlddd"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() import pdb pdb.set_trace() print hexCiphertext print str(len(hexCiphertext)/16)+" blocks" proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.commun...
from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hello!!!"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() #import pdb #pdb.set_trace() print hexCiphertext proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.communicate()[0] print output Make a sixteen byte pl...
<commit_before>from subprocess import Popen, PIPE proc = Popen(["./badencrypt.py", "hello!!!"],stdout=PIPE) hexCiphertext = proc.communicate()[0].strip() #import pdb #pdb.set_trace() print hexCiphertext proc = Popen(["./baddecrypt.py", hexCiphertext],stdout=PIPE) output = proc.communicate()[0] print output <commit...
d37237779e6e2a7ed1df9a9ea83e93df2cf2b478
elifetools/tests/fixtures/test_pub_history/content_01_expected.py
elifetools/tests/fixtures/test_pub_history/content_01_expected.py
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
Change the date key to non-unicode in the test fixture.
Change the date key to non-unicode in the test fixture.
Python
mit
elifesciences/elife-tools,elifesciences/elife-tools
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
<commit_before>from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/...
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/2017/03/24/1183...
<commit_before>from collections import OrderedDict from elifetools.utils import date_struct expected = [ OrderedDict([ ('event_type', 'preprint-publication'), ('event_desc', 'This article was originally published as a <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/early/...
56116d198ea9fea6d9753c412fff550876e17196
setup.py
setup.py
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
Update to read README.md for the long description
Update to read README.md for the long description
Python
mit
tistaharahap/yify-python
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
<commit_before>from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to in...
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to interact with Yif...
<commit_before>from distutils.core import setup setup( name='Yify', version='0.1.0', author='Batista Harahap', author_email='batista@bango29.com', packages=['yify'], url='https://github.com/tistaharahap/yify-python', license='LICENSE', description='Yify provides a Python interface to in...
6ab12eb503bbe2eddc1eb419398082dffeb335d5
setup.py
setup.py
from setuptools import setup, find_packages VERSION = (1, 4, 13) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesettin...
from setuptools import setup, find_packages VERSION = (1, 6, 0) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesetting...
Add django-keyedcache as a requirement
Add django-keyedcache as a requirement
Python
bsd-3-clause
pjrobertson/dj-livesettings
from setuptools import setup, find_packages VERSION = (1, 4, 13) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesettin...
from setuptools import setup, find_packages VERSION = (1, 6, 0) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesetting...
<commit_before>from setuptools import setup, find_packages VERSION = (1, 4, 13) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'dj...
from setuptools import setup, find_packages VERSION = (1, 6, 0) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesetting...
from setuptools import setup, find_packages VERSION = (1, 4, 13) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'django-livesettin...
<commit_before>from setuptools import setup, find_packages VERSION = (1, 4, 13) # Dynamically calculate the version based on VERSION tuple if len(VERSION)>2 and VERSION[2] is not None: str_version = "%d.%d_%s" % VERSION[:3] else: str_version = "%d.%d" % VERSION[:2] version= str_version setup( name = 'dj...
a5f1e3d6120672b24f4ec4445b7d34003a739cdd
setup.py
setup.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
Revert "Freeze mozlog version because of proposed API changes."
Revert "Freeze mozlog version because of proposed API changes." This reverts commit 932b9d0b8e432ec1a7ff175c8716c8948b0beddd.
Python
mpl-2.0
oouyang/fxos-certsuite,ShakoHo/fxos-certsuite,mozilla-b2g/fxos-certsuite,oouyang/fxos-certsuite,Conjuror/fxos-certsuite,cr/fxos-certsuite,cr/fxos-certsuite,askeing/fxos-certsuite,cr/fxos-certsuite,mozilla-b2g/fxos-certsuite,oouyang/fxos-certsuite,askeing/fxos-certsuite,ShakoHo/fxos-certsuite,ypwalter/fxos-certsuite,ypw...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_client>=0.7.1.1...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.10', 'marionette_...
a5e6c7ab40d1f8dd7f8b3c68ad461ec6adaa0ed2
setup.py
setup.py
from distutils.core import setup MESOS_VERSION = '0.20.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
from distutils.core import setup MESOS_VERSION = '0.27.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
Update Mesos bindings to 0.27.0
Update Mesos bindings to 0.27.0 Summary: Won't take effect until we update the deb that's installed. Test Plan: staging (I've been able to install the generated deb on the staging scheduler) Reviewers: kylec, paulruan Reviewed By: paulruan Subscribers: changesbot Differential Revision: https://tails.corp.dropbox....
Python
apache-2.0
dropbox/changes-mesos-framework,dropbox/changes-mesos-framework
from distutils.core import setup MESOS_VERSION = '0.20.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
from distutils.core import setup MESOS_VERSION = '0.27.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
<commit_before>from distutils.core import setup MESOS_VERSION = '0.20.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes...
from distutils.core import setup MESOS_VERSION = '0.27.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
from distutils.core import setup MESOS_VERSION = '0.20.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes-mesos-schedule...
<commit_before>from distutils.core import setup MESOS_VERSION = '0.20.0' UBUNTU_VERSION = '14.04' tests_require = ['pytest>=2.5.0,<2.6.0', 'pytest-cov>=1.6,<1.7', 'pytest-xdist>=1.9,<1.10', 'unittest2>=0.5.1,<0.6.0', 'mock>=1.0.1,<1.1.0', 'flask>=0.10.1,<0.11.0'] setup(name='changes...
e318716fdaeda8fdabe06daf644178a43bc7400e
setup.py
setup.py
from setuptools import setup, find_packages setup(name='nanomon', version='1.0', author='Michael Barrett', author_email='mike@brkt.com', description='The Nano Monitoring System', packages=find_packages(), )
from setuptools import setup, find_packages setup( name='nymms', version='0.1.0', author='Michael Barrett', author_email='loki77@gmail.com', license="New BSD license", description='Not Your Mother\'s Monitoring System (NYMMS)', packages=find_packages(), )
Change package name, add license
Change package name, add license
Python
bsd-2-clause
cloudtools/nymms
from setuptools import setup, find_packages setup(name='nanomon', version='1.0', author='Michael Barrett', author_email='mike@brkt.com', description='The Nano Monitoring System', packages=find_packages(), ) Change package name, add license
from setuptools import setup, find_packages setup( name='nymms', version='0.1.0', author='Michael Barrett', author_email='loki77@gmail.com', license="New BSD license", description='Not Your Mother\'s Monitoring System (NYMMS)', packages=find_packages(), )
<commit_before>from setuptools import setup, find_packages setup(name='nanomon', version='1.0', author='Michael Barrett', author_email='mike@brkt.com', description='The Nano Monitoring System', packages=find_packages(), ) <commit_msg>Change package name, add license<commit_after>
from setuptools import setup, find_packages setup( name='nymms', version='0.1.0', author='Michael Barrett', author_email='loki77@gmail.com', license="New BSD license", description='Not Your Mother\'s Monitoring System (NYMMS)', packages=find_packages(), )
from setuptools import setup, find_packages setup(name='nanomon', version='1.0', author='Michael Barrett', author_email='mike@brkt.com', description='The Nano Monitoring System', packages=find_packages(), ) Change package name, add licensefrom setuptools import setup, find_packages setup( name...
<commit_before>from setuptools import setup, find_packages setup(name='nanomon', version='1.0', author='Michael Barrett', author_email='mike@brkt.com', description='The Nano Monitoring System', packages=find_packages(), ) <commit_msg>Change package name, add license<commit_after>from setuptools imp...
4ced26323a1e98b9fea823c35ebbbb28b103369a
setup.py
setup.py
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
Fix typo (belongs to commit:9ec5886)
ZON-4070: Fix typo (belongs to commit:9ec5886)
Python
bsd-3-clause
ZeitOnline/zeit.brightcove
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
<commit_before>from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_d...
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_dir={'': 'src'},...
<commit_before>from setuptools import setup, find_packages setup( name='zeit.brightcove', version='2.10.2.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description='Brightcove HTTP interface', packages=find_packages('src'), package_d...
77bda2ce09b8d397a25c4bff83268aa3d8ec187b
setup.py
setup.py
from setuptools import setup, find_packages setup( name="comt", version="2.6.0", url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', pac...
from setuptools import setup, find_packages setup( name="comt", use_scm_version=True, url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', ...
Use git tag for package version.
Use git tag for package version.
Python
agpl-3.0
co-ment/comt,co-ment/comt,co-ment/comt,co-ment/comt,co-ment/comt,co-ment/comt,co-ment/comt
from setuptools import setup, find_packages setup( name="comt", version="2.6.0", url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', pac...
from setuptools import setup, find_packages setup( name="comt", use_scm_version=True, url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', ...
<commit_before>from setuptools import setup, find_packages setup( name="comt", version="2.6.0", url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian...
from setuptools import setup, find_packages setup( name="comt", use_scm_version=True, url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', ...
from setuptools import setup, find_packages setup( name="comt", version="2.6.0", url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian.com', pac...
<commit_before>from setuptools import setup, find_packages setup( name="comt", version="2.6.0", url='http://www.co-ment.org', license='AGPL3', description="Web-based Text Annotation Application.", long_description=open('ABOUT.rst').read(), author='Abilian SAS', author_email='dev@abilian...
dfb133beb576cddc67bbaf17c2598b7f37c76bad
setup.py
setup.py
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT"]...
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT",...
Add bodytemplate.md to build artifacts
Add bodytemplate.md to build artifacts
Python
apache-2.0
RedHatInsights/insights-core,RedHatInsights/insights-core
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT"]...
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT",...
<commit_before>from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELE...
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT",...
from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELEASE", "COMMIT"]...
<commit_before>from setuptools import setup, find_packages if __name__ == "__main__": import falafel setup( name=falafel.NAME, version=falafel.VERSION, description="Insights Application Programming Interface", packages=find_packages(), package_data={"": ["*.json", "RELE...
5089c8a348f44a4741ab94be78f81ce0fbf34c65
setup.py
setup.py
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
Remove version limit on sphinx
Remove version limit on sphinx
Python
bsd-3-clause
MOLSSI-BSE/basis_set_exchange
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
<commit_before>import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Scie...
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Sciences Software I...
<commit_before>import setuptools import versioneer if __name__ == "__main__": setuptools.setup( name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='The Quantum Chemistry Basis Set Exchange', author='The Molecular Scie...
9b01b00bf5fa60efaa402bf1e40154574942558e
setup.py
setup.py
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
Add pytz to required dependencies
Add pytz to required dependencies
Python
mit
brechtvdv/mapzen-gtfs,brennan-v-/mapzen-gtfs,transitland/mapzen-gtfs
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
<commit_before>from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs...
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs'], install_r...
<commit_before>from setuptools import setup import mzgtfs setup( name='mzgtfs', version=mzgtfs.__version__, description='Mapzen GTFS', author='Ian Rees', author_email='ian@mapzen.com', url='https://github.com/transitland/mapzen-gtfs', license='License :: OSI Approved :: MIT License', packages=['mzgtfs...
f4510b9b6402ddbe2412eb5524c7a44eb6bc966d
setup.py
setup.py
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.1" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.3" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
Fix version (0.2.2 never made it to PyPI)
Fix version (0.2.2 never made it to PyPI)
Python
mit
jacquev6/LowVoltage,jacquev6/LowVoltage
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.1" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.3" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
<commit_before>#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.1" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB ...
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.3" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.1" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB client not hidi...
<commit_before>#!/usr/bin/env python # coding: utf8 # Copyright 2014-2015 Vincent Jacques <vincent@vincent-jacques.net> import contextlib import os import setuptools import setuptools.command.test version = "0.2.1" setuptools.setup( name="LowVoltage", version=version, description="Standalone DynamoDB ...
87b708002b80be80657c0eb1d7670fe40f1d992d
setup.py
setup.py
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
Change version from 12.3.0 to 12.3.1
Change version from 12.3.0 to 12.3.1
Python
mit
datasciencebr/serenata-toolbox
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
<commit_before>from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License...
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approve...
<commit_before>from setuptools import setup REPO_URL = 'http://github.com/datasciencebr/serenata-toolbox' setup( author='Serenata de Amor', author_email='op.serenatadeamor@gmail.com', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License...
63431113fbb1d1d6793761e3cc30a8492df2f580
setup.py
setup.py
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
Add holidays module to packages list
Add holidays module to packages list Closes #14
Python
bsd-2-clause
seatgeek/businesstime
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
<commit_before>#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='busine...
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='businesstime', ve...
<commit_before>#!/usr/bin/env python """How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi""" from businesstime import __version__ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='busine...
76dddab86552a1e65cdc8ed26bb0674c83d5697b
setup.py
setup.py
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is a co...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
Update description and categories for PyPI
Update description and categories for PyPI
Python
apache-2.0
tempbottle/pykka,jodal/pykka,tamland/pykka
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is a co...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
<commit_before>from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is easy...
from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description='Pykka is a co...
<commit_before>from distutils.core import setup import pykka setup( name='Pykka', version=pykka.get_version(), author='Stein Magnus Jodal', author_email='stein.magnus@jodal.no', packages=['pykka'], url='http://jodal.github.com/pykka/', license='Apache License, Version 2.0', description...
e7d610ae806979eae0084c442bdba79c2bd919a2
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
Change status from pre-alpha to beta (yeay \o/)
Change status from pre-alpha to beta (yeay \o/)
Python
bsd-3-clause
pyecore/pyecore,aranega/pyecore
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
<commit_before>#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modelin...
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modeling " ...
<commit_before>#!/usr/bin/env python import sys from setuptools import setup, find_packages import pyecore if sys.version_info < (3, 0): sys.exit('Sorry, Python < 3.0 is not supported') setup( name="pyecore", version=pyecore.__version__, description=("A Pythonic Implementation of the Eclipse Modelin...
d403ae5e41f53f6c2893a946b94c4de899127fba
setup.py
setup.py
from distutils.core import setup setup( name='udiskie', version='0.3.10', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
from distutils.core import setup setup( name='udiskie', version='0.3.11', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
Prepare for next development cycle
Prepare for next development cycle
Python
mit
pstray/udiskie,pstray/udiskie,coldfix/udiskie,coldfix/udiskie,mathstuf/udiskie,khardix/udiskie
from distutils.core import setup setup( name='udiskie', version='0.3.10', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
from distutils.core import setup setup( name='udiskie', version='0.3.11', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
<commit_before>from distutils.core import setup setup( name='udiskie', version='0.3.10', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ ...
from distutils.core import setup setup( name='udiskie', version='0.3.11', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
from distutils.core import setup setup( name='udiskie', version='0.3.10', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ...
<commit_before>from distutils.core import setup setup( name='udiskie', version='0.3.10', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ ...
68ca30a898306a86092f8477666ba20649ff6a08
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
Add xlrd dependency for notebook
Add xlrd dependency for notebook
Python
agpl-3.0
openfisca/senegal
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License ...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.5.1', author='OpenFisca Team', author_email='contact@openfisca.fr', classifiers=[ "Development Status :: 2 - Pre-Alpha", "License ...
10eb6b8b29906c5c89c3675b660c21028db5b2c3
setup.py
setup.py
import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), install_requires=[ ...
from glob import glob import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), ...
Put nbresuse js files in appropriate path
Put nbresuse js files in appropriate path How did this work before?
Python
bsd-2-clause
yuvipanda/nbresuse,yuvipanda/nbresuse
import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), install_requires=[ ...
from glob import glob import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), ...
<commit_before>import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), install...
from glob import glob import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), ...
import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), install_requires=[ ...
<commit_before>import setuptools setuptools.setup( name="nbresuse", version='0.2.0', url="https://github.com/yuvipanda/nbresuse", author="Yuvi Panda", description="Simple Jupyter extension to show how much resources (RAM) your notebook is using", packages=setuptools.find_packages(), install...
c42bd2e3ae6f8c5c4170c3d5f2ae8ce176939f97
setup.py
setup.py
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/blan...
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/deve...
Update GitHub repos from blancltd to developersociety
Update GitHub repos from blancltd to developersociety
Python
bsd-3-clause
blancltd/blanc-contentfiles
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/blan...
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/deve...
<commit_before>#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://...
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/deve...
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://github.com/blan...
<commit_before>#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-contentfiles', version='0.2.4', description='Blanc Content Files', long_description=readme, url='https://...
7dcd285bb9e1b48c70d39eb35d132277e4d8ee88
setup.py
setup.py
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup """ # Add the following to the above entry points to enable the isosurface viewer # vi...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup vispy_isosurface=glue_vispy_viewers.isosurface:setup """ # Add the following to the ab...
Enable Isosurface class by default
Enable Isosurface class by default
Python
bsd-2-clause
glue-viz/glue-3d-viewer,PennyQ/astro-vispy,PennyQ/glue-3d-viewer,glue-viz/glue-vispy-viewers,astrofrog/glue-vispy-viewers,astrofrog/glue-3d-viewer
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup """ # Add the following to the above entry points to enable the isosurface viewer # vi...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup vispy_isosurface=glue_vispy_viewers.isosurface:setup """ # Add the following to the ab...
<commit_before>#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup """ # Add the following to the above entry points to enable the isosurf...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup vispy_isosurface=glue_vispy_viewers.isosurface:setup """ # Add the following to the ab...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup """ # Add the following to the above entry points to enable the isosurface viewer # vi...
<commit_before>#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages entry_points = """ [glue.plugins] vispy_volume=glue_vispy_viewers.volume:setup vispy_scatter=glue_vispy_viewers.scatter:setup """ # Add the following to the above entry points to enable the isosurf...
c1498aebcb7d74d023be65055f19a89acf0ec546
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
Remove copy_file call because it doesn't work right with bdist_deb
Remove copy_file call because it doesn't work right with bdist_deb
Python
mit
crashlytics/riemann-sumd
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
<commit_before>#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", autho...
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", author="Brian Hatfie...
<commit_before>#!/usr/bin/env python from distutils.core import setup from distutils.file_util import copy_file import platform version = "0.1.0" setup(name="riemann-sumd", version=version, description="Python agent for scheduling event generating processes and sending the results to Riemann", autho...
4d3bf81a46033fd2a522705612746ac332a2aa73
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
Add polib as a dependency.
Add polib as a dependency.
Python
agpl-3.0
PyBossa/pbs,PyBossa/pbs,PyBossa/pbs
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module...
fe870ecdfe63348607fa5d5e6c4101e2609c7553
setup.py
setup.py
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import setuptools from fsic import __version__ with open('README.md') as f: long_description = f.read() setuptools.setup( name='fsic', version=__version__, author='Chris Thoung', author_email...
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import re import setuptools # Get version number without having to `import` the `fsic` module (and # attempting to import NumPy before it gets installed). Idea from: # https://packaging.python.org/guides/single-s...
Implement alternative way of getting version number
BLD: Implement alternative way of getting version number
Python
mit
ChrisThoung/fsic
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import setuptools from fsic import __version__ with open('README.md') as f: long_description = f.read() setuptools.setup( name='fsic', version=__version__, author='Chris Thoung', author_email...
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import re import setuptools # Get version number without having to `import` the `fsic` module (and # attempting to import NumPy before it gets installed). Idea from: # https://packaging.python.org/guides/single-s...
<commit_before># -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import setuptools from fsic import __version__ with open('README.md') as f: long_description = f.read() setuptools.setup( name='fsic', version=__version__, author='Chris Thoung', ...
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import re import setuptools # Get version number without having to `import` the `fsic` module (and # attempting to import NumPy before it gets installed). Idea from: # https://packaging.python.org/guides/single-s...
# -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import setuptools from fsic import __version__ with open('README.md') as f: long_description = f.read() setuptools.setup( name='fsic', version=__version__, author='Chris Thoung', author_email...
<commit_before># -*- coding: utf-8 -*- """ Adapted from: https://packaging.python.org/tutorials/packaging-projects/ """ import setuptools from fsic import __version__ with open('README.md') as f: long_description = f.read() setuptools.setup( name='fsic', version=__version__, author='Chris Thoung', ...
7ab6e87a8cf89c12733f7923c0f4564672f549fc
setup.py
setup.py
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython',], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_scripts': [ ...
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython', 'vcrpy'], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_script...
Add vcrpy back to main program requirements
Add vcrpy back to main program requirements
Python
mit
mindriot101/k2catalogue
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython',], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_scripts': [ ...
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython', 'vcrpy'], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_script...
<commit_before>from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython',], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console...
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython', 'vcrpy'], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_script...
from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython',], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console_scripts': [ ...
<commit_before>from setuptools import setup, find_packages setup( name='k2catalogue', version='0.0.1', author='Simon Walker', install_requires=['requests', 'sqlalchemy', 'ipython',], tests_require=['vcrpy', 'pytest'], packages=find_packages(exclude=['venv']), entry_points={ 'console...
7c0c5631ff9f2d3511b7c460d22516b5b0393697
setup.py
setup.py
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.1' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', packages=...
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.2' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', url='http...
Add six as a dependency.
Add six as a dependency.
Python
mit
kalekundert/linersock,kalekundert/linersock
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.1' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', packages=...
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.2' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', url='http...
<commit_before>#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.1' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', ...
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.2' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', url='http...
#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.1' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', packages=...
<commit_before>#!/usr/bin/env python import distutils.core # Uploading to PyPI # ================= # $ python setup.py register -r pypi # $ python setup.py sdist upload -r pypi version = '1.1' distutils.core.setup( name='linersock', version=version, author='Kale Kundert and Alex Mitchell', ...
149c5fb9651f8e33a5e2984f47f8de05c02c1e43
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
Add 'Programming Language :: Python :: 3.4' to classifiers
Add 'Programming Language :: Python :: 3.4' to classifiers https://travis-ci.org/RyanBalfanz/django-smsish/builds/105968596
Python
mit
RyanBalfanz/django-smsish
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
<commit_before>import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1'...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1', packages=[ ...
<commit_before>import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-smsish', version='1.1'...
30c80e5c793c1f59f2a22e10cf183de15ef463dd
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup setup( name='pynubank', version='1.2.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=['pynubank'], package_data={'pynubank': ['queries/*....
from setuptools import setup, find_packages setup( name='pynubank', version='2.0.0b', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql']...
Add cert generator script as entry point
feat: Add cert generator script as entry point
Python
mit
andreroggeri/pynubank
# -*- coding: utf-8 -*- from setuptools import setup setup( name='pynubank', version='1.2.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=['pynubank'], package_data={'pynubank': ['queries/*....
from setuptools import setup, find_packages setup( name='pynubank', version='2.0.0b', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql']...
<commit_before># -*- coding: utf-8 -*- from setuptools import setup setup( name='pynubank', version='1.2.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=['pynubank'], package_data={'pynubank...
from setuptools import setup, find_packages setup( name='pynubank', version='2.0.0b', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql']...
# -*- coding: utf-8 -*- from setuptools import setup setup( name='pynubank', version='1.2.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=['pynubank'], package_data={'pynubank': ['queries/*....
<commit_before># -*- coding: utf-8 -*- from setuptools import setup setup( name='pynubank', version='1.2.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=['pynubank'], package_data={'pynubank...
eb151779dc462e29001c75ed0e05b1c395a27968
setup.py
setup.py
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
Upgrade tangled 1.0a11 => 1.0a12
Upgrade tangled 1.0a11 => 1.0a12
Python
mit
TangledWeb/tangled.web
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
<commit_before>from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags',...
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags', author='Wy...
<commit_before>from setuptools import setup, PEP420PackageFinder setup( name='tangled.web', version='1.0a13.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.web/tags',...
4a36283ac196f5c5832d32ba656aca7c651183f4
setup.py
setup.py
from setuptools import setup setup( name='daffodil', version='0.3.0', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
from setuptools import setup setup( name='daffodil', version='0.3.1', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
Increment version with bug fixes
Increment version with bug fixes
Python
mit
igorkramaric/daffodil,mediapredict/daffodil
from setuptools import setup setup( name='daffodil', version='0.3.0', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
from setuptools import setup setup( name='daffodil', version='0.3.1', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
<commit_before>from setuptools import setup setup( name='daffodil', version='0.3.0', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], insta...
from setuptools import setup setup( name='daffodil', version='0.3.1', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
from setuptools import setup setup( name='daffodil', version='0.3.0', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], install_requires=[ ...
<commit_before>from setuptools import setup setup( name='daffodil', version='0.3.0', author='James Robert', description='A Super-simple DSL for filtering datasets', license='MIT', keywords='data filtering', url='https://github.com/mediapredict/daffodil', packages=['daffodil'], insta...
36f5fc790e27b9d617f71a3fe49160cb99d2e5d3
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='dev', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descrip...
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='0.1.0', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descr...
Change version from dev to 0.1.0
Change version from dev to 0.1.0
Python
mit
rcmachado/tomako,rcmachado/tomako
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='dev', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descrip...
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='0.1.0', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descr...
<commit_before># -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='dev', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', ...
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='0.1.0', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descr...
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='dev', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', long_descrip...
<commit_before># -*- coding: utf-8 -*- import os from setuptools import setup, find_packages README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst') setup( name='tomako', version='dev', description='Tomako is the easiest way to use Mako as a template engine ' 'for Tornado', ...
ab5a93e55f9e6e1607afcb3ba03d2103dc423cc7
setup.py
setup.py
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
Update the required vectormath version to 0.1.0
Update the required vectormath version to 0.1.0
Python
mit
3ptscience/properties,aranzgeo/properties
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
<commit_before>#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/En...
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Ma...
<commit_before>#!/usr/bin/env python """ properties: Fancy properties for Python. """ from distutils.core import setup from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/En...
ad53b2e3f52382e9656a00b5c3641fa9d3e47bb1
setup.py
setup.py
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
Install the Avena library too.
Install the Avena library too.
Python
isc
eliteraspberries/hipshot
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
<commit_before>#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Indep...
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'P...
<commit_before>#!/usr/bin/env python2 from distutils.core import setup from hipshot import hipshot _classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Indep...
f74ccf59547d8b7dbee5cbcbf608940a33a8c3f9
setup.py
setup.py
from setuptools import setup from flask_mwoauth import __version__ setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='Merlijn van Deen', author_email='valhallasw@...
from setuptools import setup exec([l for l in open("flask_mwoauth/__init__.py") if l.startswith('__version__')][0]) setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='M...
Use exec instead of import to determine package version
Use exec instead of import to determine package version
Python
mit
sitic/flask-mwoauth,valhallasw/flask-mwoauth,sitic/flask-mwoauth,valhallasw/flask-mwoauth
from setuptools import setup from flask_mwoauth import __version__ setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='Merlijn van Deen', author_email='valhallasw@...
from setuptools import setup exec([l for l in open("flask_mwoauth/__init__.py") if l.startswith('__version__')][0]) setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='M...
<commit_before>from setuptools import setup from flask_mwoauth import __version__ setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='Merlijn van Deen', author_ema...
from setuptools import setup exec([l for l in open("flask_mwoauth/__init__.py") if l.startswith('__version__')][0]) setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='M...
from setuptools import setup from flask_mwoauth import __version__ setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='Merlijn van Deen', author_email='valhallasw@...
<commit_before>from setuptools import setup from flask_mwoauth import __version__ setup(name='flask-mwoauth', version=__version__, description='Flask blueprint to connect to a MediaWiki OAuth server', url='http://github.com/valhallasw/flask-mwoauth', author='Merlijn van Deen', author_ema...
571298802f889a1eb4c397ae9bfa4fea0a2a558c
prints_a_multiplication_table_of_primes_numbers/fibonacci_generator.py
prints_a_multiplication_table_of_primes_numbers/fibonacci_generator.py
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
Fix E226 missing whitespace around arithmetic operator
Fix E226 missing whitespace around arithmetic operator
Python
mit
mvj3/prints_a_multiplication_table_of_primes_numbers
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
<commit_before># -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 de...
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
# -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 def generate(self...
<commit_before># -*- coding: utf-8 -*- __all__ = ["FibonacciGenerator"] class FibonacciGenerator(object): """ """ # We use List to cache already founded fibonacci numbers, # and 1 is the first fibonacci number. _fibonacci_list = [0, 1] # 0 is placeholder skip_the_placeholder_idx = 1 de...
54ba0d0f7ead8ce49f50d3ecfa6b0a86b227bea7
app.py
app.py
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
Make example auth always true.
Make example auth always true.
Python
mit
christabor/flask_jsondash,christabor/flask_jsondash,christabor/flask_jsondash
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
<commit_before>"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True,...
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True, JSONDASH_G...
<commit_before>"""This is your typical app, demonstrating usage.""" import os from flask_jsondash.charts_builder import charts from flask import ( Flask, session, ) app = Flask(__name__) app.config['SECRET_KEY'] = 'NOTSECURELOL' app.config.update( JSONDASH_FILTERUSERS=True, JSONDASH_GLOBALDASH=True,...
e9bb349469b27ae9cd3280cf14aad27101b2f0fa
app.py
app.py
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run()
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run(debug=True, port=33507)
Add port as conf var
Add port as conf var
Python
mit
yassineAlouini/image-recognition-as-a-service,yassineAlouini/image-recognition-as-a-service
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run() Add port as conf var
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run(debug=True, port=33507)
<commit_before>from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run() <commit_msg>Add port as conf var<commit_after>
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run(debug=True, port=33507)
from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run() Add port as conf varfrom flask import Flask # from image_classification import ImageClassifier app = Flas...
<commit_before>from flask import Flask # from image_classification import ImageClassifier app = Flask(__name__) @app.route('/') def home(): return 'Hello classification world!' if __name__ == '__main__': app.run() <commit_msg>Add port as conf var<commit_after>from flask import Flask # from image_classifi...
e2ea8d08d5e6006136b74d00a2ee64d1e7858941
plot_scores.py
plot_scores.py
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import matplotlib.pyplot as plt import pandas as pd def main(): parser = argp...
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import os import matplotlib.pyplot as plt import pandas as pd def main(): par...
Support plotting multiple score files
Support plotting multiple score files
Python
mit
toslunar/chainerrl,toslunar/chainerrl
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import matplotlib.pyplot as plt import pandas as pd def main(): parser = argp...
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import os import matplotlib.pyplot as plt import pandas as pd def main(): par...
<commit_before>from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import matplotlib.pyplot as plt import pandas as pd def main(): ...
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import os import matplotlib.pyplot as plt import pandas as pd def main(): par...
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import matplotlib.pyplot as plt import pandas as pd def main(): parser = argp...
<commit_before>from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import argparse import matplotlib.pyplot as plt import pandas as pd def main(): ...
1e1c9715be91c2b723a26e037d2fa68064bd3bf6
run.py
run.py
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 9600 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.re...
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 38400 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.r...
Fix baud rate for temperature sensor
Fix baud rate for temperature sensor
Python
mit
illumenati/duwamish-sensor,tipsqueal/duwamish-sensor
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 9600 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.re...
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 38400 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.r...
<commit_before>import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 9600 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = tem...
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 38400 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.r...
import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 9600 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = temperature_ser.re...
<commit_before>import serial import threading print('Starting server...') temperature_usb = '/dev/ttyAMA0' BAUD_RATE = 9600 temperature_ser = serial.Serial(temperature_usb, BAUD_RATE) def process_line(line): print('Need to process line: {}'.format(line)) def temperature_loop(): line = "" while True: data = tem...
9a30728493258d7dcf60b67a8c87489e1457df1a
kitchen/dashboard/templatetags/filters.py
kitchen/dashboard/templatetags/filters.py
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" prev_role_list = littlechef.lib.get_roles_...
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" if run_list: all_roles = littleche...
Check 'role_list' before sending it to little_chef
Check 'role_list' before sending it to little_chef
Python
apache-2.0
edelight/kitchen,edelight/kitchen,edelight/kitchen,edelight/kitchen
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" prev_role_list = littlechef.lib.get_roles_...
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" if run_list: all_roles = littleche...
<commit_before>"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" prev_role_list = littlechef...
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" if run_list: all_roles = littleche...
"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" prev_role_list = littlechef.lib.get_roles_...
<commit_before>"""Dashboard template filters""" from django import template import littlechef from kitchen.settings import REPO register = template.Library() @register.filter(name='get_role_list') def get_role_list(run_list): """Returns the role sublist from the given run_list""" prev_role_list = littlechef...
0e9b8c2dbe5d3fbedf1b444819ca3820a9a13135
utils.py
utils.py
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t !#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t +!#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
Remove + character from generated URLs
Remove + character from generated URLs
Python
agpl-3.0
hasgeek/funnel,piyushroshan/fossmeet,hasgeek/funnel,hasgeek/funnel,hasgeek/funnel,piyushroshan/fossmeet,jace/failconfunnel,jace/failconfunnel,piyushroshan/fossmeet,hasgeek/funnel,jace/failconfunnel
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t !#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t +!#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
<commit_before># -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t !#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'thi...
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t +!#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
# -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t !#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'this-is-a-title' ...
<commit_before># -*- coding: utf-8 -*- import re _strip_re = re.compile(ur'[\'"`‘’“”′″‴]+') _punctuation_re = re.compile(ur'[\t !#$%&()*\-/<=>?@\[\\\]^_{|}:;,.…‒–—―]+') def makename(text, delim=u'-', maxlength=50, filter=None): u""" Generate a Unicode name slug. >>> makename('This is a title') u'thi...
9448374db62049b6f0209a0b6c3b01f3336e2b2b
talks/core/renderers.py
talks/core/renderers.py
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
Refactor method string to date
Refactor method string to date
Python
apache-2.0
ox-it/talks.ox,ox-it/talks.ox,ox-it/talks.ox
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
<commit_before>from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() ...
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() cal.add('prodi...
<commit_before>from datetime import datetime from rest_framework import renderers from icalendar import Calendar, Event class ICalRenderer(renderers.BaseRenderer): media_type = 'text/calendar' format = 'ics' def render(self, data, media_type=None, renderer_context=None): cal = Calendar() ...
f16800869c6eaa00cb633f181749e4938c257dc6
robots/migrations/__init__.py
robots/migrations/__init__.py
""" Django migrations for robots app This package does not contain South migrations. South migrations can be found in the ``south_migrations`` package. """ # This check is based on code from django-email-log. Thanks Trey Hunner. # https://github.com/treyhunner/django-email-log/blob/master/email_log/migrations/__init_...
Raise ImproperlyConfigured if django migrations module does not exist (for South users).
Raise ImproperlyConfigured if django migrations module does not exist (for South users).
Python
bsd-3-clause
jazzband/django-robots,jezdez/django-robots,jscott1971/django-robots,jscott1971/django-robots,jazzband/django-robots,jezdez/django-robots
Raise ImproperlyConfigured if django migrations module does not exist (for South users).
""" Django migrations for robots app This package does not contain South migrations. South migrations can be found in the ``south_migrations`` package. """ # This check is based on code from django-email-log. Thanks Trey Hunner. # https://github.com/treyhunner/django-email-log/blob/master/email_log/migrations/__init_...
<commit_before><commit_msg>Raise ImproperlyConfigured if django migrations module does not exist (for South users).<commit_after>
""" Django migrations for robots app This package does not contain South migrations. South migrations can be found in the ``south_migrations`` package. """ # This check is based on code from django-email-log. Thanks Trey Hunner. # https://github.com/treyhunner/django-email-log/blob/master/email_log/migrations/__init_...
Raise ImproperlyConfigured if django migrations module does not exist (for South users).""" Django migrations for robots app This package does not contain South migrations. South migrations can be found in the ``south_migrations`` package. """ # This check is based on code from django-email-log. Thanks Trey Hunner. #...
<commit_before><commit_msg>Raise ImproperlyConfigured if django migrations module does not exist (for South users).<commit_after>""" Django migrations for robots app This package does not contain South migrations. South migrations can be found in the ``south_migrations`` package. """ # This check is based on code fro...
5448e38d14589b7558513f51d0abf541790be817
i3pystatus/core/command.py
i3pystatus/core/command.py
# from subprocess import CalledProcessError import subprocess def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string) Don't use this function with programs that outputs lots of data since the output is saved...
# from subprocess import CalledProcessError from collections import namedtuple import subprocess CommandResult = namedtuple("Result", ['rc', 'out', 'err']) def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string)...
Use named tuple for return value
Use named tuple for return value
Python
mit
m45t3r/i3pystatus,teto/i3pystatus,yang-ling/i3pystatus,opatut/i3pystatus,m45t3r/i3pystatus,juliushaertl/i3pystatus,Elder-of-Ozone/i3pystatus,MaicoTimmerman/i3pystatus,paulollivier/i3pystatus,onkelpit/i3pystatus,richese/i3pystatus,asmikhailov/i3pystatus,enkore/i3pystatus,juliushaertl/i3pystatus,eBrnd/i3pystatus,claria/i...
# from subprocess import CalledProcessError import subprocess def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string) Don't use this function with programs that outputs lots of data since the output is saved...
# from subprocess import CalledProcessError from collections import namedtuple import subprocess CommandResult = namedtuple("Result", ['rc', 'out', 'err']) def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string)...
<commit_before># from subprocess import CalledProcessError import subprocess def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string) Don't use this function with programs that outputs lots of data since the ...
# from subprocess import CalledProcessError from collections import namedtuple import subprocess CommandResult = namedtuple("Result", ['rc', 'out', 'err']) def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string)...
# from subprocess import CalledProcessError import subprocess def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string) Don't use this function with programs that outputs lots of data since the output is saved...
<commit_before># from subprocess import CalledProcessError import subprocess def run_through_shell(command, enable_shell=False): """ Retrieves output of command Returns tuple success (boolean)/ stdout(string) / stderr (string) Don't use this function with programs that outputs lots of data since the ...
4eecac0764e8abfc33c9e77b8eb6b700b536f1a0
pull_me.py
pull_me.py
#!/usr/bin/env python from random import randint from time import sleep from os import system from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav") msgbox("Hi Dan", "Time is up")
#!/usr/bin/env python from random import randint from time import sleep from os import system import os.path from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) if os.path.isfile("/usr/share/sounds/GNUstep/Glass.wav"): system("aplay /usr/share/sounds/GNUstep/Glass.wav") else: ...
Use Glass.wav if it exists.
Use Glass.wav if it exists.
Python
apache-2.0
dnuffer/carrot_slots
#!/usr/bin/env python from random import randint from time import sleep from os import system from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav") msgbox("Hi Dan", "Time is up") Use Glass.wav if it exists.
#!/usr/bin/env python from random import randint from time import sleep from os import system import os.path from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) if os.path.isfile("/usr/share/sounds/GNUstep/Glass.wav"): system("aplay /usr/share/sounds/GNUstep/Glass.wav") else: ...
<commit_before>#!/usr/bin/env python from random import randint from time import sleep from os import system from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav") msgbox("Hi Dan", "Time is up") <commit_msg>Use Glass.wa...
#!/usr/bin/env python from random import randint from time import sleep from os import system import os.path from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) if os.path.isfile("/usr/share/sounds/GNUstep/Glass.wav"): system("aplay /usr/share/sounds/GNUstep/Glass.wav") else: ...
#!/usr/bin/env python from random import randint from time import sleep from os import system from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav") msgbox("Hi Dan", "Time is up") Use Glass.wav if it exists.#!/usr/bin/e...
<commit_before>#!/usr/bin/env python from random import randint from time import sleep from os import system from easygui import msgbox while True: delay = randint(60, 2000) sleep(delay) system("aplay /usr/lib/libreoffice/share/gallery/sounds/kongas.wav") msgbox("Hi Dan", "Time is up") <commit_msg>Use Glass.wa...
9310e94a1406102bba109416f781f9d6330d0028
tests/test_itunes.py
tests/test_itunes.py
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value class ITunesTests(unittest.TestCase): """ Test cases for iTunes functiona...
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value, run_applescript from itunes.exceptions import AppleScriptError class ITunesTests...
Add test to make sure `run_applescript` throws on bad script
Add test to make sure `run_applescript` throws on bad script
Python
mit
adanoff/iTunesTUI
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value class ITunesTests(unittest.TestCase): """ Test cases for iTunes functiona...
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value, run_applescript from itunes.exceptions import AppleScriptError class ITunesTests...
<commit_before>""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value class ITunesTests(unittest.TestCase): """ Test cases for i...
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value, run_applescript from itunes.exceptions import AppleScriptError class ITunesTests...
""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value class ITunesTests(unittest.TestCase): """ Test cases for iTunes functiona...
<commit_before>""" test_itunes.py Copyright © 2015 Alex Danoff. All Rights Reserved. 2015-08-02 This file tests the functionality provided by the itunes module. """ import unittest from datetime import datetime from itunes.itunes import parse_value class ITunesTests(unittest.TestCase): """ Test cases for i...
44d5974fafdddb09a684882fc79662ae4c509f57
names/__init__.py
names/__init__.py
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
Fix unicode string syntax for Python 3
Fix unicode string syntax for Python 3
Python
mit
treyhunner/names,treyhunner/names
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
<commit_before>from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_...
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_path('dist.fema...
<commit_before>from os.path import abspath, join, dirname import random __title__ = 'names' __version__ = '0.2' __author__ = 'Trey Hunner' __license__ = 'MIT' full_path = lambda filename: abspath(join(dirname(__file__), filename)) FILES = { 'first:male': full_path('dist.male.first'), 'first:female': full_...
b26f768067d0ac495d0cbecdf68c38e73e42662b
textblob_fr/__init__.py
textblob_fr/__init__.py
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0-dev' __author__ = 'Steven Loria' __license__ = "MIT"
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0' __author__ = 'Steven Loria' __license__ = "MIT"
Bump version 0.1.0 -> 0.2.0
Bump version 0.1.0 -> 0.2.0
Python
mit
sloria/textblob-fr
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0-dev' __author__ = 'Steven Loria' __license__ = "MIT" Bump version 0.1.0 -> 0.2.0
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0' __author__ = 'Steven Loria' __license__ = "MIT"
<commit_before># -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0-dev' __author__ = 'Steven Loria' __license__ = "MIT" <commit_msg>Bump version 0.1.0 -> 0.2.0<commit_after>
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0' __author__ = 'Steven Loria' __license__ = "MIT"
# -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0-dev' __author__ = 'Steven Loria' __license__ = "MIT" Bump version 0.1.0 -> 0.2.0# -*- coding: utf-8 -*- from __future__ import absolute_im...
<commit_before># -*- coding: utf-8 -*- from __future__ import absolute_import from textblob_fr.taggers import PatternTagger from textblob_fr.sentiments import PatternAnalyzer __version__ = '0.2.0-dev' __author__ = 'Steven Loria' __license__ = "MIT" <commit_msg>Bump version 0.1.0 -> 0.2.0<commit_after># -*- coding: utf...
07058595e43290524d28b53b5919fb76f16c618b
test/test_validators.py
test/test_validators.py
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
Add tests for UNC path validator
Add tests for UNC path validator
Python
mit
CovenantEyes/py_win_unc,nithinphilips/py_win_unc
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
<commit_before>from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) ...
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) self.assertTrue...
<commit_before>from unittest import TestCase from win_unc import validators as V class TestIsValidDriveLetter(TestCase): def test_valid(self): self.assertTrue(V.is_valid_drive_letter('A')) self.assertTrue(V.is_valid_drive_letter('Z')) self.assertTrue(V.is_valid_drive_letter('a')) ...
6bde135b964690d2c51fe944e52f2a9c9c9dadab
opps/db/_redis.py
opps/db/_redis.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
Add method save, manager create or update on opps db redis
Add method save, manager create or update on opps db redis
Python
mit
jeanmask/opps,opps/opps,YACOWS/opps,jeanmask/opps,jeanmask/opps,williamroot/opps,williamroot/opps,williamroot/opps,YACOWS/opps,opps/opps,opps/opps,williamroot/opps,YACOWS/opps,YACOWS/opps,jeanmask/opps,opps/opps
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host ...
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host = settings.OPPS...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from opps.db.conf import settings from redis import ConnectionPool from redis import Redis as RedisClient class Redis: def __init__(self, key_prefix, key_sufix): self.key_prefix = key_prefix self.key_sufix = key_sufix self.host ...
8ea90a83318e4c1cb01b773435ef4861a459ac0f
indra/sources/utils.py
indra/sources/utils.py
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by URL. Parameters ----------...
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" from collections import Counter import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by UR...
Implement autoloading and summary function
Implement autoloading and summary function
Python
bsd-2-clause
sorgerlab/indra,sorgerlab/indra,sorgerlab/belpy,bgyori/indra,bgyori/indra,bgyori/indra,johnbachman/indra,sorgerlab/belpy,sorgerlab/indra,johnbachman/indra,sorgerlab/belpy,johnbachman/indra
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by URL. Parameters ----------...
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" from collections import Counter import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by UR...
<commit_before># -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by URL. Parameters...
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" from collections import Counter import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by UR...
# -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by URL. Parameters ----------...
<commit_before># -*- coding: utf-8 -*- """Processor for remote INDRA JSON files.""" import requests from typing import List from ..statements import Statement, stmts_from_json __all__ = [ 'RemoteProcessor', ] class RemoteProcessor: """A processor for INDRA JSON file to be retrieved by URL. Parameters...