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 |
|---|---|---|---|---|---|---|---|---|
4fd0225a615616a2a881e1d1c5c59942751cb204 | add classifiers | longaccess/longaccess-client,longaccess/longaccess-client,longaccess/longaccess-client | setup.py | setup.py | from setuptools import setup, find_packages
from lacli import __version__
setup(version=__version__,
name="lacli",
author="Konstantinos Koukopoulos",
author_email='kk@longaccess.com',
description="The Long Access client",
long_description=open('README').read(),
url='http://github.co... | from setuptools import setup, find_packages
from lacli import __version__
setup(version=__version__,
name="lacli",
author="Konstantinos Koukopoulos",
author_email='kk@longaccess.com',
description="The Long Access client",
long_description=open('README').read(),
url='http://github.co... | apache-2.0 | Python |
2dd278e6d8241e751da7cb5e4f101ceb0bcbb5dd | set beta classifier | ariebovenberg/omgorm,ariebovenberg/snug | setup.py | setup.py | import os.path
from setuptools import setup, find_packages
def read_local_file(fname):
path = os.path.join(os.path.dirname(__file__), fname)
with open(path, 'r') as rfile:
return rfile.read()
metadata = {}
exec(read_local_file('snug/__about__.py'), metadata)
readme = read_local_file('README.rst')
hi... | import os.path
from setuptools import setup, find_packages
def read_local_file(fname):
path = os.path.join(os.path.dirname(__file__), fname)
with open(path, 'r') as rfile:
return rfile.read()
metadata = {}
exec(read_local_file('snug/__about__.py'), metadata)
readme = read_local_file('README.rst')
hi... | mit | Python |
7de19538d40dafc95fd93ce90f91bbce98d78651 | Update pymatgen version to 1.2.2 | Bismarrck/pymatgen,migueldiascosta/pymatgen,migueldiascosta/pymatgen,Bismarrck/pymatgen,migueldiascosta/pymatgen,Bismarrck/pymatgen,Bismarrck/pymatgen,Bismarrck/pymatgen | setup.py | setup.py | import os
from setuptools import setup, find_packages
README = os.path.join(os.path.dirname(__file__), 'README.md')
long_description = open(README).read() + '\n\n'
setup (
name = 'pymatgen',
version = '1.2.2',
packages = find_packages(),
install_requires = ['numpy', 'scipy', 'matplotlib', 'PyCIFRW'],
data... | import os
from setuptools import setup, find_packages
README = os.path.join(os.path.dirname(__file__), 'README.md')
long_description = open(README).read() + '\n\n'
setup (
name = 'pymatgen',
version = '1.2.1',
packages = find_packages(),
install_requires = ['numpy', 'scipy', 'matplotlib', 'PyCIFRW'],
data... | mit | Python |
5e038b0126a35cee81be8fc01f85e9c162b83ead | Fix project name typo | jupyter/jupyter | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import print_function
import os
import sys
from distutils.core import setup
pjoin = os.path.join
here = os.path.abspath(os.path.dirname(__file__))
setup_args ... | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) Juptyer Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import print_function
import os
import sys
from distutils.core import setup
pjoin = os.path.join
here = os.path.abspath(os.path.dirname(__file__))
setup_args ... | bsd-3-clause | Python |
65ffe5d82988f0af830a21e8a273df2e14f9ae9c | update version | rpq/django_deploys | setup.py | setup.py | import glob
from distutils.core import setup
with open('PYPI_CLASSIFIERS.txt') as f:
PYPI_CLASSIFIERS = filter(None, f.read().split('\n'))
with open('REQUIREMENTS.txt') as f:
REQUIREMENTS = filter(None, f.read().split('\n'))
with open('README.md') as f:
README = f.read()
data_files = ['MIT_LICENSE.txt', '... | import glob
from distutils.core import setup
with open('PYPI_CLASSIFIERS.txt') as f:
PYPI_CLASSIFIERS = filter(None, f.read().split('\n'))
with open('REQUIREMENTS.txt') as f:
REQUIREMENTS = filter(None, f.read().split('\n'))
with open('README.md') as f:
README = f.read()
data_files = ['MIT_LICENSE.txt', '... | mit | Python |
8fb4149a6a7266b8784e06f537c83e39e5b4ccf4 | add sqlitebck for segment promotion, change development status | jkafader/trough,jkafader/trough | setup.py | setup.py | from setuptools import setup
import glob
setup(
name='Trough',
version='0.1dev1',
packages=['trough',],
maintainer='James Kafader',
maintainer_email='jkafader@archive.org',
url='https://github.com/internetarchive/trough',
license='BSD',
long_description=open('README.rst').read(),
cl... | from setuptools import setup
import glob
setup(
name='Trough',
version='0.1dev1',
packages=['trough',],
maintainer='James Kafader',
maintainer_email='jkafader@archive.org',
url='https://github.com/jkafader/trough',
license='BSD',
long_description=open('README.rst').read(),
classifie... | bsd-2-clause | Python |
6e18192da18b6d1b9c6443981f007126ea7e6927 | Change package name to use hyphen | csdms/dakota,csdms/dakota | setup.py | setup.py | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
setup(name='csdms-dakota',
version=__version__,
author='Mark Piper',
author_email='mark.piper@colorado.edu',
license='MIT',... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from csdms.dakota import __version__, plugin_script
package_name = 'csdms.dakota'
setup(name=package_name,
version=__version__,
author='Mark Piper',
author_email='mark.piper@colora... | mit | Python |
46eee806108c39f73115a77da998cf7343e46723 | revert lxml depend: do it as a system package | Connexions/rhaptos.cnxmlutils,Connexions/rhaptos.cnxmlutils,Connexions/rhaptos.cnxmlutils,Connexions/rhaptos.cnxmlutils,Connexions/rhaptos.cnxmlutils | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.0'
setup(name='rhaptos.cnxmlutils',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# h... | from setuptools import setup, find_packages
import os
version = '1.0'
setup(name='rhaptos.cnxmlutils',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# h... | agpl-3.0 | Python |
9d386ae0aa56af1bca38d9f732ff718a6642779c | Package submodules in setup script | Alphadelta14/python-newdispatch | setup.py | setup.py |
from setuptools import setup
setup(name='newdispatch',
version='1.2.1',
description='Async Handler and Event Dispatcher',
url='http://github.com/Alphadelta14/python-newdispatch',
author='Alpha',
author_email='alpha@projectpokemon.org',
license='MIT',
packages=['dispatch', 'di... |
from setuptools import setup
setup(name='newdispatch',
version='1.2',
description='Async Handler and Event Dispatcher',
url='http://github.com/Alphadelta14/python-newdispatch',
author='Alpha',
author_email='alpha@projectpokemon.org',
license='MIT',
packages=['dispatch'],
... | mit | Python |
0f22ce31a7067386a0b29b6d107c3e9481fc1492 | Change Django requirement to avoid 1.10 alpha | Open511/open511-server,Open511/open511-server,Open511/open511-server | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | from setuptools import setup, find_packages
setup(
name = "open511-server",
version = "0.1",
url='',
license = "",
packages = find_packages(),
install_requires = [
'open511==0.5',
'lxml>=3.0,<=4.0',
'WebOb==1.5.1',
'python-dateutil==2.4.2',
'requests==2.8... | mit | Python |
f4c705af860a3265ea718a4b4fc07bbbc7eab0d6 | Update setup.py | bureaucratic-labs/yargy | setup.py | setup.py | # coding: utf-8
from __future__ import unicode_literals
from sys import version_info
from setuptools import setup, find_packages
REQUIREMENTS = [
'pymorphy2==0.8',
'backports.functools-lru-cache==1.3',
'intervaltree==2.1.0',
'jellyfish==0.5.6',
]
setup(
name='yargy',
version='0.8.0',
des... | # coding: utf-8
from __future__ import unicode_literals
from sys import version_info
from setuptools import setup, find_packages
REQUIREMENTS = [
'pymorphy2==0.8',
'backports.functools-lru-cache==1.3',
'intervaltree==2.1.0',
'jellyfish==0.5.6',
]
setup(
name='yargy',
version='0.8.0',
des... | mit | Python |
526f624d5058d2401e458c20f28d6c66d5550a21 | Unify quotes | fulfilio/fulfil-python-api,sharoonthomas/fulfil-python-api | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'req... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'req... | isc | Python |
819ae695b8b528a2e2ea046ed205f3f0326c50c0 | change lib version to 0.5 | Nic30/HWToolkit | setup.py | setup.py | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from setuptools import setup, find_packages
setup(name='hwt',
version='0.5',
description='hdl synthesis toolkit',
url='https://github.com/Nic30/HWToolkit',
author='Michal Orsak',
author_email='michal.o.socials@gmail.com',
install_requi... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from setuptools import setup, find_packages
setup(name='hwt',
version='0.4',
description='hdl synthesis toolkit',
url='https://github.com/Nic30/HWToolkit',
author='Michal Orsak',
author_email='michal.o.socials@gmail.com',
install_requi... | mit | Python |
adc32c3f1468e7a18e93ab0d2c6267bb8658248d | Add env variable DEPLOY_ROLE_ARN to be able to specify a role to assume per stack | NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools,NitorCreations/nitor-deploy-tools | setup.py | setup.py | # Copyright 2016-2017 Nitor Creations Oy
#
# 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 ... | # Copyright 2016-2017 Nitor Creations Oy
#
# 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 ... | apache-2.0 | Python |
0fb6ae957e868d1f26150212e40d143d4500df06 | Add setup.py metadata Enforce Twisted dependencies at least 12.1 | alex/klein,macmania/klein,joac/klein,macmania/klein,joac/klein,hawkowl/klein,brighid/klein,brighid/klein | setup.py | setup.py | from setuptools import setup
setup(
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python ::... | from setuptools import setup
setup(
name="klein",
version="0.1.0",
description="werkzeug + twisted.web",
packages=["klein"],
install_requires=["Twisted", "werkzeug", "mock"]
)
| mit | Python |
fcd6af0a2a02ef87eedd78aa3c09836cc0799a29 | Print ICU and Unicode version, if available | googlei18n/language-resources,googlei18n/language-resources,googlei18n/language-resources,googlei18n/language-resources,google/language-resources,google/language-resources,google/language-resources,google/language-resources,googlei18n/language-resources,googlei18n/language-resources,google/language-resources,google/lan... | utils/python_version.py | utils/python_version.py | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write('%s\n' % sys.executable)
sys.stdout.write('%s\n' % sys.version)
try:
import icu # pylint: disable=g-import-not-at-top
sys.stdout.write('ICU %s\n' % icu.ICU_VERSION)
sys.stdout.write('Unicode %s\n' % icu.UNICOD... | #! /usr/bin/env python
"""Print Python interpreter path and version."""
import sys
sys.stdout.write(sys.executable + '\n')
sys.stdout.write(sys.version + '\n')
sys.stdout.flush()
| apache-2.0 | Python |
92bce892e5b5df6fef51c59aea4778ef91f3471c | Bump version. | etesync/journal-manager | setup.py | setup.py | import os
from setuptools import find_packages, 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-etesync-journal',... | import os
from setuptools import find_packages, 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-etesync-journal',... | agpl-3.0 | Python |
2e54cf6796f80e457d697019091110c4e814ad61 | Define setup.py | ueg1990/faker-schema | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
version = '0.1.0'
setup(
name='faker-schema',
version=version,
description="Generate fake data using joke2k's faker and your own ... | mit | Python | |
564d0fb4b128ae9368f24d09edfa0960ba7962cb | include quagga templates | sk2/autonetkit | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit-v3-dev",
version = "0.0.34",
description = 'Automated configuration generator',
long_description = 'Automated configuration generator',
# simple to run
entry_point... | #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit-v3-dev",
version = "0.0.30",
description = 'Automated configuration generator',
long_description = 'Automated configuration generator',
# simple to run
entry_point... | bsd-3-clause | Python |
42b5e3d0189a6228958d9fbadb2edb5df2ce2fce | Check if song exists in vandermusicgenerator | raspberrywhite/raspberrywhite,raspberrywhite/raspberrywhite,raspberrywhite/raspberrywhite,raspberrywhite/raspberrywhite | vandermusicgenerator.py | vandermusicgenerator.py | import os
import eyed3
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "servant.settings")
from server import models
# From now onwards start your script..
mypath = 'songs/'
for f in os.listdir(mypath):
path = os.path.join(mypath,f)
af = eyed3.load(path)
artist = af.tag.artist
title = af.tag.title
... | import os
import eyed3
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "servant.settings")
from server import models
# From now onwards start your script..
mypath = 'songs/'
for f in os.listdir(mypath):
path = os.path.join(mypath,f)
af = eyed3.load(path)
artist = af.tag.artist
title = af.tag.title
... | bsd-3-clause | Python |
6fd69cb6201b31936523a5143f4b994b7209fd2a | add scipy pandas and astroquery as requirements | migueldvb/cine | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name="cine",
version="0.2",
author="Miguel de Val-Borro",
author_email="miguel.deval@gmail.com",
url... | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name="cine",
version="0.2",
author="Miguel de Val-Borro",
author_email="miguel.deval@gmail.com",
url... | mit | Python |
5199bf0dc502d72df3d15ff6d87c0702f2e79247 | fix parse requirements | Aplopio/django_rip,Aplopio/rip | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, Command, find_packages
except ImportError:
from distutils.core import setup
import pip
from pip.req import parse_requirements
class PyTest(Command):
user_options = []
def initialize_options(self):
import subproc... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, Command, find_packages
except ImportError:
from distutils.core import setup
from pip.req import parse_requirements
class PyTest(Command):
user_options = []
def initialize_options(self):
import subprocess
... | mit | Python |
1f83cc656a0d4b31fc5c4e4ba596f61843be23b1 | Fix array | rhazdon/django-sonic-screwdriver | setup.py | setup.py | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), "README.rst")) 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-sonic-screwdrive... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), "README.rst")) 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-sonic-screwdrive... | mit | Python |
46bc9ffd874977ae605aaeef181c77493ec078e0 | Fix https://jira.appcelerator.org/browse/TIMOB-6839 | FokkeZB/titanium_mobile,emilyvon/titanium_mobile,AngelkPetkov/titanium_mobile,peymanmortazavi/titanium_mobile,ashcoding/titanium_mobile,rblalock/titanium_mobile,emilyvon/titanium_mobile,linearhub/titanium_mobile,cheekiatng/titanium_mobile,pec1985/titanium_mobile,pinnamur/titanium_mobile,prop/titanium_mobile,smit1625/ti... | support/module/android/android.py | support/module/android/android.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Android Module Project Create Script
#
import os, sys, shutil
module_android_dir = os.path.abspath(os.path.dirname(sys._getframe(0).f_code.co_filename))
module_dir = os.path.dirname(module_android_dir)
sys.path.append(module_dir)
sdk_dir = os.path.dirname(module_dir)
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Android Module Project Create Script
#
import os, sys, shutil
module_android_dir = os.path.abspath(os.path.dirname(sys._getframe(0).f_code.co_filename))
module_dir = os.path.dirname(module_android_dir)
sys.path.append(module_dir)
sdk_dir = os.path.dirname(module_dir)
... | apache-2.0 | Python |
8488ad76b223b906aa98f94c3dac3b69206ad696 | fix setup.py | blturner/django-stardate,blturner/django-stardate | setup.py | setup.py | from setuptools import setup
setup(
name='django-stardate',
version='0.1.0.a1',
author=u'Benjamin Turner',
author_email='benturn@gmail.com',
packages=[
'stardate',
'stardate.backends',
'stardate.management',
'stardate.management.commands',
'stardate.tests',
... | from setuptools import setup
setup(
name='django-stardate',
version='0.1.0.a1',
author=u'Benjamin Turner',
author_email='benturn@gmail.com',
packages=[
'stardate',
'stardate.backends',
'stardate.management.commands',
'stardate.tests',
'stardate.urls',
],
... | bsd-3-clause | Python |
cbd28549e5576e0095f8624c3906e1046f3f2c30 | Comment out old models; add m2m field from Env Profile to Choice model | ezPy-co/ezpy,alibulota/Package_Installer,ezPy-co/ezpy,alibulota/Package_Installer | installer/installer_config/models.py | installer/installer_config/models.py | from django.db import models
from django.contrib.auth.models import User
from django.utils.encoding import python_2_unicode_compatible
# @python_2_unicode_compatible
# class Package(models.Model):
# """Python Package Manager for pip requirements.txt"""
# display_name = models.CharField(max_length=63)
# in... | from django.db import models
from django.contrib.auth.models import User
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Package(models.Model):
"""Python Package Manager for pip requirements.txt"""
display_name = models.CharField(max_length=63)
install_name... | mit | Python |
9ca994ddce631a8a89d1bd7d8fcff15d8eaadc4a | add maintainer info | Answeror/pyhook_py3k,carolus-rex/pyhook_3000 | setup.py | setup.py | '''pyHook: Python wrapper for out-of-context input hooks in Windows
The pyHook package provides callbacks for global mouse and keyboard events in Windows. Python
applications register event handlers for user input events such as left mouse down, left mouse up,
key down, etc. and set the keyboard and/or mouse hook. The... | '''pyHook: Python wrapper for out-of-context input hooks in Windows
The pyHook package provides callbacks for global mouse and keyboard events in Windows. Python
applications register event handlers for user input events such as left mouse down, left mouse up,
key down, etc. and set the keyboard and/or mouse hook. The... | mit | Python |
c3bec8e9ec98f523a50f7bd18155b5303459bd71 | Fix ext_io at io | cielavenir/checkio-task-painting-wall,cielavenir/checkio-task-painting-wall,cielavenir/checkio-task-painting-wall | verification/referee.py | verification/referee.py | """
CheckiOReferee is a base referee for checking you code.
arguments:
tests -- the dict which contains tests in the specific structure.
Example you can see in tests.py.
cover_code -- it's a wrapper for user function for addition operations before give data
in user function. ... | """
CheckiOReferee is a base referee for checking you code.
arguments:
tests -- the dict which contains tests in the specific structure.
Example you can see in tests.py.
cover_code -- it's a wrapper for user function for addition operations before give data
in user function. ... | mit | Python |
c4298a1a335b89c57e32b9d59a072d5b5be27694 | Use setuptools so we can tell easy_install our requirements without hax | saymedia/batchhttp | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2009 Six Apart Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this lis... | #!/usr/bin/env python
# Copyright (c) 2009 Six Apart Ltd.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this lis... | bsd-3-clause | Python |
15b8810b3bf244295f38b628a0ebb1cb72f46bb3 | Update time service to simulate gradually increasing slow response times. | danriti/short-circuit,danriti/short-circuit | service_time.py | service_time.py | """ service_time.py """
from datetime import datetime
from time import sleep
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
# sleep to simulate the service response time degrading
sleep(count)
count += 1
re... | """ service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
count += 1
return jsonify(count=count,
datetime=datetime.now().isoformat())
if __name__ == "... | mit | Python |
d3271432e101e2ba3d3c59c1b28a373fe5c782d7 | Add pytest-faulthandler plugin for debugging CI seg faults | amolenaar/gaphas | setup.py | setup.py | """\
Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.
Some more features:
- Each item has it's own separate coordinate space (easy when items are
rotated).
- Items on... | """\
Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.
Some more features:
- Each item has it's own separate coordinate space (easy when items are
rotated).
- Items on... | lgpl-2.1 | Python |
9ee31ae37a754c44b779104d15997355f7c99496 | Add mutagenwrapper to install_requires | clee704/audiodiff | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
from audiodiff import __version__
# Utility function to read the README file.
# Used for the long_description. It"s nice, because now 1) we have a top level
# README file and 2) it"s easier to ty... | import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
from audiodiff import __version__
# Utility function to read the README file.
# Used for the long_description. It"s nice, because now 1) we have a top level
# README file and 2) it"s easier to ty... | mit | Python |
e6d836cc423d5205934008040964d8e0086b926b | Fix missing import. Review URL: http://codereview.chromium.org/242113 | yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromi... | webkit/tools/layout_tests/layout_package/test_files.py | webkit/tools/layout_tests/layout_package/test_files.py | #!/usr/bin/env python
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""This module is used to find all of the layout test files used by Chromium
(across all platforms). It exposes one public function... | #!/usr/bin/env python
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""This module is used to find all of the layout test files used by Chromium
(across all platforms). It exposes one public function... | bsd-3-clause | Python |
efb044361340a2b8eec61d91e9cb087e24db5e84 | Fix error message | jepcastelein/marketo-rest-python | marketorestpython/helper/exceptions.py | marketorestpython/helper/exceptions.py |
class MarketoException(Exception):
message = None
code = None
def __init__(self, exc = {'message':None,'code':None}):
self.message = exc['message']
self.code = exc['code']
def __str__(self):
return "Marketo API Error Code {}: {}".format(self.code, self.message)
|
class MarketoException(Exception):
message = None
code = None
def __init__(self, exc = {'message':None,'code':None}):
self.msg = exc['message']
self.code = exc['code']
def __str__(self):
return "Marketo API Error Code {}: {}".format(self.code, self.msg) | mit | Python |
95af3b8c71575294d47b48d83db119ca3d979ae5 | change entry point to main() | tLDP/python-tldp,tLDP/python-tldp,tLDP/python-tldp | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
readme = r_file.read()
setup(
name='tldp',
version='0.2',
license='MIT',
author='Martin A. Brown',
author_email='martin@linux-ip.net',
... | # -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
readme = r_file.read()
setup(
name='tldp',
version='0.2',
license='MIT',
author='Martin A. Brown',
author_email='martin@linux-ip.net',
... | mit | Python |
38c33a772532f33751dbbebe3ee0ecd0ad993616 | Fix migrations from text to inet. | MSPARP/newparp,MSPARP/newparp,MSPARP/newparp | alembic/versions/1fbbb727e1dc_change_last_ip_to_inet.py | alembic/versions/1fbbb727e1dc_change_last_ip_to_inet.py | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | """Change last_ip to inet.
Revision ID: 1fbbb727e1dc
Revises: 2dd8b091742b
Create Date: 2015-08-31 20:54:43.824788
"""
# revision identifiers, used by Alembic.
revision = '1fbbb727e1dc'
down_revision = '2dd8b091742b'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade... | agpl-3.0 | Python |
615d76286b441ff563fde47524c8ff356edcc793 | Make login save cookies provided by server | daltonserey/tst,daltonserey/tst | tst/commands/login.py | tst/commands/login.py | from __future__ import print_function
import tst
import sys
import os
import webbrowser
import requests
from cachecontrol import CacheControl
from cachecontrol.caches.file_cache import FileCache
from tst.colors import *
from tst.utils import cprint, data2json, _assert
from tst.jsonfile import JsonFile
def main():
... | from __future__ import print_function
import tst
import sys
import os
import webbrowser
import requests
from cachecontrol import CacheControl
from cachecontrol.caches.file_cache import FileCache
from tst.colors import *
from tst.utils import cprint, data2json, _assert
from tst.jsonfile import JsonFile
def main():
... | agpl-3.0 | Python |
2f9780aa11b9403445f399abf838d25d9cb4f120 | bump version to 0.4.8 on pypi | brianzq/att-bill-splitter | setup.py | setup.py | # -*- coding:utf-8 -*-
"""Setup for att-bill-splitter."""
from setuptools import find_packages, setup
setup(
name='att-bill-splitter',
# packages=['att-bill-splitter'],
version='0.4.8',
description='Parse AT&T bill and split wireless charges among users.',
author='Brian Zhang',
author_email='l... | # -*- coding:utf-8 -*-
"""Setup for att-bill-splitter."""
from setuptools import find_packages, setup
setup(
name='att-bill-splitter',
# packages=['att-bill-splitter'],
version='0.4.7',
description='Parse AT&T bill and split wireless charges among users.',
author='Brian Zhang',
author_email='l... | mit | Python |
66bf487d6031947291fd1aee532994900140466d | update version | mikicaivosevic/flask-cassandra-sessions | setup.py | setup.py | from distutils.core import setup
setup(
name = 'cassandra_flask_sessions',
packages = ['cassandra_flask_sessions'], # this must be the same as the name above
version = '0.3',
description = 'Server side sessions with Apache Cassandra',
author = 'Mikica Ivosevic',
author_email = 'mikica.ivosevic@gmail.com',
... | from distutils.core import setup
setup(
name = 'cassandra_flask_sessions',
packages = ['cassandra_flask_sessions'], # this must be the same as the name above
version = '0.2',
description = 'Server side sessions with Apache Cassandra',
author = 'Mikica Ivosevic',
author_email = 'mikica.ivosevic@gmail.com',
... | mit | Python |
fc1a9fa2e80863c879f666cf94e71b01574b4c48 | Fix Python 2 using codecs | subu-cliqz/annoy,pombredanne/annoy,spotify/annoy,tjrileywisc/annoy,eddelbuettel/annoy,BeifeiZhou/annoy,Houzz/annoy2,codeaudit/annoy,subu-cliqz/annoy,guitarmind/annoy,spotify/annoy,Houzz/annoy2,pombredanne/annoy,subu-cliqz/annoy,LongbinChen/annoy,pombredanne/annoy,tjrileywisc/annoy,eddelbuettel/annoy,pombredanne/annoy,t... | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013 Spotify AB
#
# 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 requi... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013 Spotify AB
#
# 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 requi... | apache-2.0 | Python |
44eb002fac1d164e61b3b34c063df6cbdb31e3ab | Add glob | lukassnoek/ICON2017,lukassnoek/ICON2017 | tutorial/functions.py | tutorial/functions.py | from glob import glob
import numpy as np
import os.path as op
def double_gamma(x, lag=6, a2=12, b1=0.9, b2=0.9, c=0.35):
a1 = lag
d1 = a1 * b1
d2 = a2 * b2
return np.array([(t/(d1))**a1 * np.exp(-(t-d1)/b1) - c*(t/(d2))**a2 * np.exp(-(t-d2)/b2) for t in x])
def single_gamma(x, lag=6, b=0.9):
a = l... | import numpy as np
import os.path as op
def double_gamma(x, lag=6, a2=12, b1=0.9, b2=0.9, c=0.35):
a1 = lag
d1 = a1 * b1
d2 = a2 * b2
return np.array([(t/(d1))**a1 * np.exp(-(t-d1)/b1) - c*(t/(d2))**a2 * np.exp(-(t-d2)/b2) for t in x])
def single_gamma(x, lag=6, b=0.9):
a = lag
d = a * b
r... | mit | Python |
6b6012e9109dc8852286c9afb91ab843c6ba32e2 | change order of imports | vortex-exoplanet/VIP,henry-ngo/VIP,carlgogo/vip_exoplanets | vip_hci/var/__init__.py | vip_hci/var/__init__.py | """
Subpackage ``var`` has helping functions such as:
- image filtering,
- shapes extraction (annulus, squares subimages, circular apertures),
- plotting,
- 2d fitting (Gaussian, Moffat).
"""
from __future__ import absolute_import
from .filters import *
from .fit_2d import *
from .plotting import *
fro... | """
Subpackage ``var`` has helping functions such as:
- image filtering,
- shapes extraction (annulus, squares subimages, circular apertures),
- plotting,
- 2d fitting (Gaussian, Moffat).
"""
from __future__ import absolute_import
from .filters import *
from .fit_2d import *
from .shapes import *
from ... | mit | Python |
701934b25257b956997a725e7465397d8384ebfc | Add check method to base vcs | dealertrack/flake8-diff,miki725/flake8-diff | flake8diff/vcs/base.py | flake8diff/vcs/base.py | from __future__ import unicode_literals, print_function
import re
from ..exceptions import VCSNotInstalledError
IS_PYTHON = re.compile(r'.*[.]py$')
class VCSBase(object):
name = None
def __init__(self, commits, options):
self.commits = commits
self.options = options
try:
... | from __future__ import unicode_literals, print_function
import re
from ..exceptions import VCSNotInstalledError
IS_PYTHON = re.compile(r'.*[.]py$')
class VCSBase(object):
name = None
def __init__(self, commits, options):
self.commits = commits
self.options = options
try:
... | mit | Python |
1e2721502f73a3d33ca5c78e5c81b2d915ae0d35 | debug metrlogy 2 | alibarkatali/module_web,alibarkatali/module_web,alibarkatali/module_web,alibarkatali/module_web,alibarkatali/module_web | db.py | db.py | # -*- coding: utf-8 -*-
import psycopg2, urlparse, re, os
import urlparse
DATABASE_URL="postgres://eoxdsmbgnnjprd:819342ac1961db6dceb37078f90e581b45743e34502382e75184184eae7b1948@ec2-23-21-220-152.compute-1.amazonaws.com:5432/decknecom629ch"
class Db:
"""Connexion à la base de données postgres de l'environnement He... | # -*- coding: utf-8 -*-
import psycopg2, urlparse, re, os
import urlparse
#DATABASE_URL="postgres://eoxdsmbgnnjprd:819342ac1961db6dceb37078f90e581b45743e34502382e75184184eae7b1948@ec2-23-21-220-152.compute-1.amazonaws.com:5432/decknecom629ch"
class Db:
"""Connexion à la base de données postgres de l'environnement H... | mit | Python |
db99c05554cc9a1a8a03e558aad6bdcd8a439723 | Update favourite-music-example.py | nonkung51/IntentParser | examples/favourite-music-example.py | examples/favourite-music-example.py | import intentparser as ip
__author__ = 'Nonthakon Jitchiranant'
if __name__ == "__main__":
intent = ip.intentParser({
'description' : {
"type" : 'FavMusicIntent',
"args" : [(ip.OPTIONAL, "musics_types")],
"keyword" : [
... | import intentparser as ip
if __name__ == "__main__":
intent = ip.intentParser({
'description' : {
"type" : 'FavMusicIntent',
"args" : [(ip.OPTIONAL, "musics_types")],
"keyword" : [
(ip.REQUIRE, "musics_keyword")... | apache-2.0 | Python |
03d13c9870796104f83400308f2308d538b8e8d5 | Use quadrant lower left | jhanley634/testing-tools,jhanley634/testing-tools,jhanley634/testing-tools,jhanley634/testing-tools,jhanley634/testing-tools,jhanley634/testing-tools,jhanley634/testing-tools | problem/pop_map/hexagon/example_terrain.py | problem/pop_map/hexagon/example_terrain.py | #! /usr/bin/env python
# Copyright 2020 John Hanley.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, me... | #! /usr/bin/env python
# Copyright 2020 John Hanley.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, me... | mit | Python |
e35cbc26c63208739b4bc2e9881be2dee5aff50f | Bump version post-release | praekeltfoundation/docker-ci-deploy | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts): # Stolen from txacme
with codecs.open(os.path.join(HERE, *parts), 'rb', 'utf-8') as f:
return f.read()
def readme():
# Prefer the ReStructuredText README, but fa... | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts): # Stolen from txacme
with codecs.open(os.path.join(HERE, *parts), 'rb', 'utf-8') as f:
return f.read()
def readme():
# Prefer the ReStructuredText README, but fa... | mit | Python |
a266fd85d5843ff6a9b2ee33411ddd0e7f1b8439 | Bump version to 0.0.27 | thombashi/typepy | typepy/__version__.py | typepy/__version__.py | # encoding: utf-8
from datetime import datetime
__author__ = "Tsuyoshi Hombashi"
__copyright__ = "Copyright {}, {}".format(datetime.now().year, __author__)
__license__ = "MIT License"
__version__ = "0.0.27"
__maintainer__ = __author__
__email__ = "tsuyoshi.hombashi@gmail.com"
| # encoding: utf-8
from datetime import datetime
__author__ = "Tsuyoshi Hombashi"
__copyright__ = "Copyright {}, {}".format(datetime.now().year, __author__)
__license__ = "MIT License"
__version__ = "0.0.26"
__maintainer__ = __author__
__email__ = "tsuyoshi.hombashi@gmail.com"
| mit | Python |
89cda8553c662ac7b435516d888706e3f3193cb7 | Fix the unknown entity type test | jeffweeksio/sir | sir/__main__.py | sir/__main__.py | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(entities) - set(known_entities)
if unknown_e... | import argparse
from .schema import SCHEMA
def reindex(args):
known_entities = SCHEMA.keys()
if args['entities'] is not None:
entities = []
for e in args['entities']:
entities.extend(e.split(','))
unknown_entities = set(known_entities) - set(entities)
if unknown_e... | mit | Python |
bc177d920458acc1222be7a9810c24e65ed0abe5 | Hide "fatal: Not a git repository" error message. | xmms2/xmms2-stable,xmms2/xmms2-stable,dreamerc/xmms2,theeternalsw0rd/xmms2,oneman/xmms2-oneman-old,oneman/xmms2-oneman,dreamerc/xmms2,oneman/xmms2-oneman,theefer/xmms2,theefer/xmms2,krad-radio/xmms2-krad,oneman/xmms2-oneman-old,chrippa/xmms2,six600110/xmms2,chrippa/xmms2,theeternalsw0rd/xmms2,mantaraya36/xmms2-mantaray... | waftools/gittools.py | waftools/gittools.py | import os
import sha
def gitsha(path):
h = sha.sha()
data = file(path).read()
h.update("blob %d\0" % len(data))
h.update(data)
return h.hexdigest()
def git_info():
commithash = os.popen('git-rev-parse --verify HEAD 2>/dev/null').read().strip()
if not commithash:
raise ValueError("Couldn't get hash")
if os.g... | import os
import sha
def gitsha(path):
h = sha.sha()
data = file(path).read()
h.update("blob %d\0" % len(data))
h.update(data)
return h.hexdigest()
def git_info():
commithash = os.popen('git-rev-parse --verify HEAD').read().strip()
if os.getuid() == os.stat(".git/index").st_uid:
os.system('git-update-index -... | lgpl-2.1 | Python |
fdb0c41d585ee963e2e0315f78c81c279e8e3172 | add missing end of line | inclement/kivy,akshayaurora/kivy,akshayaurora/kivy,rnixx/kivy,matham/kivy,matham/kivy,rnixx/kivy,matham/kivy,matham/kivy,kivy/kivy,kivy/kivy,inclement/kivy,kivy/kivy,inclement/kivy,akshayaurora/kivy,rnixx/kivy | examples/miscellaneous/imagesave.py | examples/miscellaneous/imagesave.py | # save an image into bytesio
from kivy.core.image import Image
from io import BytesIO
img = Image.load("data/logo/kivy-icon-512.png")
bio = BytesIO()
ret = img.save(bio, fmt="png")
print("len=", len(bio.read()))
bio = BytesIO()
ret = img.save(bio, fmt="jpg")
print("len=", len(bio.read()))
| # save an image into bytesio
from kivy.core.image import Image
from io import BytesIO
img = Image.load("data/logo/kivy-icon-512.png")
bio = BytesIO()
ret = img.save(bio, fmt="png")
print("len=", len(bio.read()))
bio = BytesIO()
ret = img.save(bio, fmt="jpg")
print("len=", len(bio.read())) | mit | Python |
44c25031cf64e0e8dc34597e5b9129809e11e42a | Prepare openprocurement.auctions.flash 1.2.1. | openprocurement/openprocurement.auctions.flash | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.2.1'
entry_points = {
'openprocurement.auctions.core.plugins': [
'auctions.flash = openprocurement.auctions.flash.includeme:includeme'
],
'openprocurement.auctions.flash.plugins': [
'flash.migration = openprocurement.auctio... | from setuptools import setup, find_packages
import os
version = '1.2'
entry_points = {
'openprocurement.auctions.core.plugins': [
'auctions.flash = openprocurement.auctions.flash.includeme:includeme'
],
'openprocurement.auctions.flash.plugins': [
'flash.migration = openprocurement.auctions... | apache-2.0 | Python |
ba2316b313b1de0e900f8a801a25734c142cb0e4 | add library dependencies. | tonyseek/flask-docker | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
next(readme)
long_description = ''.join(readme).strip()
setup(
name='Flask-Docker',
description='Uses Docker client in your Flask application.',
long_description=long_description,
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
next(readme)
long_description = ''.join(readme).strip()
setup(
name='Flask-Docker',
description='Uses Docker client in your Flask application.',
long_description=long_description,
... | mit | Python |
8fedd01a41123c7045dfde17e39171afeab6c61a | Update __init__.py | adamcharnock/django-tz-detect,adamcharnock/django-tz-detect,adamcharnock/django-tz-detect | tz_detect/__init__.py | tz_detect/__init__.py | VERSION = (0, 2, 5)
__version__ = '.'.join([str(n) for n in VERSION])
| __version__ = "0.2.5"
| mit | Python |
ab0cdf18d72acb28cac83ea11453bf66aef2726f | bump version in setup.py (no refs) | Opentopic/falcon-api | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='opentopic-falcon-api',
version='0.4.4',
author='Tomasz Roszko',
author_email='tom@opentopic.com',
description='Base Library for services api endpoints',
url='http://git.opentopic.com/backend/falcon-api',
license='GNU GENERAL PUBLIC L... | from setuptools import find_packages, setup
setup(
name='opentopic-falcon-api',
version='0.4.3',
author='Tomasz Roszko',
author_email='tom@opentopic.com',
description='Base Library for services api endpoints',
url='http://git.opentopic.com/backend/falcon-api',
license='GNU GENERAL PUBLIC L... | mit | Python |
bcc206b46c089ea7f7ea5dfbc5c8b11a1fe72447 | Add self-rating flag for movies. Removed LikedOrNot table | osama-haggag/movie-time,osama-haggag/movie-time | movie_time_app/models.py | movie_time_app/models.py | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | from django.db import models
# Create your models here.
class Movie(models.Model):
movie_id = models.IntegerField(primary_key=True)
title = models.CharField(max_length=200)
poster = models.ImageField(null=True, blank=True)
year = models.IntegerField(null=True)
genres = models.CharField(max_length=2... | mit | Python |
2938599ec7531c43acd5faac1aad78614c4a1274 | Update setup py again | openclimatedata/pymagicc,openclimatedata/pymagicc | setup.py | setup.py | """
pymagicc
Thin Python wrapper around the
reduced complexity climate model MAGICC6 (http://magicc.org/).
Install using
pip install pymagicc
On Linux and macOS Wine (https://www.winehq.org) needs to be installed (usually
available with your package manager).
Find usage instructions in the
GitHub repository at... | """
pymagicc
Thin Python wrapper around the
reduced complexity climate model MAGICC6 (http://magicc.org/).
Install using
pip install pymagicc
On Linux and macOS Wine (https://www.winehq.org) needs to be installed (usually
available with your package manager).
Find usage instructions in the
GitHub repository at... | agpl-3.0 | Python |
f24b9e8405313fb46656df30b9055cf31d998703 | Update python version to 3.6 in setup.py | heprom/pymicro | setup.py | setup.py | import sys
import os
import setuptools
import pymicro
with open('README.rst', 'r') as f:
long_description = f.read()
try:
from distutils.command.build_py import build_py2to3 as build_py
from distutils.command.build import build
except ImportError:
from distutils.command.build_py import build_py
fr... | import sys
import os
import setuptools
import pymicro
with open('README.rst', 'r') as f:
long_description = f.read()
try:
from distutils.command.build_py import build_py2to3 as build_py
from distutils.command.build import build
except ImportError:
from distutils.command.build_py import build_py
fr... | mit | Python |
38b866b2d9b65ce1ff85dc58cc1faa0b140712a0 | Bump version number | trilan/lemon-tinymce,trilan/lemon-tinymce | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'lemon-tinymce',
version = '2.1.1',
url = 'https://github.com/trilan/lemon-tinymce',
author = 'Trilan Team',
author_email = 'dev@lemon.io',
description = 'A Django application that contains a widget to render a ' \
'fo... | from setuptools import setup, find_packages
setup(
name = 'lemon-tinymce',
version = '2.1',
url = 'https://github.com/trilan/lemon-tinymce',
author = 'Trilan Team',
author_email = 'dev@lemon.io',
description = 'A Django application that contains a widget to render a ' \
'form... | mit | Python |
801b429ed04d0231c7bfb3b3ebeb797ac412af30 | test data cleanup | ldtri0209/robotframework,waldenner/robotframework,ldtri0209/robotframework,waldenner/robotframework,waldenner/robotframework,fiuba08/robotframework,waldenner/robotframework,fiuba08/robotframework,ldtri0209/robotframework,fiuba08/robotframework,waldenner/robotframework,fiuba08/robotframework,fiuba08/robotframework,ldtri... | tools/remoteserver/test/atest/arguments.py | tools/remoteserver/test/atest/arguments.py | class MyObject:
def __init__(self, index=0):
self.index = index
def __str__(self):
return '<MyObject%s>' % (self.index or '')
UNICODE = (u'Hyv\u00E4\u00E4 y\u00F6t\u00E4. '
u'\u0421\u043F\u0430\u0441\u0438\u0431\u043E!')
LIST_WITH_OBJECTS = [MyObject(1), MyObject(2)]
NESTED_LIST =... | # Can be used in the test data like ${MyObject()} or ${MyObject(1)}
class MyObject:
def __init__(self, index=''):
self.index = index
def __str__(self):
return '<MyObject%s>' % self.index
UNICODE = (u'Hyv\u00E4\u00E4 y\u00F6t\u00E4. '
u'\u0421\u043F\u0430\u0441\u0438\u0431\u043E!')
LI... | apache-2.0 | Python |
103d8feab7671d0bfab224e3655fa5adae73f747 | update sklearn version | nicodv/kmodes | setup.py | setup.py | from setuptools import setup, find_packages
import kmodes
DESCRIPTION = kmodes.__doc__
VERSION = kmodes.__version__
setup(
name='kmodes',
packages=find_packages(exclude=[
'*.tests',
'*.tests.*',
]),
version=VERSION,
url='https://github.com/nicodv/kmodes',
author='Nico de Vos',... | from setuptools import setup, find_packages
import kmodes
DESCRIPTION = kmodes.__doc__
VERSION = kmodes.__version__
setup(
name='kmodes',
packages=find_packages(exclude=[
'*.tests',
'*.tests.*',
]),
version=VERSION,
url='https://github.com/nicodv/kmodes',
author='Nico de Vos',... | mit | Python |
38cd6b39e45395e1993bca5f8315970bbd324285 | fix wording in query_chw (#6471) | pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision | torchvision/prototype/transforms/_utils.py | torchvision/prototype/transforms/_utils.py | from typing import Any, Callable, Tuple, Type, Union
import PIL.Image
import torch
from torch.utils._pytree import tree_flatten
from torchvision._utils import sequence_to_str
from torchvision.prototype import features
from .functional._meta import get_dimensions_image_pil, get_dimensions_image_tensor
def query_boun... | from typing import Any, Callable, Tuple, Type, Union
import PIL.Image
import torch
from torch.utils._pytree import tree_flatten
from torchvision._utils import sequence_to_str
from torchvision.prototype import features
from .functional._meta import get_dimensions_image_pil, get_dimensions_image_tensor
def query_boun... | bsd-3-clause | Python |
65add8604c6862618166bc76d8ba60da13230d7d | Update __init__.py | vex1023/vxTrader | vxTrader/__init__.py | vxTrader/__init__.py | # encoding = utf-8
__name__ = 'vxTrader'
__version__ = '0.1.11'
__author__ = 'vex1023'
__email__ = 'vex1023@qq.com'
import logging
from vxUtils.PrettyLogger import add_console_logger
logger = logging.getLogger('vxQuant.vxTrader')
add_console_logger(logger)
from vxTrader.trader import Trader, load_traders
__all__... | # encoding = utf-8
__name__ = 'vxTrader'
__version__ = '0.1.10'
__author__ = 'vex1023'
__email__ = 'vex1023@qq.com'
import logging
from vxUtils.PrettyLogger import add_console_logger
logger = logging.getLogger('vxQuant.vxTrader')
add_console_logger(logger)
from vxTrader.trader import Trader, load_traders
__all__... | mit | Python |
506868fcaeb87c32143c44dfd9269982e4d04433 | Handle Domino file system inconsistencies | subutai/htmresearch,subutai/htmresearch,numenta/htmresearch,numenta/htmresearch,numenta/htmresearch,numenta/htmresearch,numenta/htmresearch,numenta/htmresearch,subutai/htmresearch,subutai/htmresearch,subutai/htmresearch,numenta/htmresearch,subutai/htmresearch,subutai/htmresearch,numenta/htmresearch,subutai/htmresearch | projects/speech_commands/run_experiment.py | projects/speech_commands/run_experiment.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2018, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2018, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | agpl-3.0 | Python |
a01f381fd93c607752530c92b657d855aef76d47 | bump version | jrxFive/python-nomad | setup.py | setup.py | from distutils.core import setup
setup(
name='python-nomad',
version='0.7.0',
install_requires=['requests'],
packages=['nomad', 'nomad.api'],
url='http://github.com/jrxfive/python-nomad',
license='MIT',
author='jrxfive',
author_email='jrxfive@gmail.com',
description='Client library ... | from distutils.core import setup
setup(
name='python-nomad',
version='0.6.1',
install_requires=['requests'],
packages=['nomad', 'nomad.api'],
url='http://github.com/jrxfive/python-nomad',
license='MIT',
author='jrxfive',
author_email='jrxfive@gmail.com',
description='Client library ... | mit | Python |
bf97132fd263026aea42d5af9772d378eaec67d9 | Enable markdown for PyPI README | consbio/gis-metadata-parser | setup.py | setup.py | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.te... | bsd-3-clause | Python |
776dc83dbb2c374741eb11321913fc89b7d6489c | bump version to 1.0.0 alpha | armstrong/armstrong.dev | setup.py | setup.py | from distutils.core import setup
import os
# Borrowed and modified from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
def build_package(dirpat... | from distutils.core import setup
import os
# Borrowed and modified from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
def build_package(dirpat... | apache-2.0 | Python |
f6523fba03e832a76b005de87fb92659a36152b7 | Revert "Add test dependencies" | opennode/nodeconductor-saltstack | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
dev_requires = [
'Sphinx==1.2.2',
]
install_requires = [
'nodeconductor>=0.80.0',
# transitive dependency from nodeconductor core requires Pillow version <3.0.0
'Pillow>=2.0.0,<3.0.0',
]
# RPM installation does not need os... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
dev_requires = [
'Sphinx==1.2.2',
]
tests_requires = [
'ddt>=1.0.0',
'factory_boy==2.4.1',
'mock==1.0.1',
'mock-django==0.6.6',
'six>=1.9.0',
'django-celery==3.1.16',
]
install_requires = [
'nodeconductor>=0... | mit | Python |
b725303ed45fd38afeadb893bb31d57666c4f33f | Bump version to 3.3m5 | cloudify-cosmo/cloudify-amqp-influxdb,cloudify-cosmo/cloudify-amqp-influxdb | 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 |
452844629051bc205205e85f3af82c019cbc268b | bump version number to 1.4alpha5 | Abhinav117/pymtl,Abhinav117/pymtl,Abhinav117/pymtl,Abhinav117/pymtl | setup.py | setup.py | # setup.py inspired by the PyPA sample project:
# https://github.com/pypa/sampleproject/blob/master/setup.py
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
def get_long_description():
here = path.abspath(path.dirname(__file__))
... | # setup.py inspired by the PyPA sample project:
# https://github.com/pypa/sampleproject/blob/master/setup.py
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
def get_long_description():
here = path.abspath(path.dirname(__file__))
... | bsd-3-clause | Python |
7e6a73c476390f864860c126e6d82707874ca1f6 | remove subprocess32 dependency (a relic from Python2) | angr/tracer | setup.py | setup.py | from setuptools import setup
setup(
name='tracer', version='0.1', description="Symbolically trace concrete inputs.",
packages=['tracer', 'tracer.cachemanager' ],
install_requires=[ 'shellphish-qemu'],
)
| from setuptools import setup
setup(
name='tracer', version='0.1', description="Symbolically trace concrete inputs.",
packages=['tracer', 'tracer.cachemanager' ],
install_requires=[ 'shellphish-qemu', 'subprocess32'],
)
| bsd-2-clause | Python |
38f70df41a60b3c82f66e4a66bc0659d9a84b255 | Bump to v0.3.0 | gisce/oopgrade | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
dirname = os.path.dirname(__file__)
setup(
name='oopgrade',
version='0.3.0',
description='Upgrade and migration tools',
long_de... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
dirname = os.path.dirname(__file__)
setup(
name='oopgrade',
version='0.2.0',
description='Upgrade and migration tools',
long_de... | agpl-3.0 | Python |
17e7da76fe7032eb6dc0cffd4d533d0d1de3afa6 | use new version number | ryninho/session2s3 | setup.py | setup.py | from setuptools import setup
setup(
name = 'session2s3',
packages = ['session2s3'],
version = '0.2a1',
description = 'Save your Python session to S3',
author = 'Eric Rynerson',
author_email = 'eric.rynerson@gmail.com',
license='MIT',
url = 'https://github.com/ryninho/session2s3',
download_url = 'https... | from setuptools import setup
setup(
name = 'session2s3',
packages = ['session2s3'],
version = '0.1a1',
description = 'Save your Python session to S3',
author = 'Eric Rynerson',
author_email = 'eric.rynerson@gmail.com',
license='MIT',
url = 'https://github.com/ryninho/session2s3',
download_url = 'https... | mit | Python |
2b0ebe66ee0a2f05a73c40fde3e0cc6bde216ede | Use setuptools | zacharyvoase/django-exceptional | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup
rel_file = lambda *args: os.path.join(os.path.dirname(os.path.abspath(__file__)), *args)
def read_from(filename):
fp = open(filename)
try:
return fp.read()
finally:
fp.close()
def get_version... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from distutils.core import setup
rel_file = lambda *args: os.path.join(os.path.dirname(os.path.abspath(__file__)), *args)
def read_from(filename):
fp = open(filename)
try:
return fp.read()
finally:
fp.close()
def get_ver... | unlicense | Python |
049e400fcbf9dd349906e49fba0135e4b3b07068 | bump version | korfuri/pip-prometheus | setup.py | setup.py | import os
from setuptools import setup
LONG_DESCRIPTION = """Pip-Prometheus
This code exports the version of installed Pip packages.
See https://github.com/korfuri/pip-prometheus for usage
instructions.
"""
setup(
name="pip-prometheus",
version="1.2.1",
author="Uriel Corfa",
author_email="uriel@corf... | import os
from setuptools import setup
LONG_DESCRIPTION = """Pip-Prometheus
This code exports the version of installed Pip packages.
See https://github.com/korfuri/pip-prometheus for usage
instructions.
"""
setup(
name="pip-prometheus",
version="1.2.0",
author="Uriel Corfa",
author_email="uriel@corf... | apache-2.0 | Python |
5b4adadc8560ca5f94391376146a3c73b947b005 | Increase version number | City-of-Helsinki/munigeo | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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-munigeo',
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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-munigeo',
... | agpl-3.0 | Python |
cd656e3bd47ee484311bf83f5a0c937300eb8565 | Fix requirements versions | ablanco/yith-library-web-client,ablanco/yith-library-web-client,lorenzogil/yith-library-web-client,lorenzogil/yith-library-web-client,ablanco/yith-library-web-client,lorenzogil/yith-library-web-client,ablanco/yith-library-web-client,lorenzogil/yith-library-web-client | setup.py | setup.py | # Yith Library web client
# Copyright (C) 2012 Yaco Sistemas S.L.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | # Yith Library web client
# Copyright (C) 2012 Yaco Sistemas S.L.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | agpl-3.0 | Python |
e6df4d7e37321452edebc8a6b9c5f36d0b073d8b | Bump cvxopt from 1.2.5 to 1.2.5.post1 | bugra/l1 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.2',
'cvxopt==1.2.5.pos... | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.1.2',
'cvxopt==1.2.5',
... | apache-2.0 | Python |
22fabfd4e26f677ecce30871af78561edefcaef6 | Bump vers for Latin syllabizer updates | kylepjohnson/cltk,diyclassics/cltk,D-K-E/cltk,cltk/cltk | setup.py | setup.py | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | """Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MI... | mit | Python |
d261a41419ab1d2f0543798743ff34607d3d455f | Increment version for deployment. Update trove classifier. | mattions/pyfaidx | setup.py | setup.py | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.1',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | from setuptools import setup
import sys
install_requires = ['six']
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
install_requires.extend(['ordereddict', 'argparse'])
setup(
name='pyfaidx',
provides='pyfaidx',
version='0.3.0',
author='Matthew Shirley',
author_email='mdshw5@gmail.co... | bsd-3-clause | Python |
681ed2d9d62f3c4a623905fdc8d4847a24281626 | Add divisible/nondivisible for verify | habibmasuro/omniwallet,VukDukic/omniwallet,habibmasuro/omniwallet,achamely/omniwallet,Nevtep/omniwallet,VukDukic/omniwallet,achamely/omniwallet,OmniLayer/omniwallet,achamely/omniwallet,Nevtep/omniwallet,habibmasuro/omniwallet,achamely/omniwallet,OmniLayer/omniwallet,Nevtep/omniwallet,VukDukic/omniwallet,OmniLayer/omniw... | api/mastercoin_verify.py | api/mastercoin_verify.py | import os
import glob
import re
from flask import Flask, request, jsonify, abort, json
import psycopg2, psycopg2.extras
import msc_apps
sqlconn = msc_apps.sql_connect()
data_dir_root = os.environ.get('DATADIR')
app = Flask(__name__)
app.debug = True
#TODO COnversion
@app.route('/properties')
def properties():
sqlc... | import os
import glob
import re
from flask import Flask, request, jsonify, abort, json
import psycopg2, psycopg2.extras
import msc_apps
sqlconn = msc_apps.sql_connect()
data_dir_root = os.environ.get('DATADIR')
app = Flask(__name__)
app.debug = True
#TODO COnversion
@app.route('/properties')
def properties():
sqlc... | agpl-3.0 | Python |
264821f36246f81186c63f44c56af6d0f244ccad | Update setup.py version / keywords | flxf/isomedia | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='isomedia',
version='0.2',
description='This is another ISO base media format file parser.',
author='Felix Fung',
author_email='felix.the.cheshire.cat@gmail.com',
url='https://github.com/flxf/isomedia',
packages=... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='isomedia',
version='0.1',
description='This is another ISO base media format file parser.',
author='Felix Fung',
author_email='felix.the.cheshire.cat@gmail.com',
url='https://github.com/flxf/isomedia',
packages=... | mit | Python |
5522b105cfc30332d010927b5d14a0ede4f72dc9 | Update setup.py so that we can upload pip package. | google/tf-quant-finance,google/tf-quant-finance | setup.py | setup.py | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | Python |
89e8574ee30b52a3879624612b20b34516ef05da | Bump version | AASHE/iss | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import os
# Utility function to read README file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='iss',
version='2.0',
description="Ideally Single Source app for Salesforce data.",
author='Scott Joh... | #!/usr/bin/env python
from setuptools import setup
import os
# Utility function to read README file
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='iss',
version='1.1.2',
description="Ideally Single Source app for Salesforce data.",
author='Bob Erb... | mit | Python |
c04dacd384d62d5fcf5db2028a9b8d8206ca32bd | bump version | ipdata/python | setup.py | setup.py | import pathlib
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="ipdata",
version="3.3.8",
description="Python Client for the ... | import pathlib
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="ipdata",
version="3.3.7",
description="Python Client for the ... | mit | Python |
f2b8683f2ba4d5050bf03d29ac227a1493b1e630 | Revert verstion. | twisted/twistedchecker | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
from setuptools import find_packages, setup
setup(
name='TwistedChecker',
description='A Twisted coding standard compliance checker.',
version='0.2.0',
author='Twisted Matrix Laboratories',
author_email... | #!/usr/bin/env python
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
from setuptools import find_packages, setup
setup(
name='TwistedChecker',
description='A Twisted coding standard compliance checker.',
version='0.2.1',
author='Twisted Matrix Laboratories',
author_email... | mit | Python |
28e615f8a99dc2aa0d178266e9196ccfadc55ea9 | fix underscores in package name | pombredanne/django-rest-framework-collection-json,advisory/django-rest-framework-collection-json | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='djangorestframework-collection-json',
version='0.0.1_dev_2',
description='Collection+JSON support for Django REST Framework',
author='Advisory Board Company',
packages=find_packages(exclude=['']),
install_requires=['djangorestframework'],... | from setuptools import setup, find_packages
setup(
name='djangorestframework_collection_json',
version='0.0.1_dev_2',
description='Collection+JSON support for Django REST Framework',
author='Advisory Board Company',
packages=find_packages(exclude=['']),
install_requires=['djangorestframework'],... | mit | Python |
7abb2f73879a5d73d9c0b52bc321f793b378ef9f | Remove buddies when they leave | ceibal-tatu/sugar-toolkit,ceibal-tatu/sugar-toolkit-gtk3,puneetgkaur/sugar-toolkit-gtk3,Daksh/sugar-toolkit-gtk3,quozl/sugar-toolkit-gtk3,gusDuarte/sugar-toolkit-gtk3,ceibal-tatu/sugar-toolkit-gtk3,tchx84/debian-pkg-sugar-toolkit-gtk3,sugarlabs/sugar-toolkit,sugarlabs/sugar-toolkit-gtk3,manuq/sugar-toolkit-gtk3,godiard... | shell/frame/RightPanel.py | shell/frame/RightPanel.py | import goocanvas
from frame.PanelWindow import PanelWindow
from sugar.canvas.IconItem import IconItem
from sugar.canvas.IconColor import IconColor
from sugar.canvas.GridLayout import GridGroup
from sugar.canvas.GridLayout import GridConstraints
from sugar.presence import PresenceService
class RightPanel(GridGroup):
... | import goocanvas
from frame.PanelWindow import PanelWindow
from sugar.canvas.IconItem import IconItem
from sugar.canvas.IconColor import IconColor
from sugar.canvas.GridLayout import GridGroup
from sugar.canvas.GridLayout import GridConstraints
from sugar.presence import PresenceService
class RightPanel(GridGroup):
... | lgpl-2.1 | Python |
16f1afb7be694d237350376e9defec466554c7d7 | Add myself as maintainer in setup.py. | brilliant-org/django-nose,harukaeru/django-nose,mzdaniel/django-nose,krinart/django-nose,franciscoruiz/django-nose,alexhayes/django-nose,millerdev/django-nose,aristiden7o/django-nose,dgladkov/django-nose,mzdaniel/django-nose,fabiosantoscode/django-nose-123-fix,dgladkov/django-nose,brilliant-org/django-nose,krinart/djan... | setup.py | setup.py | import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.0',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_email... | import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.0',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_email... | bsd-3-clause | Python |
e9d0db497d715ccb916f3e78bb023ac8294d2d60 | Update setup.py package list | sapiu/django-moderation,pombredanne/django-moderation,pombredanne/django-moderation,sapiu/django-moderation | setup.py | setup.py | from setuptools import setup, find_packages
import os
import sys
version = '0.3.6'
tests_require = ['django>=1.4.8,<1.7', 'django-webtest>=1.5.7,<1.6',
'webtest>=2.0,<2.1', 'mock', 'pillow', 'ipdb']
# ipython>2 is only supported on Python 2.7+
if sys.hexversion < 0x02070000:
tests_require = ['ip... | from setuptools import setup, find_packages
import os
import sys
version = '0.3.6'
tests_require = ['django>=1.4.8,<1.7', 'django-webtest>=1.5.7,<1.6',
'webtest>=2.0,<2.1', 'mock', 'pillow', 'ipdb']
# ipython>2 is only supported on Python 2.7+
if sys.hexversion < 0x02070000:
tests_require = ['ip... | bsd-3-clause | Python |
0e1aab0a03f2b2b56d6d2ad184daba1154ca9a9c | Upgrade vertica-python to 0.5.5 | dbcli/vcli,dbcli/vcli | setup.py | setup.py | import ast
import re
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('vcli/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
description = 'Vertica CLI with auto-completion and synta... | import ast
import re
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('vcli/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
description = 'Vertica CLI with auto-completion and synta... | bsd-3-clause | Python |
d155c998cfbe53df2d49445cb59811451f75c8b2 | Fix syntax | Ogaday/sapi-python-client,Ogaday/sapi-python-client | setup.py | setup.py | from setuptools import setup, find_packages
import kbcstorage
with open("README.md") as f:
readme = f.read()
setup(
name='kbcstorage',
version=kbcstorage.__version__,
url='https://github.com/keboola/sapi-python-client',
download_url='https://github.com/keboola/sapi-python-client',
packages=fin... | from setuptools import setup, find_packages
import kbcstorage
with open("README.md") as f:
readme = f.read()
setup(
name='kbcstorage',
version=kbcstorage.__version__,
url='https://github.com/keboola/sapi-python-client',
download_url='https://github.com/keboola/sapi-python-client',
packages=fin... | mit | Python |
e4b5c7f0c3382c61a27f63a6665f379056f19788 | Update the version to a pre-release number (#117) | quiltdata/quilt,quiltdata/quilt-compiler,quiltdata/quilt-compiler,quiltdata/quilt,quiltdata/quilt,quiltdata/quilt-compiler,quiltdata/quilt,quiltdata/quilt-compiler,quiltdata/quilt | setup.py | setup.py | from setuptools import setup, find_packages
def readme():
readme_short = """
``quilt`` is a command-line utility that builds, pushes, and installs
data packages. A `data package <https://blog.quiltdata.com/data-packages-for-fast-reproducible-python-analysis-c74b78015c7f>`_
is a versioned bundle of seri... | from setuptools import setup, find_packages
def readme():
readme_short = """
``quilt`` is a command-line utility that builds, pushes, and installs
data packages. A `data package <https://blog.quiltdata.com/data-packages-for-fast-reproducible-python-analysis-c74b78015c7f>`_
is a versioned bundle of seri... | apache-2.0 | Python |
472a88c92ce86018b643f5b1a8f81e73df68a91d | Add download_url | usabilla/api-python | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
VERSION = '1.2.1'
setup(
name='usabilla',
version=VERSION,
description="Python client for Usabilla API",
license='MIT',
install_requires=['urllib3', 'requests'],
packages=find_packages... | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(
name='usabilla',
version='1.2.1',
description="Python client for Usabilla API",
license='MIT',
install_requires=['urllib3', 'requests'],
packages=find_packages(),
py_modules=... | mit | Python |
aae881111c5f51691310e4345cd1b348e81e6be2 | upgrade TA dependency (to remove distribute) | cadithealth/templatealchemy-jinja2 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/03
# copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt
#-------------------------------------------------------------... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/03
# copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt
#-------------------------------------------------------------... | mit | Python |
7e94df10bb9fbbd16b1f15eaac5df01b77630f1d | Install extras during pip install; fixes devstack | openstack/heat,noironetworks/heat,varunarya10/heat,ntt-sic/heat,dragorosson/heat,gonzolino/heat,jasondunsmore/heat,maestro-hybrid-cloud/heat,jasondunsmore/heat,redhat-openstack/heat,srznew/heat,rh-s/heat,redhat-openstack/heat,rh-s/heat,miguelgrinberg/heat,dims/heat,dragorosson/heat,JioCloud/heat,srznew/heat,pratikmally... | setup.py | setup.py | #!/usr/bin/python
#
# 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
# d... | #!/usr/bin/python
#
# 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
# d... | apache-2.0 | Python |
cd7584645548758e59e05531d44121fb29c2e27c | Upgrade django-local-settings 1.0a8 => 1.0a10 | PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils | setup.py | setup.py | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a8',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-... | mit | Python |
35b49a952da9cb95fae4fd8eb25752ca9faee5ef | Update test deps: pytest-coverage -> pytest-cov | majerteam/quicklogging,majerteam/quicklogging | setup.py | setup.py |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Logging wrapper',
'author': 'Feth Arezki',
'url': 'https://github.com/majerteam/quicklogging',
'download_url': 'https://github.com/majerteam/quicklogging',
'author_email': 'tec... | mit | Python |
cf6ee37e17f0df159d96def76a5de7bff72e093f | fix installing scripts/budou.py | google/budou | setup.py | setup.py | # Copyright 2016 Google Inc. 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 applicable law or ... | # Copyright 2016 Google Inc. 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 applicable law or ... | apache-2.0 | Python |
fefe6684cd9e0d9d24a895e48a19f5ab633fe7af | Fix symlink function to check for Windows | raphael0202/spaCy,recognai/spaCy,aikramer2/spaCy,explosion/spaCy,aikramer2/spaCy,Gregory-Howard/spaCy,Gregory-Howard/spaCy,explosion/spaCy,honnibal/spaCy,spacy-io/spaCy,recognai/spaCy,raphael0202/spaCy,spacy-io/spaCy,raphael0202/spaCy,Gregory-Howard/spaCy,explosion/spaCy,recognai/spaCy,aikramer2/spaCy,spacy-io/spaCy,ho... | spacy/compat.py | spacy/compat.py | # coding: utf8
from __future__ import unicode_literals
import six
import sys
import json
try:
import cPickle as pickle
except ImportError:
import pickle
try:
import copy_reg
except ImportError:
import copyreg as copy_reg
is_python2 = six.PY2
is_python3 = six.PY3
is_windows = sys.platform.startswith... | # coding: utf8
from __future__ import unicode_literals
import six
import sys
import json
try:
import cPickle as pickle
except ImportError:
import pickle
try:
import copy_reg
except ImportError:
import copyreg as copy_reg
is_python2 = six.PY2
is_python3 = six.PY3
is_windows = sys.platform.startswith... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.