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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1cc57acd774eace69da7ec0ae9a516207d8ff5c | pyrfc3339/__init__.py | pyrfc3339/__init__.py | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | Fix imports for Python 3 | Fix imports for Python 3
| Python | mit | kurtraschke/pyRFC3339 | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | <commit_before>"""
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> pars... | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | """
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> parse('2009-01-01T1... | <commit_before>"""
pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects.
>>> from pyrfc3339 import generate, parse
>>> from datetime import datetime
>>> import pytz
>>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS
'...T...Z'
>>> pars... |
8337575314ae02e99eeded1ffb537a87a423b2c0 | spam/ansiInventory.py | spam/ansiInventory.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | Make changes to get_hosts() to return a list of dict | Make changes to get_hosts() to return a list of dict
| Python | apache-2.0 | bdastur/spam,bdastur/spam | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
'''
if... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
AnsibleInventory:
INTRO:
USAGE:
"""
import os
import ansible.inventory
class AnsibleInventory(object):
'''
Ansible Inventory wrapper class.
'''
def __init__(self, inventory_filename):
'''
Initialize Inventory
... |
ffa3d12e5b45cad56367726bdce83de509bc33a7 | state_tracker/state_defs.py | state_tracker/state_defs.py | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | Fix defs for ReadPixels and GetChromiumParametervCR | Fix defs for ReadPixels and GetChromiumParametervCR
| Python | bsd-3-clause | rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | <commit_before># Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFuncti... | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_p... | <commit_before># Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """DESCRIPTION ""
EXPORTS
"""
keys = apiutil.GetDispatchedFuncti... |
2b249d8a81c51d30d9175ac033c7a0b208684d59 | tests/test_basic.py | tests/test_basic.py | import sys
import pubrunner
def test_countwords():
pubrunner.pubrun('examples/CountWords/',True,True)
| import sys
import pubrunner
import pubrunner.command_line
def test_countwords():
#pubrunner.pubrun('examples/CountWords/',True,True)
sys.argv = ['--test','examples/CountWords/']
pubrunner.command_line.main()
| Test case now runs main directly | Test case now runs main directly
| Python | mit | jakelever/pubrunner,jakelever/pubrunner | import sys
import pubrunner
def test_countwords():
pubrunner.pubrun('examples/CountWords/',True,True)
Test case now runs main directly | import sys
import pubrunner
import pubrunner.command_line
def test_countwords():
#pubrunner.pubrun('examples/CountWords/',True,True)
sys.argv = ['--test','examples/CountWords/']
pubrunner.command_line.main()
| <commit_before>import sys
import pubrunner
def test_countwords():
pubrunner.pubrun('examples/CountWords/',True,True)
<commit_msg>Test case now runs main directly<commit_after> | import sys
import pubrunner
import pubrunner.command_line
def test_countwords():
#pubrunner.pubrun('examples/CountWords/',True,True)
sys.argv = ['--test','examples/CountWords/']
pubrunner.command_line.main()
| import sys
import pubrunner
def test_countwords():
pubrunner.pubrun('examples/CountWords/',True,True)
Test case now runs main directlyimport sys
import pubrunner
import pubrunner.command_line
def test_countwords():
#pubrunner.pubrun('examples/CountWords/',True,True)
sys.argv = ['--test','examples/CountWords/']
p... | <commit_before>import sys
import pubrunner
def test_countwords():
pubrunner.pubrun('examples/CountWords/',True,True)
<commit_msg>Test case now runs main directly<commit_after>import sys
import pubrunner
import pubrunner.command_line
def test_countwords():
#pubrunner.pubrun('examples/CountWords/',True,True)
sys.ar... |
806d3293ebbbd0f30f923e73def902e9c14a0879 | tests/test_match.py | tests/test_match.py | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | Add test for the region reported for a failed match | tests: Add test for the region reported for a failed match
If the match fails at the first level of the pyramid algorithm (when
we're searching in a down-scaled version of the frame) then we have to
up-scale the region we report for the best (but not good enough) match.
This passes currently, but there was no test fo... | Python | lgpl-2.1 | martynjarvis/stb-tester,LewisHaley/stb-tester,LewisHaley/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,stb-tester/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,martynjarvis/stb-tester,... | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | <commit_before>import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.pn... | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.png", frame=black... | <commit_before>import cv2
import numpy
from nose.tools import raises
import stbt
from _stbt.core import _load_template
def black(width=1280, height=720):
return numpy.zeros((height, width, 3), dtype=numpy.uint8)
def test_that_matchresult_image_matches_template_passed_to_match():
assert stbt.match("black.pn... |
b72f3f6e180bc332579e71b4abeba2b36319a55e | regscrape/settings.py | regscrape/settings.py | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 50000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 10000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | Reduce dump increment to 10k. | Reduce dump increment to 10k.
| Python | bsd-3-clause | sunlightlabs/regulations-scraper,sunlightlabs/regulations-scraper,sunlightlabs/regulations-scraper | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 50000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 10000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | <commit_before>TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 50000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotg... | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 10000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 50000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotgov']
try:
... | <commit_before>TARGET_SERVER = 'www.regulations.gov'
DEBUG = True
DB_NAME = 'regulations'
ES_HOST = 'thrift://localhost:9500'
DATA_DIR = '/data'
EXTRACTORS = 2
DUMP_START = 0
DUMP_END = 3850000
DUMP_INCREMENT = 50000
MAX_WAIT = 600
CHUNK_SIZE = 10
FILTER = {}
INSTANCES = 2
THREADS_PER_INSTANCE = 2
SITES = ['regsdotg... |
d254cf6960f2d04e02ed252c4461994483a9d0f5 | launch_control/models/hw_device.py | launch_control/models/hw_device.py | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | Fix HardwareDevice docstring to match implementation | Fix HardwareDevice docstring to match implementation
| Python | agpl-3.0 | Linaro/lava-server,OSSystems/lava-server,OSSystems/lava-server,Linaro/lava-server,OSSystems/lava-server,Linaro/lava-server,Linaro/lava-server | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | <commit_before>"""
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individu... | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | """
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individual device types... | <commit_before>"""
Module with the HardwareDevice model.
"""
from launch_control.utils.json import PlainOldData
class HardwareDevice(PlainOldData):
"""
Model representing any HardwareDevice
A device is just a "device_type" attribute with a bag of properties
and a human readable description. Individu... |
b97fd14bba5d45a6e4e3caa02bd947bddfd0ba8b | tools/sniper_stats_jobid.py | tools/sniper_stats_jobid.py | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metricnames')
def get_snapshots(self):
... | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
self.names = self.read_metricnames()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metri... | Read metric names on startup for jobid-based stats so self.names is available as expected | [sniper_stats] Read metric names on startup for jobid-based stats so self.names is available as expected
| Python | mit | abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metricnames')
def get_snapshots(self):
... | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
self.names = self.read_metricnames()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metri... | <commit_before>import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metricnames')
def get_snapsh... | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
self.names = self.read_metricnames()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metri... | import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metricnames')
def get_snapshots(self):
... | <commit_before>import sniper_stats, intelqueue, iqclient
class SniperStatsJobid(sniper_stats.SniperStatsBase):
def __init__(self, jobid):
self.jobid = jobid
self.ic = iqclient.IntelClient()
def read_metricnames(self):
return self.ic.graphite_dbresults(self.jobid, 'read_metricnames')
def get_snapsh... |
2a17b9fdb55806d6397f506066a2a7e8c480020b | pylinks/main/tests.py | pylinks/main/tests.py | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | Add simple admin test just so we catch breakage early | Add simple admin test just so we catch breakage early
| Python | mit | michaelmior/pylinks,michaelmior/pylinks,michaelmior/pylinks | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | <commit_before>from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push... | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push(['_setAccount'... | <commit_before>from django.test import TestCase
from analytics.models import GoogleAnalytics
class GoogleAnalyticsTests(TestCase):
def test_ga_tracking(self):
GoogleAnalytics(site_id=1, web_property_id='12345').save()
response = self.client.get('/')
self.assertContains(response, "_gaq.push... |
36e8b7f7dd4de93c61f49d65106f2a0410945e2d | pyoracc/model/line.py | pyoracc/model/line.py | from mako.template import Template
class Line(object):
template = Template("""${label}. \\
% for word in words:
${word} \\
% endfor
% if lemmas:
\n#lem: \\
% for lemma in lemmas:
${lemma}; \\
% endfor \n
%endif
""", output_encoding='utf-8')
def __init__(self, label):
self.label = label
self.... | from mako.template import Template
class Line(object):
template = Template("""\n${label}.\t\\
${' '.join(words)}\\
% if references:
% for reference in references:
^${reference}^
% endfor
% endif
% if lemmas:
\n#lem:\\
${'; '.join(lemmas)}\\
% endif
% if notes:
\n
% for note in notes:
${note.serialize()}
% endfor
... | Use join for serializing words and lemmas to avoid printing last ; as required by ATF format. Print also references, notes and links. | Use join for serializing words and lemmas to avoid printing last ; as required by ATF format. Print also references, notes and links.
| Python | mit | UCL/pyoracc | from mako.template import Template
class Line(object):
template = Template("""${label}. \\
% for word in words:
${word} \\
% endfor
% if lemmas:
\n#lem: \\
% for lemma in lemmas:
${lemma}; \\
% endfor \n
%endif
""", output_encoding='utf-8')
def __init__(self, label):
self.label = label
self.... | from mako.template import Template
class Line(object):
template = Template("""\n${label}.\t\\
${' '.join(words)}\\
% if references:
% for reference in references:
^${reference}^
% endfor
% endif
% if lemmas:
\n#lem:\\
${'; '.join(lemmas)}\\
% endif
% if notes:
\n
% for note in notes:
${note.serialize()}
% endfor
... | <commit_before>from mako.template import Template
class Line(object):
template = Template("""${label}. \\
% for word in words:
${word} \\
% endfor
% if lemmas:
\n#lem: \\
% for lemma in lemmas:
${lemma}; \\
% endfor \n
%endif
""", output_encoding='utf-8')
def __init__(self, label):
self.label = labe... | from mako.template import Template
class Line(object):
template = Template("""\n${label}.\t\\
${' '.join(words)}\\
% if references:
% for reference in references:
^${reference}^
% endfor
% endif
% if lemmas:
\n#lem:\\
${'; '.join(lemmas)}\\
% endif
% if notes:
\n
% for note in notes:
${note.serialize()}
% endfor
... | from mako.template import Template
class Line(object):
template = Template("""${label}. \\
% for word in words:
${word} \\
% endfor
% if lemmas:
\n#lem: \\
% for lemma in lemmas:
${lemma}; \\
% endfor \n
%endif
""", output_encoding='utf-8')
def __init__(self, label):
self.label = label
self.... | <commit_before>from mako.template import Template
class Line(object):
template = Template("""${label}. \\
% for word in words:
${word} \\
% endfor
% if lemmas:
\n#lem: \\
% for lemma in lemmas:
${lemma}; \\
% endfor \n
%endif
""", output_encoding='utf-8')
def __init__(self, label):
self.label = labe... |
87b1d823f09a20547b08f769636bfc7bcc7f0766 | setup.py | setup.py | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | Call out these requirements too | Call out these requirements too
| Python | mit | markpasc/leapfrog,markpasc/leapfrog | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | <commit_before>from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'dja... | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'django_celery', 'h... | <commit_before>from setuptools import setup
setup(
name='rhino',
version='1.0',
packages=['rhino'],
include_package_data=True,
#requires=['Django', 'south', 'celery', 'django_celery', 'httplib2', 'passogva', 'BeautifulSoup(<3.1)', 'jinja2'],
#install_requires=['Django', 'south', 'celery', 'dja... |
58701c0d750714f8ded53627b0f8c22f256376c6 | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | Use pkg_resources to read README.rst | Use pkg_resources to read README.rst
| Python | apache-2.0 | JioCloud/basicdb,varunarya10/basicdb,sorenh/basicdb | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | #!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... | <commit_before>#!/usr/bin/env python
# Copyright (c) 2013 Soren Hansen
#
# 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... |
7d8e91ce410bf1add9a21777afc0517198c11ced | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "OvhApi",
version = "1.0",
description='Python module to manage Ovh API',
author='Guilhem Lettron',
author_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
| from setuptools import setup, find_packages
setup(
name = "ovhapi",
version = "1.0",
description='Python module to manage Ovh API',
maintainer='Guilhem Lettron',
maintainer_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
| Change Name to ovhapi Set me as maintainer (not author) | Change Name to ovhapi
Set me as maintainer (not author)
| Python | bsd-3-clause | optiflows/ovhapi | from setuptools import setup, find_packages
setup(
name = "OvhApi",
version = "1.0",
description='Python module to manage Ovh API',
author='Guilhem Lettron',
author_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
Change Name ... | from setuptools import setup, find_packages
setup(
name = "ovhapi",
version = "1.0",
description='Python module to manage Ovh API',
maintainer='Guilhem Lettron',
maintainer_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
| <commit_before>from setuptools import setup, find_packages
setup(
name = "OvhApi",
version = "1.0",
description='Python module to manage Ovh API',
author='Guilhem Lettron',
author_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),... | from setuptools import setup, find_packages
setup(
name = "ovhapi",
version = "1.0",
description='Python module to manage Ovh API',
maintainer='Guilhem Lettron',
maintainer_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
| from setuptools import setup, find_packages
setup(
name = "OvhApi",
version = "1.0",
description='Python module to manage Ovh API',
author='Guilhem Lettron',
author_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),
)
Change Name ... | <commit_before>from setuptools import setup, find_packages
setup(
name = "OvhApi",
version = "1.0",
description='Python module to manage Ovh API',
author='Guilhem Lettron',
author_email='[email protected]',
url='https://github.com/optiflows/OvhApi',
packages = find_packages(),... |
360a8c395373bcab0b725b1ac8f8dfd581d6e2b9 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | Add Python34 and Python35 to classifiers | Add Python34 and Python35 to classifiers
| Python | bsd-3-clause | Alir3z4/python-stop-words | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | <commit_before>from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Al... | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Alireza Savand',
... | <commit_before>from setuptools import setup, find_packages
setup(
name='stop-words',
version=__import__("stop_words").get_version(),
description='Get list of common stop words in various languages in Python',
long_description=open('README.rst').read(),
license=open('LICENSE').read(),
author='Al... |
27434395a599d7e42d2295056396937d89bb53a6 | setup.py | setup.py | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | Add DRF as a dev dependency | Add DRF as a dev dependency
| Python | mit | PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https:/... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU... | <commit_before>import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
install_requires = [
'django-local-settings>=1.0a10',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils',
version=VERSION,
url='https:/... |
5392af2781d6a6a7c71c15ab7699feb3e3b8f2f2 | setup.py | setup.py | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | Add package data for GeoIP DB | Add package data for GeoIP DB
| Python | mit | pebble/pypkjs | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | <commit_before>__author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(... | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | __author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(name='pypkjs',
... | <commit_before>__author__ = 'katharine'
import os
import sys
from setuptools import setup, find_packages
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = [line.strip() for line in requirements_file.readlines()]
setup(... |
e8770775250371766f47317a8aa40e034a5d75de | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.1.1',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.2.0',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | Move release version up to 0.2.0 | Move release version up to 0.2.0
| Python | bsd-2-clause | ehouse/mirrors | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.1.1',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.2.0',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.1.1',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=req... | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.2.0',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | #!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.1.1',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=requires,
zi... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
requires = [
]
setup(name='mirrors',
version='0.1.1',
description='rsync mirror manager',
author='Ethan House',
author_email='[email protected]',
packages=find_packages(),
install_requires=req... |
a463ac8ae112dd19bfc1c8e2df170023114ded07 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
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, find_packages
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... | Remove 3.5 for now. It's not added to PyPI yet. | Remove 3.5 for now. It's not added to PyPI yet.
| Python | bsd-3-clause | berkerpeksag/astor | #!/usr/bin/env python
from setuptools import setup, find_packages
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, find_packages
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... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
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',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
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, find_packages
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... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
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',
... |
9275bc3a9373e453e06f0aebc883a773dfb97627 | setup.py | setup.py | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | Remove BeautifulSoup from direct dependency list. | Remove BeautifulSoup from direct dependency list.
| Python | bsd-3-clause | tiddlyweb/tiddlywebwiki,tiddlyweb/tiddlywebwiki,tiddlyweb/tiddlywebwiki | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | <commit_before>from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
pack... | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
packages = find_pac... | <commit_before>from setuptools import setup, find_packages
from tiddlywebwiki import __version__ as VERSION
setup(
name = 'tiddlywebwiki',
version = VERSION,
description = 'A TiddlyWeb plugin to provide a multi-user TiddlyWiki environment.',
author = 'FND',
author_email = '[email protected]',
pack... |
7d547301e047556a7f95a76e80c0cf1fde5aa960 | setup.py | setup.py | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | Add Python 3.5 to trove classifiers | Add Python 3.5 to trove classifiers
| Python | bsd-3-clause | jpvanhal/python-transfluent | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | <commit_before>import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE... | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
se... | <commit_before>import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'transfluent.py')
contents = open(filename).read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE... |
aa647c7e9a35b2293739c55e353319d2626f1f33 | setup.py | setup.py | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | Add the kmsi script to the install files. | Add the kmsi script to the install files.
| Python | mit | ElricleNecro/kmsi | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | <commit_before>#! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os,... | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | #! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os, sys, glob
imp... | <commit_before>#! /usr/bin/env python3
# -*- coding:Utf8 -*-
#--------------------------------------------------------------------------------------------------------------
# All necessary import:
#--------------------------------------------------------------------------------------------------------------
import os,... |
f92c37200bb889188af21f0280c908f1bc2bcbff | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | Add Python 3 Only trove classifier | Add Python 3 Only trove classifier
| Python | bsd-2-clause | incuna/incuna-pigeon | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | <commit_before>from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Devel... | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :... | <commit_before>from setuptools import setup, find_packages
setup(
name='incuna-pigeon',
version='0.0.0',
description='Notification management',
url='https://github.com/incuna/incuna-pigeon',
author='Incuna',
author_email='[email protected]',
license='BSD',
classifiers=[
'Devel... |
51c65f37ea5f0d2cd98de8e63f541d533e1f8a65 | setup.py | setup.py | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | Update GitHub repos from blancltd to developersociety | Update GitHub repos from blancltd to developersociety
| Python | bsd-3-clause | blancltd/django-paginationlinks | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | <commit_before>#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='... | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='https://github.... | <commit_before>#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-paginationlinks',
version='0.1.1',
description='Django Pagination Links',
long_description=readme,
url='... |
e8efd3b22d7b301771d72b2d7b9ca4cca474e302 | setup.py | setup.py |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... | Downgrade pytest version to be able to use default shippable minion | Downgrade pytest version to be able to use default shippable minion
| Python | mit | gusajz/pelican-do,gusajz/pelican-do |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... | <commit_before>
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requi... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... |
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': [
'cl... | <commit_before>
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'pelican-do',
'author': 'Commands to automate common pelican tasks',
'url': '',
'download_url': '',
'author_email': '[email protected]',
'version': '0.1',
'install_requi... |
b7acc8ca9c6c41aff7ffb419125f54d21da09652 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
install_requires=['ply']
)
| Add dependency to ply package | Add dependency to ply package
| Python | apache-2.0 | sb98052/plyprotobuf | #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
)
Add dependency to ply package | #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
install_requires=['ply']
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
)
<commit_msg>Add dependen... | #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
install_requires=['ply']
)
| #!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
)
Add dependency to ply package#!/usr/bin... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='plyprotobuf',
version='1.0',
description='Protobuf Parsing Library that uses ply',
author='Dusan Klinec',
url='https://github.com/sb98052/plyprotobuf',
packages=['plyproto'],
)
<commit_msg>Add dependen... |
08b4cc4e065e63eef522756888fa8a75d9bf6ddb | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.3',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.4',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | Fix find packages Bump version | Fix find packages
Bump version
| Python | bsd-3-clause | limbera/django-nap,MarkusH/django-nap | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.3',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.4',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.3',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
... | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.4',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.3',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
packages = find... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-nap',
version='0.3',
description='A light REST tool for Django',
author='Curtis Maloney',
author_email='[email protected]',
url='http://github.com/funkybob/django-nap',
keywords=['django', 'json', 'rest'],
... |
1bb67543b4187ee05c616afb731c229aaa94fdd3 | setup.py | setup.py | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | Adjust version number to match other deliveries | Adjust version number to match other deliveries
Set version from 2.7 to 2012.1 to match the other OpenStack
Keystone deliveries (python-keystoneclient will be released
as part of Keystone 2012.1~e3). Also adjusted the location
of the git repository to match new location. Fixes bug 917656.
Change-Id: I4d8d071e3cdc5665... | Python | apache-2.0 | citrix-openstack-build/keystoneauth,jamielennox/keystoneauth,sileht/keystoneauth | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | <commit_before>import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python-keystoneclient... | <commit_before>import os
import sys
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requirements = ['httplib2', 'argparse', 'prettytable']
if sys.version_info < (2, 6):
requirements.append('simplejson')
setup(
name = "python... |
710d41a1c1b328793224975ee5afc4aebe462f28 | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '0.4'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | from setuptools import setup, find_packages
import os
version = '0.5'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | Raise version and change keywords for upcoming release | Raise version and change keywords for upcoming release
| Python | mit | TurboGears/tgext.admin,TurboGears/tgext.admin | from setuptools import setup, find_packages
import os
version = '0.4'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | from setuptools import setup, find_packages
import os
version = '0.5'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | <commit_before>from setuptools import setup, find_packages
import os
version = '0.4'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name=... | from setuptools import setup, find_packages
import os
version = '0.5'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | from setuptools import setup, find_packages
import os
version = '0.4'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name='tgext.admin',
... | <commit_before>from setuptools import setup, find_packages
import os
version = '0.4'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'docs/HISTORY.txt')).read()
except IOError:
README = CHANGES = ''
setup(name=... |
c983c4dc27c547dab0c5f4afd5438231d26ce840 | setup.py | setup.py | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | Remove GDAL requirement (it's not a direct dependency) | Remove GDAL requirement (it's not a direct dependency)
| Python | bsd-3-clause | consbio/ncdjango,consbio/ncdjango | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | <commit_before>from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.int... | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.interfaces.arcgis'... | <commit_before>from setuptools import setup
setup(
name='ncdjango',
description='A map server for NetCDF data',
keywords='netcdf,django,map server',
version='0.4.0',
packages=[
'ncdjango', 'ncdjango.geoprocessing', 'ncdjango.migrations', 'ncdjango.interfaces',
'ncdjango.int... |
0a33b7d8df544226df711db33a27f45421c19290 | setup.py | setup.py | from setuptools import setup
version = '2.0.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='Shopify',
author_email='[email protected]',
url='https://github.com/Shopify/pyactiveresource/',
packages=['pyactiveresource', 'pyacti... | from setuptools import setup
import sys
version = '2.0.0'
if sys.version_info >= (3,):
python_dateutils_version = 'python-dateutil>=2.0'
else:
python_dateutils_version = 'python-dateutil<2.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='S... | Use the right version of python-dateutils when using python 3. | Use the right version of python-dateutils when using python 3.
| Python | mit | metric-collective/pyactiveresource,piran/pyactiveresource,varesa/pyactiveresource,hockeybuggy/pyactiveresource | from setuptools import setup
version = '2.0.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='Shopify',
author_email='[email protected]',
url='https://github.com/Shopify/pyactiveresource/',
packages=['pyactiveresource', 'pyacti... | from setuptools import setup
import sys
version = '2.0.0'
if sys.version_info >= (3,):
python_dateutils_version = 'python-dateutil>=2.0'
else:
python_dateutils_version = 'python-dateutil<2.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='S... | <commit_before>from setuptools import setup
version = '2.0.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='Shopify',
author_email='[email protected]',
url='https://github.com/Shopify/pyactiveresource/',
packages=['pyactiveres... | from setuptools import setup
import sys
version = '2.0.0'
if sys.version_info >= (3,):
python_dateutils_version = 'python-dateutil>=2.0'
else:
python_dateutils_version = 'python-dateutil<2.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='S... | from setuptools import setup
version = '2.0.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='Shopify',
author_email='[email protected]',
url='https://github.com/Shopify/pyactiveresource/',
packages=['pyactiveresource', 'pyacti... | <commit_before>from setuptools import setup
version = '2.0.0'
setup(name='pyactiveresource',
version=version,
description='ActiveResource for Python',
author='Shopify',
author_email='[email protected]',
url='https://github.com/Shopify/pyactiveresource/',
packages=['pyactiveres... |
973473bd7ba0e19e8e86492d4e15b272c441b278 | setup.py | setup.py | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | Swap find_packages for a manual list | Swap find_packages for a manual list
This is required to support PEP420 namespace packages.
| Python | apache-2.0 | asyncdef/engine | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | <commit_before>"""Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
descriptio... | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | """Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
description='Core event l... | <commit_before>"""Setuptools configuration for engine."""
from setuptools import setup
from setuptools import find_packages
with open('README.rst', 'r') as readmefile:
README = readmefile.read()
setup(
name='asyncdef.engine',
version='0.1.0',
url='https://github.com/asyncdef/engine',
descriptio... |
5acb2258164ce5f8d7c8c297b32534547e861450 | lms/djangoapps/debug/views.py | lms/djangoapps/debug/views.py | """Views for debugging and diagnostics"""
import pprint
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
@login_required
... | """Views for debugging and diagnostics"""
import pprint
import traceback
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
... | Print the full traceback when execution fails. | Print the full traceback when execution fails.
| Python | agpl-3.0 | cpennington/edx-platform,Shrhawk/edx-platform,chrisndodge/edx-platform,xinjiguaike/edx-platform,leansoft/edx-platform,jamiefolsom/edx-platform,chand3040/cloud_that,nttks/jenkins-test,PepperPD/edx-pepper-platform,edry/edx-platform,naresh21/synergetics-edx-platform,doganov/edx-platform,adoosii/edx-platform,eduNEXT/edx-pl... | """Views for debugging and diagnostics"""
import pprint
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
@login_required
... | """Views for debugging and diagnostics"""
import pprint
import traceback
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
... | <commit_before>"""Views for debugging and diagnostics"""
import pprint
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
@... | """Views for debugging and diagnostics"""
import pprint
import traceback
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
... | """Views for debugging and diagnostics"""
import pprint
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
@login_required
... | <commit_before>"""Views for debugging and diagnostics"""
import pprint
from django.http import Http404
from django.contrib.auth.decorators import login_required
from django_future.csrf import ensure_csrf_cookie, csrf_exempt
from mitxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec
@... |
4b03c2c39c90bd1563954df16f353348f20d7280 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | Add install_requires and remove ctypes from requirements. | Add install_requires and remove ctypes from requirements.
| Python | mit | thebjorn/doscmd-screen | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Env... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Environment :: Win... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The Screen class lets you to do positioned writes to the dos terminal.
The Screen class also allows you to specify the colors for foreground and
background, to the extent the dos terminal allows.
"""
classifiers = """\
Development Status :: 3 - Alpha
Env... |
7182f52f495174dc7a9689100f5298e848b8229c | setup.py | setup.py | """Cloud browser package."""
from setuptools import setup, find_packages
from cloud_browser import __version__
# Base packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
setup(
name="django-cloud-browser",
version=__version__,
description="Django Cloud... | """Cloud browser package."""
from __future__ import with_statement
import os
from setuptools import setup, find_packages
from cloud_browser import __version__
###############################################################################
# Base packages.
#############################################################... | Add long description read straight from README. | Setup: Add long description read straight from README.
| Python | mit | ryan-roemer/django-cloud-browser,ryan-roemer/django-cloud-browser,UrbanDaddy/django-cloud-browser,UrbanDaddy/django-cloud-browser,ryan-roemer/django-cloud-browser | """Cloud browser package."""
from setuptools import setup, find_packages
from cloud_browser import __version__
# Base packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
setup(
name="django-cloud-browser",
version=__version__,
description="Django Cloud... | """Cloud browser package."""
from __future__ import with_statement
import os
from setuptools import setup, find_packages
from cloud_browser import __version__
###############################################################################
# Base packages.
#############################################################... | <commit_before>"""Cloud browser package."""
from setuptools import setup, find_packages
from cloud_browser import __version__
# Base packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
setup(
name="django-cloud-browser",
version=__version__,
descriptio... | """Cloud browser package."""
from __future__ import with_statement
import os
from setuptools import setup, find_packages
from cloud_browser import __version__
###############################################################################
# Base packages.
#############################################################... | """Cloud browser package."""
from setuptools import setup, find_packages
from cloud_browser import __version__
# Base packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
setup(
name="django-cloud-browser",
version=__version__,
description="Django Cloud... | <commit_before>"""Cloud browser package."""
from setuptools import setup, find_packages
from cloud_browser import __version__
# Base packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
setup(
name="django-cloud-browser",
version=__version__,
descriptio... |
18e07203967dc2ee53a992e61ab709fc0a58d882 | setup.py | setup.py | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | Use io.open with UTF-8 encoding to avoid UnicodeDecodeError | Use io.open with UTF-8 encoding to avoid UnicodeDecodeError
| Python | mit | auth0/auth0-python,auth0/auth0-python | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | <commit_before>import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
ret... | <commit_before>import io
import os
import re
from setuptools import setup, find_packages
def find_version():
file_dir = os.path.dirname(__file__)
with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f:
version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read())
if version:
... |
8a3d4015136d6aebccb092208f7c6d02b5c93e13 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | Add bidict to required packages | Add bidict to required packages
| Python | mit | SBRG/ssbio,nmih/ssbio,nmih/ssbio,SBRG/ssbio | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | <commit_before>from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=f... | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=find_packages(),... | <commit_before>from setuptools import setup, find_packages
setup(
name='ssbio',
version='0.1',
author='Nathan Mih',
author_email='[email protected]',
license='MIT',
url='http://github.com/nmih/ssbio',
description='Various tools and functions to enable structural systems biology',
packages=f... |
695743c3a887224c212b434de7d6e2ccf08d4620 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | Fix other SyntaxError: invalid syntax | Fix other SyntaxError: invalid syntax
Fix
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-7dj0aup6-build/setup.py", line 19
classifiers=[
^
SyntaxError: invalid syntax | Python | bsd-3-clause | SalahAdDin/wagtail-embedvideos,SalahAdDin/wagtail-embedvideos,infoportugal/wagtail-embedvideos,infoportugal/wagtail-embedvideos,SalahAdDin/wagtail-embedvideos,infoportugal/wagtail-embedvideos | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
maintainer_e... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name='wagtail_embed_videos',
version='0.0.5',
description='Embed Videos for Wagtail CMS.',
long_description=README,
author='Diogo Marques',
author_email='[email protected]',
maintainer='Diogo Marques',
... |
55745f668715c294cd5662712b2d1ccb7726f125 | setup.py | setup.py | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | Add south as a dependency, so we can apply a version. Does not need to be installed in INSTALLED_APPS. | Add south as a dependency, so we can apply a version.
Does not need to be installed in INSTALLED_APPS.
| Python | bsd-3-clause | schinckel/django-boardinghouse,schinckel/django-boardinghouse,schinckel/django-boardinghouse | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | <commit_before>from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "mat... | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "[email protected]... | <commit_before>from distutils.core import setup
import multi_schema
setup(
name = "django-multi-schema",
version = multi_schema.__version__,
description = "Postgres schema support in django.",
url = "http://hg.schinckel.net/django-multi-schema",
author = "Matthew Schinckel",
author_email = "mat... |
a84eca4bffd30c068194cc6c6d8176178fe26e78 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | Move Django out of `install_requires` to to `requires` block. | Move Django out of `install_requires` to to `requires` block.
| Python | apache-2.0 | Afnarel/django-fluent-comments,BangorUniversity/django-fluent-comments,mgpyh/django-fluent-comments,akszydelko/django-fluent-comments,PetrDlouhy/django-fluent-comments,django-fluent/django-fluent-comments,mgpyh/django-fluent-comments,PetrDlouhy/django-fluent-comments,PetrDlouhy/django-fluent-comments,Afnarel/django-flu... | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compil... | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | #!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compilemessages impor... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import dirname, join
import sys, os
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv:
try:
os.chdir('fluent_comments')
from django.core.management.commands.compil... |
b588213ccf61a45a1e0e96f626c528483b3aea7e | setup.py | setup.py | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='Gen... | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1dev',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='... | Change version number to 0.1dev | Change version number to 0.1dev
| Python | bsd-3-clause | SimonSapin/Frozen-Flask,SimonSapin/Frozen-Flask,SimonSapin/Frozen-Flask | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='Gen... | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1dev',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='... | <commit_before>"""
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
d... | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1dev',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='... | """
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
description='Gen... | <commit_before>"""
Flask-Static
---------------
Generates a static website from a Flask application.
"""
from setuptools import setup
setup(
name='Flask-Static',
version='0.1',
url='http://exyr.org/Flask-Static/',
license='BSD',
author='Simon Sapin',
author_email='[email protected]',
d... |
53440a46cb38194e12c383a718f392b9da2175b6 | setup.py | setup.py | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
setuptools.setup(
name='mrpt',
version='0.1',
url='http://github.com/teemupitkanen/mrpt',
install_requires=[],
packages={ '.': 'mrpt' },
zip_safe=False,
test_suite='py.test',
entry_points='',
ext_modu... | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
# Not all CPUs have march as a tuning parameter
import platform
cputune = ['-march=native',]
if platform.machine() == "ppc64le":
cputune = ['-mcpu=native',]
setuptools.setup(
name='mrpt',
version='0.1',
url='http://gith... | Solve ppc64le build due to unexisting -march | Solve ppc64le build due to unexisting -march
On ppc64le (e.g: POWER8 machines), the -mcpu should be used instead.
| Python | mit | teemupitkanen/mrpt,teemupitkanen/mrpt,teemupitkanen/mrpt | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
setuptools.setup(
name='mrpt',
version='0.1',
url='http://github.com/teemupitkanen/mrpt',
install_requires=[],
packages={ '.': 'mrpt' },
zip_safe=False,
test_suite='py.test',
entry_points='',
ext_modu... | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
# Not all CPUs have march as a tuning parameter
import platform
cputune = ['-march=native',]
if platform.machine() == "ppc64le":
cputune = ['-mcpu=native',]
setuptools.setup(
name='mrpt',
version='0.1',
url='http://gith... | <commit_before>#!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
setuptools.setup(
name='mrpt',
version='0.1',
url='http://github.com/teemupitkanen/mrpt',
install_requires=[],
packages={ '.': 'mrpt' },
zip_safe=False,
test_suite='py.test',
entry_points='... | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
# Not all CPUs have march as a tuning parameter
import platform
cputune = ['-march=native',]
if platform.machine() == "ppc64le":
cputune = ['-mcpu=native',]
setuptools.setup(
name='mrpt',
version='0.1',
url='http://gith... | #!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
setuptools.setup(
name='mrpt',
version='0.1',
url='http://github.com/teemupitkanen/mrpt',
install_requires=[],
packages={ '.': 'mrpt' },
zip_safe=False,
test_suite='py.test',
entry_points='',
ext_modu... | <commit_before>#!/usr/bin/python
import setuptools
import numpy
from setuptools import Extension
setuptools.setup(
name='mrpt',
version='0.1',
url='http://github.com/teemupitkanen/mrpt',
install_requires=[],
packages={ '.': 'mrpt' },
zip_safe=False,
test_suite='py.test',
entry_points='... |
a714511115bfee0fbdc6c70bd0abfceaa08384f6 | idlk/__init__.py | idlk/__init__.py | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
import idlk.base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:
_get_byte = ord
def hash_macroman(data):
h = 0
for c in data:
h ... | """
A lock filename generator for idlk files used by a well known DTP suite.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
from idlk import base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:... | Fix issues reported by pylint | Fix issues reported by pylint
| Python | mit | znerol/py-idlk | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
import idlk.base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:
_get_byte = ord
def hash_macroman(data):
h = 0
for c in data:
h ... | """
A lock filename generator for idlk files used by a well known DTP suite.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
from idlk import base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
import idlk.base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:
_get_byte = ord
def hash_macroman(data):
h = 0
for c in d... | """
A lock filename generator for idlk files used by a well known DTP suite.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
from idlk import base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:... | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
import idlk.base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:
_get_byte = ord
def hash_macroman(data):
h = 0
for c in data:
h ... | <commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import os
import sys
import unicodedata
import idlk.base41
if sys.version_info[0] == 3:
_get_byte = lambda c: c
else:
_get_byte = ord
def hash_macroman(data):
h = 0
for c in d... |
3bc0876e7bae2cfb62724f1e5dce1a93f71b7252 | docstring_parser/parser/__init__.py | docstring_parser/parser/__init__.py | """Docstring parsing."""
from . import rest
from .common import ParseError
_styles = {"rest": rest.parse}
def parse(text: str, style: str = "auto"):
"""
Parse the docstring into its components.
:param str text: docstring text to parse
:param text style: docstring style, choose from: 'rest', 'auto'... | """Docstring parsing."""
from . import rest
from .common import ParseError, Docstring
_styles = {"rest": rest.parse}
def _parse_score(docstring: Docstring) -> int:
"""
Produce a score for the parsing.
:param Docstring docstring: parsed docstring representation
:returns int: parse score, higher is ... | Fix parsing when style specified, add 'auto' score | Fix parsing when style specified, add 'auto' score
| Python | mit | rr-/docstring_parser | """Docstring parsing."""
from . import rest
from .common import ParseError
_styles = {"rest": rest.parse}
def parse(text: str, style: str = "auto"):
"""
Parse the docstring into its components.
:param str text: docstring text to parse
:param text style: docstring style, choose from: 'rest', 'auto'... | """Docstring parsing."""
from . import rest
from .common import ParseError, Docstring
_styles = {"rest": rest.parse}
def _parse_score(docstring: Docstring) -> int:
"""
Produce a score for the parsing.
:param Docstring docstring: parsed docstring representation
:returns int: parse score, higher is ... | <commit_before>"""Docstring parsing."""
from . import rest
from .common import ParseError
_styles = {"rest": rest.parse}
def parse(text: str, style: str = "auto"):
"""
Parse the docstring into its components.
:param str text: docstring text to parse
:param text style: docstring style, choose from:... | """Docstring parsing."""
from . import rest
from .common import ParseError, Docstring
_styles = {"rest": rest.parse}
def _parse_score(docstring: Docstring) -> int:
"""
Produce a score for the parsing.
:param Docstring docstring: parsed docstring representation
:returns int: parse score, higher is ... | """Docstring parsing."""
from . import rest
from .common import ParseError
_styles = {"rest": rest.parse}
def parse(text: str, style: str = "auto"):
"""
Parse the docstring into its components.
:param str text: docstring text to parse
:param text style: docstring style, choose from: 'rest', 'auto'... | <commit_before>"""Docstring parsing."""
from . import rest
from .common import ParseError
_styles = {"rest": rest.parse}
def parse(text: str, style: str = "auto"):
"""
Parse the docstring into its components.
:param str text: docstring text to parse
:param text style: docstring style, choose from:... |
0e1bdcb4e6d2404bb832ab86ec7bf526c1c90bbb | teami18n/teami18n/models.py | teami18n/teami18n/models.py | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
class Podcast(models.Model):
story_id = models.CharField(max_length=16, unique=True)
link = models.UR... | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
def __unicode__(self):
return self.code
class Podcast(models.Model):
story_id = models.CharF... | Add nice name for working in the shell | Add nice name for working in the shell
| Python | mit | team-i18n/hackaway,team-i18n/hackaway,team-i18n/hackaway | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
class Podcast(models.Model):
story_id = models.CharField(max_length=16, unique=True)
link = models.UR... | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
def __unicode__(self):
return self.code
class Podcast(models.Model):
story_id = models.CharF... | <commit_before>from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
class Podcast(models.Model):
story_id = models.CharField(max_length=16, unique=True)
l... | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
def __unicode__(self):
return self.code
class Podcast(models.Model):
story_id = models.CharF... | from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
class Podcast(models.Model):
story_id = models.CharField(max_length=16, unique=True)
link = models.UR... | <commit_before>from django.db import models
from django_countries import countries
class Country(models.Model):
code = models.CharField(max_length=2, choices=tuple(countries),
unique=True)
class Podcast(models.Model):
story_id = models.CharField(max_length=16, unique=True)
l... |
e1a0e3e6895ce14822b111ee17b182a79b7b28c9 | miniraf/calc.py | miniraf/calc.py | def create_parser(subparsers):
pass
| import argparse
from astropy.io import fits
import sys
OP_MAP = {"+": lambda x, y: x + y,
"-": lambda x, y: x - y,
"*": lambda x, y: x * y,
"/": lambda x, y: x / y}
def create_parser(subparsers):
parser_calc = subparsers.add_parser("calc", help="calc help")
parser_calc.add_argume... | Add simple four-function output option | Add simple four-function output option
Signed-off-by: Lizhou Sha <[email protected]>
| Python | mit | vulpicastor/miniraf | def create_parser(subparsers):
pass
Add simple four-function output option
Signed-off-by: Lizhou Sha <[email protected]> | import argparse
from astropy.io import fits
import sys
OP_MAP = {"+": lambda x, y: x + y,
"-": lambda x, y: x - y,
"*": lambda x, y: x * y,
"/": lambda x, y: x / y}
def create_parser(subparsers):
parser_calc = subparsers.add_parser("calc", help="calc help")
parser_calc.add_argume... | <commit_before>def create_parser(subparsers):
pass
<commit_msg>Add simple four-function output option
Signed-off-by: Lizhou Sha <[email protected]><commit_after> | import argparse
from astropy.io import fits
import sys
OP_MAP = {"+": lambda x, y: x + y,
"-": lambda x, y: x - y,
"*": lambda x, y: x * y,
"/": lambda x, y: x / y}
def create_parser(subparsers):
parser_calc = subparsers.add_parser("calc", help="calc help")
parser_calc.add_argume... | def create_parser(subparsers):
pass
Add simple four-function output option
Signed-off-by: Lizhou Sha <[email protected]>import argparse
from astropy.io import fits
import sys
OP_MAP = {"+": lambda x, y: x + y,
"-": lambda x, y: x - y,
"*": lambda x, y: x * y,
... | <commit_before>def create_parser(subparsers):
pass
<commit_msg>Add simple four-function output option
Signed-off-by: Lizhou Sha <[email protected]><commit_after>import argparse
from astropy.io import fits
import sys
OP_MAP = {"+": lambda x, y: x + y,
"-": lambda x, y: x - ... |
8ca16832b54c887e6e3a84d7018181bf7e55fba0 | comrade/core/context_processors.py | comrade/core/context_processors.py | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | Add SSL media context processor. | Add SSL media context processor.
| Python | mit | bueda/django-comrade | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | <commit_before>from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTIO... | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTION:
cont... | <commit_before>from django.conf import settings
from django.contrib.sites.models import Site
from settings import DeploymentType
def default(request):
context = {}
context['DEPLOYMENT'] = settings.DEPLOYMENT
context['site'] = Site.objects.get_current()
if settings.DEPLOYMENT != DeploymentType.PRODUCTIO... |
7a85762ead43d8ba75547488eecda120417e8c2a | lib/python/opendiamond/helpers.py | lib/python/opendiamond/helpers.py | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | Remove Python wrapper function for executing cookiecutter program | Remove Python wrapper function for executing cookiecutter program
| Python | epl-1.0 | cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | <commit_before>#
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTI... | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | #
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTION OR DISTRIBUT... | <commit_before>#
# The OpenDiamond Platform for Interactive Search
# Version 4
#
# Copyright (c) 2009 Carnegie Mellon University
# All rights reserved.
#
# This software is distributed under the terms of the Eclipse Public
# License, Version 1.0 which can be found in the file named LICENSE.
# ANY USE, REPRODUCTI... |
41b241de6f2afa94b442007518d481526bfb66ae | linked-list/remove-k-from-list.py | linked-list/remove-k-from-list.py | # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
| # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
class LinkedList(object):
def __init__(self, head=None):
self.head = head
| Add initialization to linked list class | Add initialization to linked list class
| Python | mit | derekmpham/interview-prep,derekmpham/interview-prep | # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
Add initialization to linked list class | # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
class LinkedList(object):
def __init__(self, head=None):
self.head = head
| <commit_before># Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
<commit_msg>Add initialization to linked list class<commit_after> | # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
class LinkedList(object):
def __init__(self, head=None):
self.head = head
| # Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
Add initialization to linked list class# Given a singly linked list of integers l and an... | <commit_before># Given a singly linked list of integers l and an integer k, remove all elements from list l that have a value equal to k
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
<commit_msg>Add initialization to linked list class<commit_after># Given ... |
da50d1b66f662f5e3e1b89fd88632f7076c32084 | apps/careers/models.py | apps/careers/models.py | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | Remove duplicate fields from Career | Remove duplicate fields from Career
| Python | mit | onespacemedia/cms-jobs,onespacemedia/cms-jobs | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | <commit_before>from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
... | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
per_page = mo... | <commit_before>from cms import sitemaps
from cms.apps.pages.models import ContentBase
from cms.models import HtmlField, PageBase
from django.db import models
from historylinks import shortcuts as historylinks
class Careers(ContentBase):
classifier = 'apps'
urlconf = '{{ project_name }}.apps.careers.urls'
... |
8416a3ed1a6af2d0037f77744d809441591086cd | mrp_bom_location/models/mrp_bom.py | mrp_bom_location/models/mrp_bom.py | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | Make the related location readonly | [IMP] Make the related location readonly
| Python | agpl-3.0 | OCA/manufacture,OCA/manufacture | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | <commit_before># Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_d... | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_dest_id',
... | <commit_before># Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class MrpBom(models.Model):
_inherit = "mrp.bom"
location_id = fields.Many2one(
related='picking_type_id.default_location_d... |
57a7651ba9583830ab32fae0bb8d790bb2bdb6a8 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.2.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | #!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.3.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | Change the version number to 3.0 | Change the version number to 3.0
The most notable change from 2.0 is the new initializer.
| Python | mit | tschijnmo/programmabletuple | #!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.2.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | #!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.3.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.2.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.3.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | #!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.2.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='[email protected]'... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='programmabletuple',
version='0.2.0',
description='Python metaclass for making named tuples with programmability',
long_description=open('README.rst').read(),
author='Tschijnmo TSCHAU',
author_email='tschijnmots... |
21afbaab7deb874703f4968ea1337b59120f0ad0 | music-stream.py | music-stream.py | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
url = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
with urllib.request.urlopen(url) as response:
html = response.read().decode('utf8')
i = 0
urls = []
for line in html.split(','... | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
STREAMS_URL = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
while True:
with urllib.request.urlopen(STREAMS_URL) as response:
html = response.read().decode('utf8')
i ... | Refresh streams list when player is closed | Refresh streams list when player is closed | Python | mit | GaudyZircon/music-stream | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
url = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
with urllib.request.urlopen(url) as response:
html = response.read().decode('utf8')
i = 0
urls = []
for line in html.split(','... | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
STREAMS_URL = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
while True:
with urllib.request.urlopen(STREAMS_URL) as response:
html = response.read().decode('utf8')
i ... | <commit_before>import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
url = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
with urllib.request.urlopen(url) as response:
html = response.read().decode('utf8')
i = 0
urls = []
for line in... | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
STREAMS_URL = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
while True:
with urllib.request.urlopen(STREAMS_URL) as response:
html = response.read().decode('utf8')
i ... | import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
url = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
with urllib.request.urlopen(url) as response:
html = response.read().decode('utf8')
i = 0
urls = []
for line in html.split(','... | <commit_before>import urllib.request
import subprocess
LIMIT = 10
PLAYER = 'vlc'
url = 'http://streams.twitch.tv/kraken/streams?limit='+str(LIMIT)+'&offset=0&game=Music&broadcaster_language=&on_site=1'
with urllib.request.urlopen(url) as response:
html = response.read().decode('utf8')
i = 0
urls = []
for line in... |
9d9827721e3d4c45f8917662d2f59759fb4ecd66 | muv/__init__.py | muv/__init__.py | """
Miscellaneous utilities.
"""
import numpy as np
def kennard_stone(d, k):
"""
Use the Kennard-Stone algorithm to select k maximally separated
examples from a dataset.
See R. W. Kennard and L. A. Stone (1969): Computer Aided Design of
Experiments, Technometrics, 11:1, 137-148.
Algorithm
... | """
Miscellaneous utilities.
"""
import numpy as np
class MUV(object):
"""
Generate maximum unbiased validation (MUV) datasets for virtual
screening as described in Rohrer and Baumann, J. Chem. Inf. Model.
2009, 49, 169-184.
"""
def kennard_stone(d, k):
"""
Use the Kennard-Stone algo... | Fix reference and add MUV class | Fix reference and add MUV class
| Python | bsd-3-clause | skearnes/muv | """
Miscellaneous utilities.
"""
import numpy as np
def kennard_stone(d, k):
"""
Use the Kennard-Stone algorithm to select k maximally separated
examples from a dataset.
See R. W. Kennard and L. A. Stone (1969): Computer Aided Design of
Experiments, Technometrics, 11:1, 137-148.
Algorithm
... | """
Miscellaneous utilities.
"""
import numpy as np
class MUV(object):
"""
Generate maximum unbiased validation (MUV) datasets for virtual
screening as described in Rohrer and Baumann, J. Chem. Inf. Model.
2009, 49, 169-184.
"""
def kennard_stone(d, k):
"""
Use the Kennard-Stone algo... | <commit_before>"""
Miscellaneous utilities.
"""
import numpy as np
def kennard_stone(d, k):
"""
Use the Kennard-Stone algorithm to select k maximally separated
examples from a dataset.
See R. W. Kennard and L. A. Stone (1969): Computer Aided Design of
Experiments, Technometrics, 11:1, 137-148.
... | """
Miscellaneous utilities.
"""
import numpy as np
class MUV(object):
"""
Generate maximum unbiased validation (MUV) datasets for virtual
screening as described in Rohrer and Baumann, J. Chem. Inf. Model.
2009, 49, 169-184.
"""
def kennard_stone(d, k):
"""
Use the Kennard-Stone algo... | """
Miscellaneous utilities.
"""
import numpy as np
def kennard_stone(d, k):
"""
Use the Kennard-Stone algorithm to select k maximally separated
examples from a dataset.
See R. W. Kennard and L. A. Stone (1969): Computer Aided Design of
Experiments, Technometrics, 11:1, 137-148.
Algorithm
... | <commit_before>"""
Miscellaneous utilities.
"""
import numpy as np
def kennard_stone(d, k):
"""
Use the Kennard-Stone algorithm to select k maximally separated
examples from a dataset.
See R. W. Kennard and L. A. Stone (1969): Computer Aided Design of
Experiments, Technometrics, 11:1, 137-148.
... |
50a1f9cbd5e9ab3a279e195bba06708aae58d3c2 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | Fix reference to ISC license. | Fix reference to ISC license.
| Python | isc | debrouwere/python-ballpark | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | <commit_before>from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
downl... | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
download_url='https:... | <commit_before>from setuptools import setup, find_packages
setup(name='notation',
description='Better human-readable numbers.',
long_description=open('README.rst').read(),
author='Stijn Debrouwere',
author_email='[email protected]',
url='https://github.com/debrouwere/python-notation/',
downl... |
06e2d872bda93ed3b520e6ab7ee646aa2f7a0fcd | setup.py | setup.py | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.03.09] Upgrade to v1.2
import os
from setuptools import setup
def read(fname='README.md'):
with open(os.path.join(os.path.dirname(__file__), fname... | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.02.25] Initialize the API as v1.1
# [2020.03.09] Upgrade the API to v1.2
# [2020.03.16] Upgrade the API to v1.3
import os
from setuptools import setup... | Upgrade API to v1.3 and benchmark file to v1.1 | Upgrade API to v1.3 and benchmark file to v1.1
| Python | mit | D-X-Y/ResNeXt,D-X-Y/ResNeXt | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.03.09] Upgrade to v1.2
import os
from setuptools import setup
def read(fname='README.md'):
with open(os.path.join(os.path.dirname(__file__), fname... | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.02.25] Initialize the API as v1.1
# [2020.03.09] Upgrade the API to v1.2
# [2020.03.16] Upgrade the API to v1.3
import os
from setuptools import setup... | <commit_before>#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.03.09] Upgrade to v1.2
import os
from setuptools import setup
def read(fname='README.md'):
with open(os.path.join(os.path.dirname(_... | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.02.25] Initialize the API as v1.1
# [2020.03.09] Upgrade the API to v1.2
# [2020.03.16] Upgrade the API to v1.3
import os
from setuptools import setup... | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.03.09] Upgrade to v1.2
import os
from setuptools import setup
def read(fname='README.md'):
with open(os.path.join(os.path.dirname(__file__), fname... | <commit_before>#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
# [2020.03.09] Upgrade to v1.2
import os
from setuptools import setup
def read(fname='README.md'):
with open(os.path.join(os.path.dirname(_... |
2bcff1f482fe4209dcf1bd53f9b535fefdd82aa3 | 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='[email protected]',
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='[email protected]',
url='https://github.com/debrouwere/google-analytics/',
dow... | Deal with dependency rename: inspector to inspect-it. | Deal with dependency rename: inspector to inspect-it.
| 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='[email protected]',
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='[email protected]',
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='[email protected]',
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='[email protected]',
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='[email protected]',
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='[email protected]',
url='https://github.com/debrouwere/google-analy... |
f7459258c0d19de00c042768c68aeeb699c4f04c | setup.py | setup.py | from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com/alanbriolat/Py... | import sys
from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append('argparse >= 1.1')
if sys.version_i... | Add dependency on argparse and new configparser | Add dependency on argparse and new configparser
| Python | bsd-3-clause | alanbriolat/PygOut | from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com/alanbriolat/Py... | import sys
from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append('argparse >= 1.1')
if sys.version_i... | <commit_before>from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com... | import sys
from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
if sys.version_info < (2, 7):
INSTALL_REQUIRES.append('argparse >= 1.1')
if sys.version_i... | from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com/alanbriolat/Py... | <commit_before>from setuptools import setup, find_packages
import pygout
readme = open('README.rst', 'r').read()
DESCRIPTION = readme.split('\n')[0]
LONG_DESCRIPTION = readme
INSTALL_REQUIRES = [
'Pygments == 1.5',
]
setup(
name = 'PygOut',
version = pygout.__version__,
url = 'http://github.com... |
98a58ee53e918b0587e1a792c5d08c3c005a7770 | setup.py | setup.py | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests",
install_requires=["setuptools"],
keywords=... | Fix test_suite (uses module, not file, name). | Fix test_suite (uses module, not file, name).
| Python | isc | whilp/stacklogger | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests",
install_requires=["setuptools"],
keywords=... | <commit_before>import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptool... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests",
install_requires=["setuptools"],
keywords=... | import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptools"],
keywor... | <commit_before>import sys
from setuptools import setup
meta = dict(
name="stacklogger",
version="0.1.0",
description="A stack-aware logging extension",
author="Will Maier",
author_email="[email protected]",
py_modules=["stacklogger"],
test_suite="tests.py",
install_requires=["setuptool... |
dc76cf3a5fcd60223ac903900a56945bb6ee607a | setup.py | setup.py | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | Allow pulling in of cluster plugin using powershift-cli[cluster] as install target. | Allow pulling in of cluster plugin using powershift-cli[cluster] as install target.
| Python | bsd-2-clause | getwarped/powershift-cli,getwarped/powershift-cli | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | <commit_before>import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming La... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | <commit_before>import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming La... |
b7eccddf76f484da10340f56215c0d07237d34ce | setup.py | setup.py | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | Change dev status to pre-alpha | Change dev status to pre-alpha
| Python | apache-2.0 | tamland/pykka,jodal/pykka,tempbottle/pykka | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | <commit_before>from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look lik... | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look like regular objec... | <commit_before>from distutils.core import setup
setup(
name='Pykka',
version='0.1',
author='Stein Magnus Jodal',
author_email='[email protected]',
packages=['pykka'],
url='http://github.com/jodal/pykka',
license='Apache License, Version 2.0',
description='Pykka makes actors look lik... |
83aa3020a585d41ae2d7f2a7759e42389c22bc65 | setup.py | setup.py | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | Upgrade pyephem to latest version. | Upgrade pyephem to latest version.
* Pyephem v3.7.6.0 now includes this required patch:
https://github.com/brandon-rhodes/pyephem/commit/47d0ba3616ee6c308f2eed319af3901592d00f70
* No need to specify a custom dependency in our setup.py.
| Python | agpl-3.0 | adamkalis/satnogs-client,cshields/satnogs-client,cshields/satnogs-client,adamkalis/satnogs-client | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | <commit_before>from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
inst... | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
install_requires=['... | <commit_before>from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='[email protected]',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
inst... |
b86612bdefb58dd7f1f930cfb756dcd16f77c770 | setup.py | setup.py | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | Change package url to point to opusonesolutions group | Change package url to point to opusonesolutions group | Python | mit | AnjoMan/asciigraf | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | <commit_before>from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development ... | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development Status :: 3 - A... | <commit_before>from setuptools import setup
def readme():
with open("README.rst", 'r') as f:
return f.read()
setup(
name="asciigraf",
version="0.3.0",
packages=["asciigraf"],
description="A python library for making ascii-art into network graphs.",
classifiers=[
"Development ... |
d616642e11c0151f44cdae6038d8cdae07abdf8c | setup.py | setup.py | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | Make tag-line consistent with GitHub | Make tag-line consistent with GitHub
| Python | mit | c-w/GettyArt | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | <commit_before>from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LIC... | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LICENSE.txt',
... | <commit_before>from distutils.core import setup
setup(
name='Getty Art',
version='0.0.1',
author='Clemens Wolff',
author_email='[email protected]',
packages=['getty_art'],
url='https://github.com/c-w/GettyArt',
download_url='http://pypi.python.org/pypi/GettyArt',
license='LIC... |
ec25b097520930b19a8ae63a1bab23efcc3ba752 | setup.py | setup.py | #
# Copyright 2017 Google Inc.
#
# 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 writin... | #
# Copyright 2017 Google Inc.
#
# 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 writin... | Fix bug with pip install. Update version to 0.1.1. | Fix bug with pip install. Update version to 0.1.1. | Python | apache-2.0 | iansf/pstar | #
# Copyright 2017 Google Inc.
#
# 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 writin... | #
# Copyright 2017 Google Inc.
#
# 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 writin... | <commit_before>#
# Copyright 2017 Google Inc.
#
# 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 agre... | #
# Copyright 2017 Google Inc.
#
# 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 writin... | #
# Copyright 2017 Google Inc.
#
# 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 writin... | <commit_before>#
# Copyright 2017 Google Inc.
#
# 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 agre... |
63349f4a73c8cb99f495cc15621ecf946e9e652e | setup.py | setup.py | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | Add proper Python version classifiers. | Add proper Python version classifiers.
| Python | mit | EmilStenstrom/python-nutshell | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | <commit_before># -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https:... | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | # -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https://github.com/Em... | <commit_before># -*- coding: utf-8 -*-
VERSION = '0.2'
from setuptools import setup
setup(
name='nutshell',
packages=["nutshell"],
version=VERSION,
description='A minimal python library to access Nutshell CRM:s JSON-RPC API.',
author=u'Emil Stenström',
author_email='[email protected]',
url='https:... |
d363631106c95365e138bea08ca0f8811c1dba67 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | Update python versions we care about | Update python versions we care about
| Python | bsd-2-clause | blancltd/glitter-news | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc L... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
mainta... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-glitter-news',
version='0.1',
description='Django Glitter News for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc L... |
34e04331fae60e63d0bc0daf47161bc8507835b8 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | Add python-coveralls as a test dependency | Add python-coveralls as a test dependency
This is so that we can push our coverage stats to coverage.io.
| Python | mit | charleswhchan/serfclient-py,KushalP/serfclient-py | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | <commit_before>#!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | #!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args ... | <commit_before>#!/usr/bin/env python
import os
import sys
from serfclient import __version__
try:
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
... |
302086ac111798bb3a5a977ed443ab274ee28dec | setup.py | setup.py | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | Replace refs to 'Keystone API' with 'Identity API' | Replace refs to 'Keystone API' with 'Identity API'
Formally, OpenStack Keystone implements the OpenStack Identity API, and
this is a client to the API, not to Keystone itself.
Change-Id: If568866221a29ba041f0f2cd56dc81deeb9ebc00
| Python | apache-2.0 | sileht/keystoneauth,jamielennox/keystoneauth,citrix-openstack-build/keystoneauth | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | <commit_before>import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements(['tools/test-r... | <commit_before>import os
import sys
import setuptools
from keystoneclient.openstack.common import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()
tests_require = setup.parse_requirements... |
4f2a4ad90c85fb50eb02127676dec3e257e2b874 | setup.py | setup.py | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.1',
... | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.2',
... | Add missing settings package to release (0.2.2) | Add missing settings package to release (0.2.2)
| Python | mit | yunojuno/heroku-tools | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.1',
... | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.2',
... | <commit_before># -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
ver... | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.2',
... | # -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
version='0.2.1',
... | <commit_before># -*- coding: utf-8 -*-
"""Package setup for heroku-tools CLI application."""
import os
from setuptools import setup
dependencies = ['click', 'sarge', 'pyyaml', 'requests', 'dateutils']
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='heroku-tools',
ver... |
21e99ff4617d4307d2223b79c25d3642132e27b3 | setup.py | setup.py | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
i... | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates.py',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
... | Fix the github repo name. | Fix the github repo name.
| Python | mit | bzamecnik/journal_dates | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
i... | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates.py',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
... | <commit_before>from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates',
author='Bohumir Zamecnik',
author_email='[email protected]',
license... | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates.py',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
... | from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates',
author='Bohumir Zamecnik',
author_email='[email protected]',
license='MIT',
i... | <commit_before>from setuptools import setup
setup(name='journal_dates',
packages=[''],
version='0.1',
description='Prints a monthly journal template',
url='http://github.com/bzamecnik/journal_dates',
author='Bohumir Zamecnik',
author_email='[email protected]',
license... |
86fc1b91aeb9dc17b5776ef372050c707c64fc30 | setup.py | setup.py | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | Remove future, bump vectormath dependencies | Remove future, bump vectormath dependencies
| Python | mit | 3ptscience/properties,aranzgeo/properties | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | <commit_before>#!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/En... | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | #!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Ma... | <commit_before>#!/usr/bin/env python
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/En... |
c4b4a7ab03728b907d0c64e3322fd08a56f5c9ce | suave.py | suave.py | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | Clear the screen rather than erasing it before refreshing | Clear the screen rather than erasing it before refreshing
| Python | mit | countermeasure/suave | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | <commit_before>#!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave... | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | #!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave/config.yml'))
... | <commit_before>#!/usr/bin/env python
import curses
import os
import time
from box import Box
from utils import load_yaml
def main(screen):
"""
Draws and redraws the screen.
"""
# Hide the cursor.
curses.curs_set(0)
# Load config from file.
config = load_yaml(os.path.expanduser('~/.suave... |
4ee409a5635b1d027f5d3c68fb2a62f554c9c801 | ib_insync/__init__.py | ib_insync/__init__.py | import sys
import importlib
from .version import __version__, __version_info__ # noqa
from . import util
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebroker... | import sys
import importlib
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebrokers.github.io is required')
from . import util # noqa
if util.ibapiVersionInfo()... | Fix explicit check for presence of ibapi package | Fix explicit check for presence of ibapi package
| Python | bsd-2-clause | erdewit/ib_insync,erdewit/ib_insync | import sys
import importlib
from .version import __version__, __version_info__ # noqa
from . import util
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebroker... | import sys
import importlib
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebrokers.github.io is required')
from . import util # noqa
if util.ibapiVersionInfo()... | <commit_before>import sys
import importlib
from .version import __version__, __version_info__ # noqa
from . import util
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://in... | import sys
import importlib
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebrokers.github.io is required')
from . import util # noqa
if util.ibapiVersionInfo()... | import sys
import importlib
from .version import __version__, __version_info__ # noqa
from . import util
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://interactivebroker... | <commit_before>import sys
import importlib
from .version import __version__, __version_info__ # noqa
from . import util
if sys.version_info < (3, 6, 0):
raise RuntimeError('ib_insync requires Python 3.6 or higher')
try:
import ibapi
except ImportError:
raise RuntimeError(
'IB API from http://in... |
50395649bf65b2ee7ef31fc8fedf62b9a66e96bf | metaci/cumulusci/utils.py | metaci/cumulusci/utils.py | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_CL... | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_C... | Revert file to original state | Revert file to original state | Python | bsd-3-clause | SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_CL... | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_C... | <commit_before>from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.C... | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_C... | from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.CONNECTED_APP_CL... | <commit_before>from cumulusci.core.config import ConnectedAppOAuthConfig
from django.conf import settings
def get_connected_app():
return ConnectedAppOAuthConfig({
'callback_url': settings.CONNECTED_APP_CALLBACK_URL,
'client_id': settings.CONNECTED_APP_CLIENT_ID,
'client_secret': settings.C... |
525c224080b3ac13864fbd3b5b9db2e884691edf | polyaxon/sidecar/sidecar/sidecar/monitor.py | polyaxon/sidecar/sidecar/sidecar/monitor.py | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
statuses_by_name = ocular.processor.get_container_statuses_by_name(
event.status.to_dict().get('container_statuses', []))
statuses = ocular.processor.get_container_status(statuses_by_name, (c... | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
container_statuses = event.status.to_dict().get('container_statuses') or []
statuses_by_name = ocular.processor.get_container_statuses_by_name(container_statuses)
statuses = ocular.processor.get_... | Fix sidecar check for terminated containers | Fix sidecar check for terminated containers
| Python | apache-2.0 | polyaxon/polyaxon,polyaxon/polyaxon,polyaxon/polyaxon | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
statuses_by_name = ocular.processor.get_container_statuses_by_name(
event.status.to_dict().get('container_statuses', []))
statuses = ocular.processor.get_container_status(statuses_by_name, (c... | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
container_statuses = event.status.to_dict().get('container_statuses') or []
statuses_by_name = ocular.processor.get_container_statuses_by_name(container_statuses)
statuses = ocular.processor.get_... | <commit_before>import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
statuses_by_name = ocular.processor.get_container_statuses_by_name(
event.status.to_dict().get('container_statuses', []))
statuses = ocular.processor.get_container_status(statu... | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
container_statuses = event.status.to_dict().get('container_statuses') or []
statuses_by_name = ocular.processor.get_container_statuses_by_name(container_statuses)
statuses = ocular.processor.get_... | import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
statuses_by_name = ocular.processor.get_container_statuses_by_name(
event.status.to_dict().get('container_statuses', []))
statuses = ocular.processor.get_container_status(statuses_by_name, (c... | <commit_before>import ocular
from polyaxon_schemas.pod import PodLifeCycle
def is_container_terminated(event, container_id):
statuses_by_name = ocular.processor.get_container_statuses_by_name(
event.status.to_dict().get('container_statuses', []))
statuses = ocular.processor.get_container_status(statu... |
d387ab6335ba73a0ecbc1ffa55e9b35ff119bd58 | journal/views.py | journal/views.py | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | Update the protocol to mirror the return result of get. | Update the protocol to mirror the return result of get.
| Python | agpl-3.0 | etesync/journal-manager | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | <commit_before>import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(... | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(self, request):... | <commit_before>import json
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import View
from django.http import JsonResponse
from .models import Entry
@method_decorator(csrf_exempt, name='dispatch')
class RestView(View):
def get(... |
c87c4a972f0f2d4966142fa666a900112762ed76 | scipy/constants/tests/test_codata.py | scipy/constants/tests/test_codata.py |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
assert_equal(keys,... |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal, run_module_suite
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
... | Allow codata tests to be run as script. | ENH: Allow codata tests to be run as script.
| Python | bsd-3-clause | zerothi/scipy,zxsted/scipy,josephcslater/scipy,rgommers/scipy,grlee77/scipy,sargas/scipy,dch312/scipy,ilayn/scipy,apbard/scipy,jakevdp/scipy,niknow/scipy,vanpact/scipy,jakevdp/scipy,rmcgibbo/scipy,zxsted/scipy,pnedunuri/scipy,raoulbq/scipy,lhilt/scipy,mgaitan/scipy,mingwpy/scipy,maciejkula/scipy,njwilson23/scipy,Dapid/... |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
assert_equal(keys,... |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal, run_module_suite
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
... | <commit_before>
import warnings
from scipy.constants import find
from numpy.testing import assert_equal
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
ass... |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal, run_module_suite
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
... |
import warnings
from scipy.constants import find
from numpy.testing import assert_equal
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
assert_equal(keys,... | <commit_before>
import warnings
from scipy.constants import find
from numpy.testing import assert_equal
def test_find():
warnings.simplefilter('ignore', DeprecationWarning)
keys = find('weak mixing', disp=False)
assert_equal(keys, ['weak mixing angle'])
keys = find('qwertyuiop', disp=False)
ass... |
3a2f4940ff83d3d2645505b82d1207a96f6d209e | linked-list/is-list-palindrome.py | linked-list/is-list-palindrome.py | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l.value is None:
return True
# find center of list
fast = l
slow = l
while fast.next an... | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l is None or l.next is None:
return True
# find center of list
fast = l
slow = l
while ... | Add check for palindrome component of method | Add check for palindrome component of method
| Python | mit | derekmpham/interview-prep,derekmpham/interview-prep | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l.value is None:
return True
# find center of list
fast = l
slow = l
while fast.next an... | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l is None or l.next is None:
return True
# find center of list
fast = l
slow = l
while ... | <commit_before># Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l.value is None:
return True
# find center of list
fast = l
slow = l
whi... | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l is None or l.next is None:
return True
# find center of list
fast = l
slow = l
while ... | # Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l.value is None:
return True
# find center of list
fast = l
slow = l
while fast.next an... | <commit_before># Given a singly linked list of integers, determine whether or not it's a palindrome
class Node(object): # define constructor
def __init__(self, value):
self.value = value
self.next = None
def is_list_palindrome(l):
if l.value is None:
return True
# find center of list
fast = l
slow = l
whi... |
b43dfa19979dc74efb27e56771535b102547e792 | utils.py | utils.py | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | Add method to insert quotes into database | Add method to insert quotes into database
Fix schema for quotes table
| Python | mit | nickdibari/Get-Quote | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | <commit_before>import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Un... | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Unable to connect... | <commit_before>import sqlite3
import shelve
def connect_db(name):
"""
Open a connection to the database used to store quotes.
:param name: (str) Name of database file
:return: (shelve.DbfilenameShelf)
"""
try:
return shelve.open(name)
except Exception:
raise Exception('Un... |
44b3f1d2c3e5a31887454aa82b324f15898122bc | zazu/cli.py | zazu/cli.py | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | Fix missing module on __version__ | Fix missing module on __version__
(develop)
| Python | mit | stopthatcow/zazu,stopthatcow/zazu | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | <commit_before># -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
... | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | # -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
@click.group(... | <commit_before># -*- coding: utf-8 -*-
"""entry point for zazu"""
__author__ = "Nicholas Wiles"
__copyright__ = "Copyright 2016, Lily Robotics"
import click
import git_helper
import subprocess
import zazu.build
import zazu.config
import zazu.dev.commands
import zazu.repo.commands
import zazu.style
import zazu.upgrade
... |
f0b54d2f706912fd4a1e21117d1534170a9ce125 | Config.py | Config.py | # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 81
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
| # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 80
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
| Move default port back to 80 | Move default port back to 80
| Python | mit | jkingsman/Mockbox,jkingsman/Mockbox,jkingsman/Mockbox | # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 81
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
Move default port b... | # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 80
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
| <commit_before># Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 81
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
<com... | # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 80
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
| # Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 81
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
Move default port b... | <commit_before># Web
domain = 'mockbox.io'
useSSL = False
keyFile = 'keys/privkey.pem'
certFile = 'keys/cacert.pem'
httpPort = 81
httpsPort = 443
# SMTP
bindingPort = 587
bindingIP = '0.0.0.0'
# dropSize in bytes
dropSize = 10000000
# General
# warning! This can fill your disk up really quickly.
logEmail = False
<com... |
918b001cb6d9743d3d2ee1b2bab8f14c90e1adf7 | src/ice/rom_finder.py | src/ice/rom_finder.py |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... | Replace 'list.extend' call with '+' operator | [Cleanup] Replace 'list.extend' call with '+' operator
I knew there had to be an easier way for merging lists other than `extend`. Turns out the plus operator does exactly what I need.
| Python | mit | rdoyle1978/Ice,scottrice/Ice |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... | <commit_before>
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representin... |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... |
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representing all of the va... | <commit_before>
from console import Console
from rom import ROM
from functools import reduce
class ROMFinder(object):
def __init__(self, filesystem):
self.filesystem = filesystem
def roms_for_console(self, console):
"""
@param console - A console object
@returns A list of ROM objects representin... |
bb48fbaa362367c117501953f3f1ba7500ff5735 | bqueryd/__init__.py | bqueryd/__init__.py | __version__ = 0.6
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | __version__ = 0.8
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | Use os.makedirs in stead of os.mkdir to handle intermediate paths | Use os.makedirs in stead of os.mkdir to handle intermediate paths
| Python | bsd-3-clause | visualfabriq/bqueryd | __version__ = 0.6
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | __version__ = 0.8
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | <commit_before>__version__ = 0.6
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.pat... | __version__ = 0.8
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | __version__ = 0.6
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.path.join(DEFAULT_... | <commit_before>__version__ = 0.6
import os
import logging
logger = logging.getLogger('bqueryd')
ch = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s %(name)s %(message)s', datefmt="%Y-%m-%d %H:%M:%S")
ch.setFormatter(formatter)
logger.addHandler(ch)
DEFAULT_DATA_DIR = '/srv/bcolz/'
INCOMING = os.pat... |
d2197583c197745ad33fa9c59c6c7f9681b35078 | plugins/shorewall/__init__.py | plugins/shorewall/__init__.py | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def process(self, mesh, cliargs=None):
logging.debug('Generating ... | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def setupargs(self, parser):
parser.add_argument('--wanzone', act... | Add cliargs to shorewall for zone handling | Add cliargs to shorewall for zone handling
| Python | bsd-3-clause | heyaaron/openmesher,darkpixel/openmesher,heyaaron/openmesher,darkpixel/openmesher | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def process(self, mesh, cliargs=None):
logging.debug('Generating ... | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def setupargs(self, parser):
parser.add_argument('--wanzone', act... | <commit_before>import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def process(self, mesh, cliargs=None):
logging.deb... | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def setupargs(self, parser):
parser.add_argument('--wanzone', act... | import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def process(self, mesh, cliargs=None):
logging.debug('Generating ... | <commit_before>import logging, interfaces, os
from datetime import datetime
class Shorewall(interfaces.IOpenMesherConfigPlugin):
def activate(self):
self._register('shorewall/interfaces.conf')
self._register('shorewall/rules.conf')
def process(self, mesh, cliargs=None):
logging.deb... |
cdd79aa60f4ef707714a632188373a5c2c4b0af4 | mass_mailing_switzerland/models/crm_event_compassion.py | mass_mailing_switzerland/models/crm_event_compassion.py | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | FIX bug in event creation | FIX bug in event creation
| Python | agpl-3.0 | CompassionCH/compassion-switzerland,eicher31/compassion-switzerland,CompassionCH/compassion-switzerland,eicher31/compassion-switzerland,CompassionCH/compassion-switzerland,eicher31/compassion-switzerland | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | <commit_before>##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__... | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | ##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__.py
#
#########... | <commit_before>##############################################################################
#
# Copyright (C) 2018 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Nathan Fluckiger <[email protected]>
#
# The licence is in the file __manifest__... |
19e6c020bc7d640fe4c8ffbdf7825693d7e4a03a | scripts/missing-qq.py | scripts/missing-qq.py | #!/usr/bin/env python
import os
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree containing all me... | #!/usr/bin/env python
import os
import sys
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree contai... | Exit with nonzero when qq strings are missing | Exit with nonzero when qq strings are missing
Change-Id: Ife0f114dbe48faa445397aa7a94f74de2309d117
| Python | apache-2.0 | anirudh24seven/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,dbrant/apps-android-wik... | #!/usr/bin/env python
import os
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree containing all me... | #!/usr/bin/env python
import os
import sys
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree contai... | <commit_before>#!/usr/bin/env python
import os
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree co... | #!/usr/bin/env python
import os
import sys
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree contai... | #!/usr/bin/env python
import os
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree containing all me... | <commit_before>#!/usr/bin/env python
import os
import xml.etree.ElementTree as ET
RES_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), "../app/src/main/res"))
EN_STRINGS = os.path.join(RES_FOLDER, "values/strings.xml")
QQ_STRINGS = os.path.join(RES_FOLDER, "values-qq/strings.xml")
# Get ElementTree co... |
91c95c383803b6d25f8f68752ca7d507eaa9c7c8 | harvester/tests/test_cubeupload.py | harvester/tests/test_cubeupload.py | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CupeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CubeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | Fix minor spelling error in cubeupload test | Fix minor spelling error in cubeupload test
| Python | unlicense | luceatnobis/bravester,luceatnobis/harvester | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CupeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CubeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | <commit_before>#!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CupeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
... | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CubeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | #!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CupeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
self.h ... | <commit_before>#!/usr/bin/env python3
#-*- coding: utf-8 -*-
import hashlib
import unittest
from harvester import harvester
class CupeuploadTest(unittest.TestCase):
def setUp(self):
self.nick = "test"
self.chan = '#brotherBot'
self.mask = "brotherBox!~brotherBo@unaffiliated/brotherbox"
... |
174c570d69d0958aa734794ffb7712ea37e70c6f | parse.py | parse.py | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | Add new key to existing section. | Add new key to existing section.
| Python | mit | tonigrigoriu/ini-parser | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | <commit_before>import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <val... | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <value>")
s... | <commit_before>import sys
import configparser
def main():
config = configparser.ConfigParser(strict=False)
try:
section = sys.argv[1]
config_key = sys.argv[2]
config_value = sys.argv[3]
except IndexError:
print("Usage: cat test.ini | python parse.py <section> <option> <val... |
2e71f1a9deaf160ee666423e94ae526041cd32ff | engine.py | engine.py | # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
| # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
def _coord_to_algebraic(coord):
x, y = coord
return chr(x) + chr(y)
def _algebraic_to_coord(algebraic):
x, y = algebrai... | Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' algebraic chess notation | Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' algebraic chess notation
| Python | mit | EyuelAbebe/gamer,EyuelAbebe/gamer | # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' algebraic chess notation | # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
def _coord_to_algebraic(coord):
x, y = coord
return chr(x) + chr(y)
def _algebraic_to_coord(algebraic):
x, y = algebrai... | <commit_before># Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
<commit_msg>Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' alge... | # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
def _coord_to_algebraic(coord):
x, y = coord
return chr(x) + chr(y)
def _algebraic_to_coord(algebraic):
x, y = algebrai... | # Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' algebraic chess notation# Use x... | <commit_before># Use x, y coords for unit positions
# (97, 56) ... (104, 56)
# ... ...
# (97, 49) ... (104, 49)
#
# Algebraic notation for a position is:
# algebraic_pos = chr(x) + chr(y)
<commit_msg>Add _coord_to_algebraic() and _algebraic_to_coord() to convert positions between (x, y) coords and 'a1' alge... |
215e37fce8b3fedf7bf31bf7c6393271c84141a2 | src/tapdisk/plugin.py | src/tapdisk/plugin.py | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.plugin
from xapi.storage.datapath import log
class Implementation(xapi.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
"de... | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.storage.api.plugin
from xapi.storage import log
class Implementation(xapi.storage.api.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
... | Use the new xapi.storage package structure | Use the new xapi.storage package structure
Signed-off-by: David Scott <[email protected]>
| Python | lgpl-2.1 | xapi-project/xapi-storage-datapath-plugins,stefanopanella/xapi-storage-plugins,djs55/xapi-storage-datapath-plugins,stefanopanella/xapi-storage-plugins,stefanopanella/xapi-storage-plugins,jjd27/xapi-storage-datapath-plugins,robertbreker/xapi-storage-datapath-plugins | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.plugin
from xapi.storage.datapath import log
class Implementation(xapi.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
"de... | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.storage.api.plugin
from xapi.storage import log
class Implementation(xapi.storage.api.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
... | <commit_before>#!/usr/bin/env python
import os
import sys
import xapi
import xapi.plugin
from xapi.storage.datapath import log
class Implementation(xapi.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
... | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.storage.api.plugin
from xapi.storage import log
class Implementation(xapi.storage.api.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
... | #!/usr/bin/env python
import os
import sys
import xapi
import xapi.plugin
from xapi.storage.datapath import log
class Implementation(xapi.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
"de... | <commit_before>#!/usr/bin/env python
import os
import sys
import xapi
import xapi.plugin
from xapi.storage.datapath import log
class Implementation(xapi.plugin.Plugin_skeleton):
def query(self, dbg):
return {
"plugin": "tapdisk",
"name": "The tapdisk user-space datapath plugin",
... |
273b463d8c86e60639b0c0ff54dad3e376a93060 | correctiv_justizgelder/views.py | correctiv_justizgelder/views.py | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | Increase results to 25 per page to make page look nicer | Increase results to 25 per page to make page look nicer | Python | mit | correctiv/correctiv-justizgelder,correctiv/correctiv-justizgelder | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | <commit_before>from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html... | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html'
paginate_... | <commit_before>from django.views.generic import ListView, DetailView
from .forms import OrganisationSearchForm
from .models import Organisation
from .search_indexes import OrganisationIndex
from .search_utils import SearchPaginator
class OrganisationSearchView(ListView):
template_name = 'justizgelder/search.html... |
90b1567ee8e1906b1d1724cf63cf8d383530da29 | nimp/commands/cis_tomat_mining.py | nimp/commands/cis_tomat_mining.py | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
#-------------------------------------------------------------------------------
class CisTomatMining(CisCommand):
abstract = ... | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
import tempfile
import shutil
#-------------------------------------------------------------------------------
class CisTomatMini... | Split the Tomat mining commandlet into an Unreal part and a TomatConsole part. | Split the Tomat mining commandlet into an Unreal part and a TomatConsole part.
| Python | mit | dontnod/nimp | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
#-------------------------------------------------------------------------------
class CisTomatMining(CisCommand):
abstract = ... | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
import tempfile
import shutil
#-------------------------------------------------------------------------------
class CisTomatMini... | <commit_before># -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
#-------------------------------------------------------------------------------
class CisTomatMining(CisCommand):
... | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
import tempfile
import shutil
#-------------------------------------------------------------------------------
class CisTomatMini... | # -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
#-------------------------------------------------------------------------------
class CisTomatMining(CisCommand):
abstract = ... | <commit_before># -*- coding: utf-8 -*-
from nimp.commands._cis_command import *
from nimp.utilities.ue3 import *
from nimp.utilities.deployment import *
from nimp.utilities.file_mapper import *
#-------------------------------------------------------------------------------
class CisTomatMining(CisCommand):
... |
e356ce2c6fc6a3383a4ab8f7eea1ecb3ef7aa978 | linter.py | linter.py | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | Update selector for Sublime Text >= 4134 | Update selector for Sublime Text >= 4134
| Python | mit | SublimeLinter/SublimeLinter-phpcs | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | <commit_before>from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
default... | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'... | <commit_before>from SublimeLinter.lint import ComposerLinter
class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
default... |
f61b81e968384859eb51a2ff14ca7709e8322ae8 | yunity/walls/models.py | yunity/walls/models.py | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
pass
class WallPost(BaseModel):
wall = ForeignKey(Wall)
author = ForeignKey(settings.AUTH_USER_MODEL)
class WallPostContent(BaseModel):
post = ForeignKey(... | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
def resolve_permissions(self, collector):
h = self.hub
if h.target_content_type.model == 'group':
g = h.target
""":type : Group"""... | Implement basic permissions resolver for walls | Implement basic permissions resolver for walls
To be seen as a poc, collect all hub permissions for a basic permission
and settings/inheritance model for reading a wall.
with @nicksellen
| Python | agpl-3.0 | yunity/foodsaving-backend,yunity/yunity-core,yunity/foodsaving-backend,yunity/yunity-core,yunity/foodsaving-backend | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
pass
class WallPost(BaseModel):
wall = ForeignKey(Wall)
author = ForeignKey(settings.AUTH_USER_MODEL)
class WallPostContent(BaseModel):
post = ForeignKey(... | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
def resolve_permissions(self, collector):
h = self.hub
if h.target_content_type.model == 'group':
g = h.target
""":type : Group"""... | <commit_before>from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
pass
class WallPost(BaseModel):
wall = ForeignKey(Wall)
author = ForeignKey(settings.AUTH_USER_MODEL)
class WallPostContent(BaseModel):
pos... | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
def resolve_permissions(self, collector):
h = self.hub
if h.target_content_type.model == 'group':
g = h.target
""":type : Group"""... | from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
pass
class WallPost(BaseModel):
wall = ForeignKey(Wall)
author = ForeignKey(settings.AUTH_USER_MODEL)
class WallPostContent(BaseModel):
post = ForeignKey(... | <commit_before>from django.db.models import ForeignKey, TextField
from config import settings
from yunity.base.models import BaseModel
class Wall(BaseModel):
pass
class WallPost(BaseModel):
wall = ForeignKey(Wall)
author = ForeignKey(settings.AUTH_USER_MODEL)
class WallPostContent(BaseModel):
pos... |
f83e8de41b4148f483a4de8ab624d89ee25fedb0 | soundbot.py | soundbot.py | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | Make file listing more robust | Make file listing more robust
| Python | mit | sanderevers/slack-soundbot | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | <commit_before>from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".forma... | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".format(sound)])
def... | <commit_before>from slacksocket import SlackSocket
import subprocess
import config
import os
def handle_cmd(cmd):
if cmd in ('ls','list'):
s.send_msg(list_files(), channel_name=config.slack_channel)
else:
playsound(cmd)
def playsound(sound):
subprocess.call([config.play_cmd,"{0}.mp3".forma... |
58970055d4905b50a3ed76a8ead39d9d0b572854 | hookit.py | hookit.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.method != 'POST':
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
app.debug = True
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.meth... | Add debugging options by default | Add debugging options by default
| Python | mit | pcostesi/hookit,pcostesi/hookit | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.method != 'POST':
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
app.debug = True
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.meth... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.method ... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
app.debug = True
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.meth... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.method != 'POST':
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from flask import Flask, request
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from Flask! (%s)' % datetime.now().strftime('%Y-%m-%d %H:%M:%S')
@app.route('/github')
def github():
if request.method ... |
3d48d62aca0455cf71a841fcfcddabaf770bd048 | plumeria/plugins/bible.py | plumeria/plugins/bible.py | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | Use bold line number for verse. | Use bold line number for verse.
| Python | mit | sk89q/Plumeria,sk89q/Plumeria,sk89q/Plumeria | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | <commit_before>from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category... | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category="Search", para... | <commit_before>from bs4 import BeautifulSoup
from bs4 import Comment
from bs4 import NavigableString
import plumeria.util.http as http
from plumeria.command import commands, CommandError
from plumeria.command.parse import Text
from plumeria.util.ratelimit import rate_limit
@commands.register("bible", "esv", category... |
f4f5852944d1fd1b9e96a70cb4496ee6e1e66dc0 | genome_designer/main/celery_util.py | genome_designer/main/celery_util.py | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
Source: http://stackoverflow.com/q... | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
from django.conf import settings
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
S... | Fix tests: Allow for celery not to be running when doing in-memory celery for tests. | Fix tests: Allow for celery not to be running when doing in-memory celery for tests.
| Python | mit | churchlab/millstone,churchlab/millstone,churchlab/millstone,churchlab/millstone,woodymit/millstone_accidental_source,woodymit/millstone_accidental_source,woodymit/millstone_accidental_source,woodymit/millstone,woodymit/millstone,woodymit/millstone_accidental_source,woodymit/millstone,woodymit/millstone | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
Source: http://stackoverflow.com/q... | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
from django.conf import settings
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
S... | <commit_before>"""
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
Source: http://stac... | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
from django.conf import settings
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
S... | """
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
Source: http://stackoverflow.com/q... | <commit_before>"""
Methods for interfacing with the Celery task queue management library.
"""
from errno import errorcode
from celery.task.control import inspect
CELERY_ERROR_KEY = 'ERROR'
def get_celery_worker_status():
"""Checks whether celery is running and reports the error if not.
Source: http://stac... |
0b7f99bcb4e42c50263a7d8a42513876b02b445a | scikits/talkbox/tools/__init__.py | scikits/talkbox/tools/__init__.py | __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
| __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
from segmentaxis import segment_axis
__all__ += ['segment_axis']
| Put segment_axis in the main scikits.talkbox namespace. | Put segment_axis in the main scikits.talkbox namespace.
| Python | mit | cournape/talkbox,cournape/talkbox | __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
Put segment_axis in the main scikits.talkbox namespace. | __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
from segmentaxis import segment_axis
__all__ += ['segment_axis']
| <commit_before>__all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
<commit_msg>Put segment_axis in the main scikits.talkbox namespace.<commit_after> | __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
from segmentaxis import segment_axis
__all__ += ['segment_axis']
| __all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
Put segment_axis in the main scikits.talkbox namespace.__all__ = []
import correlations
from correlations import *
__all__ += correlations.__a... | <commit_before>__all__ = []
import correlations
from correlations import *
__all__ += correlations.__all__
import cffilter
from cffilter import cslfilter as slfilter
__all__ += ['slfilter']
<commit_msg>Put segment_axis in the main scikits.talkbox namespace.<commit_after>__all__ = []
import correlations
from correlat... |
91fd97d7579673a0c310c734a1c1ef83a07b50d1 | phantasy/library/scan/datautil.py | phantasy/library/scan/datautil.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | Make raw_data and data as properties | Make raw_data and data as properties
| Python | bsd-3-clause | archman/phantasy,archman/phantasy | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after
comple... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""utils for data crunching, saving.
"""
import numpy as np
class ScanDataFactory(object):
"""Post processor of data from scan server.
Parameters
----------
data : dict
Raw data retrieving from scan server regarding scan ID, after... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.