commit
stringlengths
40
40
old_file
stringlengths
4
118
new_file
stringlengths
4
118
old_contents
stringlengths
0
2.94k
new_contents
stringlengths
1
4.43k
subject
stringlengths
15
444
message
stringlengths
16
3.45k
lang
stringclasses
1 value
license
stringclasses
13 values
repos
stringlengths
5
43.2k
prompt
stringlengths
17
4.58k
response
stringlengths
1
4.43k
prompt_tagged
stringlengths
58
4.62k
response_tagged
stringlengths
1
4.43k
text
stringlengths
132
7.29k
text_tagged
stringlengths
173
7.33k
e1a54c7d08f33601e48aec485ac72d9d81730186
spec/helper.py
spec/helper.py
from expects import * from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, resolution): super(TestGame, self).__init__(resolution) def log(self, *error_message): """Altered log function which just rais...
from expects import * from example_view import ExampleView from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, StartingView, resolution): super(TestGame, self).__init__(StartingView, resolution) def log(self,...
Fix TestGame class to match the View update to Game
Fix TestGame class to match the View update to Game
Python
mit
AndyDeany/pygame-template
from expects import * from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, resolution): super(TestGame, self).__init__(resolution) def log(self, *error_message): """Altered log function which just rais...
from expects import * from example_view import ExampleView from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, StartingView, resolution): super(TestGame, self).__init__(StartingView, resolution) def log(self,...
<commit_before>from expects import * from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, resolution): super(TestGame, self).__init__(resolution) def log(self, *error_message): """Altered log function ...
from expects import * from example_view import ExampleView from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, StartingView, resolution): super(TestGame, self).__init__(StartingView, resolution) def log(self,...
from expects import * from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, resolution): super(TestGame, self).__init__(resolution) def log(self, *error_message): """Altered log function which just rais...
<commit_before>from expects import * from pygametemplate import Game import datetime class TestGame(Game): """An altered Game class for testing purposes.""" def __init__(self, resolution): super(TestGame, self).__init__(resolution) def log(self, *error_message): """Altered log function ...
9cca5d4ce1c5097e48e55ad3a48b09a01cc0aa6b
lumberjack/config/__init__.py
lumberjack/config/__init__.py
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
Read a custom lumberjack.cfg on startup if necessary.
Read a custom lumberjack.cfg on startup if necessary.
Python
mit
alexrudy/lumberjack
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
<commit_before># -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configpars...
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
# -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configparser.ConfigParser...
<commit_before># -*- coding: utf-8 -*- """ Module to allow quick configuration. """ from six.moves import configparser from six import StringIO import pkg_resources import logging.config def configure(mode, disable_existing_loggers=False): """Configure from predefined useful default modes.""" cfg = configpars...
fb41f01360423d176864a4846d0e769d4df03978
penchy/tests/test_compat.py
penchy/tests/test_compat.py
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Exception) as r...
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher, unicode_ class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Excep...
Replace control hasher with constant hexdigest.
tests: Replace control hasher with constant hexdigest. Signed-off-by: Michael Markert <5eb998b7ac86da375651a4cd767b88c9dad25896@googlemail.com>
Python
mit
fhirschmann/penchy,fhirschmann/penchy
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Exception) as r...
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher, unicode_ class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Excep...
<commit_before>from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(...
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher, unicode_ class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Excep...
from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(Exception) as r...
<commit_before>from hashlib import sha1 from tempfile import TemporaryFile from contextlib import contextmanager from penchy.compat import unittest, nested, update_hasher class NestedTest(unittest.TestCase): def test_reraising_exception(self): e = Exception('reraise this') with self.assertRaises(...
36d8243712b5be7f7f7449abcd9640024cee0f19
src/tpn/data_io.py
src/tpn/data_io.py
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
Simplify save_track_proto_to_zip to save all keys in track_proto.
Simplify save_track_proto_to_zip to save all keys in track_proto.
Python
mit
myfavouritekk/TPN
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
<commit_before>#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy ar...
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
<commit_before>#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy ar...
a1fda2708065890b5596e19c3fe628cb9800f5f9
admin.py
admin.py
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
Fix unicode string bug in previous commit
Fix unicode string bug in previous commit
Python
mit
ntrrgc/lasana,ntrrgc/lasana,ntrrgc/lasana
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
<commit_before>from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('Fi...
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('File') r...
<commit_before>from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from . models import Meal import os class MealAdmin(admin.ModelAdmin): def file(self): class Meta: allow_tags = True verbose_name = _('Fi...
ad2b8e6978d5bb2acdb72fdb60c31ecbcb84351f
setup.py
setup.py
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.0', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.1', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
Fix omission of mangopi.site subpackage.
Fix omission of mangopi.site subpackage.
Python
mit
jiaweihli/mangopi
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.0', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.1', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
<commit_before>#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.0', description='A manga API with a pluggable site architecture.', keywords='manga api', in...
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.1', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.0', description='A manga API with a pluggable site architecture.', keywords='manga api', install_requires=...
<commit_before>#!/usr/bin/env python # :WORKAROUND: http://bugs.python.org/issue15881#msg170215 import multiprocessing from setuptools import setup setup( name='mangopi', author='Jiawei Li', version='0.1.0', description='A manga API with a pluggable site architecture.', keywords='manga api', in...
0c6825ce8b5d1e3b15505c5bcac847c6a57a782e
statirator/main.py
statirator/main.py
import argparse from . import commands VALID_ARGS = ('init', 'compile', 'serve') def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') parser.add_argument('command', choices=VALID_ARGS) init = pars...
import argparse from . import commands def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') sub_parsers = parser.add_subparsers(help='Sub Commands help') init = sub_parsers.add_parser('init', help=...
Move arguments to sub parsers
Move arguments to sub parsers
Python
mit
MeirKriheli/statirator,MeirKriheli/statirator,MeirKriheli/statirator
import argparse from . import commands VALID_ARGS = ('init', 'compile', 'serve') def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') parser.add_argument('command', choices=VALID_ARGS) init = pars...
import argparse from . import commands def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') sub_parsers = parser.add_subparsers(help='Sub Commands help') init = sub_parsers.add_parser('init', help=...
<commit_before>import argparse from . import commands VALID_ARGS = ('init', 'compile', 'serve') def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') parser.add_argument('command', choices=VALID_ARGS) ...
import argparse from . import commands def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') sub_parsers = parser.add_subparsers(help='Sub Commands help') init = sub_parsers.add_parser('init', help=...
import argparse from . import commands VALID_ARGS = ('init', 'compile', 'serve') def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') parser.add_argument('command', choices=VALID_ARGS) init = pars...
<commit_before>import argparse from . import commands VALID_ARGS = ('init', 'compile', 'serve') def create_options(): "Add options to tornado" parser = argparse.ArgumentParser( 'Staitrator - Static multilingual site and blog generator') parser.add_argument('command', choices=VALID_ARGS) ...
a5a81a3fd3c4a6df1c77ec5380b7f04d854ff529
setup.py
setup.py
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
Move ecdsa from extras_require to install_requires
Move ecdsa from extras_require to install_requires
Python
apache-2.0
LedgerHQ/btchip-python,LedgerHQ/btchip-python,LedgerHQ/btchip-python
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
<commit_before>#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python l...
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python library to commu...
<commit_before>#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join here = dirname(__file__) setup( name='btchip-python', version='0.1.28', author='BTChip', author_email='hello@ledger.fr', description='Python l...
43be2a77cfc15f57a76b7a456f89d05e4f742b09
setup.py
setup.py
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
Python
bsd-3-clause
thmo/trac-mastertickets,pombredanne/trac-mastertickets,thmo/trac-mastertickets,pombredanne/trac-mastertickets
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
<commit_before>#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", ...
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", author_emai...
<commit_before>#!/usr/bin/env python # -*- coding: iso-8859-1 -*- from setuptools import setup setup( name = 'TracMasterTickets', version = '2.1.1', packages = ['mastertickets'], package_data = { 'mastertickets': ['templates/*.html', 'htdocs/*.js', 'htdocs/*.css' ] }, author = "Noah Kantrowitz", ...
e192a0d29c0b082458bf0a6f37df86978bfa0032
setup.py
setup.py
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
Add docopt to required packages
Add docopt to required packages
Python
mit
yetty/cstypo
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
<commit_before>from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LIC...
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LICENSE').read(), ...
<commit_before>from distutils.core import setup setup( name='cstypo', version='0.1.1', author='Juda Kaleta', author_email='juda.kaleta@gmail.com', packages=['cstypo', 'cstypo.templatetags', 'cstypo.tests'], scripts=['bin/cstypo'], url='https://github.com/yetty/cstypo', license=open('LIC...
4d19a3236aa450733e4355ec8fb08a4eb8bffb75
setup.py
setup.py
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
Revert "Prevent to update latest version of requirements."
Revert "Prevent to update latest version of requirements." This reverts commit 0f341482c7dc9431ed89444c8be2688ea57f61ba.
Python
mit
kkszysiu/restea,bodbdigr/restea
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
<commit_before>from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url=...
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url='https://github...
<commit_before>from setuptools import setup setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.2', description='Simple RESTful server toolkit', author='Walery Jadlowski', author_email='bodb.digr@gmail.com', url='https://github.com/bodbdigr/restea', download_url=...
d71f9a1696da6f7aad54cbc7710101e4159a82c9
setup.py
setup.py
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
Remove vestigial reference to console()
Remove vestigial reference to console()
Python
mit
nugget/python-anthemav
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
<commit_before>#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthema...
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthemav', package...
<commit_before>#!/usr/bin/env python import re from setuptools import setup, find_packages import sys import warnings dynamic_requires = [] version = 0.9 setup( name='anthemav', version=0.9, author='David McNett', author_email='nugget@macnugget.org', url='https://github.com/nugget/python-anthema...
d851a16318aa8d8055c7bd9643af6401b11b5fed
setup.py
setup.py
""" Copyright 2020 Ronald J. Nowling 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, softw...
""" Copyright 2020 Ronald J. Nowling 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, softw...
Remove duplicate association test script
Remove duplicate association test script
Python
apache-2.0
rnowling/aranyani,rnowling/asaph,rnowling/asaph
""" Copyright 2020 Ronald J. Nowling 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, softw...
""" Copyright 2020 Ronald J. Nowling 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, softw...
<commit_before>""" Copyright 2020 Ronald J. Nowling 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...
""" Copyright 2020 Ronald J. Nowling 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, softw...
""" Copyright 2020 Ronald J. Nowling 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, softw...
<commit_before>""" Copyright 2020 Ronald J. Nowling 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...
2fac8c3e64406cc955ef0a8c39b2070d4517e374
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
Exclude tests from installed packages
Exclude tests from installed packages Fixes #453.
Python
mit
matthiask/django-mptt,emilhdiaz/django-mptt,emilhdiaz/django-mptt,emilhdiaz/django-mptt,matthiask/django-mptt,matthiask/django-mptt,matthiask/django-mptt,emilhdiaz/django-mptt
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, ...
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, author='Craig ...
<commit_before>#!/usr/bin/env python from setuptools import find_packages, setup setup( name='django-mptt', description='''Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.''', version=__import__('mptt').__version__, ...
f47888830b7fcc4afb77361c45d2253c2bb03876
setup.py
setup.py
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
Include Genshi as a dependency.
Include Genshi as a dependency.
Python
mit
creativecommons/cc.license,creativecommons/cc.license
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
<commit_before>from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativ...
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativecommons.org', ...
<commit_before>from setuptools import setup, find_packages import sys, os version = '0.1' setup(name='cc.license', version=version, description="License selection based on ccREL-based metadata.", classifiers=[], keywords='', author='Creative Commons', author_email='software@creativ...
8b718b63ef2978554a6f663488d5d6eaa6b2e917
setup.py
setup.py
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
Add Python 3.6 to list trove classifiers
Add Python 3.6 to list trove classifiers
Python
mit
lpsinger/skyarea,farr/skyarea
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
<commit_before>from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_emai...
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_email='will.farr@li...
<commit_before>from setuptools import setup from sky_area import __version__ as version setup( name='skyarea', packages=['sky_area'], scripts=['bin/run_sky_area'], version=version, description='Compute credible regions on the sky from RA-DEC MCMC samples', author='Will M. Farr', author_emai...
45e7718d5992218ef09b993fc70ede11103d3bb8
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ == '...
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__ = ' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ =...
Fix reading the package version
Fix reading the package version This hack was broken by b4cad7631bd284df553bbc0fcd4c811bb4182509.
Python
bsd-3-clause
alecthomas/flask_injector
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ == '...
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__ = ' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ =...
<commit_before>#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__' in l][0] .split('=')[-1] .strip().strip('\'') ) i...
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__ = ' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ =...
#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__' in l][0] .split('=')[-1] .strip().strip('\'') ) if __name__ == '...
<commit_before>#!/usr/bin/env python from setuptools import setup long_description = open('README.rst').read() # very convoluted way of reading version from the module without importing it version = ( [l for l in open('flask_injector.py') if '__version__' in l][0] .split('=')[-1] .strip().strip('\'') ) i...
5b18412ffd0d1521f9817d422bc337afa9b03d6c
setup.py
setup.py
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
Add Flask-session as a dependency
Add Flask-session as a dependency
Python
bsd-3-clause
joeirimpan/shop,joeirimpan/shop,joeirimpan/shop
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
<commit_before>from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Asset...
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cs...
<commit_before>from setuptools import setup setup( name='Fulfil-Shop', version='0.1dev', packages=['shop'], license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Asset...
321c61e7ed57ef8058a68ef12770e139db839fe2
setup.py
setup.py
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.1" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.3" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
Add default config file to package
Add default config file to package
Python
mit
catapultbamboo/file_translate
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.1" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.3" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
<commit_before># -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.1" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by...
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.3" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
# -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.1" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by " ...
<commit_before># -*- coding: utf-8 -*- # (C) Copyright Digital Catapult Limited 2016 try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = "0.0.1" setup(name="file_translate", version=VERSION, description=("Utility to translate the contents of a file by...
d0163cb608b299733ad47111f0ef6b982d1a9a1c
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", scripts=["bin/iridiumd"], i...
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", packages=["sbd"], scripts=[...
Add sbd package to install
Add sbd package to install
Python
mit
gadomski/sbd
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", scripts=["bin/iridiumd"], i...
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", packages=["sbd"], scripts=[...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", scripts=["bin/irid...
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", packages=["sbd"], scripts=[...
#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", scripts=["bin/iridiumd"], i...
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name="sbd", version="0.1", description="Iridium Short Burst Data DirectIP handling", author="Pete Gadomski", author_email="pete.gadomski@gmail.com", url="https://github.com/gadomski/sbd", scripts=["bin/irid...
7d62e82bae98c4e7469b27cb4dfdc0c5bd96c819
setup.py
setup.py
from setuptools import setup, find_packages long_description = ( open('README.rst').read() + '\n' + open('CHANGES.txt').read()) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_description=long_description, author="Martijn Faas...
import io from setuptools import setup, find_packages long_description = '\n'.join(( io.open('README.rst', encoding='utf-8').read(), io.open('CHANGES.txt', encoding='utf-8').read() )) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_de...
Use io.open with encoding='utf-8' and flake8 compliance
Use io.open with encoding='utf-8' and flake8 compliance
Python
bsd-3-clause
morepath/more.forwarded
from setuptools import setup, find_packages long_description = ( open('README.rst').read() + '\n' + open('CHANGES.txt').read()) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_description=long_description, author="Martijn Faas...
import io from setuptools import setup, find_packages long_description = '\n'.join(( io.open('README.rst', encoding='utf-8').read(), io.open('CHANGES.txt', encoding='utf-8').read() )) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_de...
<commit_before>from setuptools import setup, find_packages long_description = ( open('README.rst').read() + '\n' + open('CHANGES.txt').read()) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_description=long_description, autho...
import io from setuptools import setup, find_packages long_description = '\n'.join(( io.open('README.rst', encoding='utf-8').read(), io.open('CHANGES.txt', encoding='utf-8').read() )) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_de...
from setuptools import setup, find_packages long_description = ( open('README.rst').read() + '\n' + open('CHANGES.txt').read()) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_description=long_description, author="Martijn Faas...
<commit_before>from setuptools import setup, find_packages long_description = ( open('README.rst').read() + '\n' + open('CHANGES.txt').read()) setup( name='more.forwarded', version='0.3.dev0', description="Forwarded header support for Morepath", long_description=long_description, autho...
a5f9abc3f2de2bca89a5c3e5c35a8d7e223be4dd
setup.py
setup.py
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', lon...
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0.1', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', ...
Install scripts into the correct location
Install scripts into the correct location
Python
bsd-3-clause
ctsit/nipype-pbs-workflows
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', lon...
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0.1', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', ...
<commit_before>from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job sche...
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0.1', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', ...
from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job scheduler', lon...
<commit_before>from distutils.core import setup setup( name='nipype-pbs-workflows', version='1.0', author='https://www.ctsi.ufl.edu/research/study-development/informatics-consulting/', author_email='ctsit@ctsi.ufl.edu', description='Neuroimaging workflows writtten in nipype with a focus on PBS job sche...
b668e1ab2c2fbd973f3bf8865db79f0a7b37141f
tasks.py
tasks.py
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
Build universal wheels when releasing
Build universal wheels when releasing
Python
mit
saghul/aiodns
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
<commit_before> import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} releas...
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} release\"".format(ver...
<commit_before> import re from invoke import task def get_version(): return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('aiodns/__init__.py').read()).group('version') @task def release(c): version = get_version() c.run("git tag -a aiodns-{0} -m \"aiodns {0} releas...
4291d80377e970e02fb95afa6f9f85246cb9c498
DjangoLibrary/tests/factories.py
DjangoLibrary/tests/factories.py
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint from .models import Author from .models import Book class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('u...
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('username',) first_name = 'John' last_name = ...
Revert "Add AuthorFactory and BookFactory."
Revert "Add AuthorFactory and BookFactory." This reverts commit 8cde42f87a82206cf63b3a5e4b0ec6c38d66d3a7.
Python
apache-2.0
kitconcept/robotframework-djangolibrary
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint from .models import Author from .models import Book class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('u...
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('username',) first_name = 'John' last_name = ...
<commit_before>import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint from .models import Author from .models import Book class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_...
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('username',) first_name = 'John' last_name = ...
import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint from .models import Author from .models import Book class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_or_create = ('u...
<commit_before>import datetime from django.template.defaultfilters import slugify from factory import DjangoModelFactory, lazy_attribute from random import randint from .models import Author from .models import Book class UserFactory(DjangoModelFactory): class Meta: model = 'auth.User' django_get_...
be6143f06df194150683eceafa63bb2ea5f33d05
paytm.py
paytm.py
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
Fix typo in return during exception while loading page
Fix typo in return during exception while loading page
Python
mit
GingerNinja23/bookbargain
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
<commit_before>import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # pri...
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # print p_link driv...
<commit_before>import selenium.webdriver as webdriver import bs4 as bs import pyisbn import re def paytm(isbn): if len(isbn) == 10: p_link = 'https://paytm.com/shop/search/?q='+pyisbn.Isbn10(isbn).convert(code='978')+'&sort_price=1' else: p_link = 'https://paytm.com/shop/search/?q='+isbn+'&sort_price=1' # pri...
32ddc769bffed640e83e99e2657f20bbb3ef5e38
mopidy_soundcloud/__init__.py
mopidy_soundcloud/__init__.py
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
Remove env check as Mopidy checks deps automatically
ext: Remove env check as Mopidy checks deps automatically
Python
mit
mopidy/mopidy-soundcloud,yakumaa/mopidy-soundcloud
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
<commit_before>from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = ...
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = 'soundcloud' ...
<commit_before>from __future__ import unicode_literals import os from mopidy import ext, config from mopidy.exceptions import ExtensionError __version__ = '1.0.18' __url__ = 'https://github.com/mopidy/mopidy-soundcloud' class SoundCloudExtension(ext.Extension): dist_name = 'Mopidy-SoundCloud' ext_name = ...
6e48c8e6d85d196a90c56ebb7b73b3d61f2fef55
cryptonotifier/Main.py
cryptonotifier/Main.py
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
Add value for parameter "fiat" in method fetch_coin
Add value for parameter "fiat" in method fetch_coin
Python
mit
dushyantRathore/Crypto-Notifier
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
<commit_before>import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", ...
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", "d...
<commit_before>import notify2 import Rates def notify(): icon_path = "/home/dushyant/Desktop/Github/Crypto-Notifier/logo.jpg" cryptocurrencies = ["bitcoin", "ethereum", "litecoin", "monero", "ripple", ...
dcbac0f33df07a61dbe4586f116a6f986a2211c6
tests/testnet/aio/test_amount.py
tests/testnet/aio/test_amount.py
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount(bitshares): amount = await Amount("10 CNY", blockchain_instance=bitshares) assert amount["amount"] ==...
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount_init(bitshares, assets): amount = await Amount("10 USD", blockchain_instance=bitshares) assert amount...
Test for async Amount init
Test for async Amount init
Python
mit
xeroc/python-bitshares
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount(bitshares): amount = await Amount("10 CNY", blockchain_instance=bitshares) assert amount["amount"] ==...
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount_init(bitshares, assets): amount = await Amount("10 USD", blockchain_instance=bitshares) assert amount...
<commit_before># -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount(bitshares): amount = await Amount("10 CNY", blockchain_instance=bitshares) assert amou...
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount_init(bitshares, assets): amount = await Amount("10 USD", blockchain_instance=bitshares) assert amount...
# -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount(bitshares): amount = await Amount("10 CNY", blockchain_instance=bitshares) assert amount["amount"] ==...
<commit_before># -*- coding: utf-8 -*- import pytest import logging from bitshares.aio.amount import Amount log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_aio_amount(bitshares): amount = await Amount("10 CNY", blockchain_instance=bitshares) assert amou...
6a2f0ddc309a2ad4ab74ad1f28875ca8f32c4437
src/toaster.py
src/toaster.py
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
Fix issue where black boarders would appear on thumbnail
Fix issue where black boarders would appear on thumbnail
Python
mit
mrjackdavis/toaster-website-toast
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
<commit_before>import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) ...
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) toast_imag...
<commit_before>import io import logging import PIL.Image import selenium.webdriver def fetch_screen_capture(uri, size): browser = selenium.webdriver.PhantomJS() browser.set_window_size(*size) browser.get(uri) return browser.get_screenshot_as_png() def toast(uri): logging.info("Toasting %s",uri) ...
4f5fe3002f3244f5ce6b90303def86c1763c8afb
wafer/users/tests/test_models.py
wafer/users/tests/test_models.py
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys PY2 = sys.version_info[0] == 2 class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Te...
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Test that str(user) works correct...
Remove python2 logic from test
Remove python2 logic from test
Python
isc
CTPUG/wafer,CTPUG/wafer,CTPUG/wafer,CTPUG/wafer
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys PY2 = sys.version_info[0] == 2 class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Te...
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Test that str(user) works correct...
<commit_before># -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys PY2 = sys.version_info[0] == 2 class UserModelTestCase(TestCase): def test_str_method_issue192(self)...
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Test that str(user) works correct...
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys PY2 = sys.version_info[0] == 2 class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Te...
<commit_before># -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys PY2 = sys.version_info[0] == 2 class UserModelTestCase(TestCase): def test_str_method_issue192(self)...
a75e2b6c42ded44202e1fef53047c325566466f0
stella/llvm.py
stella/llvm.py
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) tp_float = Type.float() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_float else: raise TypeError("Unknown type " + tp) def get_generic_value(tp...
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) #tp_float = Type.float() # Python always works with double precision tp_double = Type.double() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_double else...
Use double precision for floats
Use double precision for floats
Python
apache-2.0
squisher/stella,squisher/stella,squisher/stella,squisher/stella
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) tp_float = Type.float() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_float else: raise TypeError("Unknown type " + tp) def get_generic_value(tp...
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) #tp_float = Type.float() # Python always works with double precision tp_double = Type.double() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_double else...
<commit_before>from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) tp_float = Type.float() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_float else: raise TypeError("Unknown type " + tp) def get_g...
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) #tp_float = Type.float() # Python always works with double precision tp_double = Type.double() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_double else...
from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) tp_float = Type.float() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_float else: raise TypeError("Unknown type " + tp) def get_generic_value(tp...
<commit_before>from llvm import * from llvm.core import * from llvm.ee import * import logging tp_int = Type.int(64) tp_float = Type.float() def py_type_to_llvm(tp): if tp == int: return tp_int elif tp == float: return tp_float else: raise TypeError("Unknown type " + tp) def get_g...
6f80a7e5f8dea031db1c7cc676f8c96faf5fc458
test/test_links.py
test/test_links.py
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
Change test function as existing method deprecated
Change test function as existing method deprecated
Python
mit
wicksy/laptop-build,wicksy/laptop-build,wicksy/laptop-build,wicksy/laptop-build
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
<commit_before>import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicks...
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicksy/.aws", "/git/...
<commit_before>import pytest @pytest.mark.parametrize("name, linked_to", [ ("/home/wicksy/vagrant/Vagrantfile", "/git/wicksy/configfiles/vagrant/Vagrantfile"), ("/home/wicksy/.vimrc", "/git/wicksy/configfiles/dotfiles/.vimrc"), ("/home/wicksy/.bashrc", "/git/wicksy/configfiles/dotfiles/.bashrc"), ("/home/wicks...
1f9ee69ad3bf2e370e473070ebc13ecda18cac20
sale_channel/models/sale.py
sale_channel/models/sale.py
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
Fix missing id from the onchange
[FIX] Fix missing id from the onchange
Python
agpl-3.0
1200wd/1200wd_addons,1200wd/1200wd_addons
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
<commit_before># -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Ma...
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
# -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Many2one( ...
<commit_before># -*- coding: utf-8 -*- # © 2016 1200 WebDevelopment <1200wd.com> # © 2017 Therp BV <http://therp.nl> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api class SaleOrder(models.Model): _inherit = "sale.order" sales_channel_id = fields.Ma...
ed2dc3478691592cb38a1f1923a39bed4bcf423c
tests/test_main.py
tests/test_main.py
# -*- coding:utf-8 -*- from contextlib import redirect_stderr, redirect_stdout from io import StringIO from os.path import devnull from subprocess import check_call from sys import version from pytest import fixture, raises from csft import __main__ as main, __version__ @fixture def null(): with open(devnull, ...
# -*- coding:utf-8 -*- from os.path import devnull from subprocess import check_call from pytest import fixture, raises from csft import __main__ as main @fixture def null(): with open(devnull, 'w') as fobj: yield fobj def test_call(null): check_call(['python', '-m', 'csft', 'csft'], stdout=null,...
Use capsys instead of redirect_stderr
Use capsys instead of redirect_stderr
Python
mit
yanqd0/csft
# -*- coding:utf-8 -*- from contextlib import redirect_stderr, redirect_stdout from io import StringIO from os.path import devnull from subprocess import check_call from sys import version from pytest import fixture, raises from csft import __main__ as main, __version__ @fixture def null(): with open(devnull, ...
# -*- coding:utf-8 -*- from os.path import devnull from subprocess import check_call from pytest import fixture, raises from csft import __main__ as main @fixture def null(): with open(devnull, 'w') as fobj: yield fobj def test_call(null): check_call(['python', '-m', 'csft', 'csft'], stdout=null,...
<commit_before># -*- coding:utf-8 -*- from contextlib import redirect_stderr, redirect_stdout from io import StringIO from os.path import devnull from subprocess import check_call from sys import version from pytest import fixture, raises from csft import __main__ as main, __version__ @fixture def null(): with...
# -*- coding:utf-8 -*- from os.path import devnull from subprocess import check_call from pytest import fixture, raises from csft import __main__ as main @fixture def null(): with open(devnull, 'w') as fobj: yield fobj def test_call(null): check_call(['python', '-m', 'csft', 'csft'], stdout=null,...
# -*- coding:utf-8 -*- from contextlib import redirect_stderr, redirect_stdout from io import StringIO from os.path import devnull from subprocess import check_call from sys import version from pytest import fixture, raises from csft import __main__ as main, __version__ @fixture def null(): with open(devnull, ...
<commit_before># -*- coding:utf-8 -*- from contextlib import redirect_stderr, redirect_stdout from io import StringIO from os.path import devnull from subprocess import check_call from sys import version from pytest import fixture, raises from csft import __main__ as main, __version__ @fixture def null(): with...
8b7fa42c7cd080f7faebbfaf782fa639104cb96a
pgcli/packages/expanded.py
pgcli/packages/expanded.py
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
Remove any whitespace from values
Remove any whitespace from values
Python
bsd-3-clause
dbcli/pgcli,w4ngyi/pgcli,darikg/pgcli,koljonen/pgcli,d33tah/pgcli,koljonen/pgcli,d33tah/pgcli,w4ngyi/pgcli,darikg/pgcli,dbcli/pgcli
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
<commit_before>from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded...
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded_headers = [pad...
<commit_before>from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def expanded_table(rows, headers): header_len = max([len(x) for x in headers]) max_row_len = 0 results = [] sep = u"-[ RECORD {0} ]-------------------------\n" padded...
a037843f62a3d6b1124f8b62517463ef92cd793f
tvsort_sl/fcntl.py
tvsort_sl/fcntl.py
# coding=utf-8 from __future__ import unicode_literals def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0, whence=0): return
# coding=utf-8 from __future__ import unicode_literals # Variables with simple values FASYNC = 64 FD_CLOEXEC = 1 F_DUPFD = 0 F_FULLFSYNC = 51 F_GETFD = 1 F_GETFL = 3 F_GETLK = 7 F_GETOWN = 5 F_RDLCK = 1 F_SETFD = 2 F_SETFL = 4 F_SETLK = 8 F_SETLKW = 9 F_SETOWN = 6 F_UNLCK = 2 F_WRLCK = 3 LOCK_EX = 2 LOCK_NB = 4 LO...
Add missing variables to cntl
Add missing variables to cntl
Python
mit
shlomiLan/tvsort_sl
# coding=utf-8 from __future__ import unicode_literals def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0, whence=0): return Add missing...
# coding=utf-8 from __future__ import unicode_literals # Variables with simple values FASYNC = 64 FD_CLOEXEC = 1 F_DUPFD = 0 F_FULLFSYNC = 51 F_GETFD = 1 F_GETFL = 3 F_GETLK = 7 F_GETOWN = 5 F_RDLCK = 1 F_SETFD = 2 F_SETFL = 4 F_SETLK = 8 F_SETLKW = 9 F_SETOWN = 6 F_UNLCK = 2 F_WRLCK = 3 LOCK_EX = 2 LOCK_NB = 4 LO...
<commit_before># coding=utf-8 from __future__ import unicode_literals def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0, whence=0): ret...
# coding=utf-8 from __future__ import unicode_literals # Variables with simple values FASYNC = 64 FD_CLOEXEC = 1 F_DUPFD = 0 F_FULLFSYNC = 51 F_GETFD = 1 F_GETFL = 3 F_GETLK = 7 F_GETOWN = 5 F_RDLCK = 1 F_SETFD = 2 F_SETFL = 4 F_SETLK = 8 F_SETLKW = 9 F_SETOWN = 6 F_UNLCK = 2 F_WRLCK = 3 LOCK_EX = 2 LOCK_NB = 4 LO...
# coding=utf-8 from __future__ import unicode_literals def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0, whence=0): return Add missing...
<commit_before># coding=utf-8 from __future__ import unicode_literals def fcntl(fd, op, arg=0): return 0 def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return "" def flock(fd, op): return def lockf(fd, operation, length=0, start=0, whence=0): ret...
cb52e7b1a507ca7b6065c6994d11d3c07a41e6f1
uniqueids/tasks.py
uniqueids/tasks.py
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
Make auto gen ID's strings on save to Identity
Make auto gen ID's strings on save to Identity
Python
bsd-3-clause
praekelt/hellomama-registration,praekelt/hellomama-registration
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
<commit_before>from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to recei...
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to receive the payload....
<commit_before>from celery.task import Task from celery.utils.log import get_task_logger from hellomama_registration import utils logger = get_task_logger(__name__) class AddUniqueIDToIdentity(Task): def run(self, identity, unique_id, write_to, **kwargs): """ identity: the identity to recei...
8d7d058480f909ef3bc22aa9f8ee76179b346784
arthur/exercises.py
arthur/exercises.py
""" UI tools related to exercise search and selection. """ import urwid from arthur.ui import DIVIDER class SearchTool(object): name = u"Mission search" position = ("relative", 20), 30, "middle", 10 def __init__(self): title = urwid.Text(u"Mission search") search = urwid.Edit(u"Search te...
""" UI tools related to exercise search and selection. """ from arthur.ui import Prompt class SearchTool(Prompt): position = ("relative", 20), 30, "middle", 10 def __init__(self): Prompt.__init__(self, u"Mission search", u"Search terms: ")
Refactor search tool in terms of prompt
Refactor search tool in terms of prompt
Python
isc
crypto101/arthur
""" UI tools related to exercise search and selection. """ import urwid from arthur.ui import DIVIDER class SearchTool(object): name = u"Mission search" position = ("relative", 20), 30, "middle", 10 def __init__(self): title = urwid.Text(u"Mission search") search = urwid.Edit(u"Search te...
""" UI tools related to exercise search and selection. """ from arthur.ui import Prompt class SearchTool(Prompt): position = ("relative", 20), 30, "middle", 10 def __init__(self): Prompt.__init__(self, u"Mission search", u"Search terms: ")
<commit_before>""" UI tools related to exercise search and selection. """ import urwid from arthur.ui import DIVIDER class SearchTool(object): name = u"Mission search" position = ("relative", 20), 30, "middle", 10 def __init__(self): title = urwid.Text(u"Mission search") search = urwid.E...
""" UI tools related to exercise search and selection. """ from arthur.ui import Prompt class SearchTool(Prompt): position = ("relative", 20), 30, "middle", 10 def __init__(self): Prompt.__init__(self, u"Mission search", u"Search terms: ")
""" UI tools related to exercise search and selection. """ import urwid from arthur.ui import DIVIDER class SearchTool(object): name = u"Mission search" position = ("relative", 20), 30, "middle", 10 def __init__(self): title = urwid.Text(u"Mission search") search = urwid.Edit(u"Search te...
<commit_before>""" UI tools related to exercise search and selection. """ import urwid from arthur.ui import DIVIDER class SearchTool(object): name = u"Mission search" position = ("relative", 20), 30, "middle", 10 def __init__(self): title = urwid.Text(u"Mission search") search = urwid.E...
394f5832c6d3ff3efefbc5c21163adcdedd9a9bb
sale_stock_availability/__openerp__.py
sale_stock_availability/__openerp__.py
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if o...
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if or not availa...
FIX sale stock availa.. description
FIX sale stock availa.. description
Python
agpl-3.0
syci/ingadhoc-odoo-addons,HBEE/odoo-addons,jorsea/odoo-addons,adhoc-dev/odoo-addons,bmya/odoo-addons,bmya/odoo-addons,levkar/odoo-addons,bmya/odoo-addons,dvitme/odoo-addons,ClearCorp/account-financial-tools,jorsea/odoo-addons,sysadminmatmoz/ingadhoc,ingadhoc/account-payment,HBEE/odoo-addons,ingadhoc/stock,adhoc-dev/acc...
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if o...
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if or not availa...
<commit_before># -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other t...
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if or not availa...
# -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other to see only if o...
<commit_before># -*- coding: utf-8 -*- { 'name': 'Stock availability in sales order line', 'version': '0.1', 'category': 'Tools', 'description': """ Stock availability in sales order line ====================================== * Add two groups. One for seeing stock on sale orders and other t...
4d8193640498d5eb82876c245a80f5b41c51b8dd
wallace/app.py
wallace/app.py
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
Return a value when Flask view function completes
Return a value when Flask view function completes
Python
mit
Dallinger/Dallinger,Dallinger/Dallinger,suchow/Wallace,Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,berkeley-cocosci/Wallace,Dallinger/Dallinger,suchow/Wallace,suchow/Wallace,Dallinger/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,jcpeterson/Dalli...
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
<commit_before>from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any s...
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any sources proc...
<commit_before>from flask import Flask import experiments import db app = Flask(__name__) session = db.init_db(drop_all=True) @app.route('/') def index(): return 'Index page' @app.route('/demo2') def start(): experiment = experiments.Demo2(session) experiment.add_and_trigger_sources() # Add any s...
6ec97d78930b7ed77af34869face1a45895950f1
sensor/core/models/event.py
sensor/core/models/event.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
Add sensor field to Event model in sensor.core
Add sensor field to Event model in sensor.core
Python
mpl-2.0
HeisenbergPeople/weather-station-site,HeisenbergPeople/weather-station-site,HeisenbergPeople/weather-station-site
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represen...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represents a measuremen...
<commit_before># This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from django.db import models VALUE_MAX_LEN = 128 class GenericEvent(models.Model): """Represen...
3a87b03ed42232f7daa96242142f48872bf26634
readthedocs/gold/models.py
readthedocs/gold/models.py
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
Add nicer string rep for gold user
Add nicer string rep for gold user
Python
mit
jerel/readthedocs.org,CedarLogic/readthedocs.org,sunnyzwh/readthedocs.org,sils1297/readthedocs.org,rtfd/readthedocs.org,espdev/readthedocs.org,raven47git/readthedocs.org,sunnyzwh/readthedocs.org,safwanrahman/readthedocs.org,takluyver/readthedocs.org,fujita-shintaro/readthedocs.org,sid-kap/readthedocs.org,laplaceliu/rea...
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
<commit_before>from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.M...
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.Model): pub_...
<commit_before>from django.db import models from django.utils.translation import ugettext_lazy as _ LEVEL_CHOICES = ( ('v1-org-5', '$5/mo'), ('v1-org-10', '$10/mo'), ('v1-org-15', '$15/mo'), ('v1-org-20', '$20/mo'), ('v1-org-50', '$50/mo'), ('v1-org-100', '$100/mo'), ) class GoldUser(models.M...
bc6d8d6789fb6275587e119eea7d39941ea4c749
loadFeatures.py
loadFeatures.py
from numpy import * from mnist import * from util import Counter # def loadData(): # images, labels = load_mnist('training') def defineFeatures(imageList, n): imageList = imageList[0:] featureList = [] for image in imageList: imgFeature = Counter() for i in range(len(image)): ...
from mnist import * from util import Counter def loadData(): """ loadData() pulls data from MNIST training set, splits it into training and validation data, then parses the data into features """ # load data from MNIST files images, labels = load_mnist('training') # find out where to split ...
Split training and validation data
Split training and validation data
Python
mit
chetaldrich/MLOCR,chetaldrich/MLOCR
from numpy import * from mnist import * from util import Counter # def loadData(): # images, labels = load_mnist('training') def defineFeatures(imageList, n): imageList = imageList[0:] featureList = [] for image in imageList: imgFeature = Counter() for i in range(len(image)): ...
from mnist import * from util import Counter def loadData(): """ loadData() pulls data from MNIST training set, splits it into training and validation data, then parses the data into features """ # load data from MNIST files images, labels = load_mnist('training') # find out where to split ...
<commit_before>from numpy import * from mnist import * from util import Counter # def loadData(): # images, labels = load_mnist('training') def defineFeatures(imageList, n): imageList = imageList[0:] featureList = [] for image in imageList: imgFeature = Counter() for i in range(len(ima...
from mnist import * from util import Counter def loadData(): """ loadData() pulls data from MNIST training set, splits it into training and validation data, then parses the data into features """ # load data from MNIST files images, labels = load_mnist('training') # find out where to split ...
from numpy import * from mnist import * from util import Counter # def loadData(): # images, labels = load_mnist('training') def defineFeatures(imageList, n): imageList = imageList[0:] featureList = [] for image in imageList: imgFeature = Counter() for i in range(len(image)): ...
<commit_before>from numpy import * from mnist import * from util import Counter # def loadData(): # images, labels = load_mnist('training') def defineFeatures(imageList, n): imageList = imageList[0:] featureList = [] for image in imageList: imgFeature = Counter() for i in range(len(ima...
178b39611ec6bc32e4bb0ccd481660a0364872d7
src/tests/test_utils.py
src/tests/test_utils.py
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
Add testing function for blobs
Add testing function for blobs
Python
mit
samueljackson92/major-project,samueljackson92/major-project,samueljackson92/major-project,samueljackson92/major-project
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
<commit_before>import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: line...
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: linear_structure = ...
<commit_before>import numpy as np import skimage.filter as filters def generate_linear_structure(size, with_noise=False): """Generate a basic linear structure, optionally with noise""" linear_structure = np.zeros(shape=(size,size)) linear_structure[:,size/2] = np.ones(size) if with_noise: line...
f10d443eda1e8727c48439cc7c9491178a1ac4c8
performance_testing/result.py
performance_testing/result.py
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) name = '%d-%d-%d_%d-%d-%d' % ( date.year, date.month, date.day, date.hour, date.minute, ...
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) self.file = File(directory, date.strftime('%Y-%m-%d_%H-%M-%S')) class File: def __init__(self, directory, name): if not os.path.exists(dire...
Use date-format function for file-name
Use date-format function for file-name
Python
mit
BakeCode/performance-testing,BakeCode/performance-testing
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) name = '%d-%d-%d_%d-%d-%d' % ( date.year, date.month, date.day, date.hour, date.minute, ...
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) self.file = File(directory, date.strftime('%Y-%m-%d_%H-%M-%S')) class File: def __init__(self, directory, name): if not os.path.exists(dire...
<commit_before>import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) name = '%d-%d-%d_%d-%d-%d' % ( date.year, date.month, date.day, date.hour, dat...
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) self.file = File(directory, date.strftime('%Y-%m-%d_%H-%M-%S')) class File: def __init__(self, directory, name): if not os.path.exists(dire...
import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) name = '%d-%d-%d_%d-%d-%d' % ( date.year, date.month, date.day, date.hour, date.minute, ...
<commit_before>import os from datetime import datetime from time import time class Result: def __init__(self, directory): date = datetime.fromtimestamp(time()) name = '%d-%d-%d_%d-%d-%d' % ( date.year, date.month, date.day, date.hour, dat...
a3975cc9d4a388789fcdaf07ece011b01801f162
hilbert/decorators.py
hilbert/decorators.py
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs from django.utils.log import getLogger logger = getLogger('django-hilbert') def ajax_login_required(view_func): @wra...
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs def ajax_login_required(view_func): @wraps(view_func, assigned=available_attrs(view_func)) def _wrapped_view(reque...
Remove logging to preserve 1.2 compatability.
Remove logging to preserve 1.2 compatability.
Python
bsd-2-clause
mlavin/django-hilbert,mlavin/django-hilbert
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs from django.utils.log import getLogger logger = getLogger('django-hilbert') def ajax_login_required(view_func): @wra...
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs def ajax_login_required(view_func): @wraps(view_func, assigned=available_attrs(view_func)) def _wrapped_view(reque...
<commit_before>from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs from django.utils.log import getLogger logger = getLogger('django-hilbert') def ajax_login_required(view_...
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs def ajax_login_required(view_func): @wraps(view_func, assigned=available_attrs(view_func)) def _wrapped_view(reque...
from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs from django.utils.log import getLogger logger = getLogger('django-hilbert') def ajax_login_required(view_func): @wra...
<commit_before>from functools import wraps from django import http from django.conf import settings from django.contrib.auth.decorators import login_required from django.utils.decorators import available_attrs from django.utils.log import getLogger logger = getLogger('django-hilbert') def ajax_login_required(view_...
19d5f6eb29e5940f6df77140009737d581ae5048
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.4.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.5.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
Bump version number to 0.5
Bump version number to 0.5
Python
mit
tschijnmo/programmabletuple
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.4.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.5.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
<commit_before>#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.4.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmots...
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.5.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.4.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmotschau@gmail.com'...
<commit_before>#!/usr/bin/env python from setuptools import setup setup(name='programmabletuple', version='0.4.0', description='Python metaclass for making named tuples with programmability', long_description=open('README.rst').read(), author='Tschijnmo TSCHAU', author_email='tschijnmots...
ad03af8550e35de2e3184ac9fb11bc9cb88508bf
setup.py
setup.py
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
from setuptools import find_packages, setup install_requires = ('django-admin-sso',) setup( name='incuna-auth', version='0.1', url='http://github.com/incuna/incuna-auth', packages=find_packages(), include_package_data=True, install_requires=install_requires, description='Provides authenti...
Rename project & include package
Rename project & include package
Python
bsd-2-clause
incuna/incuna-auth,ghickman/incuna-auth,incuna/incuna-auth,ghickman/incuna-auth
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
from setuptools import find_packages, setup install_requires = ('django-admin-sso',) setup( name='incuna-auth', version='0.1', url='http://github.com/incuna/incuna-auth', packages=find_packages(), include_package_data=True, install_requires=install_requires, description='Provides authenti...
<commit_before>from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, ...
from setuptools import find_packages, setup install_requires = ('django-admin-sso',) setup( name='incuna-auth', version='0.1', url='http://github.com/incuna/incuna-auth', packages=find_packages(), include_package_data=True, install_requires=install_requires, description='Provides authenti...
from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, description='P...
<commit_before>from setuptools import setup install_requires = ('django-admin-sso',) setup( name='incuna-auth-urls', version='0.1', url='http://github.com/incuna/incuna-auth-urls', py_modules=('backends', 'middleware', 'urls'), include_package_data=True, install_requires=install_requires, ...
52dc4fe9618aef6434f8f7d5fdaf592bb81c1fbe
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/cc0e/#gallerize'...
# -*- coding: utf-8 -*- from setuptools import setup def read_readme(): with open('README.rst') as f: return f.read() setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', long_description=read_readme(), license='MIT'...
Include README as long package description. Specified license.
Include README as long package description. Specified license.
Python
mit
homeworkprod/gallerize,homeworkprod/gallerize
#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/cc0e/#gallerize'...
# -*- coding: utf-8 -*- from setuptools import setup def read_readme(): with open('README.rst') as f: return f.read() setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', long_description=read_readme(), license='MIT'...
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/c...
# -*- coding: utf-8 -*- from setuptools import setup def read_readme(): with open('README.rst') as f: return f.read() setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', long_description=read_readme(), license='MIT'...
#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/cc0e/#gallerize'...
<commit_before>#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/c...
22bf97e0860682919d731c622a282a0191508c5a
setup.py
setup.py
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
Update dependencies and fix missing comma
Update dependencies and fix missing comma
Python
bsd-3-clause
FRidh/ism
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
<commit_before>from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl...
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
<commit_before>from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl...
398d16aaa8f1239c2bb08c45af9cde218f21ab68
was/photo/views.py
was/photo/views.py
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': print('nsm') form =...
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': form = UploadPhotoForm(requ...
Add request.FILES in form construction in order to pass it to the form.
Add request.FILES in form construction in order to pass it to the form.
Python
mit
KeserOner/where-artists-share,KeserOner/where-artists-share
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': print('nsm') form =...
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': form = UploadPhotoForm(requ...
<commit_before>from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': print('nsm')...
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': form = UploadPhotoForm(requ...
from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': print('nsm') form =...
<commit_before>from django.shortcuts import render from .forms import UploadPhotoForm from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from .models import Photo @login_required def upload_photo_artist(request): if request.method == 'POST': print('nsm')...
d99e294e6d322d5e5084f961886748e0d4391b29
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
Use find_packages() to auto-generate package tree
Use find_packages() to auto-generate package tree
Python
agpl-3.0
certain/certain,certain/certain
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/certain', p...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'certain', version = '0.1.0', description = 'X509 Certificate Management & Distribution Service', author = 'Matthew Richardson', author_email = 'm.richardson@ed.ac.uk', url = 'http://www.example.com/...
126a0bc97bfbe466ca34a7b22934fa6a4ce13f6a
setup.py
setup.py
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
Add Barron Hagerman as author
Add Barron Hagerman as author
Python
apache-2.0
kmlebedev/getsentry-ldap-auth,Banno/getsentry-ldap-auth
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
<commit_before>#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ]...
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ] setup( na...
<commit_before>#!/usr/bin/env python """ sentry-ldap-auth ============== An extension for Sentry which authenticates users from an LDAP server and auto-adds them to the an organization in sentry. """ from setuptools import setup, find_packages install_requires = [ 'django-auth-ldap>=1.2.5', 'sentry>=8.0.0', ]...
0bfb4b7f82ec92c0c6d6b455dc82427e0e317370
setup.py
setup.py
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
Update dependencies to ones compatible with Python 3.
Update dependencies to ones compatible with Python 3.
Python
isc
debrouwere/google-analytics
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
<commit_before>from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analy...
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analytics/', dow...
<commit_before>from setuptools import setup, find_packages setup(name='googleanalytics', description='A wrapper for the Google Analytics API.', long_description=open('README.rst').read(), author='Stijn Debrouwere', author_email='stijn@debrouwere.org', url='https://github.com/debrouwere/google-analy...
22c193419008a3f1facc53502c1f8d26f2f3ccfa
setup.py
setup.py
import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1', description='Web Component/Polymer distribution system', author='Alistair Lynn', author_email='arplynn@gmail.co...
import sys if sys.version < '3.4': print('Sorry, this is not a compatible version of Python. Use 3.4 or later.') exit(1) import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1'...
Add a version sanity check
Add a version sanity check
Python
mit
prophile/webshack
import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1', description='Web Component/Polymer distribution system', author='Alistair Lynn', author_email='arplynn@gmail.co...
import sys if sys.version < '3.4': print('Sorry, this is not a compatible version of Python. Use 3.4 or later.') exit(1) import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1'...
<commit_before>import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1', description='Web Component/Polymer distribution system', author='Alistair Lynn', author_email='a...
import sys if sys.version < '3.4': print('Sorry, this is not a compatible version of Python. Use 3.4 or later.') exit(1) import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1'...
import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1', description='Web Component/Polymer distribution system', author='Alistair Lynn', author_email='arplynn@gmail.co...
<commit_before>import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages with open('README.md') as f: description = f.read() setup(name='WebShack', version='0.0.1', description='Web Component/Polymer distribution system', author='Alistair Lynn', author_email='a...
12b36e9ffd30a0453d702c5f8b2f9adb6280ee67
setup.py
setup.py
from setuptools import setup, find_packages setup( name="SimpleES", version="0.11.1", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} )
from setuptools import setup, find_packages setup( name="simple-es", version="0.12.0", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} )
Rename project to match package name
Rename project to match package name
Python
apache-2.0
OnShift/simple-es
from setuptools import setup, find_packages setup( name="SimpleES", version="0.11.1", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} ) Rename project to match package name
from setuptools import setup, find_packages setup( name="simple-es", version="0.12.0", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} )
<commit_before>from setuptools import setup, find_packages setup( name="SimpleES", version="0.11.1", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} ) <commit_msg>Rename project to match package name<commit_after>
from setuptools import setup, find_packages setup( name="simple-es", version="0.12.0", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} )
from setuptools import setup, find_packages setup( name="SimpleES", version="0.11.1", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} ) Rename project to match package namefrom setuptools import setup, find_packages setup( name...
<commit_before>from setuptools import setup, find_packages setup( name="SimpleES", version="0.11.1", description='A simple Event Sourcing library for Python', packages=find_packages('src'), package_dir={'': 'src'} ) <commit_msg>Rename project to match package name<commit_after>from setuptools impo...
e131ea4917ce85bba2c188c366cc6fb599695059
setup.py
setup.py
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
Make the `statistics` pypi package a requirement for all py versions
Make the `statistics` pypi package a requirement for all py versions It'll get installed for all py versions, but will only be used when the inbuilt doesn't exist
Python
mit
erkghlerngm44/malaffinity
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
<commit_before>from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity",...
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity", "__about__.py"...
<commit_before>from setuptools import setup from codecs import open from os import path from sys import version_info here = path.abspath(path.dirname(__file__)) about = {} with open(path.join(here, "README.rst"), encoding="utf-8") as file: long_description = file.read() with open(path.join(here, "malaffinity",...
56ae49ec5f3ab447e25fe4706e04e85e64c175d1
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
Add url to pypi package
Add url to pypi package
Python
agpl-3.0
openfisca/country-template,openfisca/country-template
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', ...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', keywords='ben...
<commit_before>#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='0.1.0', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'Template of a tax and benefit system for OpenFisca', ...
515e979d726af9031a4689dae899c6f87cc22e65
setup.py
setup.py
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession try: from setuptools import setup except ImportError: from distutils.core import setup # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ...
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession from setuptools import setup, find_packages # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ipython = "ipython>=5.1,<6.0" else: ipython ...
Use find_packages() to determine packages to install
Use find_packages() to determine packages to install
Python
mit
scidash/sciunit,scidash/sciunit
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession try: from setuptools import setup except ImportError: from distutils.core import setup # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ...
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession from setuptools import setup, find_packages # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ipython = "ipython>=5.1,<6.0" else: ipython ...
<commit_before>"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession try: from setuptools import setup except ImportError: from distutils.core import setup # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_...
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession from setuptools import setup, find_packages # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ipython = "ipython>=5.1,<6.0" else: ipython ...
"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession try: from setuptools import setup except ImportError: from distutils.core import setup # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_info < (3,3): ...
<commit_before>"""Setup file for SciUnit""" import sys import os from pip.req import parse_requirements from pip.download import PipSession try: from setuptools import setup except ImportError: from distutils.core import setup # IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2 if sys.version_...
a95814afa175d7cd047f35dbf77ca2492d810598
setup.py
setup.py
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
Change package name from VCCS to vccs_auth.
Change package name from VCCS to vccs_auth. There will be a separate package containing the authentication client, and it does not appear possible to (cleanly) generate two packages from the same setup.py/same repository.
Python
bsd-3-clause
SUNET/VCCS
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
<commit_before>#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0....
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0.1', 'py-bcr...
<commit_before>#!/usr/bin/env python # from setuptools import setup, find_packages import sys, os from distutils import versionpredicate here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README')).read() version = '0.1dev' install_requires = [ 'pyhsm >= 1.0.3', 'ndnkdf >= 0....
64c684b2adf44decf19f60e801fc2e280cfc8342
setup.py
setup.py
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
Set long description content type to be pypi friendly
Set long description content type to be pypi friendly
Python
agpl-3.0
prestapyt/prestapyt,prestapyt/prestapyt
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
<commit_before>#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).re...
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( ...
<commit_before>#!/usr/bin/env python """ Prestapyt :copyright: (c) 2011-2013 Guewen Baconnier :copyright: (c) 2011 Camptocamp SA :license: AGPLv3, see LICENSE for more details """ import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).re...
114e2e877898f351bbb388cac7df5811b322c48f
setup.py
setup.py
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening app', author='B...
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit >= 1.0.0, < 2.0.0', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening a...
Fix version dependency on nuit
Fix version dependency on nuit
Python
apache-2.0
benbacardi/djshorty,benbacardi/djshorty,ocadotechnology/djshorty,ocadotechnology/djshorty,ocadotechnology/djshorty,benbacardi/djshorty
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening app', author='B...
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit >= 1.0.0, < 2.0.0', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening a...
<commit_before>from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening app'...
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit >= 1.0.0, < 2.0.0', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening a...
from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening app', author='B...
<commit_before>from setuptools import find_packages, setup from shorty.version import __VERSION__ dependencies=[ 'django', 'django-autoconfig', 'django-nuit', ] test_dependencies=[ 'django-setuptest', ] setup( name='djshorty', version=__VERSION__, description='A Django URL shortening app'...
a95abc176867a49985d4acd8625dc803cba045fc
setup.py
setup.py
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
Add long description for PyPI
Add long description for PyPI
Python
mit
pombredanne/python-pure-cdb,pombredanne/python-pure-cdb,dw/python-pure-cdb,dw/python-pure-cdb
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
<commit_before>#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_ha...
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_hash', sources=['...
<commit_before>#!/usr/bin/env python from os import environ from setuptools import Extension, find_packages, setup # Opt-in to building the C extensions for Python 2 by setting the # ENABLE_DJB_HASH_CEXT environment variable if environ.get('ENABLE_DJB_HASH_CEXT'): ext_modules = [ Extension('cdblib._djb_ha...
fd23a4656c3d55f87549a82af64c0a172cec41c1
setup.py
setup.py
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
Fix stupid copy paste error
Fix stupid copy paste error
Python
mit
TaurusOlson/incisive
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
<commit_before>from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programmi...
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programming Language :: ...
<commit_before>from setuptools import setup import csvlib def readme(): with open('README.rst') as f: return f.read() setup(name='csvlib', version=csvlib.__version__, description='A tiny library for handling CSV files.', long_description=readme(), classifiers=[ 'Programmi...
927dd6e667c76ac7a42e386ea49dd5678d11325b
setup.py
setup.py
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
Add Slimit as a dependency
Add Slimit as a dependency
Python
mit
rspivak/crammit,rspivak/crammit
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
<commit_before>import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), ...
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), *rel_names)).re...
<commit_before>import os from setuptools import setup, find_packages classifiers = """\ Intended Audience :: Developers License :: OSI Approved :: MIT License Programming Language :: Python Topic :: Utilities Operating System :: Unix """ def read(*rel_names): return open(os.path.join(os.path.dirname(__file__), ...
c46389dabb4c6f0d1a8868f1114d35ff11e1bfce
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-jinja', version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = 'django, jinja2', author = 'Andrey Antukh', author_e...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "django-jinja", version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = "django, jinja2", author = "Andrey Antukh", author_e...
Set up new classifiers. Now production ready.
Set up new classifiers. Now production ready.
Python
bsd-3-clause
niwinz/django-jinja,akx/django-jinja,glogiotatidis/django-jinja,akx/django-jinja,akx/django-jinja,niwinz/django-jinja,glogiotatidis/django-jinja,glogiotatidis/django-jinja,niwinz/django-jinja,akx/django-jinja,glogiotatidis/django-jinja
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-jinja', version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = 'django, jinja2', author = 'Andrey Antukh', author_e...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "django-jinja", version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = "django, jinja2", author = "Andrey Antukh", author_e...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-jinja', version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = 'django, jinja2', author = 'Andrey Antukh...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "django-jinja", version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = "django, jinja2", author = "Andrey Antukh", author_e...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-jinja', version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = 'django, jinja2', author = 'Andrey Antukh', author_e...
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-jinja', version = "0.13", description = "Jinja2 templating language integrated in Django.", long_description = "", keywords = 'django, jinja2', author = 'Andrey Antukh...
76b5d00a4f936c38036270ef37465fd2621db71c
TelegramLogHandler/handler.py
TelegramLogHandler/handler.py
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
Fix infinite loop caused by requests library's logging
Fix infinite loop caused by requests library's logging
Python
mit
simonacca/TelegramLogHandler
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
<commit_before>import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s)...
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s) of the...
<commit_before>import logging class TelegramHandler(logging.Handler): """ A handler class which sends a Telegram message for each logging event. """ def __init__(self, token, ids): """ Initialize the handler. Initialize the instance with the bot's token and a list of chat_id(s)...
3e126dbba13ba95bb087d1d61b6d083dff8b3656
setup.py
setup.py
from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description='See https://github.com/tomdyson/wagtail-netlify for details', url='https://github.com/tomdyson/wagta...
from setuptools import setup, find_packages from wagtailnetlify import __version__ with open('README.md', 'r') as fh: long_description = fh.read() setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description=long_description, long_descripti...
Set README as the project long description
Set README as the project long description
Python
mit
tomdyson/wagtail-netlify
from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description='See https://github.com/tomdyson/wagtail-netlify for details', url='https://github.com/tomdyson/wagta...
from setuptools import setup, find_packages from wagtailnetlify import __version__ with open('README.md', 'r') as fh: long_description = fh.read() setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description=long_description, long_descripti...
<commit_before>from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description='See https://github.com/tomdyson/wagtail-netlify for details', url='https://github.com...
from setuptools import setup, find_packages from wagtailnetlify import __version__ with open('README.md', 'r') as fh: long_description = fh.read() setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description=long_description, long_descripti...
from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description='See https://github.com/tomdyson/wagtail-netlify for details', url='https://github.com/tomdyson/wagta...
<commit_before>from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description='See https://github.com/tomdyson/wagtail-netlify for details', url='https://github.com...
0748838525cb2c2ee838da3a3e906ebf8dd25a3b
setup.py
setup.py
from setuptools import setup import curtsies setup(name='curtsies', version=curtsies.__version__, description='Curses-like terminal wrapper, with colored strings!', url='https://github.com/thomasballinger/curtsies', author='Thomas Ballinger', author_email='thomasballinger@gmail.com', ...
from setuptools import setup import ast import os def version(): """Return version string.""" with open(os.path.join('curtsies', '__init__.py')) as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse(line).body[0].value.s setup(name='curt...
Fix installation, broken since started doing import in __init__
Fix installation, broken since started doing import in __init__ Thanks @myint for the catch and code suggestion
Python
mit
sebastinas/curtsies,thomasballinger/curtsies,spthaolt/curtsies
from setuptools import setup import curtsies setup(name='curtsies', version=curtsies.__version__, description='Curses-like terminal wrapper, with colored strings!', url='https://github.com/thomasballinger/curtsies', author='Thomas Ballinger', author_email='thomasballinger@gmail.com', ...
from setuptools import setup import ast import os def version(): """Return version string.""" with open(os.path.join('curtsies', '__init__.py')) as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse(line).body[0].value.s setup(name='curt...
<commit_before>from setuptools import setup import curtsies setup(name='curtsies', version=curtsies.__version__, description='Curses-like terminal wrapper, with colored strings!', url='https://github.com/thomasballinger/curtsies', author='Thomas Ballinger', author_email='thomasballinger@g...
from setuptools import setup import ast import os def version(): """Return version string.""" with open(os.path.join('curtsies', '__init__.py')) as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse(line).body[0].value.s setup(name='curt...
from setuptools import setup import curtsies setup(name='curtsies', version=curtsies.__version__, description='Curses-like terminal wrapper, with colored strings!', url='https://github.com/thomasballinger/curtsies', author='Thomas Ballinger', author_email='thomasballinger@gmail.com', ...
<commit_before>from setuptools import setup import curtsies setup(name='curtsies', version=curtsies.__version__, description='Curses-like terminal wrapper, with colored strings!', url='https://github.com/thomasballinger/curtsies', author='Thomas Ballinger', author_email='thomasballinger@g...
cdf78b63d018d767853c1488ead451c61a2ecf4d
setup.py
setup.py
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.4.0', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
Increment version now we connect to prod by default
Increment version now we connect to prod by default
Python
apache-2.0
nedlowe/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,amaas-fintech/amaas-core-sdk-python,amaas-fintech/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,nedlowe/amaas-core-sdk-python
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.4.0', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
<commit_before>from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0...
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.4.0', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='htt...
<commit_before>from setuptools import setup, find_packages requires = [ 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0...
9faf5faf93e466ee952e03048c829eaf5fea5eca
setup.py
setup.py
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
Package data is not zip-safe
Package data is not zip-safe
Python
mit
charettes/django-colorful,Vitagene1/django-colorful,Vitagene1/django-colorful,charettes/django-colorful
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
<commit_before>#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provi...
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provides database an...
<commit_before>#!/usr/bin/python from setuptools import setup, find_packages from colorful import VERSION github_url = 'https://github.com/charettes/django-colorful' setup( name='django-colorful', version='.'.join(str(v) for v in VERSION), description='An extension to the Django web framework that provi...
e95a2306eaf875f8349ac0e3638292851fd3cbf5
setup.py
setup.py
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
Add python-dateutil as a project dependency. We need its handy "parse" function.
Add python-dateutil as a project dependency. We need its handy "parse" function.
Python
mit
jga/capmetrics-etl,jga/capmetrics-etl
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
<commit_before>#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience ...
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience :: Developers',...
<commit_before>#!/usr/bin/env python3 import os from setuptools import setup, find_packages def get_readme(): return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() setup( author="Julio Gonzalez Altamirano", author_email='devjga@gmail.com', classifiers=[ 'Intended Audience ...
6311aaa8793e06e2fa6e869c2d788dca48a54734
setup.py
setup.py
from setuptools import setup, find_packages setup(name='instana', version='0.0.1', url='https://github.com/instana/python-sensor', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics sensor and trace collector for Instana', pac...
from setuptools import setup, find_packages setup(name='instana', version='0.0.1.2', download_url='https://github.com/instana/python-sensor', url='https://www.instana.com/', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics s...
Fix URLs, a simple description and add classifiers
Fix URLs, a simple description and add classifiers
Python
mit
instana/python-sensor,instana/python-sensor
from setuptools import setup, find_packages setup(name='instana', version='0.0.1', url='https://github.com/instana/python-sensor', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics sensor and trace collector for Instana', pac...
from setuptools import setup, find_packages setup(name='instana', version='0.0.1.2', download_url='https://github.com/instana/python-sensor', url='https://www.instana.com/', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics s...
<commit_before>from setuptools import setup, find_packages setup(name='instana', version='0.0.1', url='https://github.com/instana/python-sensor', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics sensor and trace collector for Inst...
from setuptools import setup, find_packages setup(name='instana', version='0.0.1.2', download_url='https://github.com/instana/python-sensor', url='https://www.instana.com/', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics s...
from setuptools import setup, find_packages setup(name='instana', version='0.0.1', url='https://github.com/instana/python-sensor', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics sensor and trace collector for Instana', pac...
<commit_before>from setuptools import setup, find_packages setup(name='instana', version='0.0.1', url='https://github.com/instana/python-sensor', license='MIT', author='Instana Inc.', author_email='peter.lombardo@instana.com', description='Metrics sensor and trace collector for Inst...
9e80fe787f196b8a96bdbe79e0f7366dfa5f9e45
setup.py
setup.py
from setuptools import setup setup( name='asr_evaluation', version='2.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
from setuptools import setup setup( name='asr_evaluation', version='2.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
Increment version number so PyPi will load the README.
Increment version number so PyPi will load the README.
Python
apache-2.0
belambert/asr_evaluation,belambert/asr-evaluation,belambert/asr-evaluation
from setuptools import setup setup( name='asr_evaluation', version='2.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
from setuptools import setup setup( name='asr_evaluation', version='2.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
<commit_before>from setuptools import setup setup( name='asr_evaluation', version='2.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word ...
from setuptools import setup setup( name='asr_evaluation', version='2.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
from setuptools import setup setup( name='asr_evaluation', version='2.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word error rate.', ...
<commit_before>from setuptools import setup setup( name='asr_evaluation', version='2.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['asr_evaluation'], license='LICENSE.txt', description='Evaluating ASR (automatic speech recognition) hypotheses, i.e. computing word ...
9830db0388855f129b3c1f31b5a2c7fe06b471c1
setup.py
setup.py
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
Bump up to version 1.0.4
Bump up to version 1.0.4
Python
apache-2.0
common-workflow-language/schema_salad,common-workflow-language/schema_salad,common-workflow-language/schema_salad,hmenager/common-workflow-language,common-workflow-language/common-workflow-language,stain/common-workflow-language,ohsu-computational-biology/common-workflow-language,common-workflow-language/schema_salad,m...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
<commit_before>#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGi...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
<commit_before>#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGi...
cc7aaa66a68d043b084f4cb1d54f3acc63c9aca3
setup.py
setup.py
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
Update link to repo and description
Update link to repo and description
Python
mit
xandr2/blynkapi
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
<commit_before># Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='...
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: ...
<commit_before># Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='...
eb16a12bd8f5e9896f48e6dfb23df64cfe5fb4cf
setup.py
setup.py
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
Allow any newer pandas version
Allow any newer pandas version Co-authored-by: Sabine Haas <7a4a302f5a1f49bb6bebf9ec4d25cae6930e4972@rl-institut.de>
Python
mit
oemof/demandlib
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
<commit_before>#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', u...
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', url='https://oem...
<commit_before>#! /usr/bin/env python """Setup information of demandlib. """ from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='demandlib', version='0.1.7dev', author='oemof developer group', u...
911a30b21285895b6f45a5b6fc051397ce409a8f
setup.py
setup.py
from setuptools import setup, find_packages setup(name='logs-analyzer', version='0.5', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', url='https://github.com/ddalu5/logs-analyzer', author='Salah OSFOR', author_email='osfor....
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name='logs-analyzer', version='0.5.1', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', long_description=long_descripti...
Add long description to the project
Add long description to the project
Python
apache-2.0
ddalu5/logs-analyzer
from setuptools import setup, find_packages setup(name='logs-analyzer', version='0.5', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', url='https://github.com/ddalu5/logs-analyzer', author='Salah OSFOR', author_email='osfor....
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name='logs-analyzer', version='0.5.1', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', long_description=long_descripti...
<commit_before>from setuptools import setup, find_packages setup(name='logs-analyzer', version='0.5', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', url='https://github.com/ddalu5/logs-analyzer', author='Salah OSFOR', autho...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name='logs-analyzer', version='0.5.1', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', long_description=long_descripti...
from setuptools import setup, find_packages setup(name='logs-analyzer', version='0.5', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', url='https://github.com/ddalu5/logs-analyzer', author='Salah OSFOR', author_email='osfor....
<commit_before>from setuptools import setup, find_packages setup(name='logs-analyzer', version='0.5', description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.', url='https://github.com/ddalu5/logs-analyzer', author='Salah OSFOR', autho...
acc7b768ee6f8bb356811839d8d5c0cdcd088cc6
setup.py
setup.py
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
Fix README.rst in wrong place
Fix README.rst in wrong place
Python
mit
kvg/dmpy
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
<commit_before>#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(ope...
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(open(pipfile_lock)...
<commit_before>#!/usr/bin/env python import json import os from setuptools import setup, find_packages def get_requirements_from_pipfile_lock(pipfile_lock=None): if pipfile_lock is None: pipfile_lock = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Pipfile.lock') lock_data = json.load(ope...
a81dac4d89b38aed4f40f3c459a1690832c43449
setup.py
setup.py
from setuptools import find_packages, setup import yolapy setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola API', author='Yola', author_email='engineers@yola.com', license='MIT (Expat)', url='https://github.com/yola/yolapy', packages=find_packag...
from setuptools import find_packages, setup import yolapy with open('README.rst') as readme_file: readme = readme_file.read() with open('CHANGELOG.rst') as changelog_file: changelog = changelog_file.read() setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola...
Use readme and changelog as long_description
Use readme and changelog as long_description This is so it shows up on the pypi package homepage
Python
mit
yola/yolapy
from setuptools import find_packages, setup import yolapy setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola API', author='Yola', author_email='engineers@yola.com', license='MIT (Expat)', url='https://github.com/yola/yolapy', packages=find_packag...
from setuptools import find_packages, setup import yolapy with open('README.rst') as readme_file: readme = readme_file.read() with open('CHANGELOG.rst') as changelog_file: changelog = changelog_file.read() setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola...
<commit_before>from setuptools import find_packages, setup import yolapy setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola API', author='Yola', author_email='engineers@yola.com', license='MIT (Expat)', url='https://github.com/yola/yolapy', packa...
from setuptools import find_packages, setup import yolapy with open('README.rst') as readme_file: readme = readme_file.read() with open('CHANGELOG.rst') as changelog_file: changelog = changelog_file.read() setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola...
from setuptools import find_packages, setup import yolapy setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola API', author='Yola', author_email='engineers@yola.com', license='MIT (Expat)', url='https://github.com/yola/yolapy', packages=find_packag...
<commit_before>from setuptools import find_packages, setup import yolapy setup( name='yolapy', version=yolapy.__version__, description='Python client for the Yola API', author='Yola', author_email='engineers@yola.com', license='MIT (Expat)', url='https://github.com/yola/yolapy', packa...
52e7077ed05de7a7379f99f2a5ed71a07de79fa9
setup.py
setup.py
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['tem...
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.4' setup( name='autobuilder', version='2.7.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['temp...
Update version number to 2.7.0
Update version number to 2.7.0 and bump buildbot required version to 2.8.4.
Python
mit
madisongh/autobuilder
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['tem...
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.4' setup( name='autobuilder', version='2.7.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['temp...
<commit_before>from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'auto...
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.4' setup( name='autobuilder', version='2.7.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['temp...
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['tem...
<commit_before>from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'auto...
5caba564232afc6a193042dc9701a978b75138dd
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
Update trove classifiers for CPython and PyPy.
Update trove classifiers for CPython and PyPy.
Python
bsd-3-clause
zackmdavis/astor,berkerpeksag/astor
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
<commit_before>#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email...
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email='pmaupin@gmail...
<commit_before>#!/usr/bin/env python from setuptools import setup from setuputils import find_version, read setup( name='astor', version=find_version('astor/__init__.py'), description='Read/rewrite/write Python ASTs', long_description=read('README.rst'), author='Patrick Maupin', author_email...
728ca409a6534f1d5e398013bc6ca846d3fcd93b
setup.py
setup.py
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' setup(name='scheduler', version='0.1', author='Sviatoslav Sydorenko', author_email='wk@sydorenko.org.ua', package_dir={''...
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' if sys.version_info == (3,3): # Python 3.4 introduced `asyncio` in standard library, install_requires.append('asyncio') # it was b...
Install asyncio if we are dealing w/ Python 3.3
Install asyncio if we are dealing w/ Python 3.3
Python
mit
kyiv-team-hacktbilisi/web-app,kyiv-team-hacktbilisi/web-app
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' setup(name='scheduler', version='0.1', author='Sviatoslav Sydorenko', author_email='wk@sydorenko.org.ua', package_dir={''...
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' if sys.version_info == (3,3): # Python 3.4 introduced `asyncio` in standard library, install_requires.append('asyncio') # it was b...
<commit_before>from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' setup(name='scheduler', version='0.1', author='Sviatoslav Sydorenko', author_email='wk@sydorenko.org.ua', ...
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' if sys.version_info == (3,3): # Python 3.4 introduced `asyncio` in standard library, install_requires.append('asyncio') # it was b...
from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' setup(name='scheduler', version='0.1', author='Sviatoslav Sydorenko', author_email='wk@sydorenko.org.ua', package_dir={''...
<commit_before>from setuptools import setup, find_packages install_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets', 'cssmin', 'PyYAML'] # 'Routes' setup(name='scheduler', version='0.1', author='Sviatoslav Sydorenko', author_email='wk@sydorenko.org.ua', ...
6e2e4dfd800a55f14a86a1ddc03b809c98f0a462
setup.py
setup.py
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
Fix PyPi version to be compliant
Fix PyPi version to be compliant see https://github.com/agrover/rtslib-fb/issues/22 We can't use fb* in the name I guess, so change the name of the package to rtslib-fb and use a more normal version. Signed-off-by: Andy Grover <b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com>
Python
apache-2.0
mikenawrocki/rtslib-fb,cvubrugier/rtslib-fb,mikenawrocki/rtslib-fb,agrover/rtslib-fb
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
<commit_before>#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 ...
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 (AGPLv3). This...
<commit_before>#! /usr/bin/env python ''' This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC 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, version 3 ...
285cd06243fdd7aacb65628f390876be3b7ca098
setup.py
setup.py
#!/usr/bin/env python """Setup for cppclean.""" from __future__ import unicode_literals from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', ...
#!/usr/bin/env python """Setup for cppclean.""" from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', long_description=readme.read(), ...
Make this work on Python 2
Make this work on Python 2 http://bugs.python.org/issue13943
Python
apache-2.0
myint/cppclean,myint/cppclean,myint/cppclean,myint/cppclean
#!/usr/bin/env python """Setup for cppclean.""" from __future__ import unicode_literals from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', ...
#!/usr/bin/env python """Setup for cppclean.""" from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', long_description=readme.read(), ...
<commit_before>#!/usr/bin/env python """Setup for cppclean.""" from __future__ import unicode_literals from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code ...
#!/usr/bin/env python """Setup for cppclean.""" from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', long_description=readme.read(), ...
#!/usr/bin/env python """Setup for cppclean.""" from __future__ import unicode_literals from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code bases.', ...
<commit_before>#!/usr/bin/env python """Setup for cppclean.""" from __future__ import unicode_literals from distutils import core with open('README') as readme: core.setup(name='cppclean', description='Find problems in C++ source that slow development ' 'of large code ...
d83c9cd2633f08c75a3f1a6767984d663c6f6f28
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
Update Django requirement to latest LTS
Update Django requirement to latest LTS
Python
bsd-3-clause
lamby/django-sensible-caching
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="c...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="chris@chris-lamb...
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-sensible-caching', url="https://chris-lamb.co.uk/projects/django-sensible-caching", version='2.0.1', description="Non-magical object caching for Django.", author="Chris Lamb", author_email="c...
8882230d88839d5f4bd253c78350b6b8621a5f3a
setup.py
setup.py
from setuptools import setup, find_packages setup( name='knitty-gritty', version='0.0.1', description='Pattern uploader/downloader for Brother knitting machines', url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='BSD', ...
from setuptools import setup, find_packages with open('README.rst') as f: description = f.read() setup( name='knitty-gritty', version='0.0.1', description=description, url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='B...
Add wheel dependency, read PyPI description from readme file
Add wheel dependency, read PyPI description from readme file
Python
bsd-3-clause
mhallin/knitty-gritty
from setuptools import setup, find_packages setup( name='knitty-gritty', version='0.0.1', description='Pattern uploader/downloader for Brother knitting machines', url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='BSD', ...
from setuptools import setup, find_packages with open('README.rst') as f: description = f.read() setup( name='knitty-gritty', version='0.0.1', description=description, url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='B...
<commit_before>from setuptools import setup, find_packages setup( name='knitty-gritty', version='0.0.1', description='Pattern uploader/downloader for Brother knitting machines', url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', licen...
from setuptools import setup, find_packages with open('README.rst') as f: description = f.read() setup( name='knitty-gritty', version='0.0.1', description=description, url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='B...
from setuptools import setup, find_packages setup( name='knitty-gritty', version='0.0.1', description='Pattern uploader/downloader for Brother knitting machines', url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', license='BSD', ...
<commit_before>from setuptools import setup, find_packages setup( name='knitty-gritty', version='0.0.1', description='Pattern uploader/downloader for Brother knitting machines', url='https://github.com/mhallin/knitty-gritty', author='Magnus Hallin', author_email='mhallin@gmail.com', licen...
557eaa0d0c15ab57f9b8773486098b14a9bcc89f
setup.py
setup.py
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
Add dependencies, update for module name change
Add dependencies, update for module name change
Python
bsd-3-clause
BrianGallew/bacula_configuration
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
<commit_before>#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ...
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ships with no w...
<commit_before>#! /usr/bin/env python import os, glob from distutils.core import setup NAME = 'bacula_configuration' VERSION = '0.1' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' LONG_DESCRIPTION = 'Bacula is a great backup tool, but ...
b7adf26adfef1b3c1c474b2395b63525043cbd6f
setup.py
setup.py
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
Increment version number to 0.1.3.
Increment version number to 0.1.3.
Python
bsd-3-clause
barseghyanartur/django-security,MartinPetkov/django-security,MartinPetkov/django-security,issackelly/django-security,issackelly/django-security,barseghyanartur/django-security
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
<commit_before># Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', ...
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
# Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', long_descr...
<commit_before># Copyright (c) 2011, SD Elements. See LICENSE.txt for details. import os from distutils.core import setup f = open(os.path.join(os.path.dirname(__file__), 'README')) readme = f.read() f.close() setup(name="django-security", description='A collection of tools to help secure a Django project.', ...
e26e845a6f3793cee5e464919d70aa0bf9dd98f6
setup.py
setup.py
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() class PostInstallCommand(install): def run(self): make_dir...
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() develop.run(self) class PostInstallCommand(install): def r...
Make executable before develop/install, print what is made executable, and also run the actual develop/install.
Make executable before develop/install, print what is made executable, and also run the actual develop/install.
Python
apache-2.0
Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() class PostInstallCommand(install): def run(self): make_dir...
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() develop.run(self) class PostInstallCommand(install): def r...
<commit_before>from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() class PostInstallCommand(install): def run(self...
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() develop.run(self) class PostInstallCommand(install): def r...
from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() class PostInstallCommand(install): def run(self): make_dir...
<commit_before>from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import os dependencies = [ 'requests~=2.7' ] class PostDevelopCommand(develop): def run(self): make_director_executable() class PostInstallCommand(install): def run(self...
ff664b9731d6fdcbbd3eadf02595a35ccac402f6
markups/common.py
markups/common.py
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
Update MathJax URL to 2.7.1
Update MathJax URL to 2.7.1
Python
bsd-3-clause
retext-project/pymarkups,mitya57/pymarkups
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
<commit_before># This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') ...
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
# This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') or os.path.exp...
<commit_before># This file is part of python-markups module # License: BSD # Copyright: (C) Dmitry Shachnev, 2012-2017 import os.path # Some common constants and functions (LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3) CONFIGURATION_DIR = (os.getenv('XDG_CONFIG_HOME') or os.getenv('APPDATA') ...
39d7ea31c3c51958ee9b0fc05fa4b057a6bc532a
setup.py
setup.py
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
Switch optimization back to -O2
Switch optimization back to -O2
Python
apache-2.0
MagicStack/asyncpg,MagicStack/asyncpg
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
<commit_before>from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', '...
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Operating Syste...
<commit_before>from setuptools import setup, Extension setup( name='asyncpg', version='0.0.1', description='An asyncio PosgtreSQL driver', classifiers=[ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', '...
f622569041c3aae25a243029609d63606b29015f
start.py
start.py
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import hopscotch vx.default_start()
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import concat vx.default_keybindings = concat.load vx.default_start()
Change default keybindings to concat since these are the only ones that work
Change default keybindings to concat since these are the only ones that work At least for now
Python
mit
philipdexter/vx,philipdexter/vx
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import hopscotch vx.default_start() Change default keybindings to concat since these are the only ones that work At least for now
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import concat vx.default_keybindings = concat.load vx.default_start()
<commit_before>try: import rc except ImportError: import vx # which keybinding do we want from keybindings import hopscotch vx.default_start() <commit_msg>Change default keybindings to concat since these are the only ones that work At least for now<commit_after>
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import concat vx.default_keybindings = concat.load vx.default_start()
try: import rc except ImportError: import vx # which keybinding do we want from keybindings import hopscotch vx.default_start() Change default keybindings to concat since these are the only ones that work At least for nowtry: import rc except ImportError: import vx # which keybinding...
<commit_before>try: import rc except ImportError: import vx # which keybinding do we want from keybindings import hopscotch vx.default_start() <commit_msg>Change default keybindings to concat since these are the only ones that work At least for now<commit_after>try: import rc except ImportErr...
5ab07a72a5a9e9e147e782301d55ed5c7c844978
tasks.py
tasks.py
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") @invoke.tas...
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") run("rm ...
Add .coverage to clean task
Add .coverage to clean task
Python
mit
numberoverzero/pyservice
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") @invoke.tas...
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") run("rm ...
<commit_before>import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete...
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") run("rm ...
import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete") @invoke.tas...
<commit_before>import invoke def run(*args, **kwargs): kwargs.update(echo=True) return invoke.run(*args, **kwargs) @invoke.task def clean(): run("rm -rf .tox/") run("rm -rf dist/") run("rm -rf pyservice.egg-info/") run("find . -name '*.pyc' -delete") run("find . -name '__pycache__' -delete...
63c4997dbe712a4260c0ebe1f2c4c82416b39901
account_import_line_multicurrency_extension/__openerp__.py
account_import_line_multicurrency_extension/__openerp__.py
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
Remove list of conflicting module. Both modules can be installed and will work in parallele. Thought the workflow logic is different.
Remove list of conflicting module. Both modules can be installed and will work in parallele. Thought the workflow logic is different.
Python
agpl-3.0
syci/bank-payment,sergiocorato/bank-payment,ndtran/bank-payment,CompassionCH/bank-payment,Antiun/bank-payment,damdam-s/bank-payment,syci/bank-payment,sergiocorato/bank-payment,David-Amaro/bank-payment,diagramsoftware/bank-payment,acsone/bank-payment,Antiun/bank-payment,damdam-s/bank-payment,CompassionCH/bank-payment,Da...
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
<commit_before># -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gene...
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
# -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
<commit_before># -*- coding: utf-8 -*- ############################################################################## # # Author: Vincent Renaville (Camptocamp) # Copyright 2015 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gene...
5fc569c3f44747dc6d1301515152c6a670257790
bluebottle/payments_pledge/adapters.py
bluebottle/payments_pledge/adapters.py
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.order.user.can_pledg...
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.user.can_pledge ...
Fix pledge while loging in in donation flow
Fix pledge while loging in in donation flow BB-7015 #resolve
Python
bsd-3-clause
jfterpstra/bluebottle,jfterpstra/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.order.user.can_pledg...
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.user.can_pledge ...
<commit_before>from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.order...
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.user.can_pledge ...
from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.order.user.can_pledg...
<commit_before>from bluebottle.payments.adapters import BasePaymentAdapter from bluebottle.payments.exception import PaymentException from .models import PledgeStandardPayment class PledgePaymentAdapter(BasePaymentAdapter): def create_payment(self): try: can_pledge = self.order_payment.order...
2c92d844b01458e74bd7163d755518f7947e87ec
31-trinity/tf-31.py
31-trinity/tf-31.py
#!/usr/bin/env python import sys, re, operator, collections # # Model # class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): stopwords = set(open('../stop_words.txt...
#!/usr/bin/env python import sys, re, operator, collections class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): self.update(path_to_file) def update(self, path...
Make the mvc example interactive
Make the mvc example interactive
Python
mit
placrosse/exercises-in-programming-style,aaron-goshine/exercises-in-programming-style,jw0201/exercises-in-programming-style,bgamwell/exercises-in-programming-style,rajanvenkataguru/exercises-in-programming-style,bgamwell/exercises-in-programming-style,aaron-goshine/exercises-in-programming-style,emil-mi/exercises-in-pr...
#!/usr/bin/env python import sys, re, operator, collections # # Model # class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): stopwords = set(open('../stop_words.txt...
#!/usr/bin/env python import sys, re, operator, collections class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): self.update(path_to_file) def update(self, path...
<commit_before>#!/usr/bin/env python import sys, re, operator, collections # # Model # class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): stopwords = set(open('.....
#!/usr/bin/env python import sys, re, operator, collections class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): self.update(path_to_file) def update(self, path...
#!/usr/bin/env python import sys, re, operator, collections # # Model # class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): stopwords = set(open('../stop_words.txt...
<commit_before>#!/usr/bin/env python import sys, re, operator, collections # # Model # class WordFrequenciesModel: """ Models the data. In this case, we're only interested in words and their frequencies as an end result """ freqs = {} def __init__(self, path_to_file): stopwords = set(open('.....
3bf8790a0a8bd5464cedcb4f2acb92f758bc01b4
apgl/data/ExamplesGenerator.py
apgl/data/ExamplesGenerator.py
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
Make sure labels are ints.
Make sure labels are ints.
Python
bsd-3-clause
charanpald/APGL
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
<commit_before>''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Genera...
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Generate a certain nu...
<commit_before>''' A simple class which can be used to generate test sets of examples. ''' #import numpy import numpy.random class ExamplesGenerator(): def __init__(self): pass def generateBinaryExamples(self, numExamples=100, numFeatures=10, noise=0.4): """ Genera...
f2baef5e4b3b1c1d64f62a84625136befd4772ba
osOps.py
osOps.py
import os def createDirectory(directoryPath): return None def createFile(filePath): try: createdFile = open(filePath, 'w+') createdFile.close() except IOError: print "Error: could not create file at location: " + filePath def getFileContents(filePath): return None def deleteF...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
Implement logic for directory creation
Implement logic for directory creation
Python
apache-2.0
AmosGarner/PyInventory
import os def createDirectory(directoryPath): return None def createFile(filePath): try: createdFile = open(filePath, 'w+') createdFile.close() except IOError: print "Error: could not create file at location: " + filePath def getFileContents(filePath): return None def deleteF...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
<commit_before>import os def createDirectory(directoryPath): return None def createFile(filePath): try: createdFile = open(filePath, 'w+') createdFile.close() except IOError: print "Error: could not create file at location: " + filePath def getFileContents(filePath): return No...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
import os def createDirectory(directoryPath): return None def createFile(filePath): try: createdFile = open(filePath, 'w+') createdFile.close() except IOError: print "Error: could not create file at location: " + filePath def getFileContents(filePath): return None def deleteF...
<commit_before>import os def createDirectory(directoryPath): return None def createFile(filePath): try: createdFile = open(filePath, 'w+') createdFile.close() except IOError: print "Error: could not create file at location: " + filePath def getFileContents(filePath): return No...
775d9a5d1b38b8973357a1a861da04848a7f39ad
osOps.py
osOps.py
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
Implement open file and get file contents functionality
Implement open file and get file contents functionality
Python
apache-2.0
AmosGarner/PyInventory
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
<commit_before>import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def crea...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def createFile(filePath...
<commit_before>import os def createDirectory(directoryPath): if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False: try: os.makedirs(directoryPath) except OSError: print 'Error: Could not create directory at location: ' + directoryPath def crea...