commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
7cd422c5d726d7133ea9146d0bfe79f8e808eb1c
bump to version 0.6.2
crazyquark/tentacle_pi,lexruee/tentacle_pi
setup.py
setup.py
# encoding: utf-8 from distutils.core import setup, Extension from distutils.command import sdist as sdist_module import os DRIVERS = [ # (module_name, module_dir, module_src_dir) ("tentacle_pi.AM2315", "tentacle_pi/am2315", "src"), ("tentacle_pi.BMP180", "tentacle_pi/bmp180", "src"), ...
# encoding: utf-8 from distutils.core import setup, Extension from distutils.command import sdist as sdist_module import os DRIVERS = [ # (module_name, module_dir, module_src_dir) ("tentacle_pi.AM2315", "tentacle_pi/am2315", "src"), ("tentacle_pi.BMP180", "tentacle_pi/bmp180", "src"), ...
mit
Python
1b7da9f8eb7e81ad99190186a9c52ff6bcc2616b
Fix setup.py
chezou/Mykytea-python,chezou/Mykytea-python
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, Extension, find_packages except ImportError: from distutils.core import setup, Extension, find_packages ext_module = Extension('_Mykytea', sources=['lib/kytea/mykytea_wrap.cxx', 'lib/kytea/mykytea.cpp'], lib...
#!/usr/bin/env python try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension ext_module = Extension('_Mykytea', sources=['lib/kytea/mykytea_wrap.cxx', 'lib/kytea/mykytea.cpp'], libraries=["kytea"], ...
mit
Python
6640b1a1f2216e68f95100de8bf24316d20fd354
change the name
atodorov/python-openshift,atodorov/python-openshift
setup.py
setup.py
# Copyright (c) 2011, Alexander Todorov <atodorov()otb.bg> from distutils.core import setup setup(name='openshift', version='0.1', description="Python interface to Red Hat's OpenShift cloud platform", author='Alexander Todorov', author_email='atodorov@nospam.otb.bg', url='https://githu...
# Copyright (c) 2011, Alexander Todorov <atodorov()otb.bg> from distutils.core import setup setup(name='python-openshift', version='0.1', description="Python interface to Red Hat's OpenShift cloud platform", author='Alexander Todorov', author_email='atodorov@nospam.otb.bg', url='https:...
mit
Python
7d193d3a6f51d4751298f146209aca630745096f
Bump google-cloud-spanner to 2.1.0 (#560)
googleapis/python-spanner-django,googleapis/python-spanner-django
setup.py
setup.py
# Copyright 2020 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd import io import os from setuptools import find_packages, setup # Package metadata. name = "django-google-spanner" descript...
# Copyright 2020 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd import io import os from setuptools import find_packages, setup # Package metadata. name = "django-google-spanner" descript...
bsd-3-clause
Python
5dea254332773dfb17a1674af690c88ef5df9372
add 'provides inflect' to setup.py
hugovk/inflect.py,pwdyson/inflect.py,jazzband/inflect
setup.py
setup.py
from distutils.core import setup import inflect setup(name='inflect', version=inflect.__version__, description="Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words", author='Paul Dyson', author_email='pwdyson@yahoo.com', url="http://pypi.p...
from distutils.core import setup import inflect setup(name='inflect', version=inflect.__version__, description="Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words", author='Paul Dyson', author_email='pwdyson@yahoo.com', url="http://pypi.p...
mit
Python
d91015c852827ae78e8fcc3a26656c15add8b429
Update aioredis to 0.3.2
argaen/aiocache,argaen/aiocache
setup.py
setup.py
import re import os from setuptools import setup, find_packages from distutils.util import strtobool with open( os.path.join( os.path.abspath(os.path.dirname(__file__)), 'aiocache/_version.py')) as fp: try: version = re.findall( r"^__version__ = '([^']+)'\r?$", ...
import re import os from setuptools import setup, find_packages from distutils.util import strtobool with open( os.path.join( os.path.abspath(os.path.dirname(__file__)), 'aiocache/_version.py')) as fp: try: version = re.findall( r"^__version__ = '([^']+)'\r?$", ...
bsd-3-clause
Python
96a40b5b577e8d790b128e8a3b3e7a5f1c5dea93
Bump for next release
barchart/dockerup
setup.py
setup.py
from distutils.core import setup setup(name='dockerup', description='Docker container bootstrapper', long_description=""" Docker container bootstrapper that synchronizes state from a configuration file. It can load configuration from EC2 user-data, and automatically handles container updates and cleanup. """, a...
from distutils.core import setup setup(name='dockerup', description='Docker container bootstrapper', long_description=""" Docker container bootstrapper that synchronizes state from a configuration file. It can load configuration from EC2 user-data, and automatically handles container updates and cleanup. """, a...
mit
Python
2c0d729faf274efcf5f636c5c6a2e0b4b670eb1c
remove include_package_data
materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs,materialsproject/MPContribs
setup.py
setup.py
import io, re, glob, os from setuptools import setup package_name = 'mpcontribs' init_py = io.open('{}/__init__.py'.format(package_name)).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py)) metadata['doc'] = re.findall('"""(.+)"""', init_py)[0] SETUP_PTH = os.path.dirname(os.path.abspath(__file__))...
import io, re, glob, os from setuptools import setup package_name = 'mpcontribs' init_py = io.open('{}/__init__.py'.format(package_name)).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py)) metadata['doc'] = re.findall('"""(.+)"""', init_py)[0] SETUP_PTH = os.path.dirname(os.path.abspath(__file__))...
mit
Python
567a19725d7dc018bb35740fb90323b51760a815
Update libraries
dirn/Secret-Santa,dirn/Secret-Santa,dirn/Secret-Santa,dirn/Secret-Santa
setup.py
setup.py
from setuptools import setup from setuptools.command.test import test as TestCommand def read_file(filename): try: with open(filename) as f: return f.read() except IOError: return '' class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self...
from setuptools import setup from setuptools.command.test import test as TestCommand def read_file(filename): try: with open(filename) as f: return f.read() except IOError: return '' class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self...
bsd-3-clause
Python
5610bbe153b756cc55f68fa031768cf649390bd7
Remove extra lines from desc on PyPI
jeremycline/fmn,jeremycline/fmn,jeremycline/fmn
setup.py
setup.py
""" Setup file for fmn.consumer """ import sys import os import logging from setuptools import setup # Ridiculous as it may seem, we need to import multiprocessing and logging here # in order to get tests to pass smoothly on python 2.7. try: import multiprocessing import logging except: pass def get_de...
""" Setup file for fmn.consumer """ import sys import os import logging from setuptools import setup # Ridiculous as it may seem, we need to import multiprocessing and logging here # in order to get tests to pass smoothly on python 2.7. try: import multiprocessing import logging except: pass def get_de...
lgpl-2.1
Python
fe2bd7cf8b0139e1c7c1037d89929dd7c4093458
Update troposphere & awacs to latest releases
mhahn/stacker,mhahn/stacker,remind101/stacker,remind101/stacker
setup.py
setup.py
import os from setuptools import setup, find_packages import glob VERSION = "0.6.3" src_dir = os.path.dirname(__file__) install_requires = [ "troposphere>=1.8.0", "boto3>=1.3.1", "botocore>=1.4.38", "PyYAML>=3.11", "awacs>=0.6.0", "colorama==0.3.7", ] tests_require = [ "nose>=1.0", "...
import os from setuptools import setup, find_packages import glob VERSION = "0.6.3" src_dir = os.path.dirname(__file__) install_requires = [ "troposphere>=1.2.2", "boto3>=1.3.1", "botocore>=1.4.38", "PyYAML>=3.11", "awacs>=0.5.3", "colorama==0.3.7", ] tests_require = [ "nose>=1.0", "...
bsd-2-clause
Python
68e7cc625b945d01fef23991b6d021572bdbb21e
remove django from test suite in setup.py (spoiler)
xfxf/faker-python,MaryanMorel/faker,xfxf/faker-1,jaredculp/faker,venmo/faker,joke2k/faker,ericchaves/faker,yiliaofan/faker,johnraz/faker,meganlkm/faker,beetleman/faker,trtd/faker,GLMeece/faker,thedrow/faker,danhuss/faker,joke2k/faker,HAYASAKA-Ryosuke/faker,ShaguptaS/faker
setup.py
setup.py
#!/usr/bin/env python import os from faker import __version__ from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.md')).read() NEWS = open(os.path.join(here, 'NEWS.txt')).read() version = __version__ setup(name='faker', version=...
#!/usr/bin/env python import os from faker import __version__ from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.md')).read() NEWS = open(os.path.join(here, 'NEWS.txt')).read() version = __version__ setup(name='faker', version=...
mit
Python
716fb6d014ffcbaedca504dbcd947ced2bf879ab
Update to version 0.1.0
bartels/django-buster
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-buster', version='0.1.0', description='A simple utility for integrating gulp-buster with Django', author='Eric Bartels', author_email='ebartels@gmail.com', license='BSD', packages=find_packages(), zip_safe=False, classi...
from setuptools import setup, find_packages setup( name='django-buster', version = '0.0.1', description='A simple utility for integrating gulp-buster with Django', author='Eric Bartels', author_email='ebartels@gmail.com', license='BSD', packages=find_packages(), zip_safe=False, clas...
bsd-3-clause
Python
cd922d0e96fd32f1262abb83dfee561fd2c2d24b
Bump to version 0.2.11
plumdog/flask_table,plumdog/flask_table,plumdog/flask_table
setup.py
setup.py
from setuptools import setup install_requires = [ 'Flask', 'Babel' ] setup( name='Flask-Table', packages=['flask_table'], version='0.2.11', author='Andrew Plummer', author_email='plummer574@gmail.com', url='https://github.com/plumdog/flask_table', description='HTML tables for use w...
from setuptools import setup install_requires = [ 'Flask', 'Babel' ] setup( name='Flask-Table', packages=['flask_table'], version='0.2.10', author='Andrew Plummer', author_email='plummer574@gmail.com', url='https://github.com/plumdog/flask_table', description='HTML tables for use w...
bsd-3-clause
Python
94b108277d60152c5120af175c251740ed8d75bd
Fix undefined reference to __version__ in setup.py. Pylint showed an undefined variable error. You can test this fix by changing the 'version' in version.py or setup.py and then running from the command line: python3 setup.py --version
plotly/dash-core-components
setup.py
setup.py
from setuptools import setup main_ns = {} exec(open('dash_core_components/version.py').read(), main_ns) setup( name='dash_core_components', version=main_ns['__version__'], author='Chris Parmer', author_email='chris@plot.ly', packages=['dash_core_components'], include_package_data=True, lic...
from setuptools import setup exec(open('dash_core_components/version.py').read()) setup( name='dash_core_components', version=__version__, author='Chris Parmer', author_email='chris@plot.ly', packages=['dash_core_components'], include_package_data=True, license='MIT', description='Dash...
mit
Python
844d343ab88b21563bc24689e78708f587c63bf2
Bump up version
barumrho/apush
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='apush', version='0.2.0', description='A simple Apple push notification service provider', long_description=readme, ...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='apush', version='0.1.0', description='A simple Apple push notification service provider', long_description=readme, ...
mit
Python
412fb1e5d653627c9245534773081d6b9925cafb
remove unused code
praekelt/molo.polls,praekelt/molo.polls
setup.py
setup.py
import os from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('requirements.txt') as req_file: requires = req_file.read().split('\n') with open('requirements-dev.txt') as req_file: requires_dev = req_file.read().split('\n') with open...
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open('README.rst') as readme_file: readme = readme_file.read() with open('requirements.txt') as req_file: requires = req_file.read().split('\n') with open('requirements-dev.txt') as req_file: req...
bsd-2-clause
Python
7d690c8f124d77f5d86ed65bbdf7f0dd22fc9422
Fix download URL in setup.py
marcharper/python-ternary
setup.py
setup.py
import setuptools from distutils.core import setup with open('README.txt') as file: long_description = file.read() classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "P...
import setuptools from distutils.core import setup with open('README.txt') as file: long_description = file.read() classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "P...
mit
Python
a2b3dc0e065c25d78fe9daaf91facde9f89af5f7
fix content type of readme/long description
typesupply/vanilla
setup.py
setup.py
#!/usr/bin/env python # import sys from setuptools import setup # if "sdist" in sys.argv: # import os # import subprocess # import shutil # docFolder = os.path.join(os.getcwd(), "Documentation") # # remove existing # doctrees = os.path.join(docFolder, "build", "doctrees") # if os.path.exi...
#!/usr/bin/env python # import sys from setuptools import setup # if "sdist" in sys.argv: # import os # import subprocess # import shutil # docFolder = os.path.join(os.getcwd(), "Documentation") # # remove existing # doctrees = os.path.join(docFolder, "build", "doctrees") # if os.path.exi...
mit
Python
4b96f6aedf55025adf4fe1cdf359c6b5c2290569
Bump version
SUNET/eduid-common
setup.py
setup.py
from setuptools import setup, find_packages version = '0.3.0b4' requires = [ 'setuptools >= 2.2', 'eduid-userdb >= 0.0.5', ] # Flavours webapp_requires = [ 'Flask>=0.10.1,<0.12', 'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes 'redis >= 2.10.5', 'pwgen == 0.4'...
from setuptools import setup, find_packages version = '0.3.0b3' requires = [ 'setuptools >= 2.2', 'eduid-userdb >= 0.0.5', ] # Flavours webapp_requires = [ 'Flask>=0.10.1,<0.12', 'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes 'redis >= 2.10.5', 'pwgen == 0.4'...
bsd-3-clause
Python
f63950be86f3a0580cd7aaaad11c8c6aec9575bb
Bump version number
EDITD/queue_util
setup.py
setup.py
import setuptools # How do we keep this in sync with requirements.pip? # REQUIREMENTS = [ "kombu==2.3.2", "nose==1.3.0", "requests>=0.14", "statsd>=2.1.2", ] if __name__ == "__main__": setuptools.setup( name="queue_util", version="0.0.9", author="Sujay Mansingh", ...
import setuptools # How do we keep this in sync with requirements.pip? # REQUIREMENTS = [ "kombu==2.3.2", "nose==1.3.0", "requests>=0.14", "statsd>=2.1.2", ] if __name__ == "__main__": setuptools.setup( name="queue_util", version="0.0.8", author="Sujay Mansingh", ...
mit
Python
8a0736cf1f67637bed549b363a0ff4562578fd6e
Move release
calston/tensor,hobbeswalsh/tensor,calston/tensor,calston/tensor,calston/tensor,hobbeswalsh/tensor
setup.py
setup.py
from setuptools import setup, find_packages setup( name="tensor", version='0.1.14', url='http://github.com/calston/tensor', license='MIT', description="A Twisted based monitoring agent for Riemann", author='Colin Alston', author_email='colin.alston@gmail.com', packages=find_packages() ...
from setuptools import setup, find_packages setup( name="tensor", version='0.1.13', url='http://github.com/calston/tensor', license='MIT', description="A Twisted based monitoring agent for Riemann", author='Colin Alston', author_email='colin.alston@gmail.com', packages=find_packages() ...
mit
Python
06279fc88a41916055404c337cc677f118b7dc12
bump version
secondguard/secondguard-python
setup.py
setup.py
#!/usr/bin/env python3 try: from setuptools import setup except ImportError: from distutils.core import setup # read the contents of your README file from os import path from io import open this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8')...
#!/usr/bin/env python3 try: from setuptools import setup except ImportError: from distutils.core import setup # read the contents of your README file from os import path from io import open this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8')...
apache-2.0
Python
9208b987294aaefd3b3723589ceff0f2d54263ca
Fix for setup.py
mihail-ivanov/flask_shuttle
setup.py
setup.py
from setuptools import setup, find_packages import flask_shuttle entry_points = { 'console_scripts': [ "fshuttle = flask_shuttle.cli:main", ] } with open('requirements.txt') as f: requires = [l for l in f.read().splitlines() if l] setup( name='Flask-Shuttle', version=flask_shuttle.__ve...
from setuptools import setup, find_packages import flask_shuttle entry_points = { 'console_scripts': [ "fshuttle = flask_shuttle.cli:main", ] } with open('requirements.txt') as f: requires = [l for l in f.read().splitlines() if l] setup( name='Flask-Shuttle', version=flask_shuttle.__ve...
mit
Python
86ed4f046d2cf0e583c1446ce95fc8b4e733bd33
Fix classifiers.
thesharp/daemonize
setup.py
setup.py
#!/usr/bin/python from setuptools import setup, find_packages setup( name="daemonize", version="2.2", py_modules=["daemonize"], author="Ilya Otyutskiy", author_email="ilya.otyutskiy@icloud.com", maintainer="Ilya Otyutskiy", url="https://github.com/thesharp/daemonize", description="Libr...
#!/usr/bin/python from setuptools import setup, find_packages setup( name="daemonize", version="2.2", py_modules=["daemonize"], author="Ilya Otyutskiy", author_email="ilya.otyutskiy@icloud.com", maintainer="Ilya Otyutskiy", url="https://github.com/thesharp/daemonize", description="Libr...
mit
Python
36dd83cfd08afc019cf3e560a597d373971ed987
Revert "Update to FontTools 4.18.2 to get https://github.com/fonttools/fonttools/pull/2129"
googlefonts/nanoemoji,googlefonts/nanoemoji
setup.py
setup.py
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, ...
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, ...
apache-2.0
Python
43678d444685a74da010da491020040b37cf17c6
add requests dependency
piskvorky/smart_open,mpenkov/smart_open,asieira/smart_open,RaRe-Technologies/smart_open,gojomo/smart_open,mpenkov/smart_open,RaRe-Technologies/smart_open,val314159/smart_open
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2015 Radim Rehurek <me@radimrehurek.com> # # This code is distributed under the terms and conditions # from the MIT License (MIT). import io import os import sys if sys.version_info < (2, 6): raise ImportError("smart_open requires python >= 2.6") ...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2015 Radim Rehurek <me@radimrehurek.com> # # This code is distributed under the terms and conditions # from the MIT License (MIT). import io import os import sys if sys.version_info < (2, 6): raise ImportError("smart_open requires python >= 2.6") ...
mit
Python
7e72c8df528c918325afe5eb31422b0f3f6b55e8
Add missing dependency on pandas
ddsc/ddsc-core,ddsc/ddsc-core
setup.py
setup.py
from setuptools import setup version = '0.2.dev0' long_description = '\n\n'.join([ open('README.rst').read(), open('CREDITS.rst').read(), open('CHANGES.rst').read(), ]) install_requires = [ 'Django', 'django-extensions', 'django-nose', 'lizard-ui >= 4.0b5', 'cassandralib', 'js...
from setuptools import setup version = '0.2.dev0' long_description = '\n\n'.join([ open('README.rst').read(), open('CREDITS.rst').read(), open('CHANGES.rst').read(), ]) install_requires = [ 'Django', 'django-extensions', 'django-nose', 'lizard-ui >= 4.0b5', 'cassandralib', 'js...
mit
Python
0ccf0e0a8dbd72b08743f7b0daa9f5d4add7345c
Fix path in setup.
genestack/python-client
setup.py
setup.py
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # Copyright (c) 2011-2015 Genestack Limited # All Rights Reserved # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF GENESTACK LIMITED # The copyright notice above does not evidence any # actual or intended publication of such source code. # from distutils.core import ...
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # Copyright (c) 2011-2015 Genestack Limited # All Rights Reserved # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF GENESTACK LIMITED # The copyright notice above does not evidence any # actual or intended publication of such source code. # from distutils.core import ...
mit
Python
636fb7193f16713d2860582e6762f53d01f11483
Bump django from 1.11 to 1.11.28
andreipradan/raspberrymediaplayer,andreipradan/raspberrymediaplayer,andreipradan/raspberrymediaplayer
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function from glob import glob from os.path import basename from os.path import splitext from setuptools import find_packages from setuptools import setup install_requires = [ 'Django==1.11.28', 'djangorestframewor...
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function from glob import glob from os.path import basename from os.path import splitext from setuptools import find_packages from setuptools import setup install_requires = [ 'Django==1.11', 'djangorestframework',...
mit
Python
6385b82506e22daf0664a4d19b1ec4375e49c453
Add a dependency
langdev/log.langdev.org,langdev/log.langdev.org,langdev/log.langdev.org
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distribute_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # NOQA from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finaliz...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distribute_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages # NOQA from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finaliz...
mit
Python
5c0c386b04cbc8623cc7c932804edd374842cf70
update common version dependency
cloudify-cosmo/cloudify-bash-plugin,cloudify-cosmo/cloudify-bash-plugin,cloudify-cosmo/cloudify-bash-plugin
setup.py
setup.py
######### # Copyright (c) 2014 GigaSpaces Technologies Ltd. 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...
######### # Copyright (c) 2014 GigaSpaces Technologies Ltd. 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...
apache-2.0
Python
b101c8b8e5ad725b503d03e30bc3e741b8c4cb5d
Add dependency
gaoce/TimeVis,gaoce/TimeVis,gaoce/TimeVis
setup.py
setup.py
from __future__ import print_function import os from setuptools import setup from setuptools.command.install import install # Utility function to read the README file. def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() class MyInstall(install): """ Customized install class t...
from __future__ import print_function import os from setuptools import setup from setuptools.command.install import install # Utility function to read the README file. def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() class MyInstall(install): """ Customized install class t...
mit
Python
420232bf7ca6ed1dcd0ba9a55e7e33256c670b7f
Add license to setup
genestack/python-client
setup.py
setup.py
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- from distutils.core import setup exec(open('genestack_client/version.py').read()) setup( name='genestack_client', version=__version__, packages=['genestack_client', 'genestack_client.settings', 'genestack_client.scripts'], url='', license='MIT', ...
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- from distutils.core import setup exec(open('genestack_client/version.py').read()) setup( name='genestack_client', version=__version__, packages=['genestack_client', 'genestack_client.settings', 'genestack_client.scripts'], url='', license='', au...
mit
Python
a8d9a001ba4ada083ae4170ef14aac4dbf97aa88
prepare release
PRIArobotics/HedgehogClient
setup.py
setup.py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.absp...
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.absp...
agpl-3.0
Python
1557864150a29c68062e37f1d611aceede383b49
bump version to 0.3.13
williballenthin/viv-utils
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import setuptools requirements = [ "funcy", "argparse", "pefile", "vivisect", "intervaltree", ] setuptools.setup( name='viv_utils', version='0.3.13', description="Utilities for binary analysis using vivisect.", long_description="Util...
#!/usr/bin/env python # -*- coding: utf-8 -*- import setuptools requirements = [ "funcy", "argparse", "pefile", "vivisect", "intervaltree", ] setuptools.setup( name='viv_utils', version='0.3.12', description="Utilities for binary analysis using vivisect.", long_description="Util...
apache-2.0
Python
9d23572b65b99e4e55dcbd6529a25c20f016c3bf
bump version for packaging
rambo/python-holviapi,rambo/python-holviapi
setup.py
setup.py
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import subprocess import six git_version = 'UNKNOWN' try: if six.PY2: git_version = str(subprocess.check_output(['git', 'rev-parse', '--verify', '--short', 'HEAD'])).strip() if six.PY...
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import subprocess import six git_version = 'UNKNOWN' try: if six.PY2: git_version = str(subprocess.check_output(['git', 'rev-parse', '--verify', '--short', 'HEAD'])).strip() if six.PY...
mit
Python
aed6db2679b28bf06bff1c577306ba64ca2ebf8f
Update trove classifiers
RaD/django-south,RaD/django-south,philipn/django-south,philipn/django-south,RaD/django-south
setup.py
setup.py
#!/usr/bin/env python # Use setuptools if we can try: from setuptools.core import setup except ImportError: from distutils.core import setup from south import __version__ setup( name='South', version=__version__, description='South: Migrations for Django', long_description='South is an intelli...
#!/usr/bin/env python # Use setuptools if we can try: from setuptools.core import setup except ImportError: from distutils.core import setup from south import __version__ setup( name='South', version=__version__, description='South: Migrations for Django', long_description='South is an intelli...
apache-2.0
Python
74d353858be9a9e4b4efcbcbdb101c5a564db002
Remove unneeded os.path.join
SijmenSchoon/aiotg,derfenix/aiotg,szastupov/aiotg
setup.py
setup.py
from setuptools import setup, find_packages version_file = open('VERSION') version = version_file.read().strip() setup( name='aiotg', version=version, description='Asynchronous Python API for building Telegram bots', url='https://github.com/szastupov/aiotg', author='Stepan Zastupov', author_e...
from setuptools import setup, find_packages import os version_file = open(os.path.join('VERSION')) version = version_file.read().strip() setup( name='aiotg', version=version, description='Asynchronous Python API for building Telegram bots', url='https://github.com/szastupov/aiotg', author='Stepan...
mit
Python
f92e5d6e15ca7aa0447f8a05903212409e545bce
Install the plotting template, too.
matz-e/lobster,matz-e/lobster,matz-e/lobster
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='Lobster', version='1.0', description='Opportunistic HEP computing tool', author='Anna Woodard, Matthias Wolf', url='https://github.com/matz-e/lobster', packages=['lobster', 'lobster.cmssw'], package_data={'lobster': [ ...
#!/usr/bin/env python from setuptools import setup setup( name='Lobster', version='1.0', description='Opportunistic HEP computing tool', author='Anna Woodard, Matthias Wolf', url='https://github.com/matz-e/lobster', packages=['lobster', 'lobster.cmssw'], package_data={'lobster': [ ...
mit
Python
00d35bd4c6032202b455cb2d3dcaccecaf8d75bd
Update version information
daxm/fmcapi,daxm/fmcapi
setup.py
setup.py
from setuptools import setup, find_packages __author__ = "Dax Mickelson" __author_email = "dmickels@cisco.com" __license__ = "BSD" setup( name='fmcapi', version='20190506.2', description="Easier interface to Cisco's FMC API than writing your own way.", long_description="""With the removal to configure...
from setuptools import setup, find_packages __author__ = "Dax Mickelson" __author_email = "dmickels@cisco.com" __license__ = "BSD" setup( name='fmcapi', version='20190506.1', description="Easier interface to Cisco's FMC API than writing your own way.", long_description="""With the removal to configure...
bsd-3-clause
Python
c9e4c7335e2753ec58713f1158fdb9e8ce0d3c06
Add classifiers for pypi, update version number.
Ezibenroc/PyRoaringBitMap,Ezibenroc/PyRoaringBitMap
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name='pyroaring', version='0.0.3', description='Fast and lightweight set for unsigned 32 bits integers.', url='https://github.com/Ezibenroc/PyRoaringBitMap', author='Tom Cornebize', author_email='tom.cornebize@gmail.com', license='...
#!/usr/bin/env python3 from setuptools import setup setup( name='pyroaring', version='0.0.2', description='Fast and lightweight set for unsigned 32 bits integers.', url='https://github.com/Ezibenroc/PyRoaringBitMap', author='Tom Cornebize', author_email='tom.cornebize@gmail.com', license='...
mit
Python
a703e8a3251516814745106dd8dc21d528ff3782
Bump version to 0.10.6
miLibris/flask-rest-jsonapi
setup.py
setup.py
from setuptools import setup, find_packages __version__ = '0.10.6' setup( name="Flask-REST-JSONAPI", version=__version__, description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \ and data provider of your choice (SQLAlchemy, Mo...
from setuptools import setup, find_packages __version__ = '0.10.5' setup( name="Flask-REST-JSONAPI", version=__version__, description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \ and data provider of your choice (SQLAlchemy, Mo...
mit
Python
f1864ced4684fdc100e73ad1f7b07ebaec9534b9
update dependencies
pipermerriam/ethereum-abi-utils
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup DIR = os.path.dirname(os.path.abspath(__file__)) version = '0.2.2' readme = open(os.path.join(DIR, 'README.md')).read() setup( name='ethereum-abi-utils', version=version, description="""Ethereum ABI Utils""", lon...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup DIR = os.path.dirname(os.path.abspath(__file__)) version = '0.2.2' readme = open(os.path.join(DIR, 'README.md')).read() setup( name='ethereum-abi-utils', version=version, description="""Ethereum ABI Utils""", lon...
mit
Python
f39e86a8a5e9836205a0a8841a0cb35326a45436
Increase version number.
PyBossa/pybossa-client
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pybossa-client', version='1.1.1', packages=find_packages(), install_requires=['requests>=0.13.0'], # metadata for upload to PyPI author='Open Knowledge Foundation Labs', # TODO: change author_email='teleyinex@gmail.com', descr...
from setuptools import setup, find_packages setup( name='pybossa-client', version='1.1.0', packages=find_packages(), install_requires=['requests>=0.13.0'], # metadata for upload to PyPI author='Open Knowledge Foundation Labs', # TODO: change author_email='teleyinex@gmail.com', descr...
mit
Python
6db5969491a6863048e350b4503cafe909a59bdc
move config file
sivy/boxpub
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup with open('README.md') as f: README = f.read() with open('requirements.txt') as f: REQUIREMENTS = f.read() REQUIREMENTS = REQUIREMENTS.split('\n') setup ( name='boxpub', version='0.1', description='basic dropbox web publisher',...
#!/usr/bin/env python import os from distutils.core import setup with open('README.md') as f: README = f.read() with open('requirements.txt') as f: REQUIREMENTS = f.read() REQUIREMENTS = REQUIREMENTS.split('\n') setup ( name='boxpub', version='0.1', description='basic dropbox web publisher',...
mpl-2.0
Python
bd16116d8d5032708dd8ac20ecf9178381069936
Bump the version number
yuzie007/upho,yuzie007/ph_unfolder
setup.py
setup.py
# Always prefer setuptools over distutils from setuptools import setup, find_packages scripts = [ 'scripts/upho_weights', 'scripts/upho_sf', 'scripts/upho_qpoints', 'scripts/upho_fit', ] setup( # This is the name of your project. The first time you publish this # package, this name will be regi...
# Always prefer setuptools over distutils from setuptools import setup, find_packages scripts = [ 'scripts/upho_weights', 'scripts/upho_sf', 'scripts/upho_qpoints', 'scripts/upho_fit', ] setup( # This is the name of your project. The first time you publish this # package, this name will be regi...
mit
Python
a85f7b846f64298b06f6464fcbf4e548817aed65
Add parsedatetime to install_requires
OrkoHunter/ping-me
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- import sys from setuptools import setup if sys.argv[-1] == 'setup.py': print('To install, run \'python setup.py install\'') print() sys.path.insert(0, 'ping_me') import release if __name__ == "__main__": setup( name = release.name, version =...
#! /usr/bin/env python # -*- coding: utf-8 -*- import sys from setuptools import setup if sys.argv[-1] == 'setup.py': print('To install, run \'python setup.py install\'') print() sys.path.insert(0, 'ping_me') import release if __name__ == "__main__": setup( name = release.name, version =...
apache-2.0
Python
91b059ed81a372c003ec75b689e0778208735859
exclude tests in wheel
victorlin/design-patterns
setup.py
setup.py
from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages version = '0.0.0' try: import design_patterns version = design_patterns.__version__ except ImportError: pass tests_require = [ 'pytest', 'pytest-cov', 'pytest-xdist', 'pytest-capturelog', ] s...
from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages version = '0.0.0' try: import design_patterns version = design_patterns.__version__ except ImportError: pass tests_require = [ 'pytest', 'pytest-cov', 'pytest-xdist', 'pytest-capturelog', ] s...
mit
Python
e39cebb021ad83c5839ec1956003ba893e9a57a4
Change version to 0.1.2
globocom/dbaas-zabbix,globocom/dbaas-zabbix
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst...
bsd-3-clause
Python
14758096d92dee4cebe0b70fa6723f48285f5123
Make file opening compatible with python 2.7 in setup.py
EDITD/jsond
setup.py
setup.py
import re import setuptools import sys REQUIREMENTS = [ "python-dateutil>=2.0.0,<3.0.0", "six>=1.10.0,<2", ] DEV_REQUIREMENTS = [ "nose>=1.3,<1.4", ] def get_version(): # Regex matching version pattern version_pattern = re.compile(r"(?P<version>\d+(\.\d+){1,3}([.-][\w-]+)?)") changelog_file...
import re import setuptools import sys REQUIREMENTS = [ "python-dateutil>=2.0.0,<3.0.0", "six>=1.10.0,<2", ] DEV_REQUIREMENTS = [ "nose>=1.3,<1.4", ] def get_version(): # Regex matching version pattern version_pattern = re.compile(r"(?P<version>\d+(\.\d+){1,3}([.-][\w-]+)?)") changelog_file...
mit
Python
67947fa83e89bd7711201d364c750057b3a2453e
Make setup.py PEP8 compatible
tiagochiavericosta/cobe,meska/cobe,LeMagnesium/cobe,wodim/cobe-ng,meska/cobe,LeMagnesium/cobe,tiagochiavericosta/cobe,pteichman/cobe,DarkMio/cobe,DarkMio/cobe,wodim/cobe-ng,pteichman/cobe
setup.py
setup.py
#!/usr/bin/env python # Require setuptools. See http://pypi.python.org/pypi/setuptools for # installation instructions, or run the ez_setup script found at # http://peak.telecommunity.com/dist/ez_setup.py from setuptools import setup setup( name="cobe", version="2.0.4", author="Peter Teichman", autho...
#!/usr/bin/env python import sys # Require setuptools. See http://pypi.python.org/pypi/setuptools for # installation instructions, or run the ez_setup script found at # http://peak.telecommunity.com/dist/ez_setup.py from setuptools import setup, find_packages, Command setup( name = "cobe", version = "2.0.4"...
mit
Python
5aec380788456aaa1ccb511dd3d0afeedbc3388f
Bump logan to 0.2.2
beeftornado/sentry,gg7/sentry,NickPresta/sentry,beni55/sentry,mitsuhiko/sentry,wujuguang/sentry,1tush/sentry,fuziontech/sentry,beeftornado/sentry,vperron/sentry,chayapan/django-sentry,gencer/sentry,camilonova/sentry,nicholasserra/sentry,daevaorn/sentry,BayanGroup/sentry,JamesMura/sentry,Kryz/sentry,1tush/sentry,zenefit...
setup.py
setup.py
#!/usr/bin/env python """ Sentry ====== Sentry is a realtime event logging and aggregation platform. It specializes in monitoring errors and extracting all the information needed to do a proper post-mortem without any of the hassle of the standard user feedback loop. Sentry is a Server ------------------ The Sentry ...
#!/usr/bin/env python """ Sentry ====== Sentry is a realtime event logging and aggregation platform. It specializes in monitoring errors and extracting all the information needed to do a proper post-mortem without any of the hassle of the standard user feedback loop. Sentry is a Server ------------------ The Sentry ...
bsd-3-clause
Python
2778096c6683257d672760908f4c07b0e6a1cedc
Remove dropbox and boto as dependencies because they are optional and boto is not py3 compat
bahoo/django-dbbackup,bahoo/django-dbbackup
setup.py
setup.py
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): ...
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): ...
bsd-3-clause
Python
f43f32b6eceabd4661b8daec77da4728b4544f9e
Support Python 3.3
pyvec/pyvodb
setup.py
setup.py
import sys from setuptools import setup from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): super().finalize_options() self.test_args = [] self.test_suite = True def run_tests(self): import pytest errno = pyt...
import sys from setuptools import setup from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): super().finalize_options() self.test_args = [] self.test_suite = True def run_tests(self): import pytest errno = pyt...
mit
Python
31b73ea490303371a9997397cccb6d111461d981
Remove mode and shebang lines from setup.py
kvas-it/hello_world
setup.py
setup.py
from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() setup( name='hello_world', version='0.1.0', description='Example package', long_description=readme, author='Vasily Kuznetsov', author_email='kvas.it@gmail.com', url='https:...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() setup( name='hello_world', version='0.1.0', description='Example package', long_description=readme, author='Vasily Kuznetsov', au...
mit
Python
f14b9f954ac63fefeca2ad658b2ab5053fe42699
Add egg suffix for pyopenworm install dependency
cheelee/ChannelWorm,cheelee/ChannelWorm,VahidGh/ChannelWorm,VahidGh/ChannelWorm,VahidGh/ChannelWorm,openworm/ChannelWorm,gsarma/ChannelWorm,cheelee/ChannelWorm,gsarma/ChannelWorm,gsarma/ChannelWorm,gsarma/ChannelWorm,cheelee/ChannelWorm,openworm/ChannelWorm,VahidGh/ChannelWorm,openworm/ChannelWorm,openworm/ChannelWorm
setup.py
setup.py
from setuptools import setup setup( name='ChannelWorm', packages=[ 'channelworm', 'channelworm.ion_channel', 'channelworm.digitizer', 'channelworm.web_app', 'channelworm.fitter' ], long_description=open('README.md').read(), install_requires=[ 'Django<...
from setuptools import setup setup( name='ChannelWorm', packages=[ 'channelworm', 'channelworm.ion_channel', 'channelworm.digitizer', 'channelworm.web_app', 'channelworm.fitter' ], long_description=open('README.md').read(), install_requires=[ 'Django<...
mit
Python
7999c2396e869c6942d7b2388c3555046ad28ce4
bump to 0.2
chrisdrackett/django-support,chrisdrackett/django-support
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-support', version='0.2', description='Support filters/tags/etc. for django.', classifiers = [ "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Prog...
from setuptools import setup, find_packages setup( name='django-support', version='0.1', description='Support filters/tags/etc. for django.', classifiers = [ "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Prog...
bsd-3-clause
Python
2e307065957909ec7e24753f403fd1fae847d82e
Fix setup.py
openfisca/openfisca-tunisia,openfisca/openfisca-tunisia
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" from setuptools import setup, find_packages classifiers = """\ Development Status :: 2 - Pre-Alpha License :: OSI Approved :: GNU Affero General Public License v3 Operating System...
#! /usr/bin/env python # -*- coding: utf-8 -*- """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" from setuptools import setup, find_packages classifiers = """\ Development Status :: 2 - Pre-Alpha License :: OSI Approved :: GNU Affero General Public License v3 Operating System...
agpl-3.0
Python
a90212029b93442607f335c908d9efc18a630aef
update setup.py
masashi-y/depccg,masashi-y/myccg,masashi-y/myccg,masashi-y/depccg,masashi-y/myccg,masashi-y/myccg,masashi-y/depccg,masashi-y/depccg
setup.py
setup.py
#! -*- coding: utf-8 -*- from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy ext_modules = [ Extension("utils", ["utils.pyx"], include_dirs=[numpy.get_include()] ), # Extens...
#! -*- coding: utf-8 -*- from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext ext_modules = [ Extension("utils", ["utils.pyx"], ), # Extension("astar", # ["astar.pyx"], # ...
mit
Python
375c48d56b4f3da8302b6a7c0dd442aedd9815bf
fix setup packages configuration
felipecruz/coopy,felipecruz/coopy
setup.py
setup.py
''' Created on May 20, 2010 @author: felipe ''' from distutils.core import setup setup(name='coopy', version='0.3', description='coopy - plain objects prevalence tool', author='Felipe Cruz', author_email='felipecruz@loogica.net', url='http://coopy.readthedocs.org', packages=['coop...
''' Created on May 20, 2010 @author: felipe ''' from distutils.core import setup setup(name='coopy', version='0.3', description='coopy - plain objects prevalence tool', author='Felipe Cruz', author_email='felipecruz@loogica.net', url='http://coopy.readthedocs.org', packages=['coop...
bsd-3-clause
Python
c04229b3207afb80f328017aebd931fda9c9f5af
Bump version
reberhardt7/sofa
setup.py
setup.py
from setuptools import setup requires = [ 'pyramid', 'SQLAlchemy', 'transaction', 'validate_email', 'pyDNS', 'passlib', 'pycrypto', 'requests', 'python-slugify', 'uritemplate', 'pyyaml', ] setup(name='sofa', version='0.2', description='A lightweight REST API...
from setuptools import setup requires = [ 'pyramid', 'SQLAlchemy', 'transaction', 'validate_email', 'pyDNS', 'passlib', 'pycrypto', 'requests', 'python-slugify', 'uritemplate', 'pyyaml', ] setup(name='sofa', version='0.1', description='A lightweight REST API...
mit
Python
8b66202f62e04226c46445f12c5edd5ec4b12ad0
Upgrade deps to latest point releases
TangledWeb/tangled
setup.py
setup.py
from setuptools import setup setup( name='tangled', version='0.1a7.dev0', description='Tangled namespace and utilities', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled/tags', author='Wyatt Baldwin', au...
from setuptools import setup setup( name='tangled', version='0.1a7.dev0', description='Tangled namespace and utilities', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled/tags', author='Wyatt Baldwin', au...
mit
Python
4cc24cfbf6465d8a063811c1995efc1949d23a60
Fix the version in setup.py to 0.2.6
thecynic/pylutron
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'pylutron', version = '0.2.6', license = 'MIT', description = 'Python library for Lutron RadioRA 2', author = 'Dima Zavin', author_email = 'thecynic@gmail.com', url = 'http://github.com/thecynic/pylutron', ...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'pylutron', version = '0.2.5', license = 'MIT', description = 'Python library for Lutron RadioRA 2', author = 'Dima Zavin', author_email = 'thecynic@gmail.com', url = 'http://github.com/thecynic/pylutron', ...
mit
Python
422331fc6faa67eb1516af31c349089b7f8719d2
fix description
mwhooker/jones,mwhooker/jones,mwhooker/jones,mwhooker/jones
setup.py
setup.py
""" Copyright 2012 DISQUS 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 applicable law or agreed to in writing, software distrib...
""" Copyright 2012 DISQUS 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 applicable law or agreed to in writing, software distrib...
apache-2.0
Python
33d5d409af88a6ac6e64b96116c8f5a47b160186
update trove classifiers
nedbat/django_coverage_plugin
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- """Setup for Django Coverage Plugin Licensed under the Apache 2.0 License - http://www.apache.org/licenses/LICENSE-2.0 - https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt """ from __future__ import absolute_import, print_function import io import ...
#!/usr/bin/env python # -*- encoding: utf-8 -*- """Setup for Django Coverage Plugin Licensed under the Apache 2.0 License - http://www.apache.org/licenses/LICENSE-2.0 - https://github.com/nedbat/django_coverage_plugin/blob/master/NOTICE.txt """ from __future__ import absolute_import, print_function import io import ...
apache-2.0
Python
5cb9dd6c2809afe637055ed6ca5b8550f72c08d8
Bump version
thombashi/SimpleSQLite,thombashi/SimpleSQLite
setup.py
setup.py
import os.path import setuptools import sys REQUIREMENT_DIR = "requirements" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "intro...
import os.path import setuptools import sys REQUIREMENT_DIR = "requirements" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "intro...
mit
Python
ef10db86aedbab35e9de5d74cdfcdda642bd3e69
Update version for PyPI
thismachinechills/save_skype
setup.py
setup.py
from setuptools import setup with open('requirements.txt', 'r') as file: requirements = file.readlines() setup(name="save_skype", version="0.1.5", description="Extract and save Skype chats.", url="https://github.com/thismachinechills/save_skype", author="thismachinechills (Alex)", li...
from setuptools import setup with open('requirements.txt', 'r') as file: requirements = file.readlines() setup(name="save_skype", version="0.1.4", description="Extract and save Skype chats.", url="https://github.com/thismachinechills/save_skype", author="thismachinechills (Alex)", li...
agpl-3.0
Python
d877026daeb093cbd381a577c0c8148ae2421f27
Remove extraneous license argument becuase of trove.
dbcli/cli_helpers,dbcli/cli_helpers
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import ast from io import open import re from setuptools import find_packages, setup _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('cli_helpers/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-...
#!/usr/bin/env python # -*- coding: utf-8 -*- import ast from io import open import re from setuptools import find_packages, setup _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('cli_helpers/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-...
bsd-3-clause
Python
6114a518de8d2db560db193ed4bc26d6e1659ce7
fix sar reporting in the gate
openstack-dev/devstack,sc68cal/devstack,sequenceiq/devstack,bq-xiao/devstack,JioCloud/devstack,bljgaurav/openstack-test,eharney/devstack,virtualopensystems/devstack,costingalan/devstack,ozamiatin/devstack,mssumanth/devstack,Juniper/devstack,pombredanne/devstack,atulpatil301/devstack,richliu/devstack,eshnil2000/devstack...
tools/sar_filter.py
tools/sar_filter.py
#!/usr/bin/env python # # Copyright 2014 Samsung Electronics Corp. 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 # # U...
#!/usr/bin/env python # # Copyright 2014 Samsung Electronics Corp. 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 # # U...
apache-2.0
Python
b0b123f4a21d57b2f38366d4612bcec89ee36a22
Add option to choose festival voice
mcfletch/webtoys,mcfletch/webtoys,mcfletch/webtoys
wordlists/generatesounds.py
wordlists/generatesounds.py
#! /usr/bin/env python """Script to generate .mp3 and .ogg files for a given word-list sudo aptitude install festival festvox-us1 festvox-us2 festvox-us3 """ import os,sys,optparse,tempfile,subprocess def get_options(): parser = optparse.OptionParser() parser.add_option( '-w','--wordlist', d...
#! /usr/bin/env python """Script to generate .mp3 and .ogg files for a given word-list""" import os,sys,optparse,tempfile,subprocess def get_options(): parser = optparse.OptionParser() parser.add_option( '-w','--wordlist', dest='wordlist', default=None, metavar="FILE", ...
mit
Python
e6e04236286cf4fbec9158011341c7e86d600bc9
Add missing punctuation marks in regex.
theovasi/browsewiki,theovasi/browsewiki,theovasi/browsewiki
toolset/mogreltk.py
toolset/mogreltk.py
""" This module offers a number tools for processing modern Greek text. """ import re from nltk import sent_tokenize, word_tokenize from greek_stemmer import GreekStemmer def normalize(text): """ Remove intonation from Greek text. Args: text (str): The text that will be normalized. Ret...
""" This module offers a number tools for processing modern Greek text. """ import re from nltk import sent_tokenize, word_tokenize from greek_stemmer import GreekStemmer def normalize(text): """ Remove intonation from Greek text. Args: text (str): The text that will be normalized. Ret...
mit
Python
59fbfd4999f9598efb20ce848aab7a65209f3565
Remove unused json import
mivade/tornadose
tornadose/stores.py
tornadose/stores.py
"""Data storage for dynamic updates to clients.""" class DataStore(object): """Generic object for producing data to feed to clients. Notes ----- To use this, simply instantiate and update the ``data`` property whenever new data is available. When creating a new :class:`views.EventSour...
"""Data storage for dynamic updates to clients.""" try: import simplejson as json except ImportError: import json class DataStore(object): """Generic object for producing data to feed to clients. Notes ----- To use this, simply instantiate and update the ``data`` property w...
mit
Python
4a589d404dc55c75fc51475b744d07ff2fa870f1
update version
eaton-lab/toytree
toytree/__init__.py
toytree/__init__.py
#!/usr/bin/env python __version__ = "1.1.5" __author__ = "Deren Eaton" from .Toytree import ToyTree as tree from .Toytree import RawTree as _rawtree from .Randomtree import RandomTree as rtree from .Multitree import MultiTree as mtree from .Container import Container as container from .PCM import PCM as pcm # make a...
#!/usr/bin/env python __version__ = "1.1.4" __author__ = "Deren Eaton" from .Toytree import ToyTree as tree from .Toytree import RawTree as _rawtree from .Randomtree import RandomTree as rtree from .Multitree import MultiTree as mtree from .Container import Container as container from .PCM import PCM as pcm # make a...
bsd-3-clause
Python
5abcbe0d4528daa1e202a455251ced0581589850
optimize slightly for larger lists
RedKrieg/pysparklines
spark.py
spark.py
#!/usr/bin/env python # vim: set fileencoding=utf-8 : import re, string, sys spark_chars = u"▁▂▃▄▅▆▇█" def _convert_to_float(i): try: return float(i) except: return None def sparkify(series): u"""Converts <series> to a sparkline string. Example: Input: [ 0.5, 1.2, 3.5, 7....
#!/usr/bin/env python # vim: set fileencoding=utf-8 : import re, string, sys spark_chars = u"▁▂▃▄▅▆▇█" def _convert_to_float(i): try: return float(i) except: return None def sparkify(series): u"""Converts <series> to a sparkline string. Example: Input: [ 0.5, 1.2, 3.5, 7....
bsd-2-clause
Python
bc8e548e51fddc251eb2e915883e3ee57bb9515b
Add docstrings to jwt handlers
ZeroCater/zc_common,ZeroCater/zc_common
zc_common/jwt_auth/utils.py
zc_common/jwt_auth/utils.py
import jwt from rest_framework_jwt.settings import api_settings def jwt_payload_handler(user): '''Constructs a payload for a user JWT. This is a slimmed down version of https://github.com/GetBlimp/django-rest-framework-jwt/blob/master/rest_framework_jwt/utils.py#L11 :param User: an object with `pk` ...
import jwt from rest_framework_jwt.settings import api_settings def jwt_payload_handler(user): # The handler from rest_framework_jwt removed user_id, so this is a fork payload = { 'id': user.pk, 'roles': user.get_roles(), } return payload def jwt_encode_handler(payload): return ...
mit
Python
4ccb117a6e783e7d8cb95bec26415a8b4f3e6763
Drop Py2 and six on salt/runners/doc.py
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
salt/runners/doc.py
salt/runners/doc.py
""" A runner module to collect and display the inline documentation from the various module types """ import itertools import salt.client import salt.runner import salt.wheel from salt.exceptions import SaltClientError def __virtual__(): """ Always load """ return True def runner(): """ Re...
# -*- coding: utf-8 -*- """ A runner module to collect and display the inline documentation from the various module types """ # Import Python libs from __future__ import absolute_import, print_function, unicode_literals import itertools # Import salt libs import salt.client import salt.runner import salt.wheel from s...
apache-2.0
Python
f80d4cad1809c97f1b83d836c72da3861f4f4187
add door_status
c3e/TremendousSwampy
tremendousswampy.py
tremendousswampy.py
import argparse import paho.mqtt.client as mqtt from influxdb import InfluxDBClient from lib.swamp import Swamp DEFAULT_PATTERNS = [ {'SUB': 'foobar/oben/lounge/leinwand/action', 'TAGS': {'TOPIC': 'TOPIC', 'ROOM': -3}, 'MEASUREMENT': "leinwand", 'TYPE': str }, {'SUB': 'foobar/+/tuer/', 'TA...
import argparse import paho.mqtt.client as mqtt from influxdb import InfluxDBClient from lib.swamp import Swamp DEFAULT_PATTERNS = [ {'SUB': 'foobar/oben/lounge/leinwand/action', 'TAGS': {'TOPIC': 'TOPIC', 'ROOM': -3}, 'MEASUREMENT': "leinwand", 'TYPE': str }, ] # all the cmdline foo parser = argp...
mit
Python
b863b6ce020bb1b9a41b1cd4c81b725d47a06dd8
Disable date_hierarchy for now since it requires tzinfo in MySQL
mback2k/django-app-builds
admin.py
admin.py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Project, Repository, Change, Builder, Build class ProjectAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ('name',) class RepositoryAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ('name',) ...
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Project, Repository, Change, Builder, Build class ProjectAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ('name',) class RepositoryAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ('name',) ...
mit
Python
5e8884f00ed09242dd6adb0135c0113aff1b717b
Change to relative imports for mpc module
OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft
syft/mpc/__init__.py
syft/mpc/__init__.py
from syft.mpc import securenn, utils __all__ = ["securenn", "utils"]
from . import securenn from . import utils __all__ = ["securenn", "utils"]
apache-2.0
Python
821eeab2124eb49aca10d11c134607754b6b2aa8
add borders as inline admin
jantoniomartin/condottieri_scenarios,jantoniomartin/condottieri_scenarios
admin.py
admin.py
from django.contrib import admin import condottieri_scenarios.models as scenarios from condottieri_scenarios.graphics import make_scenario_map class ContenderInline(admin.TabularInline): model = scenarios.Contender extra = 1 ordering = ['country'] class SetupInline(admin.TabularInline): model = scenarios.Setup ...
from django.contrib import admin import condottieri_scenarios.models as scenarios from condottieri_scenarios.graphics import make_scenario_map class ContenderInline(admin.TabularInline): model = scenarios.Contender extra = 1 ordering = ['country'] class SetupInline(admin.TabularInline): model = scenarios.Setup ...
agpl-3.0
Python
6e3abf626520a865c9eb3af6317a5a2db0db31be
Set default epsilon
davidrobles/mlnd-capstone-code
capstone/rl/policies/egreedy.py
capstone/rl/policies/egreedy.py
from .greedy import Greedy from .random_policy import RandomPolicy from ..policy import Policy from ...utils import check_random_state class EGreedy(Policy): def __init__(self, provider, qf, epsilon=0.1, random_state=None): self.provider = provider self.qf = qf self.epsilon = epsilon ...
from .greedy import Greedy from .random_policy import RandomPolicy from ..policy import Policy from ...utils import check_random_state class EGreedy(Policy): def __init__(self, provider, qf, epsilon, random_state=None): self.provider = provider self.qf = qf self.epsilon = epsilon ...
mit
Python
390adf5a8a5525d5754e5f5eba22825ec17f809b
Set INFLUXDB_CREATE_DATABASE to False in default_settings
openmaraude/APITaxi,openmaraude/APITaxi
APITaxi2/default_settings.py
APITaxi2/default_settings.py
# SQLALCHEMY_ECHO = True # Warning is displayed when SQLALCHEMY_TRACK_MODIFICATIONS is the default. # Future SQLAlchemy version will set this value to False by default anyway. SQLALCHEMY_TRACK_MODIFICATIONS = False INFLUXDB_DATABASE = 'taxis' INFLUXDB_CREATE_DATABASE = False _ONE_MINUTE = 60 _ONE_HOUR = _ONE_MINUTE ...
# SQLALCHEMY_ECHO = True # Warning is displayed when SQLALCHEMY_TRACK_MODIFICATIONS is the default. # Future SQLAlchemy version will set this value to False by default anyway. SQLALCHEMY_TRACK_MODIFICATIONS = False INFLUXDB_DATABASE = 'taxis' _ONE_MINUTE = 60 _ONE_HOUR = _ONE_MINUTE * 60 _ONE_DAY = _ONE_HOUR * 24 _S...
agpl-3.0
Python
9063495c9b3d94636959e05fe874a65dc597e060
make sure linking works...
legoktm/legobot-old,legoktm/legobot-old
trunk/toolserver/pywp/pui.py
trunk/toolserver/pywp/pui.py
#!usr/bin/python # -*- coding: utf-8 -* # # (C) Legoktm 2008-2010, MIT License # import re, sys, os sys.path.append(os.environ['HOME'] + '/pywikipedia') import wikipedia as wiki site=wiki.getSite() page = wiki.Page(site,'Wikipedia:Possibly unfree files') wikitext = page.get() wikitext = re.compile(r'\n==New listing...
#!usr/bin/python # -*- coding: utf-8 -* # # (C) Legoktm 2008-2010, MIT License # import re, sys, os import wikipedia as wiki site=wiki.getSite() page = wiki.Page(site,'Wikipedia:Possibly unfree files') wikitext = page.get() wikitext = re.compile(r'\n==New listings==', re.IGNORECASE).sub(r'\n*[[/{{subst:#time:Y F ...
mit
Python
79134b20556ffa366e0aabdd973c0c7acfb86a6c
Read and parse written CSV.
earcanal/dotprobe,earcanal/dotprobe,earcanal/dotprobe
schedule2stimuli.py
schedule2stimuli.py
#!/usr/bin/python import csv import pprint import pdb p = 0 # read schedule (from SCRT) schedule_f = 'schedule_' + str(p) inf = open(schedule_f,'r') for line in inf.readlines(): line = line.rstrip() schedule = line.split(' ') inf.close() # allocate stimuli and write csv a = 0 b = [] phase = ''...
#!/usr/bin/python import csv import pprint p = 0 # read schedule (from SCRT) schedule_f = 'schedule_' + str(p) inf = open(schedule_f,'r') for line in inf.readlines(): line = line.rstrip() schedule = line.split(' ') inf.close() # allocate stimuli and write csv a = 0 b = [] phase = '' csvfile = ...
cc0-1.0
Python
d37a9cb834cedaacc328ef357a09d2f3a3f8df45
Change paragraph structure
IATI/iati.core,IATI/iati.core
iati/core/default.py
iati/core/default.py
"""A module to provide a copy of all the default data within the IATI SSOT. This includes Codelists, Schemas and Rulesets at various versions of the Standard. Todo: Handle multiple versions of the Standard rather than limiting to the latest. Implement more than Codelists. """ import os import iati.core.codel...
"""A module to provide a copy of all the default data within the IATI SSOT. This includes Codelists, Schemas and Rulesets at various versions of the Standard. Todo: Handle multiple versions of the Standard rather than limiting to the latest. Implement more than Codelists. """ import os import iati.core.codel...
mit
Python
776f5231ab7de7dbc337353330f8bdaaccca5ef7
add utility to get the negative of a fn
eltonlaw/impyute
impyute/util/util.py
impyute/util/util.py
""" Random utility functions """ from functools import wraps def thread(arg, *fns): if len(fns) > 0: return thread(fns[0](arg), *fns[1:]) else: return arg def identity(x): return x def constantly(x): """ Returns a function that takes any args and returns x """ def func(*args, **kw...
""" Random utility functions """ def thread(arg, *fns): if len(fns) > 0: return thread(fns[0](arg), *fns[1:]) else: return arg def identity(x): return x def constantly(x): """ Returns a function that takes any args and returns x """ def func(*args, **kwargs): return x ...
mit
Python
3e48f3c06eca000c53619c563719a1db58d9a15b
Fix bug caused by previous commit
nanonyme/trivial-buildpack-python,nanonyme/trivial-buildpack-python,nanonyme/trivial-buildpack-python
bin/build.py
bin/build.py
#!/usr/bin/env python import sys, subprocess from os.path import join, dirname from os import getcwd virtualenv = join('.', dirname(sys.argv[0]), '..', 'virtualenv', 'virtualenv.py') def bootstrap(path, distribute=True): if distribute: return subprocess.call([virtualenv, '--distribu...
#!/usr/bin/env python import sys, subprocess from os.path import join, dirname, getcwd virtualenv = join('.', dirname(sys.argv[0]), '..', 'virtualenv', 'virtualenv.py') def bootstrap(path, distribute=True): if distribute: return subprocess.call([virtualenv, '--distribute', path]) ...
mit
Python
102e64bda562abf96f7efdb1078a8ad6131a4516
replace masker with more optimized one
mitmproxy/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,mitmproxy/mitmproxy,Kriechi/mitmproxy,vhaupert/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy,mitmproxy/mitmproxy,vhaupert/mitmproxy,mhils/mitmproxy,Kriechi/mitmproxy,vhaupert/mitmproxy,mhils/mitmproxy,Kriechi/mitmproxy,mhils/mitmproxy,vhaupert/mitmproxy,mhils/mi...
mitmproxy/net/websockets/masker.py
mitmproxy/net/websockets/masker.py
import sys class Masker: """ Data sent from the server must be masked to prevent malicious clients from sending data over the wire in predictable patterns. Servers do not have to mask data they send to the client. https://tools.ietf.org/html/rfc6455#section-5.3 """ def __init__(self, key...
class Masker: """ Data sent from the server must be masked to prevent malicious clients from sending data over the wire in predictable patterns. Servers do not have to mask data they send to the client. https://tools.ietf.org/html/rfc6455#section-5.3 """ def __init__(self, key): se...
mit
Python
22a4d745a4680c928c2b122f25109b3491902dbe
Fix pkg-config environment
BreakawayConsulting/xyz
rules/pkg-config.py
rules/pkg-config.py
import xyz class PkgConfig(xyz.BuildProtocol): pkg_name = 'pkg-config' deps = ['gettext', 'glib'] def configure(self): env = {'GLIB_CFLAGS': "-I{devtree_dir_abs}/include/glib-2.0 -I{devtree_dir_abs}/{host}/lib/glib-2.0/include/", 'GLIB_LIBS': '-L{devtree_dir_abs}/{host}/lib -lglib-2...
import xyz class PkgConfig(xyz.BuildProtocol): pkg_name = 'pkg-config' deps = ['gettext', 'glib'] def configure(self): env = {'GLIB_CFLAGS': "-I{devtree_dir_abs}/include/glib-2.0 -I{devtree_dir_abs}/{host}/lib/glib-2.0/include/", 'GLIB_LIBS': '-L{devtree_dir_abs}/{host}/lib -lglib-2...
mit
Python
df5fb0a4d01364fd5f85971f5f9440a9e7406733
Update apt cache call to install pip deps
cf-platform-eng/bosh-azure-template,cf-platform-eng/bosh-azure-template
bootstrap.py
bootstrap.py
#!/usr/bin/env python import urllib2 import json import apt import tarfile import tempfile import shutil import sys from shutil import copytree from os import environ from os import listdir from os import symlink from os.path import isfile, join # install packages package_list = ['python-pip'] print "Updating apt ca...
#!/usr/bin/env python import urllib2 import json import apt import tarfile import tempfile import shutil import sys from shutil import copytree from os import environ from os import listdir from os import symlink from os.path import isfile, join # install python-pip and it's dependencies... package_list = ["binutils"...
apache-2.0
Python
1df15fa8eee9d87b72dd6e5c528baa39b1314969
remove partial with no extra arguments
madisonmay/IndicoIo-python,IndicoDataSolutions/IndicoIo-python,wassname/IndicoIo-python,nikolaik/IndicoIo-python
indicoio/__init__.py
indicoio/__init__.py
from functools import wraps, partial import warnings Version, version, __version__, VERSION = ('0.9.0',) * 4 JSON_HEADERS = { 'Content-type': 'application/json', 'Accept': 'application/json', 'client-lib': 'python', 'version-number': VERSION } from indicoio.text.twitter_engagement import twitter_enga...
from functools import wraps, partial import warnings Version, version, __version__, VERSION = ('0.9.0',) * 4 JSON_HEADERS = { 'Content-type': 'application/json', 'Accept': 'application/json', 'client-lib': 'python', 'version-number': VERSION } from indicoio.text.twitter_engagement import twitter_enga...
mit
Python
504f189f8a81014d72b5ff80032b0aec684fe9c7
Bump version
NaturalHistoryMuseum/inselect,NaturalHistoryMuseum/inselect
inselect/__init__.py
inselect/__init__.py
"""Segmentation, validation and annotation of scanned images of museum objects """ __version__ = '0.1.13' # distutils/version.py and win32/lib/win32versionstamp.py have different # restrictions on the format of version numbers - both must be met. # Three numbers separated by dots is a safe format.
"""Segmentation, validation and annotation of scanned images of museum objects """ __version__ = '0.1.12' # distutils/version.py and win32/lib/win32versionstamp.py have different # restrictions on the format of version numbers - both must be met. # Three numbers separated by dots is a safe format.
bsd-3-clause
Python
2b5fddc6601bb6b0ed4fdc751aaf47bbcefccb26
Add a note to sample job about EC2 configs
codebynumbers/smr,50onRed/smr
jobs/common_crawl.py
jobs/common_crawl.py
#!/usr/bin/env python """ Usage: `smr common_crawl.py` or `smr-ec2 common-crawl.py` This sample job computes the number of times each domain appears in the dataset and outputs that in descending order. Uses commoncrawl dataset from http://commoncrawl.org/ that's hosted on S3: http://aws.amazon.com/datasets/41740 """ i...
#!/usr/bin/env python """ Usage: `smr common_crawl.py` or `smr-ec2 common-crawl.py` This sample job computes the number of times each domain appears in the dataset and outputs that in descending order. Uses commoncrawl dataset from http://commoncrawl.org/ that's hosted on S3: http://aws.amazon.com/datasets/41740 """ i...
mit
Python
47ca65f84025e9d5c9c90dbaf2771e5032a2576c
remove boilerplate code
mahidharc/drdo.ids,mahidharc/drdo.ids
algo8.py
algo8.py
from numpy import * from random import * class TCPstream: destinationIP = "" destinationPort = "" windowSize = 0 bandCount = 0 errorProportion = 0.0 trainWindowCount = 0 packetCounter = zeros(6) probabilityArray = array([]) thresholdProbability = 0.8 def __init__(self,winSize,bandC): self.windo...
from numpy import * from random import * class TCPstream: destinationIP = "" destinationPort = "" windowSize = 0 bandCount = 0 errorProportion = 0.0 trainWindowCount = 0 packetCounter = zeros(6) probabilityArray = array([]) thresholdProbability = 0.8 def __init__(self,winSize,bandC): self.windo...
mit
Python
5eb0715ded6df14a605d5ed4ee29b3428e513827
Add old app sintax
txerpa/dj-txmoney
txmoney/__init__.py
txmoney/__init__.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = '0.6.0' default_app_config = 'txmoney.apps.TXMoneyConfig'
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = '0.6.0'
mit
Python
3f4cf4fba0fc7d58694a044869f19897e11b9346
return an empty response
codeforamerica/typeseam,codeforamerica/typeseam,codeforamerica/typeseam
typeseam/public/views.py
typeseam/public/views.py
import os from datetime import datetime from pytz import timezone from flask import render_template, url_for, current_app, request from typeseam.public import blueprint from twilio import twiml import sendgrid from typeseam.app import sg, csrf @blueprint.route('/privacy/') def privacy_policy(): return render_te...
import os from datetime import datetime from pytz import timezone from flask import render_template, url_for, current_app, request from typeseam.public import blueprint from twilio import twiml import sendgrid from typeseam.app import sg, csrf @blueprint.route('/privacy/') def privacy_policy(): return render_te...
bsd-3-clause
Python
8d61b2f33e9ddfe257397e24d41c0423d9f95dcd
Bump version
russss/ukparliament
ukparliament/__init__.py
ukparliament/__init__.py
from ukparliament.client import Parliament __version__ = "0.5" __all__ = ["Parliament"]
from ukparliament.client import Parliament __version__ = "0.4" __all__ = ["Parliament"]
mit
Python
47c3f9461c9855c972c5cf1e2518dc289ea49367
enable context aware commits (#17)
googleapis/java-mediatranslation,googleapis/java-mediatranslation,googleapis/java-mediatranslation
synth.py
synth.py
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, s...
# Copyright 2020 Google LLC # # 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 applicable law or agreed to in writing, s...
apache-2.0
Python
5f6e948dbba2f389c89840cad682e950110cf6ca
Use relative path Use NMEA type message to have a checksum
baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite
Control/controlFromMobile.py
Control/controlFromMobile.py
import os import sys import threading import time import numpy as np sys.path.append(os.getcwd()) sys.path.append('../ObjectTracking') import mobileState import serial def computeXORChecksum(chksumdata): # Inspired from http://doschman.blogspot.fr/2013/01/calculating-nmea-sentence-checksums.html # Initializing XO...
import os import sys import threading import time import numpy as np sys.path.append(os.getcwd()) sys.path.append('/media/bat/DATA/Baptiste/Nautilab/kite_project/robokite/ObjectTracking') import mobileState import serial try: # Get the mobile orientation mobile = mobileState.mobileState() a = threading.Thread(Non...
mit
Python