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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c5b81312317c1750ea320666b2adc4f74d13366 | f8a_jobs/graph_sync.py | f8a_jobs/graph_sync.py | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | Fix code for review comments | Fix code for review comments
| Python | apache-2.0 | fabric8-analytics/fabric8-analytics-jobs,fabric8-analytics/fabric8-analytics-jobs | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | <commit_before>"""Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
... | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | """Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
logger.info("AP... | <commit_before>"""Functions to retrieve pending list and invoke Graph Sync."""
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
from urllib.parse import urljoin
logger = logging.getLogger(__name__)
def _api_call(url, params=None):
params = params or {}
try:
... |
270a03dc78838137051fec49050f550c44be2359 | facebook_auth/views.py | facebook_auth/views.py | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
next_url =... | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
import facepy
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
... | Add facebook error handler in view. | Add facebook error handler in view.
This assumes that there is no other backend which
can authenticate user with facebook credentials.
| Python | mit | jgoclawski/django-facebook-auth,pozytywnie/django-facebook-auth,pozytywnie/django-facebook-auth,jgoclawski/django-facebook-auth | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
next_url =... | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
import facepy
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
... | <commit_before>import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
... | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
import facepy
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
... | import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
next_url =... | <commit_before>import logging
from django.contrib.auth import authenticate
from django.contrib.auth import login
from django import http
from django.views import generic
from facebook_auth import urls
logger = logging.getLogger(__name__)
class Handler(generic.View):
def get(self, request):
try:
... |
088d76bbe01a9a6dd0a246be8ce703d5b64c540e | Lib/hotshot/__init__.py | Lib/hotshot/__init__.py | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | Allow user code to call the addinfo() method on the profiler object. | Allow user code to call the addinfo() method on the profiler object.
| Python | mit | sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | <commit_before>"""High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0... | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | """High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0
self._... | <commit_before>"""High-perfomance logging profiler, mostly written in C."""
import _hotshot
from _hotshot import ProfilerError
class Profile:
def __init__(self, logfn, lineevents=0, linetimings=1):
self.lineevents = lineevents and 1 or 0
self.linetimings = (linetimings and lineevents) and 1 or 0... |
d89715196ba79da02a997688414dfa283bee5aeb | profiles/tests/test_views.py | profiles/tests/test_views.py | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import ProfileView
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = RequestFactory()
request... | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import (
ProfileView,
ReviewUserView,
)
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = Req... | Add tests for user review view | Add tests for user review view
| Python | mit | phildini/logtacts,phildini/logtacts,phildini/logtacts,phildini/logtacts,phildini/logtacts | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import ProfileView
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = RequestFactory()
request... | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import (
ProfileView,
ReviewUserView,
)
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = Req... | <commit_before>from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import ProfileView
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = RequestFactory()
... | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import (
ProfileView,
ReviewUserView,
)
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = Req... | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import ProfileView
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = RequestFactory()
request... | <commit_before>from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import RequestFactory
from utils.factories import UserFactory
from profiles.views import ProfileView
class ProfileViewTests(TestCase):
def setUp(self):
request_factory = RequestFactory()
... |
f2a46687e24d82060b687922de3495111f82e558 | geist/backends/fake.py | geist/backends/fake.py | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, w=800, h=600):
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
def create_process(self, command):
pass
def actions_transaction(self):
... | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, image=None, w=800, h=600):
if image is None:
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
else:
if isinstance(imag... | Allow Fake Backend to take an image as the screen | Allow Fake Backend to take an image as the screen
| Python | mit | kebarr/Geist,thetestpeople/Geist | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, w=800, h=600):
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
def create_process(self, command):
pass
def actions_transaction(self):
... | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, image=None, w=800, h=600):
if image is None:
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
else:
if isinstance(imag... | <commit_before>import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, w=800, h=600):
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
def create_process(self, command):
pass
def actions_trans... | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, image=None, w=800, h=600):
if image is None:
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
else:
if isinstance(imag... | import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, w=800, h=600):
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
def create_process(self, command):
pass
def actions_transaction(self):
... | <commit_before>import numpy as np
from ..core import Location
class GeistFakeBackend(object):
def __init__(self, w=800, h=600):
self.image = np.zeros((h, w, 3))
self.locations = [Location(0, 0, w=w, h=h, image=self.image)]
def create_process(self, command):
pass
def actions_trans... |
aded1c825385817dc39d8ff99c169e6620008abf | blivet/populator/helpers/__init__.py | blivet/populator/helpers/__init__.py | from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelFormatPopulator
from .dm import DMDevicePopulator
from .dmraid import DMRaidFormatPopulator
from .loop import LoopDevicePopu... | import inspect as _inspect
from .devicepopulator import DevicePopulator
from .formatpopulator import FormatPopulator
from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelForma... | Add functions to return a helper class based on device data. | Add functions to return a helper class based on device data.
This is intended to be the complete API of populator.helpers.
| Python | lgpl-2.1 | vojtechtrefny/blivet,jkonecny12/blivet,vojtechtrefny/blivet,rhinstaller/blivet,rhinstaller/blivet,rvykydal/blivet,AdamWill/blivet,rvykydal/blivet,vpodzime/blivet,AdamWill/blivet,jkonecny12/blivet,vpodzime/blivet | from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelFormatPopulator
from .dm import DMDevicePopulator
from .dmraid import DMRaidFormatPopulator
from .loop import LoopDevicePopu... | import inspect as _inspect
from .devicepopulator import DevicePopulator
from .formatpopulator import FormatPopulator
from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelForma... | <commit_before>from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelFormatPopulator
from .dm import DMDevicePopulator
from .dmraid import DMRaidFormatPopulator
from .loop import... | import inspect as _inspect
from .devicepopulator import DevicePopulator
from .formatpopulator import FormatPopulator
from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelForma... | from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelFormatPopulator
from .dm import DMDevicePopulator
from .dmraid import DMRaidFormatPopulator
from .loop import LoopDevicePopu... | <commit_before>from .btrfs import BTRFSFormatPopulator
from .boot import AppleBootFormatPopulator, EFIFormatPopulator, MacEFIFormatPopulator
from .disk import DiskDevicePopulator
from .disklabel import DiskLabelFormatPopulator
from .dm import DMDevicePopulator
from .dmraid import DMRaidFormatPopulator
from .loop import... |
d6759d0abec637753d93cd407fad5e7abc6ec86d | astropy/tests/plugins/display.py | astropy/tests/plugins/display.py | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import PYTEST_HEADER_MODULES, ... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,... | Fix typo in deprecation warning | TST: Fix typo in deprecation warning [ci skip]
| Python | bsd-3-clause | stargaser/astropy,dhomeier/astropy,saimn/astropy,saimn/astropy,larrybradley/astropy,astropy/astropy,StuartLittlefair/astropy,lpsinger/astropy,dhomeier/astropy,lpsinger/astropy,StuartLittlefair/astropy,larrybradley/astropy,lpsinger/astropy,MSeifert04/astropy,astropy/astropy,astropy/astropy,MSeifert04/astropy,larrybradle... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import PYTEST_HEADER_MODULES, ... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,... | <commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import PYTEST_H... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,... | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import PYTEST_HEADER_MODULES, ... | <commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
# This plugin now lives in pytest-astropy, but we keep the code below during
# a deprecation phase.
import warnings
from astropy.utils.exceptions import AstropyDeprecationWarning
try:
from pytest_astropy_header.display import PYTEST_H... |
e3bac9c0a655ae49d6e15b16894712f4edbc994b | campus02/web/views/primarykey.py | campus02/web/views/primarykey.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets
from rest_framework.filters import DjangoObjectPermissionsFilter
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset =... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets, filters
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset = models.Movie.objects.all()
serializer_class = seria... | Add ordering filters for primary key based api. | Add ordering filters for primary key based api.
| Python | mit | fladi/django-campus02,fladi/django-campus02 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets
from rest_framework.filters import DjangoObjectPermissionsFilter
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset =... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets, filters
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset = models.Movie.objects.all()
serializer_class = seria... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets
from rest_framework.filters import DjangoObjectPermissionsFilter
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets, filters
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset = models.Movie.objects.all()
serializer_class = seria... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets
from rest_framework.filters import DjangoObjectPermissionsFilter
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):
queryset =... | <commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
from rest_framework import viewsets
from rest_framework.filters import DjangoObjectPermissionsFilter
from .. import (
models,
permissions,
)
from ..serializers import (
primarykey as serializers
)
class MovieViewSet(viewsets.ReadOnlyModelViewSet):... |
06645a637c0d34270f88f9a6b96133da5c415dd7 | froide/publicbody/admin.py | froide/publicbody/admin.py | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'geography')
list_filter = ('classification',)
search_fields = ['name', "des... | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'topic', 'geography')
list_filter = ('classification', 'topic',)
search_fiel... | Add topic to PublicBodyAdmin list_filter and list_display | Add topic to PublicBodyAdmin list_filter and list_display | Python | mit | catcosmo/froide,ryankanno/froide,stefanw/froide,catcosmo/froide,fin/froide,CodeforHawaii/froide,fin/froide,okfse/froide,LilithWittmann/froide,okfse/froide,stefanw/froide,ryankanno/froide,LilithWittmann/froide,LilithWittmann/froide,CodeforHawaii/froide,fin/froide,catcosmo/froide,catcosmo/froide,okfse/froide,ryankanno/fr... | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'geography')
list_filter = ('classification',)
search_fields = ['name', "des... | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'topic', 'geography')
list_filter = ('classification', 'topic',)
search_fiel... | <commit_before>from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'geography')
list_filter = ('classification',)
search_fields ... | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'topic', 'geography')
list_filter = ('classification', 'topic',)
search_fiel... | from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'geography')
list_filter = ('classification',)
search_fields = ['name', "des... | <commit_before>from django.contrib import admin
from froide.publicbody.models import PublicBody, FoiLaw
class PublicBodyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("geography", "name",)}
list_display = ('name', 'classification', 'geography')
list_filter = ('classification',)
search_fields ... |
621d285c05ce3a6257edcffec03c8a96507b6179 | name/feeds.py | name/feeds.py | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name, Location
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
head... | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
header to appl... | Change the formating of item_description. Remove item_location because it was not used. | Change the formating of item_description. Remove item_location because it was not used.
| Python | bsd-3-clause | unt-libraries/django-name,damonkelley/django-name,unt-libraries/django-name,unt-libraries/django-name,damonkelley/django-name,damonkelley/django-name | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name, Location
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
head... | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
header to appl... | <commit_before>from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name, Location
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type re... | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
header to appl... | from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name, Location
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type response
head... | <commit_before>from django.contrib.syndication.views import Feed
from django.core.urlresolvers import reverse_lazy
from django.utils.feedgenerator import Atom1Feed
from . import app_settings
from .models import Name, Location
class NameAtomFeedType(Atom1Feed):
"""Create an Atom feed that sets the Content-Type re... |
002dd6fa4af36bd722b3f194c93f1e2e628ad561 | inboxen/app/model/email.py | inboxen/app/model/email.py | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | Reduce number of queries to DB | Reduce number of queries to DB
| Python | agpl-3.0 | Inboxen/router,Inboxen/Inboxen,Inboxen/Inboxen,Inboxen/Inboxen,Inboxen/Inboxen | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | <commit_before>from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = mes... | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = message.base.body
... | <commit_before>from inboxen.models import Alias, Attachment, Email, Header
from config.settings import datetime_format, recieved_header_name
from datetime import datetime
def make_email(message, alias, domain):
inbox = Alias.objects.filter(alias=alias, domain__domain=domain)[0]
user = inbox.user
body = mes... |
1ecd6cacac15bff631b958ee6773b2ad8659df50 | opps/images/widgets.py | opps/images/widgets.py | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | Create widget CropExample on images | Create widget CropExample on images
| Python | mit | jeanmask/opps,williamroot/opps,opps/opps,jeanmask/opps,opps/opps,YACOWS/opps,jeanmask/opps,opps/opps,williamroot/opps,jeanmask/opps,williamroot/opps,YACOWS/opps,opps/opps,YACOWS/opps,williamroot/opps,YACOWS/opps | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | <commit_before>from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
... | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
return rend... | <commit_before>from django import forms
from django.conf import settings
from django.template.loader import render_to_string
class MultipleUpload(forms.FileInput):
def render(self, name, value, attrs=None):
_value = ""
if value:
_value = "{0}{1}".format(settings.MEDIA_URL, value)
... |
1a03fbbb612d8faa5a6733fe7d4920f3ca158a69 | acme/utils/observers.py | acme/utils/observers.py | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | Add a missing @abc.abstractmethod declaration | Add a missing @abc.abstractmethod declaration
PiperOrigin-RevId: 424036906
Change-Id: I3979c35ec30caa4b684d43376b2a36d21f7e79df
| Python | apache-2.0 | deepmind/acme,deepmind/acme | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | <commit_before># Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | <commit_before># Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... |
018d062f2ed9ca9acd3d555d439dd81b89c88a6f | parse_push/managers.py | parse_push/managers.py |
from django.db import models
class DeviceManager(models.Manager):
def latest(self):
""" Returns latest Device instance """
return self.latest('created_at')
|
from django.db import models
class DeviceManager(models.Manager):
def get_latest(self):
""" Returns latest Device instance """
return self.get_queryset().latest('created_at')
| Use .get_latest() instead so that we do not override built-in .latest() | Use .get_latest() instead so that we do not override built-in .latest()
| Python | bsd-3-clause | willandskill/django-parse-push |
from django.db import models
class DeviceManager(models.Manager):
def latest(self):
""" Returns latest Device instance """
return self.latest('created_at')
Use .get_latest() instead so that we do not override built-in .latest() |
from django.db import models
class DeviceManager(models.Manager):
def get_latest(self):
""" Returns latest Device instance """
return self.get_queryset().latest('created_at')
| <commit_before>
from django.db import models
class DeviceManager(models.Manager):
def latest(self):
""" Returns latest Device instance """
return self.latest('created_at')
<commit_msg>Use .get_latest() instead so that we do not override built-in .latest()<commit_after> |
from django.db import models
class DeviceManager(models.Manager):
def get_latest(self):
""" Returns latest Device instance """
return self.get_queryset().latest('created_at')
|
from django.db import models
class DeviceManager(models.Manager):
def latest(self):
""" Returns latest Device instance """
return self.latest('created_at')
Use .get_latest() instead so that we do not override built-in .latest()
from django.db import models
class DeviceManager(models.Manager):... | <commit_before>
from django.db import models
class DeviceManager(models.Manager):
def latest(self):
""" Returns latest Device instance """
return self.latest('created_at')
<commit_msg>Use .get_latest() instead so that we do not override built-in .latest()<commit_after>
from django.db import mode... |
ab2f4aaf9546787a269a3d0ec5b3b83c86a43bde | Languages.py | Languages.py | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront\.net/images/flags... | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
langs = set()
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront... | Return language set instead of language generator | Return language set instead of language generator
| Python | apache-2.0 | ulikoehler/KATranslationCheck,ulikoehler/KATranslationCheck,KA-Advocates/KATranslationCheck,KA-Advocates/KATranslationCheck,ulikoehler/KATranslationCheck,KA-Advocates/KATranslationCheck,ulikoehler/KATranslationCheck,ulikoehler/KATranslationCheck,KA-Advocates/KATranslationCheck | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront\.net/images/flags... | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
langs = set()
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront... | <commit_before>#!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront\.n... | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
langs = set()
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront... | #!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront\.net/images/flags... | <commit_before>#!/usr/bin/env python3
import requests
import re
def findAllLanguages():
"Find a list of Crowdin language codes to which KA is translated to"
response = requests.get("https://crowdin.com/project/khanacademy")
txt = response.text
for match in re.findall(r"https?://[a-z0-9]*\.cloudfront\.n... |
8d313884a52b06e2fdf9a3c0d152b9e711ff02c2 | kkbox/trac/secretticket.py | kkbox/trac/secretticket.py | from trac.core import Component, implements
from trac.perm import IPermissionRequestor
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionRequestor)
def get_permission_actions(self):
return ['SECRET_VIEW']
| from trac.ticket.model import Ticket
from trac.core import Component, implements, TracError
from trac.perm import IPermissionPolicy
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionPolicy)
def __init__(self):
config = self.env.config
self.sensitive_keyword = config.get('kkbox',... | Mark ticket as sensitive by keyword | Mark ticket as sensitive by keyword
Set sensitive_keyword in trac.ini as following example, These ticket has
"secret" keyword are viewable by reporter, owner and cc.
[kkbox]
sensitive_keyword = secret
| Python | bsd-3-clause | KKBOX/trac-keyword-secret-ticket-plugin | from trac.core import Component, implements
from trac.perm import IPermissionRequestor
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionRequestor)
def get_permission_actions(self):
return ['SECRET_VIEW']
Mark ticket as sensitive by keyword
Set sensitive_keyword in trac.ini as followin... | from trac.ticket.model import Ticket
from trac.core import Component, implements, TracError
from trac.perm import IPermissionPolicy
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionPolicy)
def __init__(self):
config = self.env.config
self.sensitive_keyword = config.get('kkbox',... | <commit_before>from trac.core import Component, implements
from trac.perm import IPermissionRequestor
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionRequestor)
def get_permission_actions(self):
return ['SECRET_VIEW']
<commit_msg>Mark ticket as sensitive by keyword
Set sensitive_keyw... | from trac.ticket.model import Ticket
from trac.core import Component, implements, TracError
from trac.perm import IPermissionPolicy
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionPolicy)
def __init__(self):
config = self.env.config
self.sensitive_keyword = config.get('kkbox',... | from trac.core import Component, implements
from trac.perm import IPermissionRequestor
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionRequestor)
def get_permission_actions(self):
return ['SECRET_VIEW']
Mark ticket as sensitive by keyword
Set sensitive_keyword in trac.ini as followin... | <commit_before>from trac.core import Component, implements
from trac.perm import IPermissionRequestor
class KKBOXSecretTicketsPolicy(Component):
implements(IPermissionRequestor)
def get_permission_actions(self):
return ['SECRET_VIEW']
<commit_msg>Mark ticket as sensitive by keyword
Set sensitive_keyw... |
01516489dbf9ee78128d653b3ebc46730d466425 | apps/api/serializers.py | apps/api/serializers.py | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | Add appearance count to the API. | Add appearance count to the API.
| Python | apache-2.0 | bryanveloso/avalonstar-tv,bryanveloso/avalonstar-tv,bryanveloso/avalonstar-tv | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | <commit_before># -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('... | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | # -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('id', 'timestamp... | <commit_before># -*- coding: utf-8 -*-
from rest_framework import serializers
from apps.broadcasts.models import Broadcast, Host, Raid, Series
from apps.games.models import Game, Platform
from apps.subscribers.models import Ticket
class HostSerializer(serializers.ModelSerializer):
class Meta:
fields = ('... |
8ee38953a9f8bdbd95ace4ea45e3673cc260bb4b | scripts/cronRefreshEdxQualtrics.py | scripts/cronRefreshEdxQualtrics.py | import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [os.path.join(os.path.dir... | #!/usr/bin/env python
import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [o... | Add python environment to cron qualtrics script | Add python environment to cron qualtrics script
| Python | bsd-3-clause | paepcke/json_to_relation,paepcke/json_to_relation,paepcke/json_to_relation,paepcke/json_to_relation | import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [os.path.join(os.path.dir... | #!/usr/bin/env python
import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [o... | <commit_before>import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [os.path.j... | #!/usr/bin/env python
import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [o... | import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [os.path.join(os.path.dir... | <commit_before>import getopt
import sys
import os
### Script for scheduling regular EdxQualtrics updates
### Usage for cron should be "cronRefreshEdxQualtrics.py -m -s -r"
# Append directory for dependencies to PYTHONPATH
# sys.path.append("/home/dataman/Code/qualtrics_etl/src/qualtrics_etl/")
source_dir = [os.path.j... |
6ac1c09422e82d97e3a9e9bc8d52c8814c33bc27 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | Rename package, add script to manifest | Rename package, add script to manifest | Python | mit | njvack/markdown-to-json | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Command
import os
packages = find_packages()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
... |
91ad52d6d47ce12966e5fb23913a8c5b600b2c13 | setup.py | setup.py | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | Use < instead of <= in environment markers. | Use < instead of <= in environment markers.
| Python | bsd-2-clause | Nextdoor/buckle,Nextdoor/buckle | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | <commit_before>from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scrip... | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scripts=['bin/buckle... | <commit_before>from buckle.version import VERSION
from setuptools import setup, find_packages
setup(
name='buckle',
version=VERSION,
description='Buckle: It ties your toolbelt together',
author='Nextdoor',
author_email='eng@nextdoor.com',
packages=find_packages(exclude=['ez_setup']),
scrip... |
ff0468f51b6a5cebd00f2cea8d2abd5f74e925d6 | ometa/tube.py | ometa/tube.py | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | Update TrampolinedParser a little for my purposes. | Update TrampolinedParser a little for my purposes.
| Python | mit | rbtcollins/parsley,python-parsley/parsley,python-parsley/parsley,rbtcollins/parsley | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | <commit_before>from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to pa... | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to parse the incomin... | <commit_before>from ometa.interp import TrampolinedGrammarInterpreter, _feed_me
class TrampolinedParser:
"""
A parser that incrementally parses incoming data.
"""
def __init__(self, grammar, receiver, bindings):
"""
Initializes the parser.
@param grammar: The grammar used to pa... |
3955d10f5dd905610c9621046069ae8dacbb1c1e | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | Add dependency and bump version. | Add dependency and bump version.
| Python | mit | tsaulic/pycount | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'au... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'author_email': 't... | <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'A simple python LOC count tool',
'author': 'Tihomir Saulic',
'url': 'http://github.com/tsaulic/pycount',
'download_url': 'http://github.com/tsaulic/pycount',
'au... |
c1def9580859eb97368aa49a2e26aab483785b35 | setup.py | setup.py | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox_cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox-cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | Use hyphen in package name | Use hyphen in package name
Signed-off-by: Michael Barton <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@michaelbarton.me.uk>
| Python | mit | pbelmann/command-line-interface,michaelbarton/command-line-interface,fungs/bbx-cli,michaelbarton/command-line-interface,bioboxes/command-line-interface,pbelmann/command-line-interface,bioboxes/command-line-interface,fungs/bbx-cli | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox_cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox-cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | <commit_before>from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox_cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email ... | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox-cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox_cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email = 'mail@bioboxe... | <commit_before>from setuptools import setup, find_packages
import biobox_cli
setup(
name = 'biobox_cli',
version = biobox_cli.__version__,
description = 'Run biobox Docker containers on the command line',
author = 'bioboxes',
author_email ... |
dee908d28734f5dba0a98e19edc39bc35c9bb062 | setup.py | setup.py | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | Include packages needed on install | Include packages needed on install
| Python | mit | permamodel/permamodel,permamodel/permamodel | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_descripti... | <commit_before>#! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
... |
d2b4e85fd0b3c44a460bc843eb480dd82f216f6e | setup.py | setup.py | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | Fix file inclusion and make new release. | Fix file inclusion and make new release.
| Python | mit | sveint/flask-swagger-ui,sveint/flask-swagger-ui,sveint/flask-swagger-ui | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | <commit_before>from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-s... | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
... | <commit_before>from setuptools import setup
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, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-s... |
3263a691db55ed72c4f98096748ad930c7ecdd68 | setup.py | setup.py | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | Update repository addresses and emails | Update repository addresses and emails
| Python | mit | jleclanche/python-ptch | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | <commit_before>#!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming... | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | #!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Py... | <commit_before>#!/usr/bin/env python
import os.path
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming... |
48701a9f582d65f8086b2bdefe02315d6aca1e77 | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | Drop Python 2.5 support, add support for Python 3.2 | Drop Python 2.5 support, add support for Python 3.2
| Python | isc | gears/gears-stylus,gears/gears-stylus | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | <commit_before>import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
a... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
author_email='mi... | <commit_before>import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-stylus',
version='0.1.1',
url='https://github.com/gears/gears-stylus',
license='ISC',
author='Mike Yumatov',
a... |
9abbb0b79da1466d2719496b479e43a74e798b97 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.1",
packages=find_packages(),
scripts=['robinson'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
#install_requires=['docutils>=0.3'],
pack... | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.2.0",
packages=find_packages(),
scripts=[
'robinson/booknames.py',
'robinson/book.py',
'robinson/chapter.py',
'robinson/convert.py',
'robinson/__init__.py',
'robinson/kind.py... | Add all python files explicitly, and bump to version 0.2.0 | Add all python files explicitly, and bump to version 0.2.0
| Python | mit | byztxt/librobinson | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.1",
packages=find_packages(),
scripts=['robinson'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
#install_requires=['docutils>=0.3'],
pack... | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.2.0",
packages=find_packages(),
scripts=[
'robinson/booknames.py',
'robinson/book.py',
'robinson/chapter.py',
'robinson/convert.py',
'robinson/__init__.py',
'robinson/kind.py... | <commit_before>from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.1",
packages=find_packages(),
scripts=['robinson'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
#install_requires=['docutils>=0... | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.2.0",
packages=find_packages(),
scripts=[
'robinson/booknames.py',
'robinson/book.py',
'robinson/chapter.py',
'robinson/convert.py',
'robinson/__init__.py',
'robinson/kind.py... | from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.1",
packages=find_packages(),
scripts=['robinson'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
#install_requires=['docutils>=0.3'],
pack... | <commit_before>from setuptools import setup, find_packages
setup(
name="librobinson",
version="0.1",
packages=find_packages(),
scripts=['robinson'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
#install_requires=['docutils>=0... |
b90553ddc7a27d2b594fcc88130d999c70ae6f5b | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | Make django-sortable install, pypi package is broken. | Make django-sortable install, pypi package is broken.
| Python | bsd-3-clause | cdlib/RecordExpress,cdlib/RecordExpress,cdlib/RecordExpress,cdlib/RecordExpress | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | <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 = 'RecordExpress',
version = '0.0',
package... | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | 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 = 'RecordExpress',
version = '0.0',
packages = ['collectio... | <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 = 'RecordExpress',
version = '0.0',
package... |
2fa8b2f4a63579633272b1cc8d972baf27c661f2 | pmg/models/__init__.py | pmg/models/__init__.py | from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import *
| from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import SoundcloudTrack
| Fix error on admin user_report view | Fix error on admin user_report view
| Python | apache-2.0 | Code4SA/pmg-cms-2,Code4SA/pmg-cms-2,Code4SA/pmg-cms-2 | from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import *
Fix error on admin user_report view | from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import SoundcloudTrack
| <commit_before>from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import *
<commit_msg>Fix error on admin user_report view<commit_after> | from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import SoundcloudTrack
| from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import *
Fix error on admin user_report viewfrom .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import SoundcloudTrack
| <commit_before>from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import *
<commit_msg>Fix error on admin user_report view<commit_after>from .users import *
from .resources import *
from .emails import *
from .pages import *
from .soundcloud_track import Soun... |
6a9193fdc43361ca12b7f22d18954d17c2049ba1 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.11',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.13',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | Fix version number. Will check the file in another machine and fix the conflict | Fix version number. Will check the file in another machine and fix the conflict
| Python | mit | wanghewen/CommonModules | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.11',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.13',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.11',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
au... | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.13',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.11',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
author_email = 'w... | <commit_before>from setuptools import setup, find_packages
setup(
name = 'CommonModules',
packages = find_packages(where = '.'), # this must be the same as the name above
version = '0.1.11',
description = 'Common Python modules/functionalities used in practice.',
author = 'Wang Hewen',
au... |
ad0f91e9d120e4c6b34aabf13fa3c68f0d7f5611 | setup.py | setup.py | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | Rename the control script to "cobe" | Rename the control script to "cobe"
| Python | mit | pteichman/cobe,wodim/cobe-ng,tiagochiavericosta/cobe,LeMagnesium/cobe,DarkMio/cobe,meska/cobe,pteichman/cobe,meska/cobe,DarkMio/cobe,wodim/cobe-ng,tiagochiavericosta/cobe,LeMagnesium/cobe | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
install_requir... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = "cobe",
version = "0.5",
author = "Peter Teichman",
author_email = "peter@teichman.org",
packages = ["cobe"],
test_suite = "tests.cobe_suite",
... |
518cafbd053843b0aee48ac75eccb6a05ff237f5 | setup.py | setup.py | from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
| from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description='Prefix SCRIPT_NAME with X-Forwarded-Prefix header',
long_description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
| Use module doc as long_description not description | Use module doc as long_description not description
It's too long for description.
See https://github.com/yola/proxyprefix/pull/3#issuecomment-75107125
| Python | mit | yola/proxyprefix | from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
Use module doc as long_description not description
It's too long for description.
Se... | from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description='Prefix SCRIPT_NAME with X-Forwarded-Prefix header',
long_description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
| <commit_before>from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
<commit_msg>Use module doc as long_description not description
It's t... | from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description='Prefix SCRIPT_NAME with X-Forwarded-Prefix header',
long_description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
| from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
Use module doc as long_description not description
It's too long for description.
Se... | <commit_before>from setuptools import setup
import proxyprefix
setup(
name='proxyprefix',
version=proxyprefix.__version__,
description=proxyprefix.__doc__,
url='https://github.com/yola/proxyprefix',
packages=['proxyprefix'],
)
<commit_msg>Use module doc as long_description not description
It's t... |
678e872de192b09c1bafc7a26dc67d7737a14e20 | altair/examples/us_population_over_time.py | altair/examples/us_population_over_time.py | """
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source = data.po... | """
US Population by Age and Sex
============================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source... | Tidy up U.S. Population by Age and Sex | Tidy up U.S. Population by Age and Sex | Python | bsd-3-clause | altair-viz/altair | """
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source = data.po... | """
US Population by Age and Sex
============================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source... | <commit_before>"""
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
s... | """
US Population by Age and Sex
============================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source... | """
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
source = data.po... | <commit_before>"""
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data
s... |
1ff696abdee762303dfc79e23e0cdabc6e411270 | setup.py | setup.py | #!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages
setup(
name="imaplib2",
version="2.28.3",
description="A threaded Python IMAP4 client.",
author="Piers Lauder",
url="http://github.com/bcoe/imaplib2",
classifiers = [
"Programming Languag... | #!/usr/bin/env python
# from distutils.core import setup
from setuptools import setup, find_packages
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
setup(
name="imaplib2",
version="2.28.4",
description="A th... | Add support for Python 3 by doing 2to3 conversion when installing the package with distutils. This way we don't have to maintain two separate repositories to support Python 2.x and Python 3.x. | Add support for Python 3 by doing 2to3 conversion when installing the package with distutils. This way we don't have to maintain two separate repositories to support Python 2.x and Python 3.x.
| Python | mit | mbmccoy/smtp_to_tcp | #!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages
setup(
name="imaplib2",
version="2.28.3",
description="A threaded Python IMAP4 client.",
author="Piers Lauder",
url="http://github.com/bcoe/imaplib2",
classifiers = [
"Programming Languag... | #!/usr/bin/env python
# from distutils.core import setup
from setuptools import setup, find_packages
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
setup(
name="imaplib2",
version="2.28.4",
description="A th... | <commit_before>#!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages
setup(
name="imaplib2",
version="2.28.3",
description="A threaded Python IMAP4 client.",
author="Piers Lauder",
url="http://github.com/bcoe/imaplib2",
classifiers = [
"Prog... | #!/usr/bin/env python
# from distutils.core import setup
from setuptools import setup, find_packages
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
setup(
name="imaplib2",
version="2.28.4",
description="A th... | #!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages
setup(
name="imaplib2",
version="2.28.3",
description="A threaded Python IMAP4 client.",
author="Piers Lauder",
url="http://github.com/bcoe/imaplib2",
classifiers = [
"Programming Languag... | <commit_before>#!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages
setup(
name="imaplib2",
version="2.28.3",
description="A threaded Python IMAP4 client.",
author="Piers Lauder",
url="http://github.com/bcoe/imaplib2",
classifiers = [
"Prog... |
71b68c990977e78abf8dbaf6562719f39492657f | setup.py | setup.py | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | Make clear we need Python 3.6 | Make clear we need Python 3.6
| Python | bsd-2-clause | linnarsson-lab/loompy,linnarsson-lab/loompy | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | <commit_before>from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the... | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the release versio... | <commit_before>from setuptools import setup, find_packages
# First update the version in loompy/_version.py, then:
# cd loompy (the root loompy folder, not the one inside!)
# rm -r dist (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*
# NOTE: Don't forget to update the... |
1d686d4e5cd4ff610dda2b8be9fc747d6314a4b4 | setup.py | setup.py | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | Set download_url to pypi directory. | Set download_url to pypi directory.
git-svn-id: c8188841f5432f3fe42d04dee4f87e556eb5cf84@23 99efc558-b41a-11dd-8714-116ca565c52f
| Python | bsd-2-clause | bd808/python-iptools | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name =... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | #!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name = 'iptools',
... | <commit_before>#!/usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
import os
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']
setup(
name =... |
0d4fe588023869044755644dfa162c488a7fdea8 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='raimon49.guestbook',
version='1.0.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Flask',
],
entry_points="""
[console_scripts]
guestbook = guestbook:main
"""
)
| import os
from setuptools import setup, find_packages
def read_file(filename):
basepath = os.path.dirname(os.path.dirname(__file__))
filepath = os.path.join(basepath, filename)
if os.path.exists(filepath):
return open(filepath.read())
else:
return ''
setup(
name='raimon49.guestbo... | Update meta data for distributed PyPI | Update meta data for distributed PyPI
| Python | bsd-3-clause | raimon49/pypro2-guestbook-webapp,raimon49/pypro2-guestbook-webapp | from setuptools import setup, find_packages
setup(
name='raimon49.guestbook',
version='1.0.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Flask',
],
entry_points="""
[console_scripts]
guestbook = guestbook:main
"""
)
Update meta dat... | import os
from setuptools import setup, find_packages
def read_file(filename):
basepath = os.path.dirname(os.path.dirname(__file__))
filepath = os.path.join(basepath, filename)
if os.path.exists(filepath):
return open(filepath.read())
else:
return ''
setup(
name='raimon49.guestbo... | <commit_before>from setuptools import setup, find_packages
setup(
name='raimon49.guestbook',
version='1.0.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Flask',
],
entry_points="""
[console_scripts]
guestbook = guestbook:main
"""
)
... | import os
from setuptools import setup, find_packages
def read_file(filename):
basepath = os.path.dirname(os.path.dirname(__file__))
filepath = os.path.join(basepath, filename)
if os.path.exists(filepath):
return open(filepath.read())
else:
return ''
setup(
name='raimon49.guestbo... | from setuptools import setup, find_packages
setup(
name='raimon49.guestbook',
version='1.0.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Flask',
],
entry_points="""
[console_scripts]
guestbook = guestbook:main
"""
)
Update meta dat... | <commit_before>from setuptools import setup, find_packages
setup(
name='raimon49.guestbook',
version='1.0.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Flask',
],
entry_points="""
[console_scripts]
guestbook = guestbook:main
"""
)
... |
42418b638a581b0243182e8a4e24662c7e7cc003 | setup.py | setup.py | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-goo... | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1-1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-g... | Fix including JS resources as package data | Fix including JS resources as package data
| Python | bsd-2-clause | mgood/js.handlebars,mgood/js.handlebars | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-goo... | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1-1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-g... | <commit_before>#!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email =... | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1-1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-g... | #!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email = 'matt@matt-goo... | <commit_before>#!/usr/bin/python
import setuptools
from setuptools import find_packages
setuptools.setup(
name = 'js.handlebars',
version = '1.0.rc.1',
license = 'BSD',
description = 'Fanstatic package for Handlebars.js',
long_description = open('README.txt').read(),
author = 'Matt Good',
author_email =... |
a7f24ba803c13bf7b263aed4d974ad604d53df2f | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | Fix trove classifier for pypi | Fix trove classifier for pypi
| Python | mit | Legobot/legos.nettools | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.'... | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | #!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.')[:-1],
lic... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"
description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
name=name,
version='0.1.0',
namespace_packages=name.split('.'... |
f7784f2023e8f351c539586c56d2f9ec3a9086e1 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'mock',
'M2Crypto',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'M2Crypto',
'mock',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | Fix lexicographic order in install_requires | Fix lexicographic order in install_requires
| Python | apache-2.0 | Jadaw1n/letsencrypt,TheBoegl/letsencrypt,Sveder/letsencrypt,tdfischer/lets-encrypt-preview,letsencrypt/letsencrypt,hsduk/lets-encrypt-preview,mrb/letsencrypt,bsmr-misc-forks/letsencrypt,mrb/letsencrypt,beermix/letsencrypt,PeterMosmans/letsencrypt,lbeltrame/letsencrypt,wteiken/letsencrypt,bsmr-misc-forks/letsencrypt,The... | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'mock',
'M2Crypto',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'M2Crypto',
'mock',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'mock',
'M2Crypto',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'... | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'M2Crypto',
'mock',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | #!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'mock',
'M2Crypto',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'nosexcover',
... | <commit_before>#!/usr/bin/env python
from setuptools import setup
install_requires = [
'argparse',
'jsonschema',
'mock',
'M2Crypto',
'pycrypto',
'python-augeas',
'python2-pythondialog',
'requests',
]
docs_extras = [
'Sphinx',
]
testing_extras = [
'coverage',
'nose',
'... |
84ded02cba3caee164e848c1200e46b08011f93f | setup.py | setup.py | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.2.0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.5,0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | Update requirement neo4j-driver to <1.5.0 | Update requirement neo4j-driver to <1.5.0
| Python | apache-2.0 | NORDUnet/python-norduniclient,NORDUnet/python-norduniclient | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.2.0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.5,0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | <commit_before>from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.2.0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclie... | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.5,0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.2.0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclient',
licens... | <commit_before>from setuptools import setup, find_packages
version = '1.0.17'
requires = [
'neo4j-driver<1.2.0',
'six>=1.10.0',
]
testing_requires = [
'nose',
'coverage',
'nosexcover',
]
setup(
name='norduniclient',
version=version,
url='https://github.com/NORDUnet/python-norduniclie... |
8476597698e6f21404e784b43f21f01d93c5b576 | setup.py | setup.py | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | Update project URL to readthedocs | Update project URL to readthedocs
| Python | mit | njwilson/nirvana-python,njwilson/nirvana-python | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | <commit_before>#!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interac... | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | #!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interacting with the N... | <commit_before>#!/usr/bin/env python
import nirvana
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='nirvana',
version=nirvana.__version__,
description=('Library for interac... |
dd063b68311209c51018cad7e9c91d2c6b4eef3c | setup.py | setup.py | # coding:utf-8
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
setup(
name='qsctl',
version=__version__,
description='Advanced command line tool for QingStor.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
keywords='yunify qingcloud qingstor ... | # coding:utf-8
from sys import version_info
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
install_requires = [
'argparse >= 1.1',
'PyYAML >= 3.1',
'qingstor-sdk >= 2.1.0',
'docutils >= 0.10',
'tqdm >= 4.0.0'
]
if version_info[:3] < (2, 7, 9):
install_requi... | Fix SSL Warnings with old python versions | Fix SSL Warnings with old python versions
Signed-off-by: Xuanwo <9d9ffaee821234cdfed458cf06eb6f407f8dbe47@yunify.com>
| Python | apache-2.0 | yunify/qsctl,Fiile/qsctl | # coding:utf-8
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
setup(
name='qsctl',
version=__version__,
description='Advanced command line tool for QingStor.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
keywords='yunify qingcloud qingstor ... | # coding:utf-8
from sys import version_info
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
install_requires = [
'argparse >= 1.1',
'PyYAML >= 3.1',
'qingstor-sdk >= 2.1.0',
'docutils >= 0.10',
'tqdm >= 4.0.0'
]
if version_info[:3] < (2, 7, 9):
install_requi... | <commit_before># coding:utf-8
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
setup(
name='qsctl',
version=__version__,
description='Advanced command line tool for QingStor.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
keywords='yunify qing... | # coding:utf-8
from sys import version_info
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
install_requires = [
'argparse >= 1.1',
'PyYAML >= 3.1',
'qingstor-sdk >= 2.1.0',
'docutils >= 0.10',
'tqdm >= 4.0.0'
]
if version_info[:3] < (2, 7, 9):
install_requi... | # coding:utf-8
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
setup(
name='qsctl',
version=__version__,
description='Advanced command line tool for QingStor.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
keywords='yunify qingcloud qingstor ... | <commit_before># coding:utf-8
from setuptools import setup, find_packages
from qingstor.qsctl import __version__
setup(
name='qsctl',
version=__version__,
description='Advanced command line tool for QingStor.',
long_description=open('README.rst', 'rb').read().decode('utf-8'),
keywords='yunify qing... |
8692eef51cf9b77aa0d6d09eec4bc4f36850d902 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | Update Django requirement to latest LTS | Update Django requirement to latest LTS
| Python | bsd-3-clause | lamby/django-force-logout | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris... | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris@chris-lamb.co.... | <commit_before>from setuptools import setup, find_packages
setup(
name='django-force-logout',
url="https://chris-lamb.co.uk/projects/django-force-logout",
version='2.0.0',
description="Framework to be able to forcibly log users out of Django projects",
author="Chris Lamb",
author_email='chris... |
15e66e00be22d7177fcba292720f55f548839469 | packages/dependencies/intel_quicksync_mfx.py | packages/dependencies/intel_quicksync_mfx.py | {
'repo_type' : 'git',
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'conf_system' : 'cmake',
'source_subfolder' : '_build',
'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
'_info' : { 'version' : None, 'fancy_name... | {
'repo_type' : 'git',
'do_not_bootstrap' : True,
'run_post_patch' : [
'autoreconf -fiv',
],
'patches' : [
( 'mfx/mfx-0001-mingwcompat-disable-va.patch', '-p1' ),
],
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'configure_options' : '{autoconf_prefix_options} --without-libva_drm --without-libva_x1... | Revert "packages/quicksync-mfx: switch to cmake" | Revert "packages/quicksync-mfx: switch to cmake"
This reverts commit b3db211b42f26480fe817d26d7515ec8bd6e5c9e.
| Python | mpl-2.0 | DeadSix27/python_cross_compile_script | {
'repo_type' : 'git',
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'conf_system' : 'cmake',
'source_subfolder' : '_build',
'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
'_info' : { 'version' : None, 'fancy_name... | {
'repo_type' : 'git',
'do_not_bootstrap' : True,
'run_post_patch' : [
'autoreconf -fiv',
],
'patches' : [
( 'mfx/mfx-0001-mingwcompat-disable-va.patch', '-p1' ),
],
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'configure_options' : '{autoconf_prefix_options} --without-libva_drm --without-libva_x1... | <commit_before>{
'repo_type' : 'git',
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'conf_system' : 'cmake',
'source_subfolder' : '_build',
'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
'_info' : { 'version' : No... | {
'repo_type' : 'git',
'do_not_bootstrap' : True,
'run_post_patch' : [
'autoreconf -fiv',
],
'patches' : [
( 'mfx/mfx-0001-mingwcompat-disable-va.patch', '-p1' ),
],
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'configure_options' : '{autoconf_prefix_options} --without-libva_drm --without-libva_x1... | {
'repo_type' : 'git',
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'conf_system' : 'cmake',
'source_subfolder' : '_build',
'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
'_info' : { 'version' : None, 'fancy_name... | <commit_before>{
'repo_type' : 'git',
'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
'conf_system' : 'cmake',
'source_subfolder' : '_build',
'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
'_info' : { 'version' : No... |
5ffdfd7eb103d6974c3fb782eecaf457f53c972f | setup.py | setup.py | import os
from distutils.core import setup
version = '0.9.3'
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),
name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | import os
from distutils.core import setup
version = '0.9.3'
here = os.path.abspath(os.path.dirname(__file__))
def read_file(name):
return open(os.path.join(here, name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | Use the absolute path for the long description to work around CI issues. | Use the absolute path for the long description to work around CI issues. | Python | bsd-3-clause | aarsan/django-maintenancemode,shanx/django-maintenancemode,aarsan/django-maintenancemode,21strun/django-maintenancemode,shanx/django-maintenancemode,21strun/django-maintenancemode | import os
from distutils.core import setup
version = '0.9.3'
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),
name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | import os
from distutils.core import setup
version = '0.9.3'
here = os.path.abspath(os.path.dirname(__file__))
def read_file(name):
return open(os.path.join(here, name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | <commit_before>import os
from distutils.core import setup
version = '0.9.3'
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),
name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=v... | import os
from distutils.core import setup
version = '0.9.3'
here = os.path.abspath(os.path.dirname(__file__))
def read_file(name):
return open(os.path.join(here, name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | import os
from distutils.core import setup
version = '0.9.3'
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),
name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=version,
des... | <commit_before>import os
from distutils.core import setup
version = '0.9.3'
def read_file(name):
return open(os.path.join(os.path.dirname(__file__),
name)).read()
readme = read_file('README.rst')
changes = read_file('CHANGES')
setup(
name='django-maintenancemode',
version=v... |
1224552892d1d459864d5ab2dada328a20cc66e7 | jobs/spiders/tvinna.py | jobs/spiders/tvinna.py | import dateutil.parser
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'),
('c... | import dateutil.parser
import scrapy
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'... | Fix the extraction of the company name. | Fix the extraction of the company name.
There's an apparent bug in the Tvinna rss feed, such that the username of the person creating the listing is used in place of a company name in the `<cd:creator>` field. As a work around, we need to visit the job listing page, and extract it from that instead. It requires more r... | Python | apache-2.0 | multiplechoice/workplace | import dateutil.parser
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'),
('c... | import dateutil.parser
import scrapy
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'... | <commit_before>import dateutil.parser
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom... | import dateutil.parser
import scrapy
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'... | import dateutil.parser
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom'),
('c... | <commit_before>import dateutil.parser
import scrapy.spiders
from jobs.items import JobsItem
class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
name = "tvinna"
start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
itertag = 'item'
namespaces = [
('atom', 'http://www.w3.org/2005/Atom... |
166015e9b4cad5b9d00df31e0d242c335c93ab79 | setup.py | setup.py | #!/usr/bin/env python
# Standard library modules.
import os
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.pa... | #!/usr/bin/env python
# Standard library modules.
from pathlib import Path
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = Path(__file__).parent.resolve()
# Get the long description from the relevant file
with open(B... | Use pathlib instead of os.path | Use pathlib instead of os.path | Python | bsd-2-clause | ppinard/matplotlib-scalebar | #!/usr/bin/env python
# Standard library modules.
import os
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.pa... | #!/usr/bin/env python
# Standard library modules.
from pathlib import Path
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = Path(__file__).parent.resolve()
# Get the long description from the relevant file
with open(B... | <commit_before>#!/usr/bin/env python
# Standard library modules.
import os
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
... | #!/usr/bin/env python
# Standard library modules.
from pathlib import Path
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = Path(__file__).parent.resolve()
# Get the long description from the relevant file
with open(B... | #!/usr/bin/env python
# Standard library modules.
import os
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.pa... | <commit_before>#!/usr/bin/env python
# Standard library modules.
import os
# Third party modules.
from setuptools import setup, find_packages
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
... |
def2ab4a860a48222fa26ede36c9a47622aa5209 | setup.py | setup.py | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | Allow Django Evolution to install along with Django >= 1.7. | Allow Django Evolution to install along with Django >= 1.7.
As we're working toward some degree of compatibility with newer versions
of Django, we need to ease up on the version restriction. Now's a good
time to do so. Django Evolution no longer has an upper bounds on the
version range.
| Python | bsd-3-clause | beanbaginc/django-evolution | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | <commit_before>#!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.s... | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | #!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.system('tests/ru... | <commit_before>#!/usr/bin/env python
#
# Setup script for Django Evolution
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
from django_evolution import get_package_version, VERSION
def run_tests(*args):
import os
os.s... |
aa4498eea07bd3a0c09a11782f881312020d725d | setup.py | setup.py | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.1',
description='Automate deployment of Chrome extensions/ap... | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.2',
description='Automate deployment of Chrome extensions/ap... | Fix typo in script packaging | Fix typo in script packaging
| Python | mit | jonnor/chrome-webstore-deploy | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.1',
description='Automate deployment of Chrome extensions/ap... | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.2',
description='Automate deployment of Chrome extensions/ap... | <commit_before>import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.1',
description='Automate deployment of Chrom... | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.2',
description='Automate deployment of Chrome extensions/ap... | import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.1',
description='Automate deployment of Chrome extensions/ap... | <commit_before>import os
from setuptools import setup
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name='chrome-webstore-deploy',
version='0.0.1',
description='Automate deployment of Chrom... |
838d83df29b905110f8bd317e08eaaa64e97f402 | 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='0.2.18',
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='0.2.19',
packages=['todoist', 'todoist.managers'],
author='Doist Team... | Update the PyPI version to 0.2.19. | Update the PyPI version to 0.2.19.
| 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='0.2.18',
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='0.2.19',
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='0.2.18',
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='0.2.19',
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='0.2.18',
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='0.2.18',
packages=['todoist', 'todoist.managers'],
aut... |
d56f3d77b8e9883df0b9c4199f74ca36b39f44ef | setup.py | setup.py | from setuptools import find_packages
from setuptools import setup
def get_long_description():
with open('README.md') as readme_file:
return readme_file.read()
setup(
name="RouterOS-api",
version='0.16.1.dev0',
description='Python API to RouterBoard devices produced by MikroTik.',
long_de... | import sys
from setuptools import find_packages
from setuptools import setup
requirements = ['six']
if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 3):
requirements.append('ipaddress')
def get_long_description():
with open('README.md') as readme_file:
return readme_... | Add ipaddress requirement to python older than 3.3 | Add ipaddress requirement to python older than 3.3
| Python | mit | socialwifi/RouterOS-api,pozytywnie/RouterOS-api | from setuptools import find_packages
from setuptools import setup
def get_long_description():
with open('README.md') as readme_file:
return readme_file.read()
setup(
name="RouterOS-api",
version='0.16.1.dev0',
description='Python API to RouterBoard devices produced by MikroTik.',
long_de... | import sys
from setuptools import find_packages
from setuptools import setup
requirements = ['six']
if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 3):
requirements.append('ipaddress')
def get_long_description():
with open('README.md') as readme_file:
return readme_... | <commit_before>from setuptools import find_packages
from setuptools import setup
def get_long_description():
with open('README.md') as readme_file:
return readme_file.read()
setup(
name="RouterOS-api",
version='0.16.1.dev0',
description='Python API to RouterBoard devices produced by MikroTik... | import sys
from setuptools import find_packages
from setuptools import setup
requirements = ['six']
if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 3):
requirements.append('ipaddress')
def get_long_description():
with open('README.md') as readme_file:
return readme_... | from setuptools import find_packages
from setuptools import setup
def get_long_description():
with open('README.md') as readme_file:
return readme_file.read()
setup(
name="RouterOS-api",
version='0.16.1.dev0',
description='Python API to RouterBoard devices produced by MikroTik.',
long_de... | <commit_before>from setuptools import find_packages
from setuptools import setup
def get_long_description():
with open('README.md') as readme_file:
return readme_file.read()
setup(
name="RouterOS-api",
version='0.16.1.dev0',
description='Python API to RouterBoard devices produced by MikroTik... |
5e3253217a971a996aa182f199c8f1413aa7bc40 | setup.py | setup.py | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | Remove trove classifier for python 3.5 | Remove trove classifier for python 3.5
| Python | mit | fcurella/django-fakery | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | <commit_before>from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',... | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',
license='M... | <commit_before>from setuptools import find_packages, setup
VERSION = '1.0.0'
setup(
name='django-fakery',
version=VERSION,
url='https://github.com/fcurella/django-factory/',
author='Flavio Curella',
author_email='flavio.curella@gmail.com',
description='A model instances generator for Django',... |
7e0c61aa54dd26760aba0d78926b599d5b8f6d5f | tests/__init__.py | tests/__init__.py | # This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an
| Add explanation of what was not working before. | Add explanation of what was not working before.
| Python | mit | praveenv253/sht,praveenv253/sht | Add explanation of what was not working before. | # This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an
| <commit_before><commit_msg>Add explanation of what was not working before.<commit_after> | # This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an
| Add explanation of what was not working before.# This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an
| <commit_before><commit_msg>Add explanation of what was not working before.<commit_after># This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an
| |
1c4e929e0a915a5a2610862ee2ef1c57495392c5 | setup.py | setup.py | #!/usr/bin/env python
#pandoc -f rst -t markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.2',
description='Merge and Simplify Scripts: an automated tool for managin... | #!/usr/bin/env python
#pandoc -t rst -f markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.3',
description='Merge and Simplify Scripts: an automated tool for managin... | Fix pandoc statement Update version number | Fix pandoc statement
Update version number
| Python | bsd-2-clause | coded-by-hand/mass,coded-by-hand/mass | #!/usr/bin/env python
#pandoc -f rst -t markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.2',
description='Merge and Simplify Scripts: an automated tool for managin... | #!/usr/bin/env python
#pandoc -t rst -f markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.3',
description='Merge and Simplify Scripts: an automated tool for managin... | <commit_before>#!/usr/bin/env python
#pandoc -f rst -t markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.2',
description='Merge and Simplify Scripts: an automated t... | #!/usr/bin/env python
#pandoc -t rst -f markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.3',
description='Merge and Simplify Scripts: an automated tool for managin... | #!/usr/bin/env python
#pandoc -f rst -t markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.2',
description='Merge and Simplify Scripts: an automated tool for managin... | <commit_before>#!/usr/bin/env python
#pandoc -f rst -t markdown README.mkd -o README
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mass',
version='0.1.2',
description='Merge and Simplify Scripts: an automated t... |
ef471f80412d49456725565349bd0e5a09e6e721 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | Add some reasonable trove classifiers | Add some reasonable trove classifiers
| Python | mit | kennethreitz/maya,timofurrer/maya,emattiza/maya | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst')... | <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
try:
# Python 3
from os import dirname
except ImportError:
# Python 2
from os.path import dirname
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here... |
2800e2cf0a7a998a5081929e6750265f30b09130 | tests/test_bql.py | tests/test_bql.py | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | Add some more trivial bql2sql tests. | Add some more trivial bql2sql tests.
| Python | apache-2.0 | probcomp/bayeslite,probcomp/bayeslite | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | <commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... | <commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2010-2014, MIT Probabilistic Computing Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/... |
2d6e0710dbc781f54295e18299be6f4c1bb0ec43 | jsonmerge/jsonvalue.py | jsonmerge/jsonvalue.py | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | Fix Python3 support: remove iteritems | Fix Python3 support: remove iteritems
| Python | mit | avian2/jsonmerge | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | <commit_before># vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _sub... | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | # vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _subval(self, key, ... | <commit_before># vim:ts=4 sw=4 expandtab softtabstop=4
class JSONValue(object):
def __init__(self, val=None, ref='#', undef=False):
assert not isinstance(val, JSONValue)
self.val = val
self.ref = ref
self.undef = undef
def is_undef(self):
return self.undef
def _sub... |
707e0be6f7e750e580aecc9bced2cc19b9ccf906 | lib/windspharm/__init__.py | lib/windspharm/__init__.py | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | Revert version number on release branch. | Revert version number on release branch.
| Python | mit | nicolasfauchereau/windspharm,ajdawson/windspharm | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | <commit_before>"""Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without ... | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | """Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ... | <commit_before>"""Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without ... |
188f0ac84e041259585172f5cffc21828ac534e3 | setup.py | setup.py | from setuptools import setup
setup(
name='daffodil',
version='0.3.8',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | from setuptools import setup
setup(
name='daffodil',
version='0.3.9',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | Upgrade version for new optimization | Upgrade version for new optimization
(for real this time) | Python | mit | igorkramaric/daffodil,mediapredict/daffodil | from setuptools import setup
setup(
name='daffodil',
version='0.3.8',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | from setuptools import setup
setup(
name='daffodil',
version='0.3.9',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='daffodil',
version='0.3.8',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
insta... | from setuptools import setup
setup(
name='daffodil',
version='0.3.9',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | from setuptools import setup
setup(
name='daffodil',
version='0.3.8',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
install_requires=[
... | <commit_before>from setuptools import setup
setup(
name='daffodil',
version='0.3.8',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
keywords='data filtering',
url='https://github.com/mediapredict/daffodil',
packages=['daffodil'],
insta... |
99d3e7972e642050c4586968ba704d46d469e27c | setup.py | setup.py | from setuptools import setup, find_packages
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
icecake=icecake.cli:cli
... | from setuptools import setup, find_packages
from codec import open
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
ic... | Fix encoding error preventing install | Fix encoding error preventing install
While running tox the installation of icecake would succeed under Python
2.7.13 but fail under 3.5.2 with an encoding error while trying to read
the long description from README.rst.
py35 inst-nodeps: /icecake/.tox/dist/icecake-0.6.0.zip
ERROR: invocation failed (exit code 1), lo... | Python | mit | cbednarski/icecake,cbednarski/icecake | from setuptools import setup, find_packages
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
icecake=icecake.cli:cli
... | from setuptools import setup, find_packages
from codec import open
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
ic... | <commit_before>from setuptools import setup, find_packages
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
icecake=ic... | from setuptools import setup, find_packages
from codec import open
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
ic... | from setuptools import setup, find_packages
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
icecake=icecake.cli:cli
... | <commit_before>from setuptools import setup, find_packages
setup(
# packaging information that is likely to be updated between versions
name='icecake',
version='0.6.0',
packages=['icecake'],
py_modules=['cli', 'templates', 'livejs'],
entry_points='''
[console_scripts]
icecake=ic... |
6d8b2453a77008acb6f6cde002c6bfaea2a75621 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.3',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.4',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | Remove reference to stale source (client.py). | Remove reference to stale source (client.py).
| Python | mit | simudream/rinse,thedrow/rinse,MarkusH/rinse,tysonclugg/rinse,funkybob/rinse,MarkusH/rinse,simudream/rinse,tysonclugg/rinse | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.3',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.4',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.3',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
pac... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.4',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.3',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse']... | <commit_before>#!/usr/bin/env python
from distutils.core import setup
setup(
name='rinse',
version='0.0.3',
description='Python3 SOAP client built with lxml and requests.',
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
pac... |
bc0895f318a9297144e31da3647d6fc5716aafc4 | setup.py | setup.py | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | Make sure this works the first time you run it | Make sure this works the first time you run it
| Python | mit | skggm/skggm,skggm/skggm | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | <commit_before>'''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.real... | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | '''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.realpath(__file__))... | <commit_before>'''
Setup script that:
/pyquic:
- compiles pyquic
- copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil
class temp_cd():
def __init__(self, temp_dir):
self._temp_dir = temp_dir
self._return_dir = os.path.dirname(os.path.real... |
e3e0c8dbce7f3c6fb8887f2f9cc2332020d7480b | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | Upgrade tangled 0.1a7 => 0.1a9 | Upgrade tangled 0.1a7 => 0.1a9
| Python | mit | TangledWeb/tangled.sqlalchemy | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | <commit_before>from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags'... | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='W... | <commit_before>from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a4.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags'... |
35c3f9a339a199226b34efae9e78d15e85e5f184 | setup.py | setup.py | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.11.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.12.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | Document that python 3.10 is supported and update version number. | Document that python 3.10 is supported and update version number.
| Python | mit | AlanCristhian/namedobject,AlanCristhian/named | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.11.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.12.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | <commit_before>from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.11.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_... | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.12.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.11.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_objname.py"],
... | <commit_before>from setuptools import setup # type: ignore[import]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="objname",
version="0.11.0",
packages=["objname"],
package_data={
"objname": ["__init__.py", "py.typed", "_module.py",
"test_... |
7e341014059c98bdd91a1c876982b8caa47a5586 | setup.py | setup.py | from __future__ import with_statement
from distutils.core import setup
def readme():
try:
with open('README.rst') as f:
return f.read()
except IOError:
return
setup(
name='encodingcontext',
version='0.9.0',
description='A bad idea about the default encoding',
lon... | from __future__ import with_statement
from distutils.core import setup
import re
def readme():
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
return
return re.sub(
r'''
(?P<colon> : \n{2,})?
\.\. [ ] code-block:: \s+ [^\n]+ \n
... | Transform readme into PyPI compliant reST | Transform readme into PyPI compliant reST
| Python | mit | dahlia/encodingcontext | from __future__ import with_statement
from distutils.core import setup
def readme():
try:
with open('README.rst') as f:
return f.read()
except IOError:
return
setup(
name='encodingcontext',
version='0.9.0',
description='A bad idea about the default encoding',
lon... | from __future__ import with_statement
from distutils.core import setup
import re
def readme():
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
return
return re.sub(
r'''
(?P<colon> : \n{2,})?
\.\. [ ] code-block:: \s+ [^\n]+ \n
... | <commit_before>from __future__ import with_statement
from distutils.core import setup
def readme():
try:
with open('README.rst') as f:
return f.read()
except IOError:
return
setup(
name='encodingcontext',
version='0.9.0',
description='A bad idea about the default enc... | from __future__ import with_statement
from distutils.core import setup
import re
def readme():
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
return
return re.sub(
r'''
(?P<colon> : \n{2,})?
\.\. [ ] code-block:: \s+ [^\n]+ \n
... | from __future__ import with_statement
from distutils.core import setup
def readme():
try:
with open('README.rst') as f:
return f.read()
except IOError:
return
setup(
name='encodingcontext',
version='0.9.0',
description='A bad idea about the default encoding',
lon... | <commit_before>from __future__ import with_statement
from distutils.core import setup
def readme():
try:
with open('README.rst') as f:
return f.read()
except IOError:
return
setup(
name='encodingcontext',
version='0.9.0',
description='A bad idea about the default enc... |
31fde6b38329252313c40549b9188c584a2eadd7 | setup.py | setup.py | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b15',
descri... | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b16',
descri... | Update version number to 0.2.0b16 | Update version number to 0.2.0b16
| Python | mit | BruceSherwood/vpython-jupyter,BruceSherwood/vpython-jupyter,BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter,mwcraig/vpython-jupyter,mwcraig/vpython-jupyter,BruceSherwood/vpython-jupyter,sspickle/vpython-jupyter,mwcraig/vpython-jupyter,sspickle/vpython-jupyter | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b15',
descri... | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b16',
descri... | <commit_before>from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b... | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b16',
descri... | from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b15',
descri... | <commit_before>from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b... |
5fb38bfb6eae77b7024bf4d9990472f60d576826 | setup.py | setup.py | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | Update package information about supported python versions | Update package information about supported python versions
| Python | bsd-2-clause | Nicoretti/crc | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | <commit_before>import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
... | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
py_modules=['... | <commit_before>import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup
current = pathlib.Path(__file__).parent.resolve()
def readme():
return (current / 'README.md').read_text(encoding='utf-8')
if __name__ == '__main__':
setup(
name='crc',
version=LIBRARY_VERSION,
... |
40a2a4ace817f3f237d87d802d5bd286eb2bf09e | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.6',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
url='https://github.com/mayfield/syndicate/',
license='MIT',
long_description=o... | #!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='syndicate',
versi... | Make PyPi long_description look pretty with pandoc (if available). | Make PyPi long_description look pretty with pandoc (if available).
| Python | mit | mayfield/syndicate | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.6',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
url='https://github.com/mayfield/syndicate/',
license='MIT',
long_description=o... | #!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='syndicate',
versi... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.6',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
url='https://github.com/mayfield/syndicate/',
license='MIT',
lon... | #!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='syndicate',
versi... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.6',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
url='https://github.com/mayfield/syndicate/',
license='MIT',
long_description=o... | <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.6',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
url='https://github.com/mayfield/syndicate/',
license='MIT',
lon... |
ae280f4f837a23608749e8a8de1cbba98bafc621 | examples/mhs_atmosphere/mhs_atmosphere_plot.py | examples/mhs_atmosphere/mhs_atmosphere_plot.py | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
slc = yt.SlicePlot(ds, fields='density... | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
# Axes flip for normal='y'
#ds.coordin... | Add x-y flipping code for SlicePlot | Add x-y flipping code for SlicePlot
| Python | bsd-2-clause | SWAT-Sheffield/pysac,Cadair/pysac | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
slc = yt.SlicePlot(ds, fields='density... | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
# Axes flip for normal='y'
#ds.coordin... | <commit_before># -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
slc = yt.SlicePlot(ds, ... | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
# Axes flip for normal='y'
#ds.coordin... | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
slc = yt.SlicePlot(ds, fields='density... | <commit_before># -*- coding: utf-8 -*-
"""
Created on Fri Jan 9 12:52:31 2015
@author: stuart
"""
import os
import glob
import yt
model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')
files = glob.glob(datadir+'/*')
files.sort()
print(files)
ds = yt.load(files[0])
slc = yt.SlicePlot(ds, ... |
db362bd50c7b8aa6a40a809346eff70df846f82d | setup.py | setup.py | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | Add certifi to required packages | Add certifi to required packages
| Python | mit | rcmachado/pysuru | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | <commit_before># coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
u... | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | # coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
url='https://git... | <commit_before># coding: utf-8
from setuptools import setup
setup(
name='pysuru',
version='0.0.1',
description='Python library to interact with Tsuru API',
long_description=open('README.rst', 'r').read(),
keywords='tsuru',
author='Rodrigo Machado',
author_email='rcmachado@gmail.com',
u... |
38a13415fc4c126c1e115d5af0d0ffde5bcdf08d | setup.py | setup.py | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='9',
description='A python libr... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='10',
description='A python lib... | Bump version number to 10 | Bump version number to 10
| Python | mit | Kane610/axis | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='9',
description='A python libr... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='10',
description='A python lib... | <commit_before># https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='9',
description... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='10',
description='A python lib... | # https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='9',
description='A python libr... | <commit_before># https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi
from setuptools import setup
setup(
name='axis',
packages=['axis'],
version='9',
description... |
64d4bcf0862e2715dc0de92a0621adf23dff5818 | source/harmony/schema/collector.py | source/harmony/schema/collector.py | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from abc import ABCMeta, abstractmethod
class Collector(object):
'''Collect and return schemas.'''
__metaclass__ = ABCMeta
@abstractmethod
def collect(self):
'''Yield collected schemas.
... | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
import os
from abc import ABCMeta, abstractmethod
try:
import json
except ImportError:
try:
import simplejson as json
except ImportError:
raise ImportError('Could not import json or simp... | Support collecting schemas from filesystem. | Support collecting schemas from filesystem.
| Python | apache-2.0 | 4degrees/harmony | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from abc import ABCMeta, abstractmethod
class Collector(object):
'''Collect and return schemas.'''
__metaclass__ = ABCMeta
@abstractmethod
def collect(self):
'''Yield collected schemas.
... | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
import os
from abc import ABCMeta, abstractmethod
try:
import json
except ImportError:
try:
import simplejson as json
except ImportError:
raise ImportError('Could not import json or simp... | <commit_before># :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from abc import ABCMeta, abstractmethod
class Collector(object):
'''Collect and return schemas.'''
__metaclass__ = ABCMeta
@abstractmethod
def collect(self):
'''Yield colle... | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
import os
from abc import ABCMeta, abstractmethod
try:
import json
except ImportError:
try:
import simplejson as json
except ImportError:
raise ImportError('Could not import json or simp... | # :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from abc import ABCMeta, abstractmethod
class Collector(object):
'''Collect and return schemas.'''
__metaclass__ = ABCMeta
@abstractmethod
def collect(self):
'''Yield collected schemas.
... | <commit_before># :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
from abc import ABCMeta, abstractmethod
class Collector(object):
'''Collect and return schemas.'''
__metaclass__ = ABCMeta
@abstractmethod
def collect(self):
'''Yield colle... |
fa4ef8d171faaf89e81bcd36dfeec082cd86a9e8 | setup.py | setup.py | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.04.5",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.05.0",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | Change version string to "0.05.0". | Change version string to "0.05.0".
This is a medium-ish change because we kind of break compatibility with
older sites.
| Python | mit | startling/cytoplasm | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.04.5",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.05.0",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | <commit_before>from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.04.5",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-a... | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.05.0",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.04.5",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | <commit_before>from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.04.5",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-a... |
5e9f41eae1d53cec5c90a104c249b11bfe292225 | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | Make Python 3.6+ a hard requirement | Make Python 3.6+ a hard requirement
Support for Python 3.5 was dropped in
https://github.com/lamby/django-slack/commit/cd8cce9360fdceb0cb1b4228ef71c0b80a212a4b.
Python 3.5 reached its EOL in September 2020, see
https://www.python.org/dev/peps/pep-0478/.
| Python | bsd-3-clause | lamby/django-slack | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
author="Chris ... | <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-slack',
url="https://chris-lamb.co.uk/projects/django-slack",
version='5.16.0',
description="Provides easy-to-use integration between Django projects and "
"the Slack group chat and IM tool.",
... |
c33038a85f41c2056630897c2b1b8ce590301e62 | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | Add Django >= 1.5 requirement | Add Django >= 1.5 requirement
| Python | apache-2.0 | honza801/django-swiftbrowser,hbhdytf/django-swiftbrowser,hbhdytf/django-swiftbrowser,bkawula/django-swiftbrowser,honza801/django-swiftbrowser,cschwede/django-swiftbrowser,cschwede/django-swiftbrowser,bkawula/django-swiftbrowser,sunhongtao/django-swiftbrowser,bkawula/django-swiftbrowser,honza801/django-swiftbrowser,bkaw... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packag... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packages=['swiftbrows... | <commit_before>import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-swiftbrowser',
version='0.1',
packag... |
2349fa984e584fbfb022d01ce3d3e349dbe7870c | setup.py | setup.py | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | Remove Alpha from dev status. | Remove Alpha from dev status.
| Python | mit | amancevice/dip | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | <commit_before>import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_descrip... | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_description=textwrap.d... | <commit_before>import textwrap
from setuptools import setup
setup(name='dip',
version='1.0.0b0',
author='amancevice',
author_email='smallweirdnum@gmail.com',
packages=['dip'],
url='http://www.smallweirdnumber.com',
description='Install CLIs using docker-compose',
long_descrip... |
c7e726744b28ee0d502b51cdf8f7d6f0d9ef24e1 | setup.py | setup.py | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | Remove redundant click-plugins and add dtoolcore dependency; add entry point for dataset create | Remove redundant click-plugins and add dtoolcore dependency; add entry point for dataset create
| Python | mit | jic-dtool/dtool-create | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | <commit_before>from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True... | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True,
author="T... | <commit_before>from setuptools import setup
url = ""
version = "0.1.0"
readme = open('README.rst').read()
setup(
name="dtool-create",
packages=["dtool_create"],
version=version,
description="Dtool plugin for creating datasets and collections",
long_description=readme,
include_package_data=True... |
e42dc9fe06bad4eff195d64f031d5a2445a15cc8 | setup.py | setup.py | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | Update supported languages to indicate Python 3+ support. | Update supported languages to indicate Python 3+ support.
| Python | apache-2.0 | dacut/python-aws-sig | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | <commit_before>#!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
... | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
if six.PY2:
... | <commit_before>#!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import six
from setuptools import setup, Command
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("nose").setLevel(logging.DEBUG)
setup_requires=["nose>=1.0", "coverage>=4.0", "Sphinx>=1.3"]
... |
3e403ed0962b62b19247dd1021f672507d003f07 | labware/microplates.py | labware/microplates.py | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = 7.15
depth ... | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer, LiquidContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = ... | Refactor of LiquidContainer vs. GridContainer to support grids which don't contain liquids. | Refactor of LiquidContainer vs. GridContainer to support grids which don't contain liquids.
| Python | apache-2.0 | OpenTrons/opentrons-api,OpenTrons/opentrons-api,OpenTrons/opentrons_sdk,OpenTrons/opentrons-api,OpenTrons/opentrons-api,OpenTrons/opentrons-api,Opentrons/labware | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = 7.15
depth ... | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer, LiquidContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = ... | <commit_before>from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = 7... | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer, LiquidContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = ... | from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = 7.15
depth ... | <commit_before>from .grid import GridContainer, GridItem
from .liquids import LiquidContainer, LiquidWell
class Microplate(GridContainer):
rows = 8
cols = 12
volume = 100
min_vol = 50
max_vol = 90
height = 14.45
length = 127.76
width = 85.47
diameter = 7... |
605af19623b2536752304275f2403ce2b4fa52f8 | bluebottle/test/factory_models/projects.py | bluebottle/test/factory_models/projects.py | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | Remove phase from project factory | Remove phase from project factory
| Python | bsd-3-clause | onepercentclub/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,jfterpstra/bluebottle | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | <commit_before>import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(loggi... | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(logging.WARN)
clas... | <commit_before>import factory
import logging
from django.conf import settings
from bluebottle.projects.models import (
Project, ProjectTheme, ProjectDetailField, ProjectBudgetLine)
from .accounts import BlueBottleUserFactory
# Suppress debug information for Factory Boy
logging.getLogger('factory').setLevel(loggi... |
3cc8dc8de4fe75f0abf92f89979b0b7e48d9c137 | splearn/ensemble/tests/__init__.py | splearn/ensemble/tests/__init__.py | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | Raise allowed difference for RandomForest | Raise allowed difference for RandomForest
| Python | apache-2.0 | lensacom/sparkit-learn,taynaud/sparkit-learn,taynaud/sparkit-learn,lensacom/sparkit-learn | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | <commit_before>import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTe... | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTestCase):
d... | <commit_before>import numpy as np
from nose.tools import assert_true
from sklearn.ensemble import RandomForestClassifier
from splearn.ensemble import SparkRandomForestClassifier
from splearn.utils.testing import SplearnTestCase
from splearn.utils.validation import check_rdd_dtype
class TestSparkRandomForest(SplearnTe... |
451951b311ef6e2bb76348a116dc0465f735348e | pytest_watch/config.py | pytest_watch/config.py | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | Fix running when pytest.ini is not present. | Fix running when pytest.ini is not present.
| Python | mit | joeyespo/pytest-watch | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | <commit_before>try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
d... | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
def pytest_cmdli... | <commit_before>try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
import pytest
CLI_OPTION_PREFIX = '--'
class CollectConfig(object):
"""
A pytest plugin to gets the configuration file.
"""
def __init__(self):
self.path = None
d... |
b690d4be60d9c72eb805b779c61f6d3001881bd2 | raven/conf/__init__.py | raven/conf/__init__.py | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | Support udp scheme in raven.load | Support udp scheme in raven.load
| Python | bsd-3-clause | Goldmund-Wyldebeast-Wunderliebe/raven-python,someonehan/raven-python,dbravender/raven-python,jbarbuto/raven-python,ticosax/opbeat_python,akheron/raven-python,smarkets/raven-python,getsentry/raven-python,patrys/opbeat_python,jmp0xf/raven-python,jmagnusson/raven-python,recht/raven-python,hzy/raven-python,akalipetis/raven... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | <commit_before>"""
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn =... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn = 'https://publi... | <commit_before>"""
raven.conf
~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import urlparse
def load(dsn, scope):
"""
Parses a Sentry compatible DSN and loads it
into the given scope.
>>> import raven
>>> dsn =... |
0f40869157ef56df0ff306fb510be4401b5cbe5d | test/low_level/test_frame_identifiers.py | test/low_level/test_frame_identifiers.py | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identfier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identifier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | Add test for a cell variable | Add test for a cell variable
| Python | bsd-3-clause | joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identfier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identifier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | <commit_before>import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identfier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_funct... | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identifier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identfier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_function(frame)
... | <commit_before>import inspect
from pyinstrument.low_level import stat_profile as stat_profile_c
from pyinstrument.low_level import stat_profile_python
class AClass:
def get_frame_identfier_for_a_method(self, getter_function):
frame = inspect.currentframe()
assert frame
return getter_funct... |
8a607ab7c064f3f593b4cecaa8e4262bec9326fa | corehq/apps/es/forms.py | corehq/apps/es/forms.py | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | Return more than 10 domains | Return more than 10 domains
| Python | bsd-3-clause | qedsoftware/commcare-hq,puttarajubr/commcare-hq,puttarajubr/commcare-hq,puttarajubr/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,puttarajubr/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | <commit_before>from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field... | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field": "form.meta.u... | <commit_before>from .es_query import HQESQuery
from . import filters
class FormES(HQESQuery):
index = 'forms'
default_filters = {
'is_xform_instance': {"term": {"doc_type": "xforminstance"}},
'has_xmlns': {"not": {"missing": {"field": "xmlns"}}},
'has_user': {"not": {"missing": {"field... |
0d3ae906a9382aca5e00ff403986591223e3a1a7 | pic/flash.py | pic/flash.py |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... | Change program counter current address reference. | Change program counter current address reference.
| Python | mit | SuperOxigen/pic16f917-simulator |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... | <commit_before>
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
re... |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... |
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
return self._prog... | <commit_before>
class ProgramMemory(object):
def __init__(self, size: int, programCounter):
self._operations = [None] * size
self._programCounter = programCounter
@property
def operations(self) -> list:
return self._operations
@property
def programCounter(self):
re... |
d1da03b40e9a10a07b67eeb76a0bef8cc704a40c | utils/exporter.py | utils/exporter.py | import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_dir + output_file_name(module, dates))
| import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))[:-3] # remove .py extension from dir names
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_di... | Remove .py extension from graph dir names | Remove .py extension from graph dir names
| Python | mit | f-jiang/sleep-pattern-grapher | import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_dir + output_file_name(module, dates))
Remove... | import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))[:-3] # remove .py extension from dir names
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_di... | <commit_before>import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_dir + output_file_name(module, ... | import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))[:-3] # remove .py extension from dir names
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_di... | import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_dir + output_file_name(module, dates))
Remove... | <commit_before>import plotly as py
from os import makedirs
from utils.names import output_file_name
_out_dir = 'graphs/'
def export(fig, module, dates):
graph_dir = '{}{}/'.format(_out_dir, str(module))
makedirs(graph_dir, exist_ok=True)
py.offline.plot(fig, filename=graph_dir + output_file_name(module, ... |
2f0d71024ab9fb3ab4b97e086741b0dd8564d29e | dadd/master/handlers.py | dadd/master/handlers.py | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STORAGE_D... | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path:path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STOR... | Fix files path argument type. | Fix files path argument type.
| Python | bsd-3-clause | ionrock/dadd,ionrock/dadd,ionrock/dadd,ionrock/dadd | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STORAGE_D... | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path:path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STOR... | <commit_before>from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.co... | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path:path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STOR... | from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.config['STORAGE_D... | <commit_before>from flask import send_file, request, redirect, url_for
from dadd.master import app
from dadd.master.files import FileStorage
@app.route('/')
def index():
return redirect(url_for('admin.index'))
@app.route('/files/<path>', methods=['PUT', 'GET'])
def files(path):
storage = FileStorage(app.co... |
8f753ba1bc3f17146841d1f83f493adb8ea480e1 | voteit/stancer.py | voteit/stancer.py |
def generate_stances(blocs=[], filters={}):
return "banana!"
| from bson.code import Code
from voteit.core import votes
REDUCE = Code("""
function(obj, prev) {
if (!prev.votes.hasOwnProperty(obj.option)) {
prev.votes[obj.option] = 1;
} else {
prev.votes[obj.option]++;
}
//prev.count++;
};
""")
def generate_stances(blocs=[], filters={}):
data... | Replace “banana” with business logic (kind of). | Replace “banana” with business logic (kind of). | Python | mit | tmtmtmtm/voteit-api,pudo/voteit-server,pudo-attic/voteit-server |
def generate_stances(blocs=[], filters={}):
return "banana!"
Replace “banana” with business logic (kind of). | from bson.code import Code
from voteit.core import votes
REDUCE = Code("""
function(obj, prev) {
if (!prev.votes.hasOwnProperty(obj.option)) {
prev.votes[obj.option] = 1;
} else {
prev.votes[obj.option]++;
}
//prev.count++;
};
""")
def generate_stances(blocs=[], filters={}):
data... | <commit_before>
def generate_stances(blocs=[], filters={}):
return "banana!"
<commit_msg>Replace “banana” with business logic (kind of). <commit_after> | from bson.code import Code
from voteit.core import votes
REDUCE = Code("""
function(obj, prev) {
if (!prev.votes.hasOwnProperty(obj.option)) {
prev.votes[obj.option] = 1;
} else {
prev.votes[obj.option]++;
}
//prev.count++;
};
""")
def generate_stances(blocs=[], filters={}):
data... |
def generate_stances(blocs=[], filters={}):
return "banana!"
Replace “banana” with business logic (kind of). from bson.code import Code
from voteit.core import votes
REDUCE = Code("""
function(obj, prev) {
if (!prev.votes.hasOwnProperty(obj.option)) {
prev.votes[obj.option] = 1;
} else {
... | <commit_before>
def generate_stances(blocs=[], filters={}):
return "banana!"
<commit_msg>Replace “banana” with business logic (kind of). <commit_after>from bson.code import Code
from voteit.core import votes
REDUCE = Code("""
function(obj, prev) {
if (!prev.votes.hasOwnProperty(obj.option)) {
prev... |
55069f1635a32c57faf7c8afcbfc9b88df093601 | bin/monitor/find_invalid_pipeline_state.py | bin/monitor/find_invalid_pipeline_state.py | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | Convert entries to PipelineState objects | Convert entries to PipelineState objects
+ typo in wrapper class name
| Python | bsd-3-clause | shankari/e-mission-server,shankari/e-mission-server,e-mission/e-mission-server,e-mission/e-mission-server,e-mission/e-mission-server,shankari/e-mission-server,e-mission/e-mission-server,shankari/e-mission-server | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | <commit_before>import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_sta... | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_state.py'
def pri... | <commit_before>import arrow
import logging
import argparse
import emission.core.wrapper.pipelinestate as ecwp
import emission.core.get_database as edb
# Run in containers using:
# sudo docker exec $CONTAINER bash -c 'cd e-mission-server; source setup/activate.sh; ./e-mission-py.bash bin/debug/find_invalid_pipeline_sta... |
a689ce5e38c4d4a5ce982037c5c15396f361c7d6 | contrib/examples/sensors/echo_flask_app.py | contrib/examples/sensors/echo_flask_app.py | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | Make trigger name in .py match .yaml | Make trigger name in .py match .yaml | Python | apache-2.0 | StackStorm/st2,nzlosh/st2,StackStorm/st2,StackStorm/st2,nzlosh/st2,Plexxi/st2,Plexxi/st2,nzlosh/st2,Plexxi/st2,Plexxi/st2,nzlosh/st2,StackStorm/st2 | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | <commit_before>from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = ... | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = '127.0.0.1'
... | <commit_before>from flask import request, Flask
from st2reactor.sensor.base import Sensor
class EchoFlaskSensor(Sensor):
def __init__(self, sensor_service, config):
super(EchoFlaskSensor, self).__init__(
sensor_service=sensor_service,
config=config
)
self._host = ... |
6e8e7a067419166afd632aa63ecb743dd6c3a162 | geokey_dataimports/tests/test_model_helpers.py | geokey_dataimports/tests/test_model_helpers.py | # coding=utf-8
from io import BytesIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or relevant un... | # coding=utf-8
from cStringIO import StringIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or rel... | Simplify test data for easier comparison. | Simplify test data for easier comparison.
| Python | mit | ExCiteS/geokey-dataimports,ExCiteS/geokey-dataimports,ExCiteS/geokey-dataimports | # coding=utf-8
from io import BytesIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or relevant un... | # coding=utf-8
from cStringIO import StringIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or rel... | <commit_before># coding=utf-8
from io import BytesIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible... | # coding=utf-8
from cStringIO import StringIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or rel... | # coding=utf-8
from io import BytesIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible or relevant un... | <commit_before># coding=utf-8
from io import BytesIO
from django.test import TestCase
from geokey_dataimports.helpers.model_helpers import import_from_csv
class ImportFromCSVTest(TestCase):
"""Tests to check that characters can be imported from CSV files.
Notes that these tests are probably not possible... |
b8e23194ff0c24bd9460629aff18f69d7a868f6d | likelihood.py | likelihood.py | import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciphertext[i:i+k]])
s = s + math.log(mat[kmer])
return s
| import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
if k==1:
return ll_k1(ciphertext,perm,mat)
if k==2:
return ll_k2(ciphertext,perm,mat)
if k==3:
return ll_k3(ciphertext,perm,mat)
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciph... | Add hard-coded versions of ll function for k=1,2,3 for speed | Add hard-coded versions of ll function for k=1,2,3 for speed
| Python | mit | gputzel/decode | import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciphertext[i:i+k]])
s = s + math.log(mat[kmer])
return s
Add hard-coded versions of ll function for k=1,2,3 for speed | import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
if k==1:
return ll_k1(ciphertext,perm,mat)
if k==2:
return ll_k2(ciphertext,perm,mat)
if k==3:
return ll_k3(ciphertext,perm,mat)
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciph... | <commit_before>import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciphertext[i:i+k]])
s = s + math.log(mat[kmer])
return s
<commit_msg>Add hard-coded versions of ll function for k=1,2,3 for speed<commit_after... | import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
if k==1:
return ll_k1(ciphertext,perm,mat)
if k==2:
return ll_k2(ciphertext,perm,mat)
if k==3:
return ll_k3(ciphertext,perm,mat)
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciph... | import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciphertext[i:i+k]])
s = s + math.log(mat[kmer])
return s
Add hard-coded versions of ll function for k=1,2,3 for speedimport math
#Log-likelihood
def ll(ciphe... | <commit_before>import math
#Log-likelihood
def ll(ciphertext,perm,mat,k):
s=0.0
for i in range(len(ciphertext)-(k-1)):
kmer = tuple([perm[c] for c in ciphertext[i:i+k]])
s = s + math.log(mat[kmer])
return s
<commit_msg>Add hard-coded versions of ll function for k=1,2,3 for speed<commit_after... |
50596484c1214a73d3722af116ccea7fa258fb11 | direnaj/direnaj_api/celery_app/server_endpoint.py | direnaj/direnaj_api/celery_app/server_endpoint.py | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | Fix for periodic task scheduler (4) | Fix for periodic task scheduler (4)
| Python | mit | boun-cmpe-soslab/drenaj,boun-cmpe-soslab/drenaj,boun-cmpe-soslab/drenaj,boun-cmpe-soslab/drenaj | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | <commit_before>__author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
... | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | __author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
time.sleep(... | <commit_before>__author__ = 'onur'
from celery import Celery
import direnaj_api.config.server_celeryconfig as celeryconfig
app_object = Celery()
app_object.config_from_object(celeryconfig)
@app_object.task
def deneme(x, seconds):
print "Sleeping for printing %s for %s seconds.." % (x, seconds)
import time
... |
6d2118a87dfb811015727970b1eda74c15769e06 | distutilazy/__init__.py | distutilazy/__init__.py | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = '0.4.0'
__all__ = ['clean', 'pyinstaller', 'command']
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = "0.4.0"
__all__ = ("clean", "pyinstaller", "command")
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | Replace ' with " to keep it consistant with other modules | Replace ' with " to keep it consistant with other modules
| Python | mit | farzadghanei/distutilazy | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = '0.4.0'
__all__ = ['clean', 'pyinstaller', 'command']
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = "0.4.0"
__all__ = ("clean", "pyinstaller", "command")
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | <commit_before>"""
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = '0.4.0'
__all__ = ['clean', 'pyinstaller', 'command']
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path... | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = "0.4.0"
__all__ = ("clean", "pyinstaller", "command")
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | """
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = '0.4.0'
__all__ = ['clean', 'pyinstaller', 'command']
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path:
if len(sy... | <commit_before>"""
distutilazy
-----------
Extra distutils command classes.
:license: MIT, see LICENSE for more details.
"""
from os.path import dirname, abspath
import sys
__version__ = '0.4.0'
__all__ = ['clean', 'pyinstaller', 'command']
base_dir = abspath(dirname(dirname(__file__)))
if base_dir not in sys.path... |
8ffe217fe512296d41ae474c9d145ee2de599eac | src/constants.py | src/constants.py | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | Include all but have a supported set | Include all but have a supported set
Rather than commenting out the values, this seems more sensible. And pretty.. of
course.
Signed-off-by: Venkatesh Shukla <8349e50bec2939976da648e286d7e261bcd17fa3@iitbhu.ac.in>
| Python | mit | venkateshshukla/th-editorials-server | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | <commit_before>class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
... | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
RSS_ARGS = "?ut... | <commit_before>class AppUrl:
"""Class for storing all the URLs used in the application"""
BASE = "http://www.thehindu.com/"
OP_BASE = BASE + "opinion/"
OPINION = OP_BASE + "?service=rss"
EDITORIAL = OP_BASE + "editorial/?service=rss"
SAMPLE = BASE + "op-ed/a-super-visit-in-the-season-of-hope/article7214799.ece"
... |
1fabf53957c4951e36f756c94bea4007cd6a5d6e | run_server.py | run_server.py | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | Improve print message for the server address | Improve print message for the server address
| Python | mit | bondarevts/flucalc,bondarevts/flucalc,bondarevts/flucalc | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | <commit_before>#!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
bre... | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | #!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
break
... | <commit_before>#!/usr/bin/env python3
import subprocess
import sys
def main():
ip = '127.0.0.1'
port = 5000
workers_count = 4
if len(sys.argv) > 1:
for arg in sys.argv[1:]:
if ':' in arg:
ip, port = arg.split(':')
port = int(port)
bre... |
af4bdd9339e3905f6489577afe7fac33475e3884 | src/services/listener_bot.py | src/services/listener_bot.py | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | Improve waiting time to bot listener | Improve waiting time to bot listener
| Python | bsd-3-clause | otherpirate/dbaas-slack-bot | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | <commit_before>from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else... | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else:
info(... | <commit_before>from logging import info, basicConfig, INFO
from time import sleep
from src.slack.slack_bot import Bot
def main():
basicConfig(level=INFO)
bot = Bot()
info('Connection Slack')
if not bot.slack_client.rtm_connect():
info('Could not connect in web_socket')
exit()
else... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.