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 |
|---|---|---|---|---|---|---|---|---|
9bb197f902e9eefbb50a263b90fd340fd4683b61 | Update test dependencies. | tensorflow/tfx,tensorflow/tfx | tfx/dependencies.py | tfx/dependencies.py | # Copyright 2019 Google LLC. 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 a... | # Copyright 2019 Google LLC. 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 a... | apache-2.0 | Python |
d96ddffe64aa87600c2e5a79c0211bd6246742e9 | Remove the jit pass | aterrel/blaze,cpcloud/blaze,FrancescAlted/blaze,FrancescAlted/blaze,FrancescAlted/blaze,jcrist/blaze,cowlicks/blaze,jdmcbr/blaze,ChinaQuants/blaze,jcrist/blaze,xlhtc007/blaze,caseyclements/blaze,dwillmer/blaze,cowlicks/blaze,nkhuyu/blaze,LiaoPan/blaze,maxalbert/blaze,cpcloud/blaze,xlhtc007/blaze,mwiebe/blaze,mrocklin/b... | blaze/compute/air/passes.py | blaze/compute/air/passes.py | """
Passes that massage expression graphs into execution kernels.
"""
from __future__ import absolute_import, division, print_function
from functools import partial
from .prettyprint import verbose
from .frontend import (translate, partitioning, coercions, jit, ckernel_impls,
ckernel_lift, all... | """
Passes that massage expression graphs into execution kernels.
"""
from __future__ import absolute_import, division, print_function
from functools import partial
from .prettyprint import verbose
from .frontend import (translate, partitioning, coercions, jit, ckernel_impls,
ckernel_lift, all... | bsd-3-clause | Python |
a0dbfa5e5a97b7c460f3619cb3277b2f92ffc4d4 | Bump MINOR number from 19 to 20 | fcitx/mozc,google/mozc,google/mozc,fcitx/mozc,google/mozc,fcitx/mozc,fcitx/mozc,google/mozc,google/mozc,fcitx/mozc | src/data/version/mozc_version_template.bzl | src/data/version/mozc_version_template.bzl | # -*- coding: utf-8 -*-
# Copyright 2010-2016, Google Inc.
# 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... | # -*- coding: utf-8 -*-
# Copyright 2010-2016, Google Inc.
# 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... | bsd-3-clause | Python |
d8409e59db4b75f2bbf278ea2fa44289e0cb2274 | Set version 0.2 | jarus/flask-fillin,torotil/flask-fillin,jarus/flask-fillin,torotil/flask-fillin | setup.py | setup.py | """
Flask-fillin
------------
This Flask extension provides simple utilities for testing your forms in
Flask application.
Links
`````
* `documentation <http://packages.python.org/Flask-fillin>`_
* `development version <http://github.com/jarus/flask-fillin/zipball/master#egg=Flask-fillin-dev>`_
* `Flask <http://flas... | """
Flask-fillin
------------
This Flask extension provides simple utilities for testing your forms in
Flask application.
Links
`````
* `documentation <http://packages.python.org/Flask-fillin>`_
* `development version <http://github.com/jarus/flask-fillin/zipball/master#egg=Flask-fillin-dev>`_
* `Flask <http://flas... | bsd-3-clause | Python |
cd92e7186d8b0e1f8103b6f622c0622e7db88fb8 | Set published date so the posts come in order. | chrillux/thecodingloverss | thecodingloverss.py | thecodingloverss.py | import feedparser, sys, urllib2
from bs4 import BeautifulSoup as BS
from feedgen.feed import FeedGenerator
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
d = feedparser.parse('http://thecodinglove.com/rss')
fg = FeedGenerator()
fg.title('The coding love with images.')
fg... | import feedparser, sys, urllib2
from bs4 import BeautifulSoup as BS
from feedgen.feed import FeedGenerator
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
d = feedparser.parse('http://thecodinglove.com/rss')
fg = FeedGenerator()
fg.title('The coding love with images.')
fg... | mit | Python |
c9c2da7a7986a5ed6564894003cd2dae5088d53e | fix for python3 | Aplopio/email-friendly-templates,Aplopio/email-friendly-templates,Aplopio/email-friendly-templates | inlinestyler_cli.py | inlinestyler_cli.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
PY3 = sys.version_info[0] == 3
try:
from inlinestyler.utils import inline_css
except ImportError:
sys.stderr.write("inlinestyler is missing. `pip install inlinestyler == 0.2.0`")
if __name__ == "__main__":
if len(sys.argv) != 3:
sys.stder... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
try:
from inlinestyler.utils import inline_css
except ImportError:
sys.stderr.write("inlinestyler is missing. `pip install inlinestyler == 0.2.0`")
if __name__ == "__main__":
if len(sys.argv) != 3:
sys.stderr.write("python inlinestyler_cl... | mit | Python |
82a9cffd9c917e4e1705057f6331f74c0e24a9c4 | Use PyPi distribution for neb-tasks (#161) | Connexions/nebuchadnezzar | setup.py | setup.py | # -*- coding: utf-8 -*-
import versioneer
from setuptools import setup, find_packages
def parse_requirements(req_file):
"""Parse a requirements.txt file to a list of requirements"""
with open(req_file, 'r') as fb:
reqs = [
req for req in fb.readlines()
if req.strip() and not re... | # -*- coding: utf-8 -*-
import versioneer
from setuptools import setup, find_packages
def parse_requirements(req_file):
"""Parse a requirements.txt file to a list of requirements"""
with open(req_file, 'r') as fb:
reqs = [
req for req in fb.readlines()
if req.strip() and not re... | agpl-3.0 | Python |
f71a166598ab35bc15f298226bb510d43f78c810 | Fix imports for renamed transformations | INCF/pybids | bids/analysis/transformations/__init__.py | bids/analysis/transformations/__init__.py | from .compute import (sum, product, scale, orthogonalize, threshold, and_, or_,
not_, demean, convolve)
from .munge import (split, rename, assign, copy, factor, filter, select,
delete, replace, to_dense)
__all__ = [
'and_',
'assign',
'convolve',
'copy',
'de... | from .compute import (sum, product, scale, orthogonalize, threshold, and_, or_,
not_, demean, convolve_HRF)
from .munge import (split, rename, assign, copy, factor, filter, select,
remove, replace, to_dense)
__all__ = [
'and_',
'assign',
'convolve_HRF',
'copy',... | mit | Python |
b5bef82ea6eb4269a164eda3ba95d7212f1c76d1 | Use connection settings from conf file. | TeamHG-Memex/hgprofiler,TeamHG-Memex/hgprofiler,TeamHG-Memex/hgprofiler,TeamHG-Memex/hgprofiler | lib/cli/run_worker.py | lib/cli/run_worker.py | import sys
from redis import Redis
from rq import Queue, Connection, Worker
import cli
import worker
class RunWorkerCli(cli.BaseCli):
'''
A wrapper for RQ workers.
Wrapping RQ is the only way to generate notifications when a job fails.
'''
def _get_args(self, arg_parser):
''' Customize ... | import sys
from rq import Queue, Connection, Worker
import cli
import worker
class RunWorkerCli(cli.BaseCli):
'''
A wrapper for RQ workers.
Wrapping RQ is the only way to generate notifications when a job fails.
'''
def _get_args(self, arg_parser):
''' Customize arguments. '''
... | apache-2.0 | Python |
669fdbcff8b1d6ca740be8403ff05ca30d7d1d1e | Bump version 2.0 | teixas/js.jquery_ui_multiselect2,teixas/js.jquery_ui_multiselect2 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
version = '2.0'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.rst')
+ '\n' +
read('js', 'jquery_ui_multiselect2', 'test_jq... | # -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
version = '2.0-rc-2'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.rst')
+ '\n' +
read('js', 'jquery_ui_multiselect2', 'te... | bsd-3-clause | Python |
85c0bf0a57698d077461283895707260f9dbf931 | Allow newer patch versions of protobuf 3.7 | das7pad/hangups,ddboline/hangups,tdryer/hangups | setup.py | setup.py | from setuptools import setup
import os
import sys
# TODO: Switch to ReadTheDocs YAML config to get a newer Python
if sys.version_info < (3, 5, 3) and not os.getenv('READTHEDOCS'):
# This is the minimum version which has support for `async def`/`await`/
# `async with` syntax.
raise RuntimeError("hangups re... | from setuptools import setup
import os
import sys
# TODO: Switch to ReadTheDocs YAML config to get a newer Python
if sys.version_info < (3, 5, 3) and not os.getenv('READTHEDOCS'):
# This is the minimum version which has support for `async def`/`await`/
# `async with` syntax.
raise RuntimeError("hangups re... | mit | Python |
54a369c95a597395f3c1f8c3d3695a8f0b3f7eca | bump dep on transit-relay to latest 0.1.2 | warner/magic-wormhole,warner/magic-wormhole,warner/magic-wormhole,warner/magic-wormhole | setup.py | setup.py | from setuptools import setup
import versioneer
commands = versioneer.get_cmdclass()
trove_classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Topic :: Security :: Cryptography",
"Topic :: System :: Networking",
"Topic :: Syste... | from setuptools import setup
import versioneer
commands = versioneer.get_cmdclass()
trove_classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Topic :: Security :: Cryptography",
"Topic :: System :: Networking",
"Topic :: Syste... | mit | Python |
c5956624a0de5f877d366a23fcb6d73326f12e19 | use os.listdir | christopherjwang/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,christopherjwang/rackspace-monitoring-agent,AlphaStaxLLC/rackspace-monitoring-agent,kaustavha/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,virgo-agent-toolkit/rackspace-monitoring-agent,kaustavha/rackspace-m... | tools/get_binary.py | tools/get_binary.py | #!/usr/bin/env python
import os
import sys
import shutil
from version import full_version
from optparse import OptionParser
import pkgutils
def main():
usage = "usage: %prog [destination path]"
parser = OptionParser(usage=usage)
(options, args) = parser.parse_args()
if len(args) != 1:
pars... | #!/usr/bin/env python
import os
import sys
import shutil
from version import full_version
from optparse import OptionParser
import pkgutils
def main():
usage = "usage: %prog [destination path]"
parser = OptionParser(usage=usage)
(options, args) = parser.parse_args()
if len(args) != 1:
pars... | apache-2.0 | Python |
90c5de142ae44ad4a03b7ac97db93b55d0813d10 | update setup | noisyboiler/wampy | setup.py | setup.py | from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
setup(
name='wampy',
version='0.9.0',
description='A simple WAMP imp... | from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
setup(
name='wampy',
version='0.0.1',
description='A simple WAMP imp... | mpl-2.0 | Python |
7283fece92be8902d9adb99ca0e9019079a32281 | update version | thomasyu888/Genie,thomasyu888/Genie,thomasyu888/Genie,thomasyu888/Genie | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='aacrgenie',
version='1.6.1',
description='Processing and validation for GENIE',
url='https://github.com/Sage-Bionetworks/Genie',
author='Thomas Yu',
author_email='thomasyu888@gmail.com',
license='MIT',
packages=find_packa... | from setuptools import setup, find_packages
setup(name='aacrgenie',
version='1.6.0',
description='Processing and validation for GENIE',
url='https://github.com/Sage-Bionetworks/Genie',
author='Thomas Yu',
author_email='thomasyu888@gmail.com',
license='MIT',
packages=find_packa... | mit | Python |
8f93d72f47102ad504a7e7df9759c3483b8a123e | bump version. | jonhadfield/creds | lib/creds/__init__.py | lib/creds/__init__.py | # -*- coding: utf-8 -*-
"""
This package contains all of the modules utilised by the creds library.
constants: Functions to define and discover OS constants.
plan: Functions to generate a list of steps to transition from the current state to the desired state.
ssh: Contains a class to represent a users' keys and fun... | # -*- coding: utf-8 -*-
"""
This package contains all of the modules utilised by the creds library.
constants: Functions to define and discover OS constants.
plan: Functions to generate a list of steps to transition from the current state to the desired state.
ssh: Contains a class to represent a users' keys and fun... | mit | Python |
b2b7f19d547762a6b3a9f768182114f03f97d81c | Correct simplejson requirement | Goldmund-Wyldebeast-Wunderliebe/raven-python,ewdurbin/raven-python,dbravender/raven-python,daikeren/opbeat_python,smarkets/raven-python,ronaldevers/raven-python,jbarbuto/raven-python,danriti/raven-python,getsentry/raven-python,hzy/raven-python,jmp0xf/raven-python,akalipetis/raven-python,daikeren/opbeat_python,inspirehe... | setup.py | setup.py | #!/usr/bin/env python
"""
Raven
======
Raven is a Python client for `Sentry <http://getsentry.com/>`_. It provides
full out-of-the-box support for many of the popular frameworks, including
`Django <djangoproject.com>`_, `Flask <http://flask.pocoo.org/>`_, and `Pylons
<http://www.pylonsproject.org/>`_. Raven also inclu... | #!/usr/bin/env python
"""
Raven
======
Raven is a Python client for `Sentry <http://getsentry.com/>`_. It provides
full out-of-the-box support for many of the popular frameworks, including
`Django <djangoproject.com>`_, `Flask <http://flask.pocoo.org/>`_, and `Pylons
<http://www.pylonsproject.org/>`_. Raven also inclu... | bsd-3-clause | Python |
4247a550259dd5c70e5db875db44940019b08128 | Update DNS setup.py to latest template | Azure/azure-sdk-for-python,SUSE/azure-sdk-for-python,Azure/azure-sdk-for-python,Azure/azure-sdk-for-python,lmazuel/azure-sdk-for-python,v-iam/azure-sdk-for-python,rjschwei/azure-sdk-for-python,AutorestCI/azure-sdk-for-python,Azure/azure-sdk-for-python | azure-mgmt-dns/setup.py | azure-mgmt-dns/setup.py | #!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#----------------------------------------------------------------... | #!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#----------------------------------------------------------------... | mit | Python |
b53d1a56b915d479e8dad04084d2757f907be5e0 | Change version to 0.0.4 | verdel/ipamcli | ipamcli/__init__.py | ipamcli/__init__.py | # Command line interface to NOC IPAM module
__version__ = '0.0.4' | # Command line interface to NOC IPAM module
__version__ = '0.0.3' | mit | Python |
621fc3e10ad296c21a27160a8a1263cf69e3079f | Fix missing testSchema in package | HSRNetwork/Nuts | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import uuid
from pip.req import parse_requirements
from setuptools import setup, find_packages
requirements = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in requirements]
readme = open('README.rst').read()
setup(name='nuts',
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import uuid
from pip.req import parse_requirements
from setuptools import setup, find_packages
requirements = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in requirements]
readme = open('README.rst').read()
setup(name='nuts',
... | mit | Python |
96c5080c83cf33d8e4c2b50c706553461fecd289 | Implement validate() for Maltese numbers | holvi/python-stdnum,t0mk/python-stdnum,arthurdejong/python-stdnum,holvi/python-stdnum,dchoruzy/python-stdnum,arthurdejong/python-stdnum,holvi/python-stdnum,arthurdejong/python-stdnum,tonyseek/python-stdnum | stdnum/mt/vat.py | stdnum/mt/vat.py | # vat.py - functions for handling Maltese VAT numbers
#
# Copyright (C) 2012, 2013 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or... | # vat.py - functions for handling Maltese VAT numbers
#
# Copyright (C) 2012 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at y... | lgpl-2.1 | Python |
7529f3e6c81ffe9c0c4871c792f3c73f23885020 | Update settings.py | smg247/backgroundr,smg247/backgroundr | backgroundr/settings.py | backgroundr/settings.py | SCREEN_WIDTH = 1920
SCREEN_HEIGHT = 1080
# The output directory where the backgrounds will be saved
LOCATION = '~/Backgroundr_Images/'
# The name of the font you would like to use
FONT = 'Roboto'
FONT_SIZE = 64
| SCREEN_WIDTH = 1920
SCREEN_HEIGHT = 1080
# The output directory where the backgrounds will be saved
LOCATION = '/Users/smg247/Backgroundr_Images/'
# The name of the font you would like to use
FONT = 'Roboto'
FONT_SIZE = 64 | mit | Python |
f46ac09755c0a9364dd91f5ff02aace50072cd52 | Update author_email to new urda.com domain that I now own. | urda/django-letsencrypt,urda/django-letsencrypt,urda/django-letsencrypt | setup.py | setup.py | """
Copyright 2016-2018 Peter Urda
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, softwar... | """
Copyright 2016-2018 Peter Urda
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, softwar... | apache-2.0 | Python |
993a2fe6d45dc4b314c7f46a4da18bc817bca01d | test #2 | tonyqiu1019/BulletAPI,tonyqiu1019/BulletAPI | wechat/wechat/views.py | wechat/wechat/views.py | from django.http import HttpResponse, HttpResponseBadRequest
from hashlib import sha1
from lxml import etree
def _check_token(request):
get_dict = request.GET.dict()
needed_token = ['signature', 'timestamp', 'nonce', 'echostr']
for token in needed_token:
if token not in get_dict:
retur... | from django.http import HttpResponse, HttpResponseBadRequest
from hashlib import sha1
from lxml import etree
def _check_token(request):
get_dict = request.GET.dict()
needed_token = ['signature', 'timestamp', 'nonce', 'echostr']
for token in needed_token:
if token not in get_dict:
retur... | mit | Python |
d112ad76bf2638a8d265aa20de796117e710c87b | Update admin.py | NeoMahler/rc-vikidia,NeoMahler/rc-vikidia | modules/admin.py | modules/admin.py | #!/usr/bin/env python
# -*- coding: cp1252 -*-
def join(phenny, input):
u"""Entra al cana especificat. Només els administradors."""
# Can only be done in privmsg by an admin
if input.sender.startswith('#'): return
if input.admin:
channel, key = input.group(1), input.group(2)
if not key:
... | #!/usr/bin/env python
# -*- coding: cp1252 -*-
"""
admin.py - Phenny Admin Module
Copyright 2008-9, Sean B. Palmer, inamidst.com
Licensed under the Eiffel Forum License 2.
http://inamidst.com/phenny/
"""
def join(phenny, input):
u"""Entra al cana especificat. Noms els administradors."""
# Can only be done in p... | mit | Python |
eec12cad5c01362e6d1cb2e0a0e819daa436042b | add haystack to setup | Parisson/Telemeta,Parisson/Telemeta,Parisson/Telemeta,Parisson/Telemeta,ANR-kamoulox/Telemeta,ANR-kamoulox/Telemeta,ANR-kamoulox/Telemeta,ANR-kamoulox/Telemeta | setup.py | setup.py | # -*- coding: utf-8 -*-
import multiprocessing
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.in... | # -*- coding: utf-8 -*-
import multiprocessing
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.in... | agpl-3.0 | Python |
7e1f782b4319b7b0cc3dc24d81aa1fe6cee0bc59 | use latest_git_tags | mikofski/Circus,SunPower/Carousel,mikofski/Carousel | carousel/__init__.py | carousel/__init__.py | """
Carousel Python Model Simulation Framework
Mark Mikofski (c) 2015
"""
from dulwich.repo import Repo
from dulwich.objects import Tag
import time
import datetime
import logging
import os
DIRNAME = os.path.abspath(os.path.dirname(__file__))
PROJDIR = os.path.dirname(DIRNAME)
logging.basicConfig()
LOGGER = logging.g... | """
Carousel Python Model Simulation Framework
Mark Mikofski (c) 2015
"""
__author__ = u'Mark Mikofski'
__email__ = u'mark.mikofski@sunpowercorp.com'
__url__ = u'https://github.com/SunPower/Carousel'
__version__ = u'0.2.7'
__release__ = u'Brown Bicycle Bears'
| bsd-3-clause | Python |
b066fc0f76440f055b59c83dbaff762ade5aa8bf | bump version number | mpharrigan/trajprocess,mpharrigan/trajprocess | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="trajprocess",
version='2.0.8',
packages=find_packages(),
requires=['numpy', 'mdtraj', 'nose'],
zip_safe=False,
include_package_data=True,
)
| from setuptools import setup, find_packages
setup(
name="trajprocess",
version='2.0.7',
packages=find_packages(),
requires=['numpy', 'mdtraj', 'nose'],
zip_safe=False,
include_package_data=True,
)
| mit | Python |
81b78ff9c5817913d7678cd29af1b3bf9405efad | Add blank line to the end of file | studiawan/pygraphc | pygraphc/preprocess/CreateGraph.py | pygraphc/preprocess/CreateGraph.py | import networkx as nx
from itertools import combinations
from pygraphc.clustering.ClusterDistance import ClusterDistance
class CreateGraph:
def __init__(self, events_unique, cosine_threshold):
self.events_unique = events_unique
self.g = nx.MultiGraph()
self.edges_dict = {}
self.edg... | import networkx as nx
from itertools import combinations
from pygraphc.clustering.ClusterDistance import ClusterDistance
class CreateGraph:
def __init__(self, events_unique, cosine_threshold):
self.events_unique = events_unique
self.g = nx.MultiGraph()
self.edges_dict = {}
self.edg... | mit | Python |
24b227ba1fbf9f8f1cf01d049519eb5bd56d1848 | Fix typo | globality-corp/microcosm-elasticsearch,globality-corp/microcosm-elasticsearch | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
project = "microcosm-elasticsearch"
version = "6.1.4"
setup(
name=project,
version=version,
description="Elasticsearch client configuration",
author="Globality Engineering",
author_email="engineering@globality.com",
url="https:... | #!/usr/bin/env python
from setuptools import find_packages, setup
version = "6.1.4"
setup(
name=project,
version=version,
description="Elasticsearch client configuration",
author="Globality Engineering",
author_email="engineering@globality.com",
url="https://github.com/globality-corp/microcos... | apache-2.0 | Python |
666dd09a327b2850d4517f7a4cbd99db368b163a | Fix csv writer | XENON1T/pax,XENON1T/pax | plugins/io/CSV.py | plugins/io/CSV.py | import csv
from pax import plugin
class WritePeaksCSV(plugin.OutputPlugin):
"""Write to a human readable CSV file
"""
def startup(self):
self.output = open('output.csv', 'w')
self.headers = ['event', 'type', 'max', 'left', 'right', 'area']
self.csv = csv.DictWriter(self.output,
... | import csv
from pax import plugin
class WritePeaksCSV(plugin.OutputPlugin):
"""Write to a human readable CSV file
"""
def startup(self):
self.output = open('output.csv', 'w')
self.headers = ['event', 'type', 'max', 'left', 'right', 'area']
self.csv = csv.DictWriter(self.output,
... | bsd-3-clause | Python |
d2890c883d906dcd2c0a1a41ee961eb9d5aa172a | add .txt to banned list | jasuka/pyBot,jasuka/pyBot | modules/title.py | modules/title.py | import urllib.request
from bs4 import BeautifulSoup
import re
import syscmd
## Gets title for the urls
def title ( self, url ):
## Banned extensions in the urls
valid = re.search( ".*\.(jpg$|jpeg$|png$|gif$|pdf$|exe$|zip|txt$)", url )
if valid == None:
url = url.strip().rstrip(".")
req = urllib.request.Requ... | import urllib.request
from bs4 import BeautifulSoup
import re
import syscmd
## Gets title for the urls
def title ( self, url ):
## Banned extensions in the urls
valid = re.search( ".*\.(jpg$|jpeg$|png$|gif$|pdf$|exe$|zip$)", url )
if valid == None:
url = url.strip().rstrip(".")
req = urllib.request.Request(... | mit | Python |
49dee52263b9de5392302c0345b2f07ff47abe95 | add enum34 requirement | chris-martin/chain-bitcoin-python,cardforcoin/chain-bitcoin-python | setup.py | setup.py | from distutils.core import setup
setup(
name='chain_bitcoin',
version='0.1',
packages=['chain_bitcoin'],
url='https://github.com/cardforcoin/chain-bitcoin-python',
license='MIT',
description='Integration library for the Chain.com API',
classifiers=[
'Intended Audience :: Developers'... | from distutils.core import setup
setup(
name='chain_bitcoin',
version='0.1',
packages=['chain_bitcoin'],
url='https://github.com/cardforcoin/chain-bitcoin-python',
license='MIT',
description='Integration library for the Chain.com API',
classifiers=[
'Intended Audience :: Developers'... | mit | Python |
805c814730763364b3393b1a5e244ba0e517ee4a | Add user.me endpoint | Rdbaker/Mealbound,Rdbaker/Mealbound,Rdbaker/Mealbound,Rdbaker/Mealbound,Rdbaker/Mealbound | ceraon/user/views.py | ceraon/user/views.py | # -*- coding: utf-8 -*-
"""User views."""
from flask import Blueprint, render_template, request, flash, redirect
from flask_login import login_required, current_user
from ceraon.locations.forms import LocationForm
from ceraon.models.locations import Location
from ceraon.utils import flash_errors
blueprint = Blueprint... | # -*- coding: utf-8 -*-
"""User views."""
from flask import Blueprint, render_template, request, flash, redirect
from flask_login import login_required, current_user
from ceraon.locations.forms import LocationForm
from ceraon.models.locations import Location
from ceraon.utils import flash_errors
blueprint = Blueprint... | bsd-3-clause | Python |
956183e8bff78b4dff9c6ba53422cb0c4bf26fbe | Bump version | yenbekbay/mudl | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of mudl.
# Copyright (C) 2015 Ayan Yenbekbay
#
# 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, includin... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of mudl.
# Copyright (C) 2015 Ayan Yenbekbay
#
# 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, includin... | mit | Python |
a1524271ab19c04d7e0cd9653c59ecf09494a964 | Bump to 0.8 | philipdexter/pear | setup.py | setup.py | from setuptools import setup
def read_file(f):
with open(f) as f:
return f.read()
setup(
name='pear-aur',
packages = ['pear'],
version='0.8',
description = 'A stupidly simple aur helper',
long_description=read_file('README.rst'),
author = 'Philip Dexter',
author_email = 'philip... | from setuptools import setup
def read_file(f):
with open(f) as f:
return f.read()
setup(
name='pear-aur',
packages = ['pear'],
version='0.7',
description = 'A stupidly simple aur helper',
long_description=read_file('README.rst'),
author = 'Philip Dexter',
author_email = 'philip... | unlicense | Python |
2baf0a913d257522dc21b1870c35111a55c1bb60 | Update main.py | 0x424D/crappy,0x424D/crappy | cg_mmult/src/main.py | cg_mmult/src/main.py | M=[[1,2]];N=[[3],[4]];l=range;m=len;r=[([sum([M[i][k]*N[k][j]for k in l(m(N))])for j in l(m(N[0]))])for i in l(m(M))];print(r)
| M = [[1, 4],
[1, 3]]
N = [[4, 3],
[0, -1]]
l=range;m=len;r=[([sum([M[i][k]*N[k][j]for k in l(m(N))])for j in l(m(N[0]))])for i in l(m(M))];print(r)
| agpl-3.0 | Python |
ed33088128cc43a7e0d6a73eb216ce56d6e2ec34 | bump pillowtop version | qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='pillowfluff',
version='0.0.3',
description='Map over CouchDB changes feed built to run on Pillowtop',
author='Dimagi',
author_email='information@dimagi.com',
url='http://www.dimagi.com/',
packages=['fluff','fluff.fluff_filter']... | #!/usr/bin/env python
from setuptools import setup
setup(
name='pillowfluff',
version='0.0.3',
description='Map over CouchDB changes feed built to run on Pillowtop',
author='Dimagi',
author_email='information@dimagi.com',
url='http://www.dimagi.com/',
packages=['fluff','fluff.fluff_filter']... | bsd-3-clause | Python |
aa3406503b28beb83f8a42f8f12f1de3ad5435ab | Use conventional name for package synopsis. | wting/python-daemon,eaufavor/python-daemon | setup.py | setup.py | # -*- coding: utf-8 -*-
# setup.py
# Part of ‘python-daemon’, an implementation of PEP 3143.
#
# Copyright © 2008–2014 Ben Finney <ben+python@benfinney.id.au>
# Copyright © 2008 Robert Niederreiter, Jens Klein
#
# This is free software: you may copy, modify, and/or distribute this work
# under the terms of the GNU Gen... | # -*- coding: utf-8 -*-
# setup.py
# Part of ‘python-daemon’, an implementation of PEP 3143.
#
# Copyright © 2008–2014 Ben Finney <ben+python@benfinney.id.au>
# Copyright © 2008 Robert Niederreiter, Jens Klein
#
# This is free software: you may copy, modify, and/or distribute this work
# under the terms of the GNU Gen... | apache-2.0 | Python |
0185e686313404924a442585794c2dda0ab88c84 | Use setuptools | jaap3/buildout.dumppickedversions2 | setup.py | setup.py | import os
from setuptools import setup
version = '1.0dev'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = '\n'.join((
read('README.txt'),
'Detailed Documentation',
'======================',
read('buildout', 'dumppickedversions2', 'dumpp... | import os
from distutils.core import setup
version = '1.0dev'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = '\n'.join((
read('README.txt'),
'Detailed Documentation',
'======================',
read('buildout', 'dumppickedversions2', 'd... | mit | Python |
63d955d77568001cbf03012891f951fc152027a6 | Make file open consistent | stevekuznetsov/GoTools,bparees/GoTools,liggitt/GoTools,ironcladlou/GoTools,liggitt/GoTools,Mistobaan/GoTools,stevekuznetsov/GoTools,nuance/GoTools,liuhewei/gotools-sublime,bparees/GoTools,ironcladlou/GoTools,Mistobaan/GoTools,nuance/GoTools | sublime-godef.py | sublime-godef.py | import sublime, sublime_plugin, subprocess, os, locale
class GodefCommand(sublime_plugin.WindowCommand):
def run(self):
settings = sublime.load_settings("sublime-godef.sublime-settings")
self.gopath = settings.get("gopath", os.getenv('GOPATH'))
if self.gopath is None:
self.console_log("ERROR: no G... | import sublime, sublime_plugin, subprocess, os, locale
class GodefCommand(sublime_plugin.WindowCommand):
def run(self):
settings = sublime.load_settings("sublime-godef.sublime-settings")
self.gopath = settings.get("gopath", os.getenv('GOPATH'))
if self.gopath is None:
print("ERROR: no GOPATH defin... | mit | Python |
6a6b9550d3aa46bb6347f9e630a81be6bdaf8b6b | Bump to v0.8.10 | gisce/enerdata | setup.py | setup.py | import sys
from setuptools import setup, find_packages
INSTALL_REQUIRES = ['pytz', 'workalendar']
if sys.version_info < (2, 7):
INSTALL_REQUIRES += ['backport_collections']
setup(
name='enerdata',
version='0.8.10',
packages=find_packages(),
url='http://code.gisce.net',
license='MIT',
auth... | import sys
from setuptools import setup, find_packages
INSTALL_REQUIRES = ['pytz', 'workalendar']
if sys.version_info < (2, 7):
INSTALL_REQUIRES += ['backport_collections']
setup(
name='enerdata',
version='0.8.9',
packages=find_packages(),
url='http://code.gisce.net',
license='MIT',
autho... | mit | Python |
36e221b72d30ea669551114ede15a39b018bdf90 | Simplify transperth.fares.get_fare | Mause/pytransperth,Mause/pytransperth | transperth/fares.py | transperth/fares.py | from lxml import etree
import requests
from . import BASE
from .utils import clean
from .journey_planner import determine_routes
FARE_URL = BASE + 'DesktopModules/JourneyPlannerResults/GetFares.aspx?'
def get_fare(from_loco, to_loco):
"""
Returns the fare for the recommended route from `from_loco` to
`... | from lxml import etree
import requests
from . import BASE
from .utils import clean
from .journey_planner import determine_routes
FARE_URL = BASE + 'DesktopModules/JourneyPlannerResults/GetFares.aspx?'
def get_fare(from_loco, to_loco):
routes = determine_routes(from_loco, to_loco)
route = routes[0]
ar... | mit | Python |
ad196c74dfe5a10f1318e9f3db5752105af6baa1 | Update setup.py | mroberge/hydrofunctions | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
with open("pypi_readme.rst") as readme_file:
readme = readme_file.read()
with open("docs/history.rst") as history_file:
history = history_file.read()
def relative2absolute(input, old, new):
""" Replaces ... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
with open("pypi_readme.rst") as readme_file:
readme = readme_file.read()
with open("docs/history.rst") as history_file:
history = history_file.read()
def relative2absolute(input, old, new):
""" Replaces ... | mit | Python |
de6d12f5880f4f471a275070e079aa8a6147a887 | Update Logs per 2021-04-01 changes | cloudtools/troposphere,cloudtools/troposphere | troposphere/logs.py | troposphere/logs.py | from . import AWSObject, AWSProperty
from .constants import LOGS_ALLOWED_RETENTION_DAYS as RETENTION_DAYS
from .validators import integer_list_item
class Destination(AWSObject):
resource_type = "AWS::Logs::Destination"
props = {
"DestinationName": (str, True),
"DestinationPolicy": (str, True)... | from . import AWSObject, AWSProperty
from .constants import LOGS_ALLOWED_RETENTION_DAYS as RETENTION_DAYS
from .validators import integer_list_item
class Destination(AWSObject):
resource_type = "AWS::Logs::Destination"
props = {
"DestinationName": (str, True),
"DestinationPolicy": (str, True)... | bsd-2-clause | Python |
50e8bf3ef5c5d7c0b9512a7977554233d4fea0bf | Update setup.py | ymyzk/raspberry-pi-utilities,ymyzk/raspberry-pi-utilities | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except:
from distutils.core import setup
setup(name='raspberry-pi-utilities',
version='0.2',
description='Raspberry Pi utilities',
author='Yusuke Miyazaki',
author_email='miyazaki.dev@gmail.com',
url='https://github.com/lit... | #!/usr/bin/env python
try:
from setuptools import setup
except:
from distutils.core import setup
setup(name='raspberry-pi-utilities',
version='0.1',
description='Raspberry Pi utilities',
author='Yusuke Miyazaki',
author_email='miyazaki.dev@gmail.com',
url='https://github.com/lit... | mit | Python |
bb0043ccdbdeda911cc031a262ca61b19ee8f639 | update req | wandb/client,wandb/client,wandb/client | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = [
'Click>=7.0',
'GitPython>=1.0.0',
'gql==0.2.0',
'nvidia-ml-py3>=7.352.0',
'python-dateutil>=2.6.1',
'requests>=2.0.0',
'shortu... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = [
'Click>=7.0',
'GitPython>=1.0.0',
'gql==0.2.0',
'nvidia-ml-py3>=7.352.0',
'python-dateutil>=2.6.1',
'requests>=2.0.0',
'shortu... | mit | Python |
d843778c0b86986f20b4bc853790854958eadd7f | comment how to install added | upd89/agent,upd89/agent | check_for_imports.py | check_for_imports.py | #!/usr/bin/env python
import imp
def check_for(module):
try:
imp.find_module(module)
except ImportError:
print(module + " not installed")
check_for('os')
check_for('platform')
check_for('socket')
check_for('json')
check_for('urllib2')
check_for('apt') # sudo apt install python-apt
check_fo... | #!/usr/bin/env python
import imp
def check_for(module):
try:
imp.find_module(module)
except ImportError:
print(module + " not installed")
check_for('os')
check_for('platform')
check_for('socket')
check_for('json')
check_for('urllib2')
check_for('apt')
check_for('daemonize')
check_for('schedule')
check_fo... | mit | Python |
b544b6a0d8d632a9aa5c4a527262bf2235a3f72c | Bump version number. | lewiscollard/django-flexible-images,lewiscollard/django-flexible-images,lewiscollard/django-flexible-images | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(
name="django-flexible-images",
version="1.0.3",
url="https://github.com/lewiscollard/django-flexible-images",
author="Lewis Collard",
author_email="lewis.collard@onespacemedia.com",
packages=find_packages()... | #!/usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(
name="django-flexible-images",
version="1.0.2",
url="https://github.com/lewiscollard/django-flexible-images",
author="Lewis Collard",
author_email="lewis.collard@onespacemedia.com",
packages=find_packages()... | cc0-1.0 | Python |
20d2d7d1d1d61ce02fd5e5d7b196667d43563c03 | bump to 011 to release python 3 fixes | inorton/junit2html | setup.py | setup.py | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="011",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://github.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | from distutils.core import setup
files = ["*.css"]
setup(
name="junit2html",
version="010",
description="Generate HTML reports from Junit results",
author="Ian Norton",
author_email="inorton@gmail.com",
url="https://github.com/inorton/junit2html",
packages=["junit2htmlreport"],
packag... | mit | Python |
080c202952d039fa8a69aa5d04d43ed483799bcd | bump version as instructed by bamboo | pbs/cmsplugin-image | setup.py | setup.py | import os
from setuptools import setup, find_packages
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'README.rst')
DEPENDENCIES = [
'django-cms-smartsnippets',
'django-filer',
]
DEPENDENCY_LINKS = [
'http://github.com/pbs/django-cms-smartsnippets/tarbal... | import os
from setuptools import setup, find_packages
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'README.rst')
DEPENDENCIES = [
'django-cms-smartsnippets',
'django-filer',
]
DEPENDENCY_LINKS = [
'http://github.com/pbs/django-cms-smartsnippets/tarbal... | bsd-3-clause | Python |
40dd7d5ab8ea6d13bca78c035bad8184907b5189 | 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
# ToDo: add bumpversion, run in ci
setup(
name="ipdata",
version="3.4.5",
... | 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
# ToDo: add bumpversion, run in ci
setup(
name="ipdata",
version="3.4.4",
... | mit | Python |
3dc645949469e857c961f4a26025c18337c61131 | add classifiers to python-sunlight | BrianPainter/python-sunlight,sunlightlabs/python-sunlight | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) Sunlight Labs, 2012 under the terms and conditions
# of the LICENSE file.
from sunlight import __appname__, __version__
from setuptools import setup
long_description = open('README.rst').read()
setup(
name = __appname__,
version = __version__,
packages = [... | #!/usr/bin/env python
# Copyright (c) Sunlight Labs, 2012 under the terms and conditions
# of the LICENSE file.
from sunlight import __appname__, __version__
from setuptools import setup
long_description = open('README.rst').read()
setup(
name = __appname__,
version = __version__,
packages = [... | bsd-3-clause | Python |
9da05d5277e22b72750f10ce03d40fed1f9b98ea | Add certifi-test entry point | Lukasa/testifi | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'testifi',
'testifi.resources',
]
setup(
name='testifi',
version='1.0.0',
description='Web-app for testing websites against certifi',
author... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'testifi',
'testifi.resources',
]
setup(
name='testifi',
version='1.0.0',
description='Web-app for testing websites against certifi',
author... | mit | Python |
8967bb0e0855f6350ce6804c0f8e723953a2e02c | add python version check | carlgeorge/toleo,carlwgeorge/toleo-old | setup.py | setup.py | import setuptools
import sys
if not sys.version_info >= (3, 4):
sys.exit('requires Python 3.4 or newer')
setuptools.setup(
name='toleo',
version='0.0.2',
description='Library for tracking software and package versions.',
author='Carl George',
author_email='carl@cgtx.us',
url='https://git... | import setuptools
setuptools.setup(
name = 'toleo',
version = '0.0.2',
description = 'Library for tracking software and package versions.',
author = 'Carl George',
author_email = 'carl@cgtx.us',
url = 'https://github.com/cgtx/toleo',
packages = ['toleo'],
install_requires = ['requests',... | apache-2.0 | Python |
714d06ecfac2eaabc5f04325130c9383e783d229 | Clarify Python version support | 1gitGrey/clint,kennethreitz/clint,glorizen/clint,thusoy/clint,1gitGrey/clint,nathancahill/clint,Lh4cKg/clint,nathancahill/clint,wkentaro/clint,wkentaro/clint,tz70s/clint | 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
import clint
def publish():
"""Publish to PyPi"""
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.e... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import clint
def publish():
"""Publish to PyPi"""
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.e... | isc | Python |
8a4fa208ed51602efff19a399e501c696955fb47 | Remove custom string conversion in `setup.py`. | armstrong/armstrong.dev | setup.py | setup.py | """
setup.py file for building armstrong components.
Nothing in this file should need to be edited, please see accompanying
package.json file if you need to adjust metadata about this package.
"""
import json
from setuptools import setup, find_packages
info = json.load(open("./package.json"))
NAMESPACE_PACKAGES = [... | """
setup.py file for building armstrong components.
Nothing in this file should need to be edited, please see accompanying
package.json file if you need to adjust metadata about this package.
"""
import json
from setuptools import setup, find_packages
info = json.load(open("./package.json"))
NAMESPACE_PACKAGES = [... | apache-2.0 | Python |
c6ea8fa0114310e6233f5838c4e0c6806bedcf08 | Update setup.py | tuxlinuxien/TwistedWebsocket | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "TwistedWebsocket",
version = "0.0.2",
author = "Yoann Cerda",
author_email = "tuxlinuxien@gmail.com",
description = (""),
license = "BSD",
keywords ... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "TwistedWebsoket",
version = "0.0.2",
author = "Yoann Cerda",
author_email = "tuxlinuxien@gmail.com",
description = (""),
license = "BSD",
keywords =... | mit | Python |
5c203f68de53eead2e048f15c2e299aec9cd9308 | fix create database url | caio-nas/tsuru-mysql,caio-nas/tsuru-mysql,badri/mysqlapi,badri/mysqlapi,tsuru/mysqlapi,tsuru/mysqlapi | mysqlapi/urls.py | mysqlapi/urls.py | from django.conf.urls import patterns, url
from mysqlapi.api.views import CreateUserOrDropDatabase, CreateDatabase, Healthcheck
urlpatterns = patterns('',
url(r'^resources/$', CreateDatabase.as_view()), # post
url(r'^resources/(?P<name>[\w-]+)/$', CreateUserOrDropDatabase.as_view()), # post and delete
... | from django.conf.urls import patterns, url
from mysqlapi.api.views import CreateUserOrDropDatabase, Healthcheck
urlpatterns = patterns('',
url(r'^resources/$', 'mysqlapi.api.views.create_database'), # post
url(r'^resources/(?P<name>[\w-]+)/$', CreateUserOrDropDatabase.as_view()), # post and delete
url(... | bsd-3-clause | Python |
7d3c8bdcf5d30f6f309b256d77324636a11f0ce6 | Change use single quotes for the __title__ value. [ci skip] | unt-libraries/django-name,damonkelley/django-name,unt-libraries/django-name,unt-libraries/django-name,damonkelley/django-name,damonkelley/django-name | name/__init__.py | name/__init__.py | __title__ = 'Django Name'
__version__ = 'pre-release'
| __title__ = "Django Name"
__version__ = 'pre-release'
| bsd-3-clause | Python |
883933e4b9ed4931d18a03e6e0699db4e0ac0659 | Update setup.py | garcia/simfile | setup.py | setup.py | from setuptools import setup
from simfile import __version__ as version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='simfile',
version=version,
description='Modern simfile library for Python',
long_description=long_description,
long_description_content_type='t... | #!/usr/bin/env python3
from setuptools import setup
from simfile import __version__ as version
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='simfile',
version=version,
description='Modern simfile library for Python',
long_description=long_description,
long_desc... | mit | Python |
6a6ee7ab1b3845c3ade6de5a7856b90ed8cea451 | add pytz as dependency | jarcoal/django-globetrotter | setup.py | setup.py | from setuptools import setup
setup(
name="django-globetrotter",
version="0.0.1",
description="Extra i18n + l10n tools for Django",
long_description="Extra i18n + l10n tools for Django",
keywords="django, i18n, l10n",
author="Jared Morse <jarcoal@gmail.com>",
author_email="jarcoal@gmail.com"... | from setuptools import setup
setup(
name="django-globetrotter",
version="0.0.1",
description="Extra i18n + l10n tools for Django",
long_description="Extra i18n + l10n tools for Django",
keywords="django, i18n, l10n",
author="Jared Morse <jarcoal@gmail.com>",
author_email="jarcoal@gmail.com"... | bsd-3-clause | Python |
e1ce4162e48c9de2e1b4edee2d66467e6c3793e6 | Fix git repo url | openstack/python-heatclient,metacloud/python-heatclient,rdo-management/python-heatclient,jasondunsmore/python-heatclient,jasondunsmore/python-heatclient,varunarya10/python-heatclient,larsks/python-heatclient,tcpcloud/python-heatclient,ecerulm/python-heatclient,varunarya10/python-heatclient,ecerulm/python-heatclient,cit... | setup.py | setup.py | # 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
# distributed under the Li... | # 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
# distributed under the Li... | apache-2.0 | Python |
955a37d22815747acfceae6cf14911bcfc732dcf | Fix setup.py file | mosegontar/ScratchTrack | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name = 'scratchtrack',
version = '1.0',
author = 'Alex Gontar',
url = 'https://github.com/mosegontar/ScratchTrack.git',
description = 'Tag and track miscellaneous files in local directories',
license = 'MIT',
packages = ['scratchtra... | #!/usr/bin/env python
from setuptools import setup
setup(
name = 'scratchtrack',
version = '1.0',
author = 'Alex Gontar',
url = 'https://github.com/mosegontar/ScratchTrack.git',
description = 'Tag and track miscellaneous files in local directories',
license = 'MIT',
packages = ['scratchtra... | mit | Python |
1262fdab460a837e3e2c4870dbc1f5423aa8bd81 | Enforce python version requirements for current versions of pip | penzance/canvas_python_sdk | setup.py | setup.py | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=ver... | mit | Python |
e9c223ef17c711fd187a813491a80fc119c1137b | add classifiers to setup.py | b1naryth1ef/pystun,jtriley/pystun | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
src = os.path.realpath(os.path.dirname(__file__))
setup(
name='pystun',
version="0.0.2",
packages=find_packages(),
scripts=['bin/pystun'],
zip_safe=False,
license='MIT',
author='gaohawk',
url="http://github.com... | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
src = os.path.realpath(os.path.dirname(__file__))
setup(
name='pystun',
version="0.0.2",
packages=find_packages(),
scripts=['bin/pystun'],
zip_safe=True,
download_url='http://github.com/jtriley/pystun',
license='MI... | mit | Python |
8c4eb48881d99dbc6a642a7cb771c69b2c6e6242 | add trove classifier for python 3.9 and python 3.10 (#105) | googleapis/python-channel,googleapis/python-channel | setup.py | setup.py | # -*- coding: utf-8 -*-
# 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 o... | # -*- coding: utf-8 -*-
# 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 o... | apache-2.0 | Python |
06be4f206fc5462b0b017c2355ffc9b810bba5bb | Bump version | JasonFruit/abcviewer | setup.py | setup.py | import os
from setuptools import setup
import codecs
# 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 type in the README file than to
# put a raw string in below ...
def read(fname):
return codecs.open(o... | import os
from setuptools import setup
import codecs
# 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 type in the README file than to
# put a raw string in below ...
def read(fname):
return codecs.open(o... | mit | Python |
dffe5031ee044caf43e51746c4b0a6d45922d50e | Bump up the version | lanius/tinyik | setup.py | setup.py | """Tinyik is a simple and naive inverse kinematics solver."""
from setuptools import setup, find_packages
from codecs import open
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
name='tinyik',
version='1.2.0',
description='A tiny inverse kinematics solver',
lo... | """Tinyik is a simple and naive inverse kinematics solver."""
from setuptools import setup, find_packages
from codecs import open
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
name='tinyik',
version='1.1.0',
description='A tiny inverse kinematics solver',
lo... | mit | Python |
e77d32e71a728f9938817895fd7fe046773b82bf | fix classifiers type and explicitly note py38 support | radhermit/vimball | setup.py | setup.py | #!/usr/bin/env python
import os
import re
import subprocess
import sys
from setuptools import setup, Command
class RunCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
class PyTest(RunCommand):
user_options = [('match=', 'k', ... | #!/usr/bin/env python
import os
import re
import subprocess
import sys
from setuptools import setup, Command
class RunCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
class PyTest(RunCommand):
user_options = [('match=', 'k', ... | mit | Python |
f6d47163fb1aacb37072cd36b232f133ddfdd4bd | Bump to version 0.2 | jbowes/markymark | setup.py | setup.py | #!/usr/bin/python
#
# Copyright (c) 2009 James Bowes <jbowes@dangerouslyinc.com>
#
# 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... | #!/usr/bin/python
#
# Copyright (c) 2009 James Bowes <jbowes@dangerouslyinc.com>
#
# 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... | mit | Python |
b6230d7b401aa1c646a6abde89de9b694dbc819f | fix C++ compilation error | eScatter/cstool | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.build_clib import build_clib
from distutils.extension import Extension
try:
from Cython.Build import cythonize
except ImportError:
has_cython = False
else:
has_cython = True
from os import path
from codecs import open
if has_... | #!/usr/bin/env python
from distutils.core import setup
from distutils.command.build_clib import build_clib
from distutils.extension import Extension
try:
from Cython.Build import cythonize
except ImportError:
has_cython = False
else:
has_cython = True
from os import path
from codecs import open
if has_... | apache-2.0 | Python |
92c8c6e0a6c8c69b505b45c0862007b4a73849d3 | Bump version -> 1.6.20 | EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi | setup.py | setup.py | import sys
import os
from setuptools import setup, find_packages
_base = os.path.dirname(os.path.abspath(__file__))
_requirements = os.path.join(_base, 'requirements.txt')
_requirements_test = os.path.join(_base, 'requirements-test.txt')
version = "1.6.20"
install_requirements = []
with open(_requirements) as f:
... | import sys
import os
from setuptools import setup, find_packages
_base = os.path.dirname(os.path.abspath(__file__))
_requirements = os.path.join(_base, 'requirements.txt')
_requirements_test = os.path.join(_base, 'requirements-test.txt')
version = "1.6.19"
install_requirements = []
with open(_requirements) as f:
... | apache-2.0 | Python |
0870bc8f6d50c2c12b723f9638264801bda7fb18 | bump version | p2p-today/base58,keis/base58 | setup.py | setup.py | from setuptools import setup
setup(
name='base58',
py_modules=['base58'],
version='0.2.0',
description='Base58 and Base58Check implementation',
author='David Keijser',
author_email='keijser@gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'base58 = base... | from setuptools import setup
setup(
name='base58',
py_modules=['base58'],
version='0.1.1',
description='Base58 and Base58Check implementation',
author='David Keijser',
author_email='keijser@gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'base58 = base... | mit | Python |
df4e2af50900f71d0e5e4f38040c41d5dbfc37bd | Fix expression in docstring | ktnyt/chainer,kashif/chainer,okuta/chainer,ysekky/chainer,okuta/chainer,chainer/chainer,jnishi/chainer,keisuke-umezawa/chainer,hvy/chainer,ktnyt/chainer,wkentaro/chainer,cupy/cupy,wkentaro/chainer,wkentaro/chainer,hvy/chainer,chainer/chainer,niboshi/chainer,keisuke-umezawa/chainer,anaruse/chainer,cupy/cupy,tkerola/chai... | chainer/dataset/iterator.py | chainer/dataset/iterator.py | class Iterator(object):
"""Base class of all dataset iterators.
Iterator iterates over the dataset, yielding a minibatch at each
iteration. Minibatch is a list of examples. Each implementation should
implement an iterator protocol (e.g., the :meth:`__next__` method).
Note that, even if the iterat... | class Iterator(object):
"""Base class of all dataset iterators.
Iterator iterates over the dataset, yielding a minibatch at each
iteration. Minibatch is a list of examples. Each implementation should
implement an iterator protocol (e.g., the :meth:`__next__` method).
Note that, even if the iterat... | mit | Python |
6e0960df10014767b683e8ae70fc203ecb3bb901 | Update setup.py with dependencies | coinbox/coinbox-mod-installer | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="CoinboxMod-installer",
version="0.1",
packages=find_packages(),
zip_safe=True,
namespace_packages=['cbpos', 'cbpos.mod'],
include_package_data=True,
install_requires=['sqlalchemy>=0.7','PyDispatcher>=2.0.3... | from setuptools import setup, find_packages
setup(
name="CoinboxMod-installer",
version="0.1",
packages=find_packages(),
zip_safe=True,
namespace_packages=['cbpos', 'cbpos.mod'],
include_package_data=True,
author='Coinbox POS Team',
author_email='coi... | mit | Python |
5013d431d10d08b5373e0bb74cfc5adea56e0513 | switch to pathlib for reading README.rst | xflr6/fileconfig | setup.py | setup.py | # setup.py
import pathlib
from setuptools import setup, find_packages
setup(
name='fileconfig',
version='0.6.dev0',
author='Sebastian Bank',
author_email='sebastian.bank@uni-leipzig.de',
description='Config file sections as objects',
keywords='configuration ini file inheritance aliasing',
... | # setup.py
import io
from setuptools import setup, find_packages
setup(
name='fileconfig',
version='0.6.dev0',
author='Sebastian Bank',
author_email='sebastian.bank@uni-leipzig.de',
description='Config file sections as objects',
keywords='configuration ini file inheritance aliasing',
licen... | mit | Python |
774f7ac425f0a16934dae12d474982c5916435b4 | Set version number to 0.6.2. | techartorg/slacker,olasitarska/slacker,wkentaro/slacker,kashyap32/slacker,STANAPO/slacker,dastergon/slacker,wasabi0522/slacker,BetterWorks/slacker,hreeder/slacker,os/slacker | setup.py | setup.py | from setuptools import setup
setup(
name='slacker',
version='0.6.2',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.a... | from setuptools import setup
setup(
name='slacker',
version='0.6.1',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.a... | apache-2.0 | Python |
7f0ad25340a2dbaf72faf8e5e201148efad37067 | Bump version to 0.2.2 | bertrandvidal/parse_this | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), "r") as readme_file:
readme = readme_file.read()
setup(
name = "parse_this",
version = "0.2.3",
description = "Makes it easy to create a command line interface for any function... | #!/usr/bin/env python
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), "r") as readme_file:
readme = readme_file.read()
setup(
name = "parse_this",
version = "0.2.2",
description = "Makes it easy to create a command line interface for any function... | mit | Python |
589f218eb6c5d703c3be06896904013e7c3a1793 | Add fix for Django versions greater than 1.7, to use the new import. | timmyomahony/django-charsleft-widget,timmyomahony/django-charsleft-widget | charsleft_widget/widgets.py | charsleft_widget/widgets.py | from django import forms
from django.utils.encoding import force_unicode
from django.utils.safestring import mark_safe
from django.utils.html import escape, conditional_escape
try:
# Django >=1.7
from django.forms.utils import flatatt
except ImportError:
# Django <1.7
from django.forms.util import flata... | from django import forms
from django.utils.encoding import force_unicode
from django.utils.safestring import mark_safe
from django.utils.html import escape, conditional_escape
from django.forms.util import flatatt
class MediaMixin(object):
pass
class Media:
css = {'screen':('charsleft-widget/css/charsleft.css',)... | mit | Python |
dfc351c415d9626c365ec7a09559d5e9150a7f44 | update rasterio min version (fix issue #107) | carlodef/s2p,mnhrdt/s2p,mnhrdt/s2p,carlodef/s2p | setup.py | setup.py | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | import subprocess
from codecs import open
from setuptools import setup, find_packages
from setuptools.command import develop, build_py
def readme():
with open("README.md", "r", "utf-8") as f:
return f.read()
class CustomDevelop(develop.develop, object):
"""
Class needed for "pip install -e ."
... | agpl-3.0 | Python |
e3652a472eeba7cf5c2930b1210b68c302b84fc4 | Modify setup.py for version 1.4.5 | iktakahiro/slackpy | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
__author__ = 'Takahiro Ikeuchi'
requires = ['requests']
tests_requires = ['requests', 'pytest']
extras_requires = {
':python_version<"3.4"': ["enum34"],
}
setup(
name="slackpy",
version="1.4.5",
packages=['slackpy'],
inst... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
__author__ = 'Takahiro Ikeuchi'
requires = ['requests']
tests_requires = ['requests', 'pytest']
extras_requires = {
':python_version<"3.4"': ["enum34"],
}
setup(
name="slackpy",
version="1.4.4",
packages=['slackpy'],
inst... | mit | Python |
8891245be587649b84ab09cebf7622d3ef0a7b77 | Add Python 3 to pypi classifiers | erijo/rb-autocomplete-contains,erijo/rb-autocomplete-contains | setup.py | setup.py | from datetime import date
from reviewboard.extensions.packaging import setup
from subprocess import check_output, CalledProcessError
GIT_REV_CMD = "git rev-parse --short HEAD".split()
GIT_TIMESTAMP_CMD = "git show -s --format=%ct HEAD".split()
GIT_DESCRIBE_CMD = "git describe --exact-match --tags HEAD".split()
PACKAG... | from datetime import date
from reviewboard.extensions.packaging import setup
from subprocess import check_output, CalledProcessError
GIT_REV_CMD = "git rev-parse --short HEAD".split()
GIT_TIMESTAMP_CMD = "git show -s --format=%ct HEAD".split()
GIT_DESCRIBE_CMD = "git describe --exact-match --tags HEAD".split()
PACKAG... | mit | Python |
73c33491485425eda794f4fecb5aed2a272332a1 | Add missing bin/koji-sign-rpms-in-release to setup.py. | release-engineering/releng-sop,release-engineering/releng-sop | setup.py | setup.py | # -*- coding: utf-8 -*-
"""Packaging logic for releng-sop."""
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Engineering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
... | # -*- coding: utf-8 -*-
"""Packaging logic for releng-sop."""
from setuptools import setup, find_packages
setup(
name="releng-sop",
version="0.1",
description="Release Engineering Standard Operating Procedures",
url="https://github.com/release-engineering/releng-sop.git",
author="Daniel Mach",
... | mit | Python |
9b4aa10636e5166874261e7fd4126a8189286a3c | add error checking in setup | fitnr/convertdate | setup.py | setup.py | from setuptools import setup
try:
readme = open('README.rst').read()
except IOError:
readme = ''
setup(
name="convertdate",
version="2.0.6",
description=("Converts between Gregorian dates and other calendar systems."
"Calendars included: Baha'i, French Republican, Hebrew, "
... | import sys
from setuptools import setup
readme = open('README.rst').read()
setup(
name="convertdate",
version="2.0.6",
description=("Converts between Gregorian dates and other calendar systems."
"Calendars included: Baha'i, French Republican, Hebrew, "
"Indian Civil, Is... | mit | Python |
868f98aa4c6f1937f1497f7a1827c28f36b8799a | Set version number correctly | mjucker/pv_atmos | setup.py | setup.py | from distutils.core import setup
setup(name='pv_atmos',
version='2.2',
description='Utilities for scientific visualization with ParaView',
long_description='Adds convenient functionality to visualize netCDF data in arbitrary coordinates, including logarithmic and spherical geometries. Mainly created f... | from distutils.core import setup
setup(name='pv_atmos',
version='2.1',
description='Utilities for scientific visualization with ParaView',
long_description='Adds convenient functionality to visualize netCDF data in arbitrary coordinates, including logarithmic and spherical geometries. Mainly created f... | mit | Python |
7c5396f7ad036e5581bfc1dc641044c7c8475f8d | edit email address | yakiang/Baidubaike | setup.py | setup.py | #-*-coding:utf-8-*-
from distutils.core import setup
dependencies = [
"beautifulsoup4",
"requests"
]
setup(
name = 'baidubaike',
packages = ['baidubaike'],
version = '1.3.2',
description = 'A wrapper of Baidu Baike',
author = 'yakiang',
author_email = 'yakiang7@gmail.com',
url = ... | #-*-coding:utf-8-*-
from distutils.core import setup
dependencies = [
"beautifulsoup4",
"requests"
]
setup(
name = 'baidubaike',
packages = ['baidubaike'],
version = '1.3.2',
description = 'A wrapper of Baidu Baike',
author = 'yakiang',
author_email = 'strak47@gmail.com',
url = '... | mit | Python |
f2119741353b5c01349c96b817071004a93f4194 | Add dependencies to setup.py. | EoRImaging/katalogss | setup.py | setup.py | from setuptools import setup
import glob
import os.path as op
from os import listdir
__version__ = '0.0.1'
setup_args = {
'name': 'katalogss',
'author': 'Patti',
'license': 'BSD',
'package_dir': {'katalogss': 'katalogss'},
'packages': ['katalogss'],
'scripts': glob.glob('scripts/*'),
'vers... | from setuptools import setup
import glob
import os.path as op
from os import listdir
__version__ = '0.0.1'
setup_args = {
'name': 'katalogss',
'author': 'Patti',
'license': 'BSD',
'package_dir': {'katalogss': 'katalogss'},
'packages': ['katalogss'],
'scripts': glob.glob('scripts/*'),
'vers... | bsd-2-clause | Python |
4543619298ae2b023159319c9f5db2929e5cb0f2 | rename to test | suutari/prequ,suutari/prequ,suutari-ai/prequ | setup.py | setup.py | """
pip-tools keeps your pinned dependencies fresh.
"""
from setuptools import find_packages, setup
setup(
name='test',
use_scm_version=True,
url='https://github.com/jazzband/pip-tools/',
license='BSD',
author='Vincent Driessen',
author_email='me@nvie.com',
description=__doc__,
packages... | """
pip-tools keeps your pinned dependencies fresh.
"""
from setuptools import find_packages, setup
setup(
name='pip-tools',
use_scm_version=True,
url='https://github.com/jazzband/pip-tools/',
license='BSD',
author='Vincent Driessen',
author_email='me@nvie.com',
description=__doc__,
pac... | bsd-2-clause | Python |
925d1f7cf1a00ae0e272da55462fabd2fecf4955 | Add long_description to setup.py | mwilliamson/zuice | setup.py | setup.py | #!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='zuice',
version='0.2.4',
description='A dependency injection framework for Python',
long_description=read("README"),
author='Michae... | from distutils.core import setup
setup(
name='zuice',
version='0.2.4',
description='A dependency injection framework for Python',
author='Michael Williamson',
author_email='mike@zwobble.org',
url='https://github.com/mwilliamson/zuice',
packages=['zuice'],
keywords="dependency injection ... | bsd-2-clause | Python |
d1e7636acc95db7c8787da8857e29a47c91bc426 | Switch dependency links in setup.py from ssh to https | mara/mara-app,mara/mara-app,mara/mara-app | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='mara-app',
version='1.4.6',
description="Framework for distributing flask apps across separate packages with minimal dependencies",
install_requires=[
'mara-page>=1.2.3',
'mara-db>=2.0.0',
'flask>=0.12',
'alembic... | from setuptools import setup, find_packages
setup(
name='mara-app',
version='1.4.6',
description="Framework for distributing flask apps across separate packages with minimal dependencies",
install_requires=[
'mara-page>=1.2.3',
'mara-db>=2.0.0',
'flask>=0.12',
'alembic... | mit | Python |
cb08d632fac453403bc8b91391b14669dbe932cc | Remove unnecessary absolute import statement. | monetate/circonus,monetate/circonus | circonus/__init__.py | circonus/__init__.py | __title__ = "circonus"
__version__ = "0.0.0"
from logging import NullHandler
import logging
from circonus.client import CirconusClient
logging.getLogger(__name__).addHandler(NullHandler())
| from __future__ import absolute_import
__title__ = "circonus"
__version__ = "0.0.0"
from logging import NullHandler
import logging
from circonus.client import CirconusClient
logging.getLogger(__name__).addHandler(NullHandler())
| mit | Python |
d19272b0926f128d9c1b8418748c13885077a4ae | Bump beta version | ento/elm-doc,ento/elm-doc | setup.py | setup.py | """
Generate static documentation for your Elm application.
"""
import sys
from setuptools import find_packages, setup
setup(
name='elm-doc',
version='1.0.0b2',
url='https://github.com/ento/elm-doc',
license='BSD 3-clause',
author='Marica Odagaki',
author_email='ento.entotto@gmail.com',
de... | """
Generate static documentation for your Elm application.
"""
import sys
from setuptools import find_packages, setup
setup(
name='elm-doc',
version='1.0.0b1',
url='https://github.com/ento/elm-doc',
license='BSD 3-clause',
author='Marica Odagaki',
author_email='ento.entotto@gmail.com',
de... | bsd-3-clause | Python |
b703048c7ea45a7f64316ec8a654a7c5d1057fcc | bump version cause pypi sucks | yieldbot/singularity-py | setup.py | setup.py | """
Opinionated CLI for Singularity PAAS
"""
from setuptools import find_packages, setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
dependencies = ['click', 'requests', 'tabulate']
setup(
name='... | """
Opinionated CLI for Singularity PAAS
"""
from setuptools import find_packages, setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
dependencies = ['click', 'requests', 'tabulate']
setup(
name='... | mit | Python |
054701cc08df2bd342ffd09d31978ca2ba32b9b5 | bump version | majestrate/i2p.socket | setup.py | setup.py | from setuptools import setup
import os
import sys
long_description = ''
long_description_fname = 'README.rst'
if os.path.exists(long_description_fname):
with open(long_description_fname, 'r') as infile:
long_description = infile.read()
install_requires = []
install_requires_fname = 'requirements.txt'
i... | from setuptools import setup
import os
import sys
long_description = ''
long_description_fname = 'README.rst'
if os.path.exists(long_description_fname):
with open(long_description_fname, 'r') as infile:
long_description = infile.read()
install_requires = []
install_requires_fname = 'requirements.txt'
i... | mit | Python |
a13896a6df3aa81de966827599c45f3dfdd9f996 | Fix project url | DazWorrall/flask-sse,DazWorrall/flask-sse,DazWorrall/flask-sse | setup.py | setup.py | from distutils.core import setup
import sys
setup(name='flask_sse',
version='0.1',
author='Darren Worrall',
author_email='daz@dwuk.net',
url='https://github.com/DazWorrall/flask-sse',
description="Flask extension providing SSE support",
py_modules=['flask_sse',],
provides=['fl... | from distutils.core import setup
import sys
setup(name='flask_sse',
version='0.1',
author='Darren Worrall',
author_email='daz@dwuk.net',
url='https://git.iweb.co.uk/DazWorrall/flask_sse',
description="Flask extension providing SSE support",
py_modules=['flask_sse',],
provides=... | mit | Python |
4c09a41ae7fc017e51e2eb2fb7c3c740567e4baa | Update setup script for new package layout | Commonists/CommonsDownloader | setup.py | setup.py | #!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import commonsdownloader
version = commonsdownloader.__version__
except ImportError:
version = 'Undefined'
classifiers = [
'Development ... | #!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import commonsdownloader
version = commonsdownloader.__version__
except ImportError:
version = 'Undefined'
classifiers = [
'Development ... | mit | Python |
611c46167a15a43c5cf592e3940125c86dbc9e35 | Add django_nvd3.templatetags subpackage. | marcogiusti/django-nvd3 | setup.py | setup.py | from setuptools import setup
def get_version(filename="django_nvd3/__init__.py", varname="__version__"):
glb = {}
with open(filename) as fp:
for line in fp:
if varname in line:
exec(line, glb)
break
return glb[varname]
def readfile(filename):
with ... | from setuptools import setup
def get_version(filename="django_nvd3/__init__.py", varname="__version__"):
glb = {}
with open(filename) as fp:
for line in fp:
if varname in line:
exec(line, glb)
break
return glb[varname]
def readfile(filename):
with ... | mit | Python |
b4b70d5265306a027d86a317f68eb5f2f114f405 | use timezone instead of naive datetime, broken since airflow 1.10 | mastak/airflow_multi_dagrun | multi_dagrun/operators/multi_dagrun.py | multi_dagrun/operators/multi_dagrun.py | from airflow import settings
from airflow.models import DagBag
from airflow.operators.dagrun_operator import DagRunOrder, TriggerDagRunOperator
from airflow.utils import timezone
from airflow.utils.decorators import apply_defaults
from airflow.utils.state import State
from airflow.utils import timezone
class TriggerM... | from airflow import settings
from airflow.models import DagBag
from airflow.operators.dagrun_operator import DagRunOrder, TriggerDagRunOperator
from airflow.utils import timezone
from airflow.utils.decorators import apply_defaults
from airflow.utils.state import State
class TriggerMultiDagRunOperator(TriggerDagRunOpe... | apache-2.0 | Python |
1ece11d056eca49fba7acb91faf05d572132c9de | Add database settings | narusemotoki/vagrant_django,narusemotoki/vagrant_django,narusemotoki/vagrant_django | srv/server/djangoapp/djangoapp/settings.py | srv/server/djangoapp/djangoapp/settings.py | """
Django settings for djangoapp project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
... | """
Django settings for djangoapp project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.