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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
499651033a8f1aaf89533e7ce2156efeca32198d | questions/models.py | questions/models.py | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | Create index on Question.when for faster ordered queries. | Create index on Question.when for faster ordered queries.
| Python | bsd-3-clause | aviraldg/quizzardous,aviraldg/quizzardous,aviraldg/quizzardous | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | <commit_before>from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required... | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required, but if it's e... | <commit_before>from django.db import models
from django.contrib.auth.models import User
from quizzardous.utils import slugify
class Question(models.Model):
"""Represents a question asked by a user."""
class Meta:
ordering = ['-when']
question = models.TextField()
# A slug is actually required... |
f8277d426aa88e45bf492d3d4f6dfd2703702dff | numba/exttypes/utils.py | numba/exttypes/utils.py | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | Add utility to retrieve all extension type bases | Add utility to retrieve all extension type bases
| Python | bsd-2-clause | gdementen/numba,stuartarchibald/numba,stonebig/numba,stefanseefeld/numba,GaZ3ll3/numba,ssarangi/numba,stuartarchibald/numba,sklam/numba,cpcloud/numba,ssarangi/numba,sklam/numba,ssarangi/numba,gmarkall/numba,sklam/numba,stefanseefeld/numba,pitrou/numba,stonebig/numba,gdementen/numba,pitrou/numba,cpcloud/numba,pombredann... | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | <commit_before>"Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of... | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | "Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of the numba exte... | <commit_before>"Simple utilities related to extension types"
#------------------------------------------------------------------------
# Read state from extension types
#------------------------------------------------------------------------
def get_attributes_type(py_class):
"Return the attribute struct type of... |
d30094e5b9881c89e3871aa30c6af639e20209b5 | pandoc-html-pdf-img.py | pandoc-html-pdf-img.py | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | Fix quotes in src tag | Fix quotes in src tag
| Python | mit | scotthartley/pandoc-html-pdf-img | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | <commit_before>#! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = ... | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | #! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = val
pr... | <commit_before>#! /usr/bin/env python3
"""Pandoc filter to force the <img> tag for pdf images in html.
Useful for integrating pandoc with Marked.
"""
from pandocfilters import toJSONFilter, RawInline, Str
import re
def pdf_img(key, val, fmt, meta):
if key == 'Image' and fmt == 'html':
caption, target = ... |
74983cc059bc3480331b0815240c579b0b4517fc | bluebottle/assignments/filters.py | bluebottle/assignments/filters.py | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | Tweak filtering of applicants on assignment | Tweak filtering of applicants on assignment
| Python | bsd-3-clause | onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | <commit_before>from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only sho... | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only show accepted appl... | <commit_before>from django.db.models import Q
from rest_framework_json_api.django_filters import DjangoFilterBackend
from bluebottle.assignments.transitions import ApplicantTransitions
class ApplicantListFilter(DjangoFilterBackend):
"""
Filter that shows all applicant if user is owner,
otherwise only sho... |
e18f4bd7db18743bb290fed276ff21a9e63e6922 | petulant/meme/tests.py | petulant/meme/tests.py | from django.test import TestCase
# Create your tests here.
| import json
from django.test import TestCase, Client
class MemeTests(TestCase):
def test_can_post_to_db(self):
response = json.loads(self.client.post('/', {'url':'https://foo.bar/baz.gif', 'keywords':'omg, this, is, great'}).content)
self.assertTrue(response['success'])
| Add test for posting content to the server | Add test for posting content to the server
| Python | apache-2.0 | AutomatedTester/petulant-meme,AutomatedTester/petulant-meme,AutomatedTester/petulant-meme | from django.test import TestCase
# Create your tests here.
Add test for posting content to the server | import json
from django.test import TestCase, Client
class MemeTests(TestCase):
def test_can_post_to_db(self):
response = json.loads(self.client.post('/', {'url':'https://foo.bar/baz.gif', 'keywords':'omg, this, is, great'}).content)
self.assertTrue(response['success'])
| <commit_before>from django.test import TestCase
# Create your tests here.
<commit_msg>Add test for posting content to the server<commit_after> | import json
from django.test import TestCase, Client
class MemeTests(TestCase):
def test_can_post_to_db(self):
response = json.loads(self.client.post('/', {'url':'https://foo.bar/baz.gif', 'keywords':'omg, this, is, great'}).content)
self.assertTrue(response['success'])
| from django.test import TestCase
# Create your tests here.
Add test for posting content to the serverimport json
from django.test import TestCase, Client
class MemeTests(TestCase):
def test_can_post_to_db(self):
response = json.loads(self.client.post('/', {'url':'https://foo.bar/baz.gif', 'keywords':'o... | <commit_before>from django.test import TestCase
# Create your tests here.
<commit_msg>Add test for posting content to the server<commit_after>import json
from django.test import TestCase, Client
class MemeTests(TestCase):
def test_can_post_to_db(self):
response = json.loads(self.client.post('/', {'url'... |
9b3443186c103c5f08465773f2e34591aa724179 | paypal/gateway.py | paypal/gateway.py | import requests
import time
import urlparse
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
for k in params... | import requests
import time
import urlparse
import urllib
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
... | Revert back to using urllib to encode params | Revert back to using urllib to encode params
But take a snippet from #69 which decodes the response back to unicode.
Fixes #67
| Python | bsd-3-clause | bharling/django-oscar-worldpay,bharling/django-oscar-worldpay,FedeDR/django-oscar-paypal,st8st8/django-oscar-paypal,vintasoftware/django-oscar-paypal,nfletton/django-oscar-paypal,ZachGoldberg/django-oscar-paypal,lpakula/django-oscar-paypal,st8st8/django-oscar-paypal,embedded1/django-oscar-paypal,lpakula/django-oscar-pa... | import requests
import time
import urlparse
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
for k in params... | import requests
import time
import urlparse
import urllib
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
... | <commit_before>import requests
import time
import urlparse
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
... | import requests
import time
import urlparse
import urllib
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
... | import requests
import time
import urlparse
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
for k in params... | <commit_before>import requests
import time
import urlparse
from paypal import exceptions
def post(url, params):
"""
Make a POST request to the URL using the key-value pairs. Return
a set of key-value pairs.
:url: URL to post to
:params: Dict of parameters to include in post payload
"""
... |
bf36831f062c8262e9d7f8a5f63b5b4a0f413c5f | molecule/default/tests/test_default.py | molecule/default/tests/test_default.py | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | Add test of mongodb package version | Add test of mongodb package version
| Python | bsd-2-clause | jugatsu-infra/ansible-role-mongodb | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | <commit_before>import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert... | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert package.is_ins... | <commit_before>import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
# check if MongoDB package is installed
def test_mongodb_is_installed(host):
package = host.package('mongodb-org')
assert... |
3a03557d56b9d5591a4049d752a4c0d5089b29cf | performanceplatform/collector/ga/__init__.py | performanceplatform/collector/ga/__init__.py | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | Set default chunk size for GA collector to 100 | Set default chunk size for GA collector to 100
We would like requests chunked up when talking to backdrop as not doing
so has been shown to bring it down. This sets the default to 100 records
so that we don't have to remember to set it explicitly in every config.
| Python | mit | alphagov/performanceplatform-collector,alphagov/performanceplatform-collector,alphagov/performanceplatform-collector | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | <commit_before>from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
... | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
client = creat... | <commit_before>from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from performanceplatform.collector.ga.core \
import create_client, query_documents_for, send_data
from performanceplatform.client import DataSet
def main(credentials, data_set_config, query, options, start_at, end_at):
... |
5504dde1cc940fc8f55ff1bcba7ae225ad9759c1 | account_invoice_subcontractor/models/hr.py | account_invoice_subcontractor/models/hr.py | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | FIX set default subcontractor type on employee | FIX set default subcontractor type on employee
| Python | agpl-3.0 | akretion/subcontractor | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | <commit_before># © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
... | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | # © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
return [
... | <commit_before># © 2015 Akretion
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class HrEmployee(models.Model):
_inherit = "hr.employee"
@api.model
def _get_subcontractor_type(self):
... |
b84105415cf074e76cb2c227e81287e853acb451 | tdt/__init__.py | tdt/__init__.py | import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
from dsp_project import DSPProject
from dsp_process import DSPProcess
from dsp_circuit import DSPCircuit
from dsp_buffer import DSPBuffer
from dsp_error import DSPError
| import logging
# Although Python 2.7+ has a logging.NullHandler class available, we should at
# least maintain backwards-compatibility with Python 2.6 so that ReadTheDocs.org
# can generate our autodocumentation.
class NullHandler(logging.Handler):
def emit(self, record):
pass
logger = logging.getL... | Switch to built-in NullHandler class for Python 2.6 compatibility | Switch to built-in NullHandler class for Python 2.6 compatibility
| Python | bsd-3-clause | LABSN/tdtpy | import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
from dsp_project import DSPProject
from dsp_process import DSPProcess
from dsp_circuit import DSPCircuit
from dsp_buffer import DSPBuffer
from dsp_error import DSPError
Switch to built-in NullHandler class for Python ... | import logging
# Although Python 2.7+ has a logging.NullHandler class available, we should at
# least maintain backwards-compatibility with Python 2.6 so that ReadTheDocs.org
# can generate our autodocumentation.
class NullHandler(logging.Handler):
def emit(self, record):
pass
logger = logging.getL... | <commit_before>import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
from dsp_project import DSPProject
from dsp_process import DSPProcess
from dsp_circuit import DSPCircuit
from dsp_buffer import DSPBuffer
from dsp_error import DSPError
<commit_msg>Switch to built-in Nu... | import logging
# Although Python 2.7+ has a logging.NullHandler class available, we should at
# least maintain backwards-compatibility with Python 2.6 so that ReadTheDocs.org
# can generate our autodocumentation.
class NullHandler(logging.Handler):
def emit(self, record):
pass
logger = logging.getL... | import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
from dsp_project import DSPProject
from dsp_process import DSPProcess
from dsp_circuit import DSPCircuit
from dsp_buffer import DSPBuffer
from dsp_error import DSPError
Switch to built-in NullHandler class for Python ... | <commit_before>import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
from dsp_project import DSPProject
from dsp_process import DSPProcess
from dsp_circuit import DSPCircuit
from dsp_buffer import DSPBuffer
from dsp_error import DSPError
<commit_msg>Switch to built-in Nu... |
e9cf6bbc5d790dd77fea35ec4875c045cb6f19c3 | thefederation/views.py | thefederation/views.py | import time
from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# ... | from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# Success!
... | Fix redirect to node page after registration | Fix redirect to node page after registration
| Python | agpl-3.0 | jaywink/the-federation.info,jaywink/the-federation.info,jaywink/diaspora-hub,jaywink/diaspora-hub,jaywink/diaspora-hub,jaywink/the-federation.info | import time
from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# ... | from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# Success!
... | <commit_before>import time
from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(ho... | from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# Success!
... | import time
from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(host):
# ... | <commit_before>import time
from django.shortcuts import redirect
from thefederation.tasks import poll_node
from thefederation.utils import is_valid_hostname
def register_view(request, host):
# TODO rate limit this view per caller ip?
if not is_valid_hostname:
return redirect("/")
if poll_node(ho... |
6cc48b08fd0b3a0dda2a8dfdc55b8d8d3b9022b1 | pyramda/math/mean_test.py | pyramda/math/mean_test.py | from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
| from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
assert_equal(mean([5, 7, 3]), 5)
| Add test establishing no change in behavior for unsorted input arrays | Add test establishing no change in behavior for unsorted input arrays
| Python | mit | jackfirth/pyramda | from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
Add test establishing no change in behavior for unsorted input arrays | from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
assert_equal(mean([5, 7, 3]), 5)
| <commit_before>from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
<commit_msg>Add test establishing no change in behavior for unsorted input arrays<commit_after> | from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
assert_equal(mean([5, 7, 3]), 5)
| from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
Add test establishing no change in behavior for unsorted input arraysfrom .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7])... | <commit_before>from .mean import mean
from pyramda.private.asserts import assert_equal
def mean_test():
assert_equal(mean([3, 5, 7]), 5)
<commit_msg>Add test establishing no change in behavior for unsorted input arrays<commit_after>from .mean import mean
from pyramda.private.asserts import assert_equal
def mean... |
e7c6aba7e67a1fde47471bc6fa80894869a6dfc8 | src/dogapi/http/service_check.py | src/dogapi/http/service_check.py | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | Fix host parameter name for the service check API | Fix host parameter name for the service check API
| Python | bsd-3-clause | DataDog/dogapi,DataDog/dogapi | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | <commit_before>__all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=No... | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | __all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=None):
if... | <commit_before>__all__ = [
'ServiceCheckApi',
]
import logging
import time
from dogapi.constants import CheckStatus
from dogapi.exceptions import ApiError
logger = logging.getLogger('dd.dogapi')
class ServiceCheckApi(object):
def service_check(self, check, host, status, timestamp=None, message=None, tags=No... |
0e7d1df97590152781e364b3acea34e0bb42bc2a | tests/constants_test.py | tests/constants_test.py | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&')
assert base_url == url
def should_have_card_flags(s... | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&action=advanced&')
assert base_url == url
def should_h... | Update base url in tests. | Update base url in tests.
| Python | mit | chigby/mtg,chigby/mtg | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&')
assert base_url == url
def should_have_card_flags(s... | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&action=advanced&')
assert base_url == url
def should_h... | <commit_before>import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&')
assert base_url == url
def should_ha... | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&action=advanced&')
assert base_url == url
def should_h... | import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&')
assert base_url == url
def should_have_card_flags(s... | <commit_before>import unittest
from mtglib.constants import base_url, card_flags
class DescribeConstants(unittest.TestCase):
def should_have_base_url(self):
url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx'
'?output=standard&')
assert base_url == url
def should_ha... |
95dd556423b0f8d8ec2df9cd7e1f494206bc2104 | tests/frontend_tests.py | tests/frontend_tests.py | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1677, len(r.data))
def _create_app(self):
... | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1648, len(r.data))
def _create_app(self):
... | Fix unittest issue with last commit | Fix unittest issue with last commit
| Python | mit | tkalus/fogspoon,tkalus/fogspoon,tkalus/fogspoon,tkalus/fogspoon | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1677, len(r.data))
def _create_app(self):
... | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1648, len(r.data))
def _create_app(self):
... | <commit_before># -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1677, len(r.data))
def _cre... | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1648, len(r.data))
def _create_app(self):
... | # -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1677, len(r.data))
def _create_app(self):
... | <commit_before># -*- coding: utf-8 -*-
from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app
class FogspoonFrontendTestCase(FogspoonAppTestCase):
def test_front(self):
r = self.get('/')
self.assertOkHtml(r)
self.assertEquals(1677, len(r.data))
def _cre... |
d6643fa72f6783fc0f92cb9d8f44daf52fc1bf5f | registry/admin.py | registry/admin.py | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title', 'couchDB_link', 'edit_metadata_link', 'published')
filter_horizontal = ['editors', 'collections']
list_filter = ('published', 'collections')
search_f... | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
def make_published(modeladmin, request, queryset):
queryset.update(published=True)
make_published.short_description = "Mark selected resources as published"
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title',... | Add bulk updating of a model's published status | Add bulk updating of a model's published status
| Python | bsd-3-clause | usgin/metadata-repository,usgin/metadata-repository,usgin/nrrc-repository,usgin/nrrc-repository | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title', 'couchDB_link', 'edit_metadata_link', 'published')
filter_horizontal = ['editors', 'collections']
list_filter = ('published', 'collections')
search_f... | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
def make_published(modeladmin, request, queryset):
queryset.update(published=True)
make_published.short_description = "Mark selected resources as published"
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title',... | <commit_before>from models import Resource, ResourceCollection, Contact
from django.contrib import admin
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title', 'couchDB_link', 'edit_metadata_link', 'published')
filter_horizontal = ['editors', 'collections']
list_filter = ('published', 'collections... | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
def make_published(modeladmin, request, queryset):
queryset.update(published=True)
make_published.short_description = "Mark selected resources as published"
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title',... | from models import Resource, ResourceCollection, Contact
from django.contrib import admin
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title', 'couchDB_link', 'edit_metadata_link', 'published')
filter_horizontal = ['editors', 'collections']
list_filter = ('published', 'collections')
search_f... | <commit_before>from models import Resource, ResourceCollection, Contact
from django.contrib import admin
class ResourceAdmin(admin.ModelAdmin):
list_display = ('title', 'couchDB_link', 'edit_metadata_link', 'published')
filter_horizontal = ['editors', 'collections']
list_filter = ('published', 'collections... |
9f323dae623e38261a1a63016b8447c96fe021b4 | python-pscheduler/pscheduler/pscheduler/api.py | python-pscheduler/pscheduler/pscheduler/api.py | """
Functions related to the pScheduler REST API
"""
def api_root():
return '/pscheduler'
def api_url(host = None, # Don't default this. It breaks 'None' behavior.
path = None,
port = None,
protocol = 'http'
):
if path is not None and path.startswith('/'):
... | """
Functions related to the pScheduler REST API
"""
import socket
def api_root():
"Return the standard root location of the pScheduler hierarchy"
return '/pscheduler'
def api_url(host = None,
path = None,
port = None,
protocol = 'http'
):
"""Format a URL ... | Return fully-qualified URLS. Doc changes. | Return fully-qualified URLS. Doc changes.
| Python | apache-2.0 | perfsonar/pscheduler,perfsonar/pscheduler,perfsonar/pscheduler,perfsonar/pscheduler,mfeit-internet2/pscheduler-dev,mfeit-internet2/pscheduler-dev | """
Functions related to the pScheduler REST API
"""
def api_root():
return '/pscheduler'
def api_url(host = None, # Don't default this. It breaks 'None' behavior.
path = None,
port = None,
protocol = 'http'
):
if path is not None and path.startswith('/'):
... | """
Functions related to the pScheduler REST API
"""
import socket
def api_root():
"Return the standard root location of the pScheduler hierarchy"
return '/pscheduler'
def api_url(host = None,
path = None,
port = None,
protocol = 'http'
):
"""Format a URL ... | <commit_before>"""
Functions related to the pScheduler REST API
"""
def api_root():
return '/pscheduler'
def api_url(host = None, # Don't default this. It breaks 'None' behavior.
path = None,
port = None,
protocol = 'http'
):
if path is not None and path.star... | """
Functions related to the pScheduler REST API
"""
import socket
def api_root():
"Return the standard root location of the pScheduler hierarchy"
return '/pscheduler'
def api_url(host = None,
path = None,
port = None,
protocol = 'http'
):
"""Format a URL ... | """
Functions related to the pScheduler REST API
"""
def api_root():
return '/pscheduler'
def api_url(host = None, # Don't default this. It breaks 'None' behavior.
path = None,
port = None,
protocol = 'http'
):
if path is not None and path.startswith('/'):
... | <commit_before>"""
Functions related to the pScheduler REST API
"""
def api_root():
return '/pscheduler'
def api_url(host = None, # Don't default this. It breaks 'None' behavior.
path = None,
port = None,
protocol = 'http'
):
if path is not None and path.star... |
002f57fe0b44251357ebc3dcd991af0b7cafd56c | src/gateway/__init__.py | src/gateway/__init__.py | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | Change version back te 2.23.0 | Change version back te 2.23.0
| Python | agpl-3.0 | openmotics/gateway,openmotics/gateway | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | <commit_before># Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This prog... | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | # Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | <commit_before># Copyright (C) 2016 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This prog... |
51d50f65859d7b57fa1f653caf43707237f05cd1 | u2flib_server/__init__.py | u2flib_server/__init__.py | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | Increment version since the change from M2Crypto to cryptography is fairly significant | Increment version since the change from M2Crypto to cryptography is fairly significant
| Python | bsd-2-clause | Yubico/python-u2flib-server,moreati/python-u2flib-server | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | <commit_before># Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this ... | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | # Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditi... | <commit_before># Copyright (c) 2013 Yubico AB
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this ... |
0463adb64976c05bf22edc4d819a4ddeabc013f6 | src/txkube/testing/strategies.py | src/txkube/testing/strategies.py | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | Apply a couple refinements to object name strategy. | Apply a couple refinements to object name strategy.
Zero length names are invalid.
So are names beginning or ending with -.
| Python | mit | LeastAuthority/txkube | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | <commit_before># Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. impo... | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | # Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. import NamespacedOb... | <commit_before># Copyright Least Authority Enterprises.
# See LICENSE for details.
"""
Hypothesis strategies useful for testing ``pykube``.
"""
from string import ascii_lowercase, digits
from pyrsistent import pmap
from hypothesis.strategies import builds, fixed_dictionaries, text, lists, sampled_from
from .. impo... |
d843b9c51888fb0391fb303f1aa3d74e00fcd0c1 | codepot/views/prices/__init__.py | codepot/views/prices/__init__.py | import time
from django.utils import timezone
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET', ])
def get_prices(request, **kwargs):
products = Product.objects.all()
... | import time
from django.utils import timezone
from rest_framework.decorators import (
api_view,
permission_classes,
)
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET',... | Allow to access prices without auth. | Allow to access prices without auth.
| Python | mit | codepotpl/codepot-backend,codepotpl/codepot-backend,codepotpl/codepot-backend | import time
from django.utils import timezone
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET', ])
def get_prices(request, **kwargs):
products = Product.objects.all()
... | import time
from django.utils import timezone
from rest_framework.decorators import (
api_view,
permission_classes,
)
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET',... | <commit_before>import time
from django.utils import timezone
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET', ])
def get_prices(request, **kwargs):
products = Product.obj... | import time
from django.utils import timezone
from rest_framework.decorators import (
api_view,
permission_classes,
)
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET',... | import time
from django.utils import timezone
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET', ])
def get_prices(request, **kwargs):
products = Product.objects.all()
... | <commit_before>import time
from django.utils import timezone
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from codepot.models import Product
@api_view(['GET', ])
def get_prices(request, **kwargs):
products = Product.obj... |
2120b8ef1780c492a8f53b54baf4f2210d3515f5 | components/includes/utilities.py | components/includes/utilities.py | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | Clean up, comments, liveness checking, robust data transfer | Clean up, comments, liveness checking, robust data transfer
| Python | bsd-2-clause | mavroudisv/Crux | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | <commit_before>import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
... | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
if result['retu... | <commit_before>import random
import json
import SocketExtend as SockExt
import config as conf
import parser as p
def ping(sock):
try:
rand = random.randint(1, 99999)
data = {'request':'ping', 'contents': {'value':rand}}
SockExt.send_msg(sock, json.dumps(data))
result = json.loads(SockExt.recv_msg(sock))
... |
e28541c00be7f02b3ca6de25e4f95ce4dd099524 | nodeconductor/iaas/perms.py | nodeconductor/iaas/perms.py | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | Allow InstanceSlaHistory to be managed by staff | Allow InstanceSlaHistory to be managed by staff
| Python | mit | opennode/nodeconductor,opennode/nodeconductor,opennode/nodeconductor | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | <commit_before>from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__u... | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__user',
c... | <commit_before>from nodeconductor.core.permissions import FilteredCollaboratorsPermissionLogic, StaffPermissionLogic
from nodeconductor.structure.models import ProjectRole
PERMISSION_LOGICS = (
('iaas.Instance', FilteredCollaboratorsPermissionLogic(
collaborators_query='project__roles__permission_group__u... |
72b55eb8aeabf73159f6b14c157a155e64427739 | orchard/cli/apps_command.py | orchard/cli/apps_command.py | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | Handle app-name validation failures better. | Handle app-name validation failures better.
| Python | apache-2.0 | orchardup/python-orchard,orchardup/python-orchard | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | <commit_before>from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app... | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app
rm ... | <commit_before>from .command import Command
from ..api.errors import BadRequest
import logging
import sys
log = logging.getLogger(__name__)
class AppsCommand(Command):
"""
Manage Orchard apps.
Usage: apps COMMAND [ARGS...]
Commands:
ls List apps (default)
create Add a new app... |
eabefc9c3d8502e16db0bfd07889b107ca3626ff | web/impact/impact/v1/views/base_history_view.py | web/impact/impact/v1/views/base_history_view.py | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | Switch from "history" to "results" in the history API calls | [AC-4764] Switch from "history" to "results" in the history API calls
| Python | mit | masschallenge/impact-api,masschallenge/impact-api,masschallenge/impact-api,masschallenge/impact-api | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | <commit_before># MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = Impa... | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = ImpactMetadata
... | <commit_before># MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from rest_framework.response import Response
from rest_framework.views import APIView
from impact.permissions import (
V1APIPermissions,
)
from impact.v1.metadata import ImpactMetadata
class BaseHistoryView(APIView):
metadata_class = Impa... |
0fde64441778eb03b194b1355df9872bccbcd481 | zephyr/management/commands/sync_api_key.py | zephyr/management/commands/sync_api_key.py | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | Fix typos in "No ~/.humbugrc found" error message | Fix typos in "No ~/.humbugrc found" error message
(imported from commit b0c8aab4668751d9b1d12792d249645498a95932)
| Python | apache-2.0 | Suninus/zulip,jphilipsen05/zulip,thomasboyt/zulip,easyfmxu/zulip,zhaoweigg/zulip,seapasulli/zulip,moria/zulip,AZtheAsian/zulip,themass/zulip,ryansnowboarder/zulip,jeffcao/zulip,MariaFaBella85/zulip,Frouk/zulip,zofuthan/zulip,zofuthan/zulip,so0k/zulip,deer-hope/zulip,MayB/zulip,RobotCaleb/zulip,mahim97/zulip,tommyip/zul... | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | <commit_before>from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def hand... | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def handle(self, *args,... | <commit_before>from __future__ import absolute_import
from django.core.management.base import BaseCommand
from zephyr.models import get_user_profile_by_email
import os
from ConfigParser import SafeConfigParser
class Command(BaseCommand):
help = """Reset all colors for a person to the default grey"""
def hand... |
a6061ef140e371101c3d04c5b85562586293eee8 | scrappyr/scraps/tests/test_models.py | scrappyr/scraps/tests/test_models.py | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | Add test of block-elements in scrap title | Add test of block-elements in scrap title
| Python | mit | tonysyu/scrappyr-app,tonysyu/scrappyr-app,tonysyu/scrappyr-app,tonysyu/scrappyr-app | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | <commit_before>from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title =... | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title == 'hello'
... | <commit_before>from test_plus.test import TestCase
from ..models import Scrap
class TestScrap(TestCase):
def test__str__(self):
scrap = Scrap(raw_title='hello')
assert str(scrap) == 'hello'
def test_html_title(self):
scrap = Scrap(raw_title='hello')
assert scrap.html_title =... |
0a2fd079c828a8d2f48f8e2c33574aec2d416f06 | mbuild/lib/atoms/c3.py | mbuild/lib/atoms/c3.py | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(self['... | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(np.arr... | Fix bug in translate call | Fix bug in translate call
| Python | mit | iModels/mbuild,ctk3b/mbuild,tcmoore3/mbuild,summeraz/mbuild,summeraz/mbuild,ctk3b/mbuild,iModels/mbuild,tcmoore3/mbuild | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(self['... | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(np.arr... | <commit_before>from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].t... | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(np.arr... | from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].translate(self['... | <commit_before>from __future__ import division
import numpy as np
import mbuild as mb
class C3(mb.Compound):
"""A tri-valent, planar carbon."""
def __init__(self):
super(C3, self).__init__()
self.add(mb.Particle(name='C'))
self.add(mb.Port(anchor=self[0]), 'up')
self['up'].t... |
1d8185ed29d448ae181779913b8a0c4f513a799c | opsimulate/constants.py | opsimulate/constants.py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
KEYS_DIR_NAME = './keys'
PRIVATE_KEY_FILE = '{}/opsimulate'.format(KEYS_DIR_NAME)
PUBLIC_KEY_FILE = '{}/opsimulate.pub'.format(KEYS_DIR_NAME)
SERVICE_ACCOUNT_FILE = 'service-account.json'
ZONE = 'us-east4-a'
MACHINE_TYPE = 'n1-standard-1'
... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
import os
HOME = os.path.expanduser("~")
OPSIMULATE_HOME = os.path.join(HOME, '.opsimulate')
KEYS_DIR_NAME = os.path.join(OPSIMULATE_HOME, 'keys')
PRIVATE_KEY_FILE = os.path.join(KEYS_DIR_NAME, 'opsimulate')
PUBLIC_KEY_FILE = os.path.join(... | Install keys and service-account.json in ~/.opsimulate directory | Install keys and service-account.json in ~/.opsimulate directory
- This ensures that opsimulate can be ran as a regular pip installed
CLI tool and not just via pip -e or direct script invocation
| Python | mit | RochesterinNYC/opsimulate,RochesterinNYC/opsimulate | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
KEYS_DIR_NAME = './keys'
PRIVATE_KEY_FILE = '{}/opsimulate'.format(KEYS_DIR_NAME)
PUBLIC_KEY_FILE = '{}/opsimulate.pub'.format(KEYS_DIR_NAME)
SERVICE_ACCOUNT_FILE = 'service-account.json'
ZONE = 'us-east4-a'
MACHINE_TYPE = 'n1-standard-1'
... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
import os
HOME = os.path.expanduser("~")
OPSIMULATE_HOME = os.path.join(HOME, '.opsimulate')
KEYS_DIR_NAME = os.path.join(OPSIMULATE_HOME, 'keys')
PRIVATE_KEY_FILE = os.path.join(KEYS_DIR_NAME, 'opsimulate')
PUBLIC_KEY_FILE = os.path.join(... | <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
KEYS_DIR_NAME = './keys'
PRIVATE_KEY_FILE = '{}/opsimulate'.format(KEYS_DIR_NAME)
PUBLIC_KEY_FILE = '{}/opsimulate.pub'.format(KEYS_DIR_NAME)
SERVICE_ACCOUNT_FILE = 'service-account.json'
ZONE = 'us-east4-a'
MACHINE_TYPE = '... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
import os
HOME = os.path.expanduser("~")
OPSIMULATE_HOME = os.path.join(HOME, '.opsimulate')
KEYS_DIR_NAME = os.path.join(OPSIMULATE_HOME, 'keys')
PRIVATE_KEY_FILE = os.path.join(KEYS_DIR_NAME, 'opsimulate')
PUBLIC_KEY_FILE = os.path.join(... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
KEYS_DIR_NAME = './keys'
PRIVATE_KEY_FILE = '{}/opsimulate'.format(KEYS_DIR_NAME)
PUBLIC_KEY_FILE = '{}/opsimulate.pub'.format(KEYS_DIR_NAME)
SERVICE_ACCOUNT_FILE = 'service-account.json'
ZONE = 'us-east4-a'
MACHINE_TYPE = 'n1-standard-1'
... | <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017 James Wen
KEYS_DIR_NAME = './keys'
PRIVATE_KEY_FILE = '{}/opsimulate'.format(KEYS_DIR_NAME)
PUBLIC_KEY_FILE = '{}/opsimulate.pub'.format(KEYS_DIR_NAME)
SERVICE_ACCOUNT_FILE = 'service-account.json'
ZONE = 'us-east4-a'
MACHINE_TYPE = '... |
a424fa213c14a64f0f2aa54a7adba0e9710032c6 | osbrain/tests/common.py | osbrain/tests/common.py | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
port = r... | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.yield_fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
po... | Use `yield_fixture` instead of classic `fixture` with pytest | Use `yield_fixture` instead of classic `fixture` with pytest
| Python | apache-2.0 | opensistemas-hub/osbrain | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
port = r... | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.yield_fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
po... | <commit_before>import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
... | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.yield_fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
po... | import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
port = r... | <commit_before>import random
import pytest
from Pyro4.errors import NamingError
from osbrain.nameserver import NameServer
from osbrain.address import SocketAddress
@pytest.fixture(scope='function')
def nsaddr(request):
while True:
try:
# Bind to random port
host = '127.0.0.1'
... |
80b882b3a790241d3d67ae190b0e32d7e9d7b8ed | mesonwrap/inventory.py | mesonwrap/inventory.py | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_name(project: str) -> bo... | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'dubtestproject',
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_na... | Add dubtestproject to the list of restricted projects | Add dubtestproject to the list of restricted projects
| Python | apache-2.0 | mesonbuild/wrapweb,mesonbuild/wrapweb,mesonbuild/wrapweb | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_name(project: str) -> bo... | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'dubtestproject',
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_na... | <commit_before>_ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_name(proj... | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'dubtestproject',
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_na... | _ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_name(project: str) -> bo... | <commit_before>_ORGANIZATION = 'mesonbuild'
_RESTRICTED_PROJECTS = [
'meson',
'meson-ci',
'mesonbuild.github.io',
'mesonwrap',
'wrapdb',
'wrapdevtools',
'wrapweb',
]
_RESTRICTED_ORG_PROJECTS = [
_ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS
]
def is_wrap_project_name(proj... |
959ce4f98577c872c69a29a30a2e0659e12cff75 | var/spack/packages/ImageMagick/package.py | var/spack/packages/ImageMagick/package.py | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-10', 'aa050bf97... | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
#-------------------------------------------------------------------------
# ImageMagick does not keep around anything but *-10 versions, so
# this URL may change.... | Downgrade standard version of ImageMagick to a non-changing URL. | Downgrade standard version of ImageMagick to a non-changing URL.
- bleeding edge still available but commented by default.
| Python | lgpl-2.1 | EmreAtes/spack,tmerrick1/spack,matthiasdiener/spack,TheTimmy/spack,lgarren/spack,tmerrick1/spack,skosukhin/spack,TheTimmy/spack,TheTimmy/spack,LLNL/spack,lgarren/spack,mfherbst/spack,iulian787/spack,LLNL/spack,lgarren/spack,skosukhin/spack,mfherbst/spack,EmreAtes/spack,skosukhin/spack,iulian787/spack,EmreAtes/spack,The... | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-10', 'aa050bf97... | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
#-------------------------------------------------------------------------
# ImageMagick does not keep around anything but *-10 versions, so
# this URL may change.... | <commit_before>from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-... | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
#-------------------------------------------------------------------------
# ImageMagick does not keep around anything but *-10 versions, so
# this URL may change.... | from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-10', 'aa050bf97... | <commit_before>from spack import *
class Imagemagick(Package):
"""ImageMagick is a image processing library"""
homepage = "http://www.imagemagic.org"
url = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"
version('6.9.0-0', '2cf094cb86ec518fa5bc669ce2d21613')
version('6.8.9-... |
a61e2d621eb0b2c554c064739bd4c7dcf8a8797a | setup.py | setup.py | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six==1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six>=1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | Use open-ended dependency on six | Use open-ended dependency on six
Having six pinned to 1.5.2 causes issues for e.g. Oscar when other dependencies specify a more current version. AFAIK, six is outstanding at being backwards-compatible, so it should be safe to allow any version above 1.5.2 to be installed.
AFAIK, django-extra-views is compatible wi... | Python | mit | AndrewIngram/django-extra-views,luzfcb/django-extra-views,penta-srl/django-extra-views,AndrewIngram/django-extra-views,luzfcb/django-extra-views,penta-srl/django-extra-views | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six==1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six>=1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | <commit_before>from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six==1.5.2',
],
description="Extra class-based views for Django",
long_description=ope... | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six>=1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six==1.5.2',
],
description="Extra class-based views for Django",
long_description=open('README.rst',... | <commit_before>from setuptools import setup
setup(
name='django-extra-views',
version='0.6.5',
url='https://github.com/AndrewIngram/django-extra-views',
install_requires=[
'Django >=1.3',
'six==1.5.2',
],
description="Extra class-based views for Django",
long_description=ope... |
08c8706513953a9e323296396c9e67a45632cc13 | setup.py | setup.py | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
version=populous.... | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters",
"Jinja2"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
ver... | Add Jinja2 to the requirements | Add Jinja2 to the requirements
| Python | mit | novafloss/populous | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
version=populous.... | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters",
"Jinja2"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
ver... | <commit_before>import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
ve... | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters",
"Jinja2"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
ver... | import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
version=populous.... | <commit_before>import sys
from setuptools import setup, find_packages
import populous
requirements = [
"click",
"cached-property",
"Faker",
"dateutils",
"PyYAML",
"peloton_bloomfilters"
]
if sys.version_info < (3, 2):
requirements.append('functools32')
setup(
name="populous",
ve... |
a472cf675ee91b7f0506fd7f958ebe0225e052e7 | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.13',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.14',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 7.0.14. | Update the PyPI version to 7.0.14.
| Python | mit | Doist/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.13',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.14',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.13',
packages=['todoist', 'todoist.managers'],
aut... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.14',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.13',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='7.0.13',
packages=['todoist', 'todoist.managers'],
aut... |
9a2316d292a9aed5764de85d6de1aa9391dd233a | setup.py | setup.py | from setuptools import setup, find_packages
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',
url='https://github.com/jrderuiter/pybiomart',
download_url='https://github.com/jrderuiter/pybiomart/tarball/0.0.3',
author='Julian de Ruiter'... | from setuptools import setup, find_packages
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = open('README.md').read()
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',... | Use pyandoc to read description from README.md. | Use pyandoc to read description from README.md.
| Python | mit | jrderuiter/pybiomart | from setuptools import setup, find_packages
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',
url='https://github.com/jrderuiter/pybiomart',
download_url='https://github.com/jrderuiter/pybiomart/tarball/0.0.3',
author='Julian de Ruiter'... | from setuptools import setup, find_packages
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = open('README.md').read()
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',... | <commit_before>from setuptools import setup, find_packages
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',
url='https://github.com/jrderuiter/pybiomart',
download_url='https://github.com/jrderuiter/pybiomart/tarball/0.0.3',
author='Ju... | from setuptools import setup, find_packages
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = open('README.md').read()
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',... | from setuptools import setup, find_packages
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',
url='https://github.com/jrderuiter/pybiomart',
download_url='https://github.com/jrderuiter/pybiomart/tarball/0.0.3',
author='Julian de Ruiter'... | <commit_before>from setuptools import setup, find_packages
install_requires = ['future', 'pandas', 'requests', 'requests_cache']
setup(
name='pybiomart',
version='0.0.3',
url='https://github.com/jrderuiter/pybiomart',
download_url='https://github.com/jrderuiter/pybiomart/tarball/0.0.3',
author='Ju... |
70d9d9f1a3d36cec951f23232ad9add09fa7d176 | setup.py | setup.py | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | USe tox as test package and added python 3.7 to classifiers | USe tox as test package and added python 3.7 to classifiers | Python | mit | matheuscas/pyIE | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | <commit_before># *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
... | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | # *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming La... | <commit_before># *-* coding:utf-8 *-*
from setuptools import setup
setup(name='ie',
version='1.0.8',
description='Validation of brazilian state registration numbers',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
... |
0f6d9968e23a6c4f25cebe16f87bd0749863939b | setup.py | setup.py | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | Add comment to Pillow requirement to indicate that 2.0.0 is needed for Mac users. | Add comment to Pillow requirement to indicate that 2.0.0 is needed for Mac users.
| Python | bsd-3-clause | MathieuDuponchelle/my_patched_photologue,rmaceissoft/django-photologue,seedwithroot/django-photologue-clone,MathieuDuponchelle/my_patched_photologue,rmaceissoft/django-photologue,jlemaes/django-photologue,seedwithroot/django-photologue-clone,rmaceissoft/django-photologue,jlemaes/django-photologue,RossLYoung/django-phot... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
author="Jus... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
version = '2.6.dev0'
setup(
name="django-photologue",
version=version,
description="Powerful image management for the Django web framework.",
... |
83750f214b880fcd77e059c151d54f644ab76944 | setup.py | setup.py | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | Add explicit dependency on Mercurial. | Add explicit dependency on Mercurial.
| Python | mpl-2.0 | MozillaSecurity/funfuzz,MozillaSecurity/funfuzz,nth10sd/funfuzz,nth10sd/funfuzz,MozillaSecurity/funfuzz,nth10sd/funfuzz | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | <commit_before># coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__mai... | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | # coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__main__":
setup... | <commit_before># coding=utf-8
# pylint: disable=missing-docstring
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
if __name__ == "__mai... |
63f09024fcd936b966b29d55e05c6fb8279f723f | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | Add jp command line interface | Add jp command line interface
| Python | mit | henrysher/jmespathv041p | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
... | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
url='https://gi... | <commit_before>#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
setup(
name='jmespath',
version='0.0.2',
description='JSON Matching Expressions',
long_description=open('README.rst').read(),
author='James Saryerwinnie',
author_email='js@jamesls.com',
... |
651275b0e3de2377637ffe200f4631e9fde91d08 | setup.py | setup.py | import sys
from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
... | from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
'simulat... | Install C extension for Python 3 as well | Install C extension for Python 3 as well
This reverts commit c01d5842d49bba5283a2c31aed718af443b7e3ed.
| Python | mit | tkf/railgun,tkf/railgun | import sys
from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
... | from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
'simulat... | <commit_before>import sys
from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '... | from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
'simulat... | import sys
from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '
... | <commit_before>import sys
from setuptools import setup
import numpy
from numpy.distutils.core import Extension
import railgun
from railgun import __author__, __version__, __license__
setup(
name='railgun',
version=__version__,
packages=['railgun'],
description=('ctypes utilities for faster and easier '... |
fe6eeee9033655b08bda4a1a6a64c2741f3f5321 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | Update Django requirement to latest LTS | Update Django requirement to latest LTS
| Python | bsd-3-clause | lamby/django-switch-templatetag | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_ema... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_email="chris@chris... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-switch-templatetag',
url="https://chris-lamb.co.uk/projects/django-switch-templatetag",
version='2.0.3',
description="Simple switch tag for Django templates.",
author="Chris Lamb",
author_ema... |
13938cfd7549a59c8d5e12a0962310ae78b014d2 | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | Add url to github for pypi | Add url to github for pypi
| Python | bsd-3-clause | mredar/django-dublincore | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
pac... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
packages = ['dubli... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-dublincore',
version = '0.1',
pac... |
eb2f061574dadaa141047ad27a016ec96b36cf54 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | Update the project URL to point to github. | Update the project URL to point to github.
| Python | lgpl-2.1 | UMIACS/qav,raushan802/qav | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answe... | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | #!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensiv... | <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
from distutils.core import setup
extra = {}
long_description = \
'''
A python library for console-based raw input-based questions with answe... |
a6bafb8af90a82ac95dfa26df24c114cb3808cb8 | setup.py | setup.py | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | Update required version of easy-thumbnails | Update required version of easy-thumbnails
So we avoid deprecation warnings with Django 1.5
| Python | bsd-3-clause | henriquechehad/django-image-cropping,henriquechehad/django-image-cropping,winzard/django-image-cropping,henriquechehad/django-image-cropping,winzard/django-image-cropping,winzard/django-image-cropping | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | <commit_before>from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",... | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | <commit_before>from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.6.3",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",... |
920b8f565580f228abca43b54027fa4ec7247a34 | setup.py | setup.py | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | Add old method for setting val to pin named set_val_old | Add old method for setting val to pin named set_val_old
| Python | mit | xandr2/blynkapi | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | <commit_before># Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='... | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | <commit_before># Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='... |
853fd7147f6a49968d1d5a48f452e88672742981 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | Add missing dependency on Blinker | Add missing dependency on Blinker
| Python | bsd-3-clause | lepture/flask-debugtoolbar,dianchang/flask-debugtoolbar,dianchang/flask-debugtoolbar,dianchang/flask-debugtoolbar,lepture/flask-debugtoolbar | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | <commit_before>from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the D... | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug too... | <commit_before>from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the D... |
67061c16a730ed787699ee79f2edb62a7c9f016a | setup.py | setup.py | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | Fix path to OpenCL kernel (2nd) | Fix path to OpenCL kernel (2nd)
| Python | mit | HearSys/pattern_finder_gpu,HearSys/pattern_finder_gpu | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | <commit_before>from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
... | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
author_email='j... | <commit_before>from setuptools import setup
setup(name='pattern_finder_gpu',
version='1.0',
description='Brute force OpenCL based pattern localization in images that supports masking and weighting.',
url='https://github.com/HearSys/pattern_finder_gpu',
author='Samuel John (HörSys GmbH)',
... |
ef94b8ee00d7257481cba984f75290a2e8c8ca15 | setup.py | setup.py | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | Add Pillow to tests require | Add Pillow to tests require
| Python | bsd-3-clause | praekelt/django-photologue,praekelt/django-photologue | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = ... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | #/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = "%d.%d.%s" % ve... | <commit_before>#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('photologue').VERSION
if len(version_tuple) == 3:
version = ... |
96d19368545804bbfbcf2455bb86efa75799b439 | setup.py | setup.py | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | Upgrade to PyJWT 1.0.0 and cryptography 0.8 | Upgrade to PyJWT 1.0.0 and cryptography 0.8
| Python | bsd-3-clause | morepath/more.jwtauth | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | <commit_before>import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for Morepath",
... | <commit_before>import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jwtauth',
version='0.1.dev0',
description="JWT Access Auth Identity Policy for... |
6fe0966cc6c0532ee6d0076ff6306ceda3418928 | bluebottle/homepage/model.py | bluebottle/homepage/model.py | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
self.id = 1
self.quotes = Quote.objects.published().filter(language=language... | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
# FIXME: Hack to make sure quotes and slides load.
if language == 'en-us':
... | Fix Slides & Quotes for home | Fix Slides & Quotes for home
| Python | bsd-3-clause | jfterpstra/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
self.id = 1
self.quotes = Quote.objects.published().filter(language=language... | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
# FIXME: Hack to make sure quotes and slides load.
if language == 'en-us':
... | <commit_before>from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
self.id = 1
self.quotes = Quote.objects.published().filter(la... | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
# FIXME: Hack to make sure quotes and slides load.
if language == 'en-us':
... | from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
self.id = 1
self.quotes = Quote.objects.published().filter(language=language... | <commit_before>from bluebottle.slides.models import Slide
from bluebottle.projects import get_project_model
from bluebottle.quotes.models import Quote
PROJECT_MODEL = get_project_model()
class HomePage(object):
def get(self, language):
self.id = 1
self.quotes = Quote.objects.published().filter(la... |
ae10f81c7da54b4eaf8305aee8118b4ee44c51ed | setup.py | setup.py | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
k... | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Program... | Add Python 3 to the classifiers. | Add Python 3 to the classifiers.
| Python | mit | vokal/s3same,vokal-isaac/s3same | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
k... | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Program... | <commit_before>from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
... | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Program... | from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
k... | <commit_before>from setuptools import setup
setup(name='s3same',
version='0.1',
description='Configure Travis-CI artifact uploading to S3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
... |
078b6bf9d58e92742907577f62d7bd0eb752b90c | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | Remove 2.6, add 3.5 and 3.6 | Remove 2.6, add 3.5 and 3.6
| Python | mit | juanpabloaj/slacker-cli | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except Impo... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
in... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except Impo... |
752f0f019163e4932b113d7aa72c4a935e6ae516 | planetstack/model_policies/__init__.py | planetstack/model_policies/__init__.py | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_Controller import *
from .model_poli... | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_ControllerSite import *
from .model_... | Enable user and site model policies | Enable user and site model policies
| Python | apache-2.0 | open-cloud/xos,zdw/xos,opencord/xos,cboling/xos,cboling/xos,zdw/xos,open-cloud/xos,opencord/xos,zdw/xos,cboling/xos,zdw/xos,cboling/xos,open-cloud/xos,opencord/xos,cboling/xos | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_Controller import *
from .model_poli... | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_ControllerSite import *
from .model_... | <commit_before>from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_Controller import *
f... | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_ControllerSite import *
from .model_... | from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_Controller import *
from .model_poli... | <commit_before>from .model_policy_Slice import *
from .model_policy_User import *
from .model_policy_Network import *
from .model_policy_Site import *
from .model_policy_SitePrivilege import *
from .model_policy_SlicePrivilege import *
from .model_policy_ControllerSlice import *
from .model_policy_Controller import *
f... |
0b03bc03797c6d43573a3f67b9649977f9663a25 | 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | Add version by commit count | Add version by commit count
| Python | apache-2.0 | google/python-cloud-utils | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | <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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | # 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | <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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... |
2392ae642e9f9dd8ede478b63f4c838cfe1dee69 | pysyte/text_streams.py | pysyte/text_streams.py | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | Use sys.stdin if not other streams found for all() | Use sys.stdin if not other streams found for all()
| Python | mit | jalanb/dotsite | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | <commit_before>"""Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name... | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | """Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name = name or '<cl... | <commit_before>"""Module to handle streams of text"""
import os
import sys
import contextlib
from itertools import chain
from six import StringIO
from pysyte import iteration
from pysyte.platforms import get_clipboard_data
def clipboard_stream(name=None):
stream = StringIO(get_clipboard_data())
stream.name... |
d686524149a11be5e849b449a49429416ef7005d | camelot/roundtable/models.py | camelot/roundtable/models.py | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField()
def __str__(self):
... | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField(default=False)
def __str__(s... | Add False default to traitor BooleanField. | Add False default to traitor BooleanField.
| Python | bsd-2-clause | jambonrose/djangocon2014-updj17 | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField()
def __str__(self):
... | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField(default=False)
def __str__(s... | <commit_before># -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField()
def __str__... | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField(default=False)
def __str__(s... | # -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField()
def __str__(self):
... | <commit_before># -*- coding: utf-8
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Knight(models.Model):
name = models.CharField(max_length=63)
traitor = models.BooleanField()
def __str__... |
bc9289d76c5401d7b43410f2b3150a1d9824757f | donut/email_utils.py | donut/email_utils.py | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = "beta.donut.caltech.edu"
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
""... | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = 'donut.caltech.edu'
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
"""
... | Remove beta. from email domain | Remove beta. from email domain
| Python | mit | ASCIT/donut,ASCIT/donut-python,ASCIT/donut-python,ASCIT/donut,ASCIT/donut | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = "beta.donut.caltech.edu"
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
""... | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = 'donut.caltech.edu'
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
"""
... | <commit_before>import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = "beta.donut.caltech.edu"
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richt... | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = 'donut.caltech.edu'
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
"""
... | import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = "beta.donut.caltech.edu"
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richtext=''):
""... | <commit_before>import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
DOMAIN = "beta.donut.caltech.edu"
def send_email(to,
text,
subject,
use_prefix=True,
group=None,
poster='',
richt... |
e70537eb2c1a8a68a6a66550e6714816e048bb5e | tests/integration/modules/git.py | tests/integration/modules/git.py | # -*- coding: utf-8 -*-
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
@classmethod
def setUpClass(cls):
from ... | # -*- coding: utf-8 -*-
# Import Python Libs
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
'''
Integration tests for ... | Fix missing cls variable and add some docstring info | Fix missing cls variable and add some docstring info
| Python | apache-2.0 | saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt | # -*- coding: utf-8 -*-
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
@classmethod
def setUpClass(cls):
from ... | # -*- coding: utf-8 -*-
# Import Python Libs
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
'''
Integration tests for ... | <commit_before># -*- coding: utf-8 -*-
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
@classmethod
def setUpClass(cls)... | # -*- coding: utf-8 -*-
# Import Python Libs
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
'''
Integration tests for ... | # -*- coding: utf-8 -*-
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
@classmethod
def setUpClass(cls):
from ... | <commit_before># -*- coding: utf-8 -*-
import shutil
import subprocess
import tempfile
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration
class GitModuleTest(integration.ModuleCase):
@classmethod
def setUpClass(cls)... |
8a3b4dd4821f22fcb54e9da6386d5e7b90cc99cc | tests/search_backend_postgres.py | tests/search_backend_postgres.py | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | Make postgres search backend test actually change search backend | Make postgres search backend test actually change search backend
| Python | bsd-2-clause | p/wolis-phpbb,p/wolis-phpbb | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | <commit_before>from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
... | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
check_pa... | <commit_before>from wolis.test_case import WolisTestCase
class SearchBackendPostgresTest(WolisTestCase):
def test_set_search_backend(self):
self.login('morpheus', 'morpheus')
self.acp_login('morpheus', 'morpheus')
self.change_acp_knob(
link_text='Search settings',
... |
79779ed3fdf7bbc5f248cb73c55ccc2715455fe4 | thinglang/compiler/allocation.py | thinglang/compiler/allocation.py | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | Make reference resolution get stricter | Make reference resolution get stricter
| Python | mit | ytanay/thinglang,ytanay/thinglang,ytanay/thinglang,ytanay/thinglang | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | <commit_before>class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
... | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
self.next_inde... | <commit_before>class LinearMemoryAllocationLayout(object):
def __init__(self, initial=None):
initial = initial or {}
self.mapping = initial
self.next_index = len(initial)
def add(self, name):
index = self.next_index
self.mapping[name] = self.next_index, name.type
... |
20a2a530f797d0eb2e59b283c9c0bdff9d3bb616 | conda_env/installers/base.py | conda_env/installers/base.py | ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return __import__(ENTRY_POINT + '.' + name)
except Impo... | import importlib
ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return importlib.import_module(ENTRY_POINT... | Switch to using importlib to work | Switch to using importlib to work
| Python | bsd-3-clause | ESSS/conda-env,dan-blanchard/conda-env,mikecroucher/conda-env,ESSS/conda-env,isaac-kit/conda-env,mikecroucher/conda-env,isaac-kit/conda-env,nicoddemus/conda-env,nicoddemus/conda-env,phobson/conda-env,conda/conda-env,asmeurer/conda-env,asmeurer/conda-env,conda/conda-env,phobson/conda-env,dan-blanchard/conda-env | ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return __import__(ENTRY_POINT + '.' + name)
except Impo... | import importlib
ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return importlib.import_module(ENTRY_POINT... | <commit_before>ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return __import__(ENTRY_POINT + '.' + name)
... | import importlib
ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return importlib.import_module(ENTRY_POINT... | ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return __import__(ENTRY_POINT + '.' + name)
except Impo... | <commit_before>ENTRY_POINT = 'conda_env.installers'
class InvalidInstaller(Exception):
def __init__(self, name):
msg = 'Unable to load installer for {}'.format(name)
super(InvalidInstaller, self).__init__(msg)
def get_installer(name):
try:
return __import__(ENTRY_POINT + '.' + name)
... |
08c1b6d8523936319dee2525dc795db844432a5d | fjord/heartbeat/tests/__init__.py | fjord/heartbeat/tests/__init__.py | import time
import factory
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = 'survey123'
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:
model = Answer
experiment_ve... | import time
import factory
from factory import fuzzy
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = fuzzy.FuzzyText(length=100)
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:... | Change some fields to use fuzzy values | Change some fields to use fuzzy values
This makes it easier to have tests generate multiple surveys and
answers without hitting integrity issues.
| Python | bsd-3-clause | hoosteeno/fjord,hoosteeno/fjord,mozilla/fjord,mozilla/fjord,mozilla/fjord,hoosteeno/fjord,mozilla/fjord,hoosteeno/fjord | import time
import factory
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = 'survey123'
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:
model = Answer
experiment_ve... | import time
import factory
from factory import fuzzy
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = fuzzy.FuzzyText(length=100)
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:... | <commit_before>import time
import factory
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = 'survey123'
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:
model = Answer
... | import time
import factory
from factory import fuzzy
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = fuzzy.FuzzyText(length=100)
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:... | import time
import factory
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = 'survey123'
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:
model = Answer
experiment_ve... | <commit_before>import time
import factory
from fjord.heartbeat.models import Answer, Survey
class SurveyFactory(factory.DjangoModelFactory):
class Meta:
model = Survey
name = 'survey123'
enabled = True
class AnswerFactory(factory.DjangoModelFactory):
class Meta:
model = Answer
... |
6a53185da27ca3c1257d503389fe66936a4d8014 | testing/test_rm_dirs.py | testing/test_rm_dirs.py | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | Fix test to add assertion | Fix test to add assertion
rmdir test now expected to fail
| Python | lgpl-2.1 | rlee287/pyautoupdate,rlee287/pyautoupdate | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | <commit_before>from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads'... | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads',fi) for fi in ... | <commit_before>from __future__ import absolute_import, print_function
import os
import sys
import pytest
from ..pyautoupdate.launcher import Launcher
@pytest.fixture(scope='function')
def create_update_dir(request):
os.mkdir('downloads')
files=['tesfeo','fjfesf','fihghg']
filedir=[os.path.join('downloads'... |
6c16fb42efd148a6e99788e55e20fa7d55b15cab | tests/docs/test_docs.py | tests/docs/test_docs.py | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | Update link check to look at platform | Update link check to look at platform
| Python | mit | simpeg/discretize,simpeg/discretize,simpeg/discretize | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | <commit_before>import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
... | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
os.chdir(o... | <commit_before>import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, file_name = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ["docs"]
def test_html(self):
wd = os.getcwd()
... |
4b84cedd15a2774391544a6edee3532e5e267608 | tests/docs/test_docs.py | tests/docs/test_docs.py | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | Edit docs test for local test on windows machine | Edit docs test for local test on windows machine
| Python | mit | simpeg/simpeg | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | <commit_before>import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def ... | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def test_html(self)... | <commit_before>import subprocess
import unittest
import os
import subprocess
import unittest
import os
class Doc_Test(unittest.TestCase):
@property
def path_to_docs(self):
dirname, filename = os.path.split(os.path.abspath(__file__))
return dirname.split(os.path.sep)[:-2] + ['docs']
def ... |
17390cc09c7ffd8583fd170acb2a4b1e8d4efabd | tests/formats/visual.py | tests/formats/visual.py | from __future__ import unicode_literals
import unittest
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
def test_writer_init(self):
writer = VisualFormatWriter()
| from __future__ import unicode_literals
import unittest
from StringIO import StringIO
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
"""
Tests for VisualFormatWriter class.
"""
def test_write_header_obscode(self):
"""
Check ... | Test for obscode in file. | Test for obscode in file.
| Python | mit | zsiciarz/pyaavso | from __future__ import unicode_literals
import unittest
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
def test_writer_init(self):
writer = VisualFormatWriter()
Test for obscode in file. | from __future__ import unicode_literals
import unittest
from StringIO import StringIO
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
"""
Tests for VisualFormatWriter class.
"""
def test_write_header_obscode(self):
"""
Check ... | <commit_before>from __future__ import unicode_literals
import unittest
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
def test_writer_init(self):
writer = VisualFormatWriter()
<commit_msg>Test for obscode in file.<commit_after> | from __future__ import unicode_literals
import unittest
from StringIO import StringIO
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
"""
Tests for VisualFormatWriter class.
"""
def test_write_header_obscode(self):
"""
Check ... | from __future__ import unicode_literals
import unittest
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
def test_writer_init(self):
writer = VisualFormatWriter()
Test for obscode in file.from __future__ import unicode_literals
import unittest
f... | <commit_before>from __future__ import unicode_literals
import unittest
from pyaavso.formats.visual import VisualFormatWriter
class VisualFormatWriterTestCase(unittest.TestCase):
def test_writer_init(self):
writer = VisualFormatWriter()
<commit_msg>Test for obscode in file.<commit_after>from __future__ i... |
3a2fc6b73aec538802adff2bd95261ffc56ca475 | rover.py | rover.py | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | Add default arguments to set_position, add self argument to move function | Add default arguments to set_position, add self argument to move function
| Python | mit | authentik8/rover | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
return next... | <commit_before>class Rover:
compass = ['N', 'E', 'S', 'W']
def __init__(self, x=0, y=0, direction='N'):
self.x = x
self.y = y
self.direction = direction
@property
def position(self):
return self.x, self.y, self.direction
@property
def compass_index(self):
... |
1e7e103799661acfd2cd492febbcc0ef537215e1 | bazaar/warehouse/views.py | bazaar/warehouse/views.py | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | Fix of dummymovement form to use product.move instead of api.move | Fix of dummymovement form to use product.move instead of api.move
| Python | bsd-2-clause | meghabhoj/NEWBAZAAR,evonove/django-bazaar,evonove/django-bazaar,meghabhoj/NEWBAZAAR,meghabhoj/NEWBAZAAR,evonove/django-bazaar | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | <commit_before>from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMi... | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMixin, BazaarPref... | <commit_before>from __future__ import unicode_literals
from django.core.urlresolvers import reverse_lazy
from django.views.generic import FormView
from braces.views import LoginRequiredMixin
from ..mixins import BazaarPrefixMixin
from . import api
from .forms import MovementForm
class MovementMixin(LoginRequiredMi... |
9cffd831aaf1aff1dd3f655c4336c57831fef700 | nomadblog/urls.py | nomadblog/urls.py | from django.conf.urls.defaults import patterns, url
from nomadblog.views import PostList
urlpatterns = patterns('nomadblog.views',
# List blog posts
url('^$', PostList.as_view(), name='list_posts'),
# Show single post, category + slug based URL
url(
regex=r'^(?P<category_slug>[-\w]+)/(?P<post_... | from django.conf.urls import patterns, include, url
from nomadblog.views import PostList
urlpatterns = patterns(
'nomadblog.views',
url('^$', PostList.as_view(), name='list_posts'),
url(regex=r'^(?P<category_slug>[-\w]+)/(?P<post_slug>[-\w]+)/$', view='show_post', name='show_post'),
url(regex=r'^categ... | Fix ImportError: No module named defaults (dj 1.6) | Fix ImportError: No module named defaults (dj 1.6)
| Python | bsd-3-clause | Nomadblue/django-nomad-blog,Nomadblue/django-nomad-blog | from django.conf.urls.defaults import patterns, url
from nomadblog.views import PostList
urlpatterns = patterns('nomadblog.views',
# List blog posts
url('^$', PostList.as_view(), name='list_posts'),
# Show single post, category + slug based URL
url(
regex=r'^(?P<category_slug>[-\w]+)/(?P<post_... | from django.conf.urls import patterns, include, url
from nomadblog.views import PostList
urlpatterns = patterns(
'nomadblog.views',
url('^$', PostList.as_view(), name='list_posts'),
url(regex=r'^(?P<category_slug>[-\w]+)/(?P<post_slug>[-\w]+)/$', view='show_post', name='show_post'),
url(regex=r'^categ... | <commit_before>from django.conf.urls.defaults import patterns, url
from nomadblog.views import PostList
urlpatterns = patterns('nomadblog.views',
# List blog posts
url('^$', PostList.as_view(), name='list_posts'),
# Show single post, category + slug based URL
url(
regex=r'^(?P<category_slug>[-... | from django.conf.urls import patterns, include, url
from nomadblog.views import PostList
urlpatterns = patterns(
'nomadblog.views',
url('^$', PostList.as_view(), name='list_posts'),
url(regex=r'^(?P<category_slug>[-\w]+)/(?P<post_slug>[-\w]+)/$', view='show_post', name='show_post'),
url(regex=r'^categ... | from django.conf.urls.defaults import patterns, url
from nomadblog.views import PostList
urlpatterns = patterns('nomadblog.views',
# List blog posts
url('^$', PostList.as_view(), name='list_posts'),
# Show single post, category + slug based URL
url(
regex=r'^(?P<category_slug>[-\w]+)/(?P<post_... | <commit_before>from django.conf.urls.defaults import patterns, url
from nomadblog.views import PostList
urlpatterns = patterns('nomadblog.views',
# List blog posts
url('^$', PostList.as_view(), name='list_posts'),
# Show single post, category + slug based URL
url(
regex=r'^(?P<category_slug>[-... |
c8e21dc4de9bae65bca9d30a91cb45bf7872b3f9 | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | Correct author to oemof developER group | Correct author to oemof developER group
| Python | mit | wind-python/windpowerlib | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | <commit_before>import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
... |
777e9e8d76520f1e5d35ee9e17c0f36a7609ebd0 | setup.py | setup.py | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.1.1',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.2.0',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | Add support for Python 2.7, 3.4 & 3.5 | Add support for Python 2.7, 3.4 & 3.5
| Python | bsd-2-clause | vu3jej/scrapy-corenlp | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.1.1',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.2.0',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | <commit_before>from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.1.1',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BS... | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.2.0',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.1.1',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BSD-2-Clause',
... | <commit_before>from setuptools import setup
setup(
name='scrapy-corenlp',
version='0.1.1',
description='Scrapy spider middleware :: Stanford CoreNLP Named Entity Recognition',
url='https://github.com/vu3jej/scrapy-corenlp',
author='Jithesh E J',
author_email='mail@jithesh.net',
license='BS... |
71d155704ba2614f27684c622863727084a4b9d1 | setup.py | setup.py | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | Install c3d-metadata script as part of the package. | Install c3d-metadata script as part of the package.
| Python | mit | EmbodiedCognition/py-c3d | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | <commit_before>import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abs... | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__))... | <commit_before>import os
import setuptools
setuptools.setup(
name='c3d',
version='0.2.0',
py_modules=['c3d'],
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='A library for manipulating C3D binary files',
long_description=open(os.path.join(os.path.dirname(os.path.abs... |
301593cbbd25e8cfce3998450f4954ce0610f23e | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice'],
) | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice', 'ev3.motor',... | Update list of packages to install. | Update list of packages to install.
| Python | apache-2.0 | MaxNoe/python-ev3,topikachu/python-ev3,evz/python-ev3,MaxNoe/python-ev3,topikachu/python-ev3,evz/python-ev3 | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice'],
)Updat... | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice', 'ev3.motor',... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice... | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice', 'ev3.motor',... | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice'],
)Updat... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(name='python-ev3',
version='0.1',
description='Python library of Lego EV3',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3', 'ev3.rawdevice... |
b2e346f2f78d172bfd7f7e8b37ba0bc48f2f02eb | setup.py | setup.py | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | Fix dependencies: zeit.workflow is contained in the zeit.cms egg | Fix dependencies: zeit.workflow is contained in the zeit.cms egg
| Python | bsd-3-clause | ZeitOnline/zeit.content.video | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | <commit_before># Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
... | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | # Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
description="""... | <commit_before># Copyright (c) 2011 gocept gmbh & co. kg
# See also LICENSE.txt
from setuptools import setup, find_packages
setup(
name='zeit.content.video',
version='2.0.5dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.content.video',
... |
bbc1d797e8e05ec8b0f7934116bd9ca7a402ba2f | setup.py | setup.py | #from distutils.core import setup
from setuptools import setup
setup(
name='auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tests'],
... | #from distutils.core import setup
from setuptools import setup
setup(
name='django-auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tes... | Change the "name" to django-auth_mac | Change the "name" to django-auth_mac
| Python | mit | ndevenish/auth_mac | #from distutils.core import setup
from setuptools import setup
setup(
name='auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tests'],
... | #from distutils.core import setup
from setuptools import setup
setup(
name='django-auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tes... | <commit_before>#from distutils.core import setup
from setuptools import setup
setup(
name='auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth... | #from distutils.core import setup
from setuptools import setup
setup(
name='django-auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tes... | #from distutils.core import setup
from setuptools import setup
setup(
name='auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth_mac.tests'],
... | <commit_before>#from distutils.core import setup
from setuptools import setup
setup(
name='auth_mac',
version='0.1',
description="Basic Django implementation of the draft RFC ietf-oauth-v2-http-mac-01",
author='Nicholas Devenish',
author_email='n.devenish@gmail.com',
packages=['auth_mac', 'auth... |
a380e3aeef3e956efc7002b60f50b0981bd8f033 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | Upgrade django-sort-order-field to version 1.2 | Upgrade django-sort-order-field to version 1.2
| Python | mit | DylanMcCall/stuartmccall.ca,DylanMcCall/stuartmccall.ca,DylanMcCall/stuartmccall.ca | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | <commit_before>from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
pyt... | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
python_requires='>... | <commit_before>from setuptools import setup, find_packages
setup(
name="web-stuartmccall-ca",
version="1.0",
author="Dylan McCall",
author_email="dylan@dylanmccall.com",
url="http://www.stuartmccall.ca",
packages=find_packages(),
include_package_data=True,
scripts=['manage.py'],
pyt... |
975c7d27d5972d92f491048add9786da50da7d71 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.2.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.4.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | Update the version to 1.4.0. | Update the version to 1.4.0.
| Python | mit | ridibooks/lightweight-rest-tester,ridibooks/lightweight-rest-tester | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.2.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.4.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | <commit_before>from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.2.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',... | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.4.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.2.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',
license=... | <commit_before>from setuptools import setup, find_packages
setup(name='lightweight-rest-tester',
version='1.2.0',
description='A lightweight REST API testing framework.',
url='https://github.com/ridibooks/lightweight-rest-tester',
author='Jeehoon Yoo',
author_email='jeehoon.yoo@ridi.com',... |
c66b4aa59fef6049433a8373d075b0c48eab021f | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | Bump version again as pip wont let me upload the same file twice | Bump version again as pip wont let me upload the same file twice
| Python | mit | bettsmatt/django-initialcon | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initial... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initialcon',
versi... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
INSTALL_REQUIREMENTS = ["Pillow"]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name = 'django-initial... |
f6989fe0c0af44c5edf4d5a01579c82b3273aa24 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.37',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.38',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | Upgrade version and adjust session control doing on last commit | Upgrade version and adjust session control doing on last commit
| Python | apache-2.0 | samueldmq/infosystem | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.37',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.38',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | <commit_before>from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.37',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gma... | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.38',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.37',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gmail.com',
li... | <commit_before>from setuptools import setup, find_packages
setup(
name='infosystem',
version='0.1.37',
summary='Infosystem Framework',
url='https://github.com/samueldmq/infosystem',
author='Samuel de Medeiros Queiroz, Francois Oliveira',
author_email='samueldmq@gmail.com, oliveira.francois@gma... |
68fda5f8585bbb3beb74b495a5d817eefbee634d | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0-beta.1_2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0b1.post2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | Update version to revision 2 (also PEP 0440) | Update version to revision 2 (also PEP 0440)
| Python | cc0-1.0 | bbqsrc/spdx-python | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0-beta.1_2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0b1.post2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | <commit_before>from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0-beta.1_2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@b... | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0b1.post2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0-beta.1_2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@bbqsrc.net",
... | <commit_before>from setuptools import setup, find_packages
with open('README.rst') as f:
desc = f.read()
setup(
name = "spdx",
version = "2.3.0-beta.1_2",
packages = ['spdx'],
package_data = {'spdx': ['data/*.txt', 'data/db.json']},
author = "Brendan Molloy",
author_email = "brendan+pypi@b... |
35cff34fd330ed21e6ff8d8fbe815a46e7892657 | setup.py | setup.py | # -*- coding: utf-8 -
import codecs
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.1.1',
description = 'Python client for Riemann',
long_de... | # -*- coding: utf-8 -
import codecs
import io
import os
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.2.0',
description = 'Python client for Riemann'... | Use io.open for 2->3 compatibility | Use io.open for 2->3 compatibility
| Python | apache-2.0 | ClodoCorp/bernhard,banjiewen/bernhard,cranti/bernhard,bmhatfield/bernhard | # -*- coding: utf-8 -
import codecs
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.1.1',
description = 'Python client for Riemann',
long_de... | # -*- coding: utf-8 -
import codecs
import io
import os
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.2.0',
description = 'Python client for Riemann'... | <commit_before># -*- coding: utf-8 -
import codecs
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.1.1',
description = 'Python client for Rieman... | # -*- coding: utf-8 -
import codecs
import io
import os
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.2.0',
description = 'Python client for Riemann'... | # -*- coding: utf-8 -
import codecs
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.1.1',
description = 'Python client for Riemann',
long_de... | <commit_before># -*- coding: utf-8 -
import codecs
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'),
encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'bernhard',
version = '0.1.1',
description = 'Python client for Rieman... |
a7114d934514e988f8043ce655c69572e33a6357 | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | Add generic Python 3 trove classifier | Add generic Python 3 trove classifier
| Python | mit | TangledWeb/tangled.auth | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyat... | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyatt Baldwin',
... | <commit_before>from setuptools import setup
setup(
name='tangled.auth',
version='0.1a4.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.auth/tags',
author='Wyat... |
0bc83982e4df8c2eb0ec88952656a40504143c83 | setup.py | setup.py | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | Add the viewer to the package_data entry | Add the viewer to the package_data entry
| Python | mit | RicterZ/nhentai,RicterZ/nhentai,RicterZ/nhentai | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | <commit_before># coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_d... | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | # coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_description():
... | <commit_before># coding: utf-8
from __future__ import print_function, unicode_literals
import sys
import codecs
from setuptools import setup, find_packages
from nhentai import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
def long_d... |
70cb11eefe58fc02ed10d95ec4a556e7ca0895cf | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().split('\n')
with open(os.path.join(here, 'requirements-dev.t... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = [req for req in f.read().split('\n') if req]
with open(os.path.join(h... | Remove empty string from requirements list | Remove empty string from requirements list
When we moved to Python 3 we used this simpler method to read the requirements
file. However we need to remove the empty/Falsey elements from the list.
This fixes the error:
```
Failed building wheel for molo.commenting
```
| Python | bsd-2-clause | praekelt/molo.commenting,praekelt/molo.commenting | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().split('\n')
with open(os.path.join(here, 'requirements-dev.t... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = [req for req in f.read().split('\n') if req]
with open(os.path.join(h... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().split('\n')
with open(os.path.join(here, 'req... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = [req for req in f.read().split('\n') if req]
with open(os.path.join(h... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().split('\n')
with open(os.path.join(here, 'requirements-dev.t... | <commit_before>import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
readme = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().split('\n')
with open(os.path.join(here, 'req... |
64ba6fe757351b7d94704290c74487c3344f1f2e | setup.py | setup.py | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | Add some classifiers for pypi | Add some classifiers for pypi
| Python | mit | ribozz/sphinx-argparse | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | <commit_before>from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphin... | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
... | <commit_before>from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphin... |
365bbbfe7993f90003c394742ea41bf4193fdb83 | setup.py | setup.py | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | Change minimal python version to 3.5 | Change minimal python version to 3.5
| Python | apache-2.0 | lukin0110/poeditor-client,lukin0110/poeditor-client | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | <commit_before>from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='http... | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='https://github.com/... | <commit_before>from setuptools import setup, find_packages
long_description = """
The POEditor Client is a command line tool that enables you to easily manage your translation files within a project.
"""
import poeditor_client
setup(
name="poeditor_client",
version=poeditor_client.__version__,
url='http... |
cf4d16e4c65edee90a9509b8feb438cc14ad63df | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2",
description=" A simple Python library for dealing with the /etc/network/interfaces file i... | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2.0",
description=" A simple Python library for dealing with the /etc/network/interfaces file... | Change version so it has the vrsion tuple | Change version so it has the vrsion tuple
| Python | bsd-3-clause | nMustaki/debinterface,michaelboulton/debinterface,michaelboulton/debinterface,nMustaki/debinterface | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2",
description=" A simple Python library for dealing with the /etc/network/interfaces file i... | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2.0",
description=" A simple Python library for dealing with the /etc/network/interfaces file... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2",
description=" A simple Python library for dealing with the /etc/network/in... | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2.0",
description=" A simple Python library for dealing with the /etc/network/interfaces file... | #!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2",
description=" A simple Python library for dealing with the /etc/network/interfaces file i... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
REQUIREMENTS = [
]
DEP = [
]
TEST_REQUIREMENTS = [
]
pyxed = []
pack = find_packages(exclude=["test"])
setup(
name="debinterface",
version="2.2",
description=" A simple Python library for dealing with the /etc/network/in... |
3fc109a396ccbdf1f9b26a0cf89e2a92d3f87fb0 | setup.py | setup.py | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | Correct again the pip URL | Correct again the pip URL
| Python | bsd-2-clause | FilipeMaia/afnumpy,daurer/afnumpy | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | <commit_before>#!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeM... | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | <commit_before>#!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeM... |
29980772f93392c72987329c38dc0cab38251006 | setup.py | setup.py | import setuptools
import versioneer
if __name__ == "__main__":
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
author='The Molecular Sciences Software I... | import setuptools
import versioneer
if __name__ == "__main__":
my_packages=setuptools.find_packages()
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
... | Add data files to python packaging | Add data files to python packaging
| Python | bsd-3-clause | MOLSSI-BSE/basis_set_exchange | import setuptools
import versioneer
if __name__ == "__main__":
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
author='The Molecular Sciences Software I... | import setuptools
import versioneer
if __name__ == "__main__":
my_packages=setuptools.find_packages()
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
... | <commit_before>import setuptools
import versioneer
if __name__ == "__main__":
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
author='The Molecular Scie... | import setuptools
import versioneer
if __name__ == "__main__":
my_packages=setuptools.find_packages()
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
... | import setuptools
import versioneer
if __name__ == "__main__":
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
author='The Molecular Sciences Software I... | <commit_before>import setuptools
import versioneer
if __name__ == "__main__":
setuptools.setup(
name='basis_set_exchange',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='The Quantum Chemistry Basis Set Exchange',
author='The Molecular Scie... |
e436650de6eafaa64b5d26728ba7806374960e4b | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.0.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
| #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.8.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
| Update pbr from version 1.0.1 to 1.8.1. | Update pbr from version 1.0.1 to 1.8.1.
Signed-off-by: David Black <c4b737561a711e07c31fd1e1811f33a5d770e31c@atlassian.com>
| Python | mit | atlassian/asap-authentication-python | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.0.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
Update pbr from version 1.0.1 to 1.8.1.
Signed-off-by: David Black <c4b737561a711e07c31fd1e181... | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.8.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.0.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
<commit_msg>Update pbr from version 1.0.1 to 1.8.1.
Signed-off-by: David Black ... | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.8.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
| #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.0.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
Update pbr from version 1.0.1 to 1.8.1.
Signed-off-by: David Black <c4b737561a711e07c31fd1e181... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr==1.0.1'],
pbr=True,
tests_require=['mock', 'nose', ],
test_suite='nose.collector',
platforms=['any'],
zip_safe=False,
)
<commit_msg>Update pbr from version 1.0.1 to 1.8.1.
Signed-off-by: David Black ... |
9c50c5e028dd4d8a7a51e142d35fcc45b1b60f58 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
url='https://gi... | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
package_dir={'p... | Use a queue to manage playing tracks | Use a queue to manage playing tracks
| Python | mit | MattWis/pyspotify_helper | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
url='https://gi... | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
package_dir={'p... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
... | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
package_dir={'p... | #!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
url='https://gi... | <commit_before>#!/usr/bin/env python
from setuptools import setup
setup(name='pyspotify_helper',
version='0.0.1',
author='Matt Wismer',
author_email='mattwis86@gmail.com',
description='Simplest integration of Spotify into Python',
license='MIT',
packages=['pyspotify_helper'],
... |
1b4fe087ca88cfcd79e33c21c514eeb26835659c | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | Fix windows compiler not finding common.hpp | Fix windows compiler not finding common.hpp
| Python | apache-2.0 | ulikoehler/cv_algorithms,ulikoehler/cv_algorithms | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | <commit_before>#!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O... | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | #!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=nat... | <commit_before>#!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O... |
77806390ab03a06230ca0942e26e4086fb1a0e72 | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.12",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | Prepare for next dev cycle | Prepare for next dev cycle
| Python | mit | ProgramFan/bentoo | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.12",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.12",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.13.dev",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "sc... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.12",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collector.py", "script... | <commit_before>#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.12",
packages=find_packages(),
scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py",
"scripts/bentoo-collect... |
50b773cdde5b367ee6cb44426817664ee379ee9f | setup.py | setup.py | from setuptools import setup
setup(
name='jobcli',
version='0.1.a2',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',... | from setuptools import setup
setup(
name='jobcli',
version='0.1b1',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',
... | Increase version to beta 1. | Increase version to beta 1.
| Python | mit | jobcli/jobcli-app,jobcli/jobcli-app | from setuptools import setup
setup(
name='jobcli',
version='0.1.a2',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',... | from setuptools import setup
setup(
name='jobcli',
version='0.1b1',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',
... | <commit_before>from setuptools import setup
setup(
name='jobcli',
version='0.1.a2',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goer... | from setuptools import setup
setup(
name='jobcli',
version='0.1b1',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',
... | from setuptools import setup
setup(
name='jobcli',
version='0.1.a2',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goergen@gmail.com',... | <commit_before>from setuptools import setup
setup(
name='jobcli',
version='0.1.a2',
py_modules=['jobcli'],
install_requires=['click', 'requests',],
entry_points={'console_scripts':['jobcli=jobcli:cli',]},
url='https://www.jobcli.com',
author='Stephan Goergen',
author_email='stephan.goer... |
8b408db0e41dba83cb354787a9b1406f365b0b30 | setup.py | setup.py | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | Remove examples/ from package installation. | Remove examples/ from package installation.
| Python | mit | coleifer/micawber,coleifer/micawber | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | <commit_before>import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
au... | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles L... | <commit_before>import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version='0.3.5',
description='a small library for extracting rich content from urls',
long_description=readme,
au... |
719037cf20ae17e5fba71136cad1db7e8a47f703 | spacy/lang/fi/examples.py | spacy/lang/fi/examples.py | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.tr.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla."
"Itseajavat autot siirtäv... | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.fi.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla.",
"Itseajavat auto... | Update formatting and add missing commas | Update formatting and add missing commas | Python | mit | recognai/spaCy,explosion/spaCy,explosion/spaCy,recognai/spaCy,explosion/spaCy,aikramer2/spaCy,aikramer2/spaCy,recognai/spaCy,aikramer2/spaCy,spacy-io/spaCy,recognai/spaCy,recognai/spaCy,honnibal/spaCy,explosion/spaCy,spacy-io/spaCy,spacy-io/spaCy,honnibal/spaCy,spacy-io/spaCy,spacy-io/spaCy,aikramer2/spaCy,spacy-io/spa... | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.tr.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla."
"Itseajavat autot siirtäv... | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.fi.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla.",
"Itseajavat auto... | <commit_before># coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.tr.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla."
"Itseajava... | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.fi.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla.",
"Itseajavat auto... | # coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.tr.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla."
"Itseajavat autot siirtäv... | <commit_before># coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.tr.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple harkitsee ostavansa startup-yrityksen UK:sta 1 miljardilla dollarilla."
"Itseajava... |
05fe4ae3a93662fc919a81d5f0b5680ff4ff40d9 | setup.py | setup.py | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | Exclude tests and cmt folder from installed packages. | Exclude tests and cmt folder from installed packages.
| Python | mit | csdms/coupling,csdms/coupling,csdms/pymt | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | <commit_before>from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires = req_fp.read(... | <commit_before>from setuptools import setup, find_packages
import versioneer
def read_requirements():
import os
path = os.path.dirname(os.path.abspath(__file__))
requirements_file = os.path.join(path, 'requirements.txt')
try:
with open(requirements_file, 'r') as req_fp:
requires... |
8c6c0c425b27f4bfcba93d8d9af7cb0709a5c518 | setup.py | setup.py | from setuptools import setup
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.com/Xopherus/redis-url-py',
license='BSD',
author='Chris Raborg',
author_email='craborg1@umbc.edu',
description='Use Redis URLs in your Python applications',
py_modules=['redis_url'],
zip_s... | #!/usr/bin/env python
import os
from setuptools import setup
LICENSE = open(
os.path.join(os.path.dirname(__file__), 'LICENSE')).read().strip()
DESCRIPTION = open(
os.path.join(os.path.dirname(__file__), 'README.md')).read().strip()
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.... | Set license and long description | Set license and long description
| Python | bsd-2-clause | Xopherus/redis-url-py | from setuptools import setup
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.com/Xopherus/redis-url-py',
license='BSD',
author='Chris Raborg',
author_email='craborg1@umbc.edu',
description='Use Redis URLs in your Python applications',
py_modules=['redis_url'],
zip_s... | #!/usr/bin/env python
import os
from setuptools import setup
LICENSE = open(
os.path.join(os.path.dirname(__file__), 'LICENSE')).read().strip()
DESCRIPTION = open(
os.path.join(os.path.dirname(__file__), 'README.md')).read().strip()
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.... | <commit_before>from setuptools import setup
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.com/Xopherus/redis-url-py',
license='BSD',
author='Chris Raborg',
author_email='craborg1@umbc.edu',
description='Use Redis URLs in your Python applications',
py_modules=['redis_u... | #!/usr/bin/env python
import os
from setuptools import setup
LICENSE = open(
os.path.join(os.path.dirname(__file__), 'LICENSE')).read().strip()
DESCRIPTION = open(
os.path.join(os.path.dirname(__file__), 'README.md')).read().strip()
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.... | from setuptools import setup
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.com/Xopherus/redis-url-py',
license='BSD',
author='Chris Raborg',
author_email='craborg1@umbc.edu',
description='Use Redis URLs in your Python applications',
py_modules=['redis_url'],
zip_s... | <commit_before>from setuptools import setup
setup(
name='redis-url-py',
version='0.0.3',
url='https://github.com/Xopherus/redis-url-py',
license='BSD',
author='Chris Raborg',
author_email='craborg1@umbc.edu',
description='Use Redis URLs in your Python applications',
py_modules=['redis_u... |
9913e1ed57717af248370149b6f69127bc4a48f0 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | Update author and trove details | Update author and trove details
| Python | bsd-3-clause | funkybob/django-flatblocks,funkybob/django-flatblocks | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
... | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_descri... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.