commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
9f3c9dc638e2cefdd3857d561d58e4ab436aaf0c
Change default/sentinel value back to -512
fawcettc/planning-features,fawcettc/planning-features,fawcettc/planning-features,fawcettc/planning-features
extractors/feature_extractor.py
extractors/feature_extractor.py
#!/usr/bin/env python2.7 # encoding: utf-8 import os import sys from subprocess import Popen, PIPE import tempfile class FeatureExtractor(object): ''' abstract feature extractor ''' def __init__(self, args): self.memory_limit = args.mem_limit self.runtime_limit = args.per_extractio...
#!/usr/bin/env python2.7 # encoding: utf-8 import os import sys from subprocess import Popen, PIPE import tempfile class FeatureExtractor(object): ''' abstract feature extractor ''' def __init__(self, args): self.memory_limit = args.mem_limit self.runtime_limit = args.per_extractio...
agpl-3.0
Python
b52f0e9fe2c9e41205a8d703985ac39ab3524a8a
Test that the api 404's when a user does not exist
pytent/pytentd
tests/blueprints/test_entity.py
tests/blueprints/test_entity.py
from json import loads from tests import AppTestCase, main from tentd import db from tentd.models.entity import Entity class EntityBlueprintTest (AppTestCase): def setUp (self): super(EntityBlueprintTest, self).setUp() self.name = 'testuser' self.user = Entity(name=self.name) db.session.add(self.user) db....
from json import loads from tests import AppTestCase, main from tentd import db from tentd.models.entity import Entity class EntityBlueprintTest (AppTestCase): def setUp (self): super(EntityBlueprintTest, self).setUp() self.user = Entity(name="testuser") db.session.add(self.user) db.session.commit() def t...
apache-2.0
Python
2e0bc4408ab018e29babdd536f796dedec5f419b
Use coordinates in pairplot (#216)
arviz-devs/arviz,arviz-devs/arviz,arviz-devs/arviz,arviz-devs/arviz
examples/pairplot.py
examples/pairplot.py
""" Pair Plot ========= _thumb: .2, .5 """ import arviz as az az.style.use('arviz-darkgrid') centered = az.load_arviz_data('centered_eight') coords = {'school': ['Choate', 'Deerfield']} az.pairplot(centered, var_names=['theta', 'mu', 'tau'], coords=coords, divergences=True)
""" Pair Plot ========= _thumb: .2, .5 """ import arviz as az az.style.use('arviz-darkgrid') centered = az.load_arviz_data('centered_eight') coords = {'school': ["Choate", "Deerfield"]} az.pairplot(centered, var_names=['theta', "mu"], coords=None, divergences=True)
apache-2.0
Python
b85b988b5dd678cd87b098712dfce9a1c0e3c41a
Adjust docstring.
martinbalfanz/reads-api
reads/bookmarks/management/commands/importpinboard.py
reads/bookmarks/management/commands/importpinboard.py
from django.core.management.base import BaseCommand from reads.bookmarks.models import Bookmark import json class Command(BaseCommand): help = 'Import pinboard json backup into database' def add_arguments(self, parser): parser.add_argument('file') def handle(self, *args, **options): with...
from django.core.management.base import BaseCommand from reads.bookmarks.models import Bookmark import json class Command(BaseCommand): help = 'Import pinboard json export into database' def add_arguments(self, parser): parser.add_argument('file') def handle(self, *args, **options): with...
mit
Python
6cf6a16e2e5cb1912d86cf2d08468806b7a9a2b6
trim whitespace.
jwilk/anorack,jwilk/anorack
tests/test_parse_file.py
tests/test_parse_file.py
# Copyright © 2016 Jakub Wilk <jwilk@jwilk.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the “Software”), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, p...
# Copyright © 2016 Jakub Wilk <jwilk@jwilk.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the “Software”), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, p...
mit
Python
9bc09dd3f6842fcfbae4c84a21636d90a33e1879
Allow min_passes == max_runs.
probcomp/bayeslite,probcomp/bayeslite
tests/stochastic.py
tests/stochastic.py
# -*- coding: utf-8 -*- # Copyright (c) 2010-2016, 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-2016, 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...
apache-2.0
Python
0ee9cf86739bc534f3095582263f71d20ddfb585
Add modelmultipleselectform element
dotKom/onlineweb4,dotKom/onlineweb4,dotKom/onlineweb4,dotKom/onlineweb4
apps/article/dashboard/forms.py
apps/article/dashboard/forms.py
# -*- encoding: utf-8 -*- from django import forms from apps.article.models import Tag, Article from apps.dashboard.widgets import DatetimePickerInput, multiple_widget_generator from apps.gallery.widgets import SingleImageInput class TagForm(forms.ModelForm): class Meta(object): model = Tag fiel...
# -*- encoding: utf-8 -*- from django import forms from apps.article.models import Tag, Article from apps.dashboard.widgets import DatetimePickerInput, multiple_widget_generator from apps.gallery.widgets import SingleImageInput class TagForm(forms.ModelForm): class Meta(object): model = Tag fiel...
mit
Python
04c3392aa80b78b8dc24c01c561fd054a6308ad5
Correct a bug on the management command
sveetch/autobreadcrumbs,sveetch/autobreadcrumbs
management/commands/breadcrumbs.py
management/commands/breadcrumbs.py
# -*- coding: utf-8 -*- """ Command line """ from optparse import OptionValueError, make_option from django.conf import settings from django.core.management.base import CommandError, BaseCommand from django.core.urlresolvers import RegexURLResolver from django.utils.termcolors import colorize def startswith_in_list(s...
# -*- coding: utf-8 -*- """ Command line """ from optparse import OptionValueError, make_option from django.conf import settings from django.core.management.base import CommandError, BaseCommand from django.core.urlresolvers import RegexURLResolver from django.utils.termcolors import colorize def startswith_in_list(s...
mit
Python
8a3cc7319607d6f0f8d82fabfa26dc3ad8345f37
Add test for RendererPlain class (#40)
a5kin/hecate,a5kin/hecate
tests/core/test_renderers.py
tests/core/test_renderers.py
"""Tests for ``xentica.core.renderers`` module.""" import unittest from xentica.core.renderers import Renderer, RendererPlain class TestRenderer(unittest.TestCase): """Tests for ``Renderer`` class.""" def test_base(self): """Test base class is returning empty code for kernel.""" renderer = R...
"""Tests for ``xentica.core.renderers`` module.""" import unittest from xentica.core.renderers import Renderer class TestRenderer(unittest.TestCase): """Tests for ``Renderer`` class.""" def test_base(self): """Test base class is returning empty code for kernel.""" renderer = Renderer() ...
mit
Python
8b0dcf1bfda26ab9463d2c5a892b7ffd3fa015d9
Make sure we flatten the labels attribute to a serializable simple type.
pearsontechnology/st2contrib,pidah/st2contrib,pidah/st2contrib,pearsontechnology/st2contrib,armab/st2contrib,tonybaloney/st2contrib,pearsontechnology/st2contrib,StackStorm/st2contrib,psychopenguin/st2contrib,tonybaloney/st2contrib,StackStorm/st2contrib,tonybaloney/st2contrib,psychopenguin/st2contrib,pidah/st2contrib,ar...
packs/github/actions/lib/formatters.py
packs/github/actions/lib/formatters.py
__all__ = [ 'issue_to_dict', 'label_to_dict' ] def issue_to_dict(issue): result = {} if issue.closed_by: closed_by = issue.closed_by.name else: closed_by = None result['id'] = issue.id result['repository'] = issue.repository.name result['title'] = issue.title resu...
__all__ = [ 'issue_to_dict' ] def issue_to_dict(issue): result = {} if issue.closed_by: closed_by = issue.closed_by.name else: closed_by = None result['id'] = issue.id result['repository'] = issue.repository.name result['title'] = issue.title result['body'] = issue.bo...
apache-2.0
Python
214a0c70d973e31b08ba708750c07741ed04a8a4
Strengthen the test.
hello-base/web,hello-base/web,hello-base/web,hello-base/web
tests/history/test_models.py
tests/history/test_models.py
# -*- coding: utf-8 -*- import pytest from components.history.factories import HistoryFactory from components.history.models import History pytestmark = pytest.mark.django_db class TestHistories: def test_factory(self): factory = HistoryFactory() assert isinstance(factory, History) def test...
# -*- coding: utf-8 -*- import pytest from components.history.factories import HistoryFactory from components.history.models import History pytestmark = pytest.mark.django_db class TestHistories: def test_factory(self): factory = HistoryFactory() assert isinstance(factory, History) def test...
apache-2.0
Python
c96ae7f47973d80a2d201f2a58cc424f5a956684
correct indent level
fedora-conary/conary-policy
policy/pkgconfig.py
policy/pkgconfig.py
# # Copyright (c) 2007 rPath, Inc. # # This program is distributed under the terms of the Common Public License, # version 1.0. A copy of this license should have been distributed with this # source file in a file called LICENSE. If it is not present, the license # is always available at http://www.opensource.org/licen...
# # Copyright (c) 2007 rPath, Inc. # # This program is distributed under the terms of the Common Public License, # version 1.0. A copy of this license should have been distributed with this # source file in a file called LICENSE. If it is not present, the license # is always available at http://www.opensource.org/licen...
apache-2.0
Python
49753da009df44ab34e3b2cbd87a7dc2a41431d4
remove tag 'serves', we're communists !
clifflu/aws-util
conf/autoscaling/dev-web.py
conf/autoscaling/dev-web.py
# -*- coding: utf-8 -*- from lib import TS_ISO CONF = { 'NAME': 'dev-web', 'REGION': 'us-west-1', # Launch Configuration 'LC': { 'name': '%(name)s_' + TS_ISO, 'image_id': 'ami-6088a225', 'security_groups': ['sg-021eff6d'], # SG, ID only, managed elsewhere 'instance_type': 't1.micro', 'inst...
# -*- coding: utf-8 -*- from lib import TS_ISO CONF = { 'NAME': 'dev-web', 'REGION': 'us-west-1', # Launch Configuration 'LC': { 'name': '%(name)s_' + TS_ISO, 'image_id': 'ami-6088a225', 'security_groups': ['sg-021eff6d'], # SG, ID only, managed elsewhere 'instance_type': 't1.micro', 'inst...
mit
Python
f0e2db782e632c5fc4a181bf71b5ccaad54fb097
bump version to 0.0.12
SpringerPE/cf-configuration-exporter
exporter/__init__.py
exporter/__init__.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ cf-configuration-exporter """ __program__ = "cf-configuration-exporter" __version__ = "0.0.12" __author__ = "Claudio Benfatto" __year__ = "2017" __email__ = "<claudio.benfatto@springer.com>" __license__ = "MIT"
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ cf-configuration-exporter """ __program__ = "cf-configuration-exporter" __version__ = "0.0.11" __author__ = "Claudio Benfatto" __year__ = "2017" __email__ = "<claudio.benfatto@springer.com>" __license__ = "MIT"
mit
Python
2d841bd7dcd7a7b564d8749b7faa9c9634f0dc55
Format Error message in the exception
pradyunsg/zazo,pradyunsg/zazo
tests/lib/yaml/exceptions.py
tests/lib/yaml/exceptions.py
class YAMLException(Exception): """Base for the exception hierarchy of this module """ def __str__(self): # Format a reason if not self.args: message = "unknown" elif len(self.args) == 1: message = self.args[0] else: try: m...
class YAMLException(Exception): """Base for the exception hierarchy of this module """
mit
Python
ba3759ee129f726b24d68af3fe58ffa71c367d55
Add tests for organize views
DjangoGirls/djangogirls,DjangoGirls/djangogirls,DjangoGirls/djangogirls
tests/organize/test_views.py
tests/organize/test_views.py
from django.urls import reverse from formtools.wizard.views import NamedUrlSessionWizardView from organize.forms import ( PreviousEventForm, ApplicationForm, WorkshopForm, WorkshopTypeForm, RemoteWorkshopForm, OrganizersFormSet) from organize.models import EventApplication def test_form_thank_you(client): #...
from django.urls import reverse def test_form_thank_you(client): # Access the thank you page resp = client.get(reverse('organize:form_thank_you')) assert resp.status_code == 200 def test_index(client): # Access the organize homepage resp = client.get(reverse('organize:index')) assert resp.st...
bsd-3-clause
Python
e91576911c7281846aa7c081b05bdd1154dbadea
test fails
Antash696/simpalgs
tests/sorting/test_insort.py
tests/sorting/test_insort.py
import unittest from algs.sorting.insort import insertion_sort class TestInsort(unittest.TestCase): def setUp(self): self.test_arr = [8, 1, 3, 2, 7, 1, 2, 9, 0, 8, 14, -22] def is_sorted(self, arr, upto): for i in range(upto): if arr[i] <= arr[i + 1]: continue #...
import unittest from algs.sorting.insort import insertion_sort class TestInsort(unittest.TestCase): def setUp(self): self.test_arr = [8, 1, 3, 2, 7, 1, 2, 9, 0, 8, 14, -22] def is_sorted(self, arr, upto): for i in range(upto): if arr[i] <= arr[i + 1]: continue #...
unlicense
Python
75de77aa09453defed827e97352c63181ba58abc
Use different test data than in the fixtures
Code4SA/pmg-cms-2,Code4SA/pmg-cms-2,Code4SA/pmg-cms-2
tests/unit/test_files.py
tests/unit/test_files.py
from tests import PMGTestCase import datetime import pytz from pmg.models import db, CommitteeMeeting, Event, EventFile, File, House, Committee from tests.fixtures import dbfixture, CommitteeData, CommitteeMeetingData, EventData class TestFiles(PMGTestCase): def setUp(self): super().setUp() self.h...
from tests import PMGTestCase import datetime import pytz from pmg.models import db, CommitteeMeeting, Event, EventFile, File, House, Committee from tests.fixtures import dbfixture, CommitteeData, CommitteeMeetingData, EventData # TODO: might have to mock S3 class TestFiles(PMGTestCase): def setUp(self): ...
apache-2.0
Python
9d019860516358c50e727835588a8828dd468451
simplify settings builder
sseg/hello_world
http_agent/settings.py
http_agent/settings.py
from os.path import expandvars, join, dirname from types import MappingProxyType from typing import Union, Callable import sys import warnings import yaml def bool_if_bool_string(string: str) -> Union[str, bool]: normalized = string.strip().lower() if normalized == 'true': return True if normalize...
from os.path import expandvars, join, dirname from types import MappingProxyType from typing import Union import sys import warnings import yaml def bool_if_bool_string(string: str) -> Union[str, bool]: normalized = string.strip().lower() if normalized == 'true': return True if normalized == 'fals...
bsd-3-clause
Python
2421212be1072db1428e7c832c0818a3928c1153
Add test for collection creation with crs_wkt
Toblerity/Fiona,Toblerity/Fiona,rbuffat/Fiona,rbuffat/Fiona
tests/test_collection_crs.py
tests/test_collection_crs.py
import os import re import fiona import fiona.crs from .conftest import WGS84PATTERN def test_collection_crs_wkt(path_coutwildrnp_shp): with fiona.open(path_coutwildrnp_shp) as src: assert re.match(WGS84PATTERN, src.crs_wkt) def test_collection_no_crs_wkt(tmpdir, path_coutwildrnp_shp): """crs memb...
import os import re import fiona import fiona.crs from .conftest import WGS84PATTERN def test_collection_crs_wkt(path_coutwildrnp_shp): with fiona.open(path_coutwildrnp_shp) as src: assert re.match(WGS84PATTERN, src.crs_wkt) def test_collection_no_crs_wkt(tmpdir, path_coutwildrnp_shp): """crs membe...
bsd-3-clause
Python
1a3912abe8e1ad2c0069e397a867dce943917e9a
update version number
theno/fabsetup,theno/fabsetup
fabsetup/_version.py
fabsetup/_version.py
__version__ = "0.7.5"
__version__ = "0.7.4"
mit
Python
e07f3fd3b961361c9d6b5d8e525a08c442c8a2b1
Update test_driving_cycles.py
romainsacchi/carculator
tests/test_driving_cycles.py
tests/test_driving_cycles.py
import os, sys; sys.path.append(os.path.dirname(os.path.realpath(__file__))) import pandas import pytest from carculator.driving_cycles import get_standard_driving_cycle def test_cycle_retrival_nedc(): dc = get_standard_driving_cycle("NEDC") assert isinstance(dc, pandas.core.series.Series) assert dc.sum...
import pandas import pytest from carculator.driving_cycles import get_standard_driving_cycle def test_cycle_retrival_nedc(): dc = get_standard_driving_cycle("NEDC") assert isinstance(dc, pandas.core.series.Series) assert dc.sum() == 39353.0 assert dc.index.min() == 0 assert dc.index.max() == 120...
bsd-3-clause
Python
0084e4fc37f9ca47b58c56be6114b1e5c81e6916
Bump required version of pygst_utils package
wheeler-microfluidics/dmf-device-ui
pavement.py
pavement.py
import platform import sys from paver.easy import task, needs, path from paver.setuputils import setup, install_distutils_tasks sys.path.insert(0, path('.').abspath()) import version install_distutils_tasks() # Platform-independent package requirements. install_requires = ['microdrop>=2.0.post22.dev158803465', ...
import platform import sys from paver.easy import task, needs, path from paver.setuputils import setup, install_distutils_tasks sys.path.insert(0, path('.').abspath()) import version install_distutils_tasks() # Platform-independent package requirements. install_requires = ['microdrop>=2.0.post22.dev158803465', ...
lgpl-2.1
Python
1c39d4fc2e1fae7e04968d936ac91f81a201aeb3
bump sipi version (DSP-547) (#1689)
dhlab-basel/Knora,dhlab-basel/Knora,dhlab-basel/Knora,dhlab-basel/Knora,dhlab-basel/Knora,dhlab-basel/Knora,dhlab-basel/Knora
third_party/versions.bzl
third_party/versions.bzl
"""Primary location for setting Knora-API project wide versions""" SCALA_VERSION = "2.12.11" AKKA_VERSION = "2.6.5" AKKA_HTTP_VERSION = "10.1.12" JENA_VERSION = "3.14.0" METRICS_VERSION = "4.0.1" # SIPI SIPI_REPOSITORY = "daschswiss/sipi" SIPI_VERSION = "3.0.0-rc.5" SIPI_TAG = "v" + SIPI_VERSION SIPI_IMAGE = SIPI_REP...
"""Primary location for setting Knora-API project wide versions""" SCALA_VERSION = "2.12.11" AKKA_VERSION = "2.6.5" AKKA_HTTP_VERSION = "10.1.12" JENA_VERSION = "3.14.0" METRICS_VERSION = "4.0.1" # SIPI SIPI_REPOSITORY = "daschswiss/sipi" SIPI_VERSION = "3.0.0-rc.4" SIPI_TAG = "v" + SIPI_VERSION SIPI_IMAGE = SIPI_REP...
agpl-3.0
Python
2e1873cf86e85db4968d0f8b5fe6cc099ca59f71
Test alternative branch in test_complex_State_bind
justanr/pynads
tests/test_state.py
tests/test_state.py
from pynads import State from pynads.funcs import mappend, multiapply, multibind from pynads.utils.internal import iscallable import pytest pop = State(lambda s: (s[0], s[1:])) push = lambda a: State(lambda s: ((), mappend([a], s))) def test_State_new_raises(): with pytest.raises(TypeError): State(4) ...
from pynads import State from pynads.funcs import mappend, multiapply, multibind from pynads.utils.internal import iscallable import pytest pop = State(lambda s: (s[0], s[1:])) push = lambda a: State(lambda s: ((), mappend([a], s))) def test_State_new_raises(): with pytest.raises(TypeError): State(4) ...
mit
Python
997e557abb6ab5d511245c7db85c549ea4162b34
print time taken by PCA
douglasbagnall/py_bh_tsne,douglasbagnall/py_bh_tsne
fasttsne/__init__.py
fasttsne/__init__.py
import scipy.linalg as la import numpy as np import time from fasttsne import _TSNE as TSNE def fast_tsne(data, pca_d=None, d=2, perplexity=30., theta=0.5, mode=0): """ Run Barnes-Hut T-SNE on _data_. @param data The data. @param pca_d The dimensionality of data is reduced via PCA ...
import scipy.linalg as la import numpy as np from fasttsne import _TSNE as TSNE def fast_tsne(data, pca_d=None, d=2, perplexity=30., theta=0.5, mode=0): """ Run Barnes-Hut T-SNE on _data_. @param data The data. @param pca_d The dimensionality of data is reduced via PCA ...
bsd-3-clause
Python
60427ac9192346ca56afa3f5ee5ffb0fe31ec8b8
Add utils tests
iwi/linkatos,iwi/linkatos
tests/test_utils.py
tests/test_utils.py
import pytest import linkatos.utils as utils # test message from bot def test_from_bot(): input_message = { 'user': 'bot_id' } assert utils.from_bot(input_message, 'bot_id') is True # test message contents def test_has_text(): input_message = { 'text': 'sample text', 'channe...
import pytest import linkatos.utils as utils # test message from bot def test_from_bot(): input_message = { 'user': 'bot_id' } assert utils.from_bot(input_message, 'bot_id') is True # test message contents def test_has_text(): input_message = { 'text': 'sample text', 'channe...
mit
Python
ab0cb09cc1532c6ebf951ce4994238a4ff6bcc49
Add test for calc_request_description()
Bobspadger/python-amazon-mws,GriceTurrble/python-amazon-mws
tests/test_utils.py
tests/test_utils.py
from mws.mws import calc_md5, calc_request_description def test_calc_md5(): assert calc_md5(b'mws') == b'mA5nPbh1CSx9M3dbkr3Cyg==' def test_calc_request_description(access_key, account_id): request_description = calc_request_description({ 'AWSAccessKeyId': access_key, 'Markets': account_id, ...
from mws.mws import calc_md5 def test_calc_md5(): assert calc_md5(b'mws') == b'mA5nPbh1CSx9M3dbkr3Cyg=='
unlicense
Python
f792b874ee835ed06edaa660f13b56972412f1c0
Fix the docstring to be more accurate about the function's action
jeremycline/fmn,fedora-infra/fmn.rules,jeremycline/fmn,jeremycline/fmn
fmn/rules/generic.py
fmn/rules/generic.py
# Generic rules for FMN import fedmsg import fmn.rules.utils def user_filter(config, message, fasnick=None, *args, **kw): """ All messages for a certain user Use this rule to include messages that are associated with a specific user. """ fasnick = kw.get('fasnick', fasnick) if fasnick: ...
# Generic rules for FMN import fedmsg import fmn.rules.utils def user_filter(config, message, fasnick=None, *args, **kw): """ All messages for a certain user Use this rule to include messages that are associated with a specific user. """ fasnick = kw.get('fasnick', fasnick) if fasnick: ...
lgpl-2.1
Python
c97df4eb0b5b16e1d49efaf06bb5b511f24492ca
add descriptions in setup.py
slivingston/rcomp,slivingston/rcomp,slivingston/rcomp
frontend/py/setup.py
frontend/py/setup.py
#!/usr/bin/env python from __future__ import print_function from setuptools import setup # Version # N.B., this is versioned separately from rcompserv MAJOR = 0 MINOR = 1 MICRO = 0 rcomp_version = '{major}.{minor}.{micro}'.format(major=MAJOR, minor=MINOR, micro=MICRO) with open('rcomp/_version.py', 'w') as f: f...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup # Version # N.B., this is versioned separately from rcompserv MAJOR = 0 MINOR = 1 MICRO = 0 rcomp_version = '{major}.{minor}.{micro}'.format(major=MAJOR, minor=MINOR, micro=MICRO) with open('rcomp/_version.py', 'w') as f: f...
bsd-3-clause
Python
4baeaeb6f31f40d6aca34231d7720699fb8b8d85
replace testure extension
Aiacos/DevPyLib
mayaLib/shaderLib/shaders_maker.py
mayaLib/shaderLib/shaders_maker.py
__author__ = 'Lorenzo Argentieri' import pymel.core as pm from mayaLib.shaderLib.utils import file from mayaLib.shaderLib.utils import texture_ext_path from mayaLib.shaderLib import shader class ShadersManager(): def __init__(self, path=str(pm.workspace(q=True, dir=True, rd=True) + 'sourceimages/')): # S...
__author__ = 'Lorenzo Argentieri' import pymel.core as pm from mayaLib.shaderLib.utils import file from mayaLib.shaderLib.utils import texture_ext_path from mayaLib.shaderLib import shader class ShadersManager(): def __init__(self, path=str(pm.workspace(q=True, dir=True, rd=True) + 'sourceimages/')): # S...
agpl-3.0
Python
36ba59596fcfd1e5ee4a1285657b13fcc9389db9
Change version number.
Ormod/thumber
thumber/__init__.py
thumber/__init__.py
__version__=0.5
__version__=0.4
mit
Python
0fd9783e4a05a8774034589a2eca088f938e17fa
Add `unicode_literals` to the Django admin
GeoMatDigital/django-geomat,GeoMatDigital/django-geomat,GeoMatDigital/django-geomat,GeoMatDigital/django-geomat
geomat/stein/admin.py
geomat/stein/admin.py
from __future__ import unicode_literals from django.contrib import admin from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from geomat.stein.models import Classification, CrystalSystem, Handpiece, MineralType, Photograph class PhotographInline(admin.TabularInline): model = ...
from django.contrib import admin from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from geomat.stein.models import Classification, CrystalSystem, Handpiece, MineralType, Photograph class PhotographInline(admin.TabularInline): model = Photograph class CrystalSystemInline(ad...
bsd-3-clause
Python
394ed0eac93ce5a1fe7f0494a165d9298181abd7
Improve the dump-db.py cvs2svn debugging tool.
jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion
tools/cvs2svn/dump-db.py
tools/cvs2svn/dump-db.py
#!/usr/bin/env python2 import anydbm import marshal import sys import os.path def usage(): cmd = sys.argv[0] sys.stderr.write("Usage: %s DBFILE [...]\n\n" % os.path.basename(cmd)) sys.stderr.write("Dump .db database files created by cvs2svn.\n") sys.exit(1) def main(): argc = len(sys.argv) if argc < 2:...
#!/usr/bin/env python2 import anydbm import marshal import sys def usage(): sys.stderr.write("Usage: %s DB-FILE\n\n" % sys.argv[0]) sys.stderr.write("Dump .db database files created by cvs2svn (for\n") sys.stderr.write("debugging purposes, generally).\n") sys.exit(1) def main(): argc = len(sys.argv) if...
apache-2.0
Python
fafd4865dc0e26d5d653c878890d60747e6cac22
Add tests.
allcaps/tvdordrecht.nl,allcaps/tvdordrecht.nl,allcaps/tvdordrecht.nl,allcaps/tvdordrecht.nl,allcaps/tvdordrecht.nl
tvdordrecht/webapp/tests.py
tvdordrecht/webapp/tests.py
from django.test import TestCase from .utils import ( table_of_contents, ) class UtilsMethodTests(TestCase): def test_table_of_contents_empty(self): """ Empty text returns empty stings. """ toc, html = table_of_contents(u"") self.assertEqual(toc, u"") self.assertEqual(html, u...
mit
Python
80e0ced6980becbb2e07f12db8f994f677340311
fix admin route of editor err
HakureiClub/hakurei-site,HakureiClub/hakurei-site,HakureiClub/hakurei-site,HakureiClub/hakurei-site
hakureiclub_app/core_view/admin.py
hakureiclub_app/core_view/admin.py
from sanic import Blueprint from sanic.response import text,html from mu_sanic.render_template import render_template from ..core_model.github_auth import authit,getuser from ..core_model.mongodb import ActiInfo , BlogInfo , AuthInfo import markdown2 from mu_sanic.config import loop blog = BlogInfo() acti = ActiInfo()...
from sanic import Blueprint from sanic.response import text,html from mu_sanic.render_template import render_template from ..core_model.github_auth import authit,getuser from ..core_model.mongodb import ActiInfo , BlogInfo , AuthInfo import markdown2 from mu_sanic.config import loop blog = BlogInfo() acti = ActiInfo()...
mit
Python
e91fb735bbba3bb4687a5f0cb9a94f0c0762dc0c
fix broken test - no longer checking against schema
radiasoft/sirepo,mkeilman/sirepo,mkeilman/sirepo,radiasoft/sirepo,radiasoft/sirepo,mkeilman/sirepo,radiasoft/sirepo,mkeilman/sirepo,radiasoft/sirepo
tests/stateless_compute_test.py
tests/stateless_compute_test.py
# -*- coding: utf-8 -*- u"""Test statelessCompute API :copyright: Copyright (c) 2021 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function from pykern.pkcollections import PKDict import pytest def test_madx_c...
# -*- coding: utf-8 -*- u"""Test statelessCompute API :copyright: Copyright (c) 2021 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function from pykern.pkcollections import PKDict import pytest def test_madx_c...
apache-2.0
Python
5316a944826260c9fad676f62f46852457b070c9
Update tests/test_missingmigrations.py
jrief/djangocms-cascade,jrief/djangocms-cascade,jrief/djangocms-cascade
tests/test_missingmigrations.py
tests/test_missingmigrations.py
try: from cStringIO import StringIO except ImportError: from io import StringIO from django.test import TestCase from django.core.management import call_command class MissingMigrationTest(TestCase): def test_for_missing_migrations(self): out = StringIO() call_command('makemigrations', '...
try: from cStringIO import StringIO except ImportError: from io import StringIO from django.test import TestCase from django.core.management import call_command class MissingMigrationTest(TestCase): def test_for_missing_migrations(self): out = StringIO() call_command('makemigrations', '...
mit
Python
eb23874485706d9f0cac0b233375938ae8d25ea1
test more conditions
DiamondLightSource/ispyb-api,DiamondLightSource/ispyb-api
tests/test_strictordereddict.py
tests/test_strictordereddict.py
import context from ispyb.strictordereddict import StrictOrderedDict def test_keyerror(): d = StrictOrderedDict([('c',None), ('b',None), ('a',None)]) try: d['new_key'] = 'some value' except KeyError: assert True else: assert False def test_order(): d = StrictOrderedDict([('...
import context from ispyb.strictordereddict import StrictOrderedDict def test_keyerror(): d = StrictOrderedDict([('c',None), ('b',None), ('a',None)]) try: d['new_key'] = 'some value' except KeyError: assert True else: assert False def test_order(): d = StrictOrderedDict([('...
apache-2.0
Python
c48f4ef0af98ea66fa5b54d41b86809f6a4c420c
Fix missing kwargs declaration in translation module.
pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac
trac/util/translation.py
trac/util/translation.py
# -*- coding: utf-8 -*- # # Copyright (C) 2007 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
# -*- coding: utf-8 -*- # # Copyright (C) 2007 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists o...
bsd-3-clause
Python
eafec97b9793e5acc59ea7c49eb138d7f8f2ee5c
Remove dead code
GeotrekCE/Geotrek-admin,GeotrekCE/Geotrek-admin,makinacorpus/Geotrek,makinacorpus/Geotrek,mabhub/Geotrek,johan--/Geotrek,Anaethelion/Geotrek,johan--/Geotrek,camillemonchicourt/Geotrek,Anaethelion/Geotrek,mabhub/Geotrek,makinacorpus/Geotrek,johan--/Geotrek,Anaethelion/Geotrek,makinacorpus/Geotrek,mabhub/Geotrek,GeotrekC...
geotrek/core/graph.py
geotrek/core/graph.py
from collections import defaultdict def graph_edges_nodes_of_qs(qs, key_modifier=lambda x: x, value_modifier=lambda x: x): """ return a graph on the form: nodes { coord_point_a { coord_point_b: edge_id } } edges { edge_id: { nodes: [point_a, point_b,...
from collections import defaultdict def graph_edges_nodes_of_qs(qs, key_modifier=lambda x: x, value_modifier=lambda x: x): """ return a graph on the form: nodes { coord_point_a { coord_point_b: edge_id } } edges { edge_id: { nodes: [point_a, point_b,...
bsd-2-clause
Python
624a403ebc35d25d22678be266764204010b4477
Disable CUDA in @llvm-project//mlir.
petewarden/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimenta...
third_party/mlir/build_defs.bzl
third_party/mlir/build_defs.bzl
"""Rules and macros for MLIR""" def if_cuda_available(if_true, if_false = []): return if_false def _cc_headers_only_impl(ctx): return CcInfo(compilation_context = ctx.attr.src[CcInfo].compilation_context) cc_headers_only = rule( implementation = _cc_headers_only_impl, attrs = { "src": attr.la...
"""Rules and macros for MLIR""" load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda_is_configured") if_cuda_available = if_cuda_is_configured def _cc_headers_only_impl(ctx): return CcInfo(compilation_context = ctx.attr.src[CcInfo].compilation_context) cc_headers_only = rule( implementation = _cc_header...
apache-2.0
Python
de8f3b9ecb9ac2d1b3953ffc6f19a64296dec02a
Fix a bug with torrent actions
ojarva/home-info-display,ojarva/home-info-display,ojarva/home-info-display,ojarva/home-info-display
homedisplay/info_torrents/views.py
homedisplay/info_torrents/views.py
from django.conf import settings from django.core import serializers from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import get_object_or_404 from django.shortcuts import render from django.utils.timezone import now from django.views.generic import View from utorrent.client import UTorr...
from django.conf import settings from django.core import serializers from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import get_object_or_404 from django.shortcuts import render from django.utils.timezone import now from django.views.generic import View from utorrent.client import UTorr...
bsd-3-clause
Python
18a5d86c61930c73f2104416d5463d4d93a15934
Add is_export rule.
sievetech/rgc
rules.py
rules.py
# -*- coding: utf-8 -*- from datetime import datetime class RuleDoesNotExistError(Exception): def __init__(self, rulename): self.value = rulename def __str__(self): return 'rule "{0}" is not implemented.'.format(self.value) def __unicode__(self): return str(self).decode('ut...
# -*- coding: utf-8 -*- from datetime import datetime class RuleDoesNotExistError(Exception): def __init__(self, rulename): self.value = rulename def __str__(self): return 'rule "{0}" is not implemented.'.format(self.value) def __unicode__(self): return str(self).decode('ut...
bsd-3-clause
Python
77977ce034fad53b681728b40adc071e59431d12
Switch to xml_downloaded event to support use cases without caching.
DOV-Vlaanderen/pydov
pydov/util/hooks.py
pydov/util/hooks.py
import sys class AbstractHook(object): def __init__(self, name): self.name = name def wfs_search(self, typename): pass def wfs_result(self, number_of_results): pass def xml_requested(self, url): pass def xml_cache_hit(self, url): pass def xml_cache_...
import sys class AbstractHook(object): def __init__(self, name): self.name = name def wfs_search(self, typename): pass def wfs_result(self, number_of_results): pass def xml_requested(self, url): pass def xml_cache_hit(self, url): pass def xml_cache_...
mit
Python
a626247aa2bec5528349e1354386cca0094332d5
Update NI example to current thinking
aforren1/toon
toon/input/force_transducers.py
toon/input/force_transducers.py
from ctypes import c_double import nidaqmx import numpy as np from nidaqmx.constants import AcquisitionType, TerminalConfiguration from nidaqmx.stream_readers import AnalogMultiChannelReader from toon.input.base_input import BaseInput class ForceTransducers(BaseInput): """1-DoF force transducers.""" @stati...
from ctypes import c_double import numpy as np from toon.input.base_input import BaseInput import nidaqmx from nidaqmx.constants import AcquisitionType, TerminalConfiguration class ForceTransducers(BaseInput): """1-DoF force transducers.""" @staticmethod def samp_freq(**kwargs): return kwargs.get...
mit
Python
8b119a76c985d73970ce476bad2afe8684cf2278
Update version to 1.3.1
Synss/pyhard2
pyhard2/__init__.py
pyhard2/__init__.py
__version__ = u"1.3.1 beta"
__version__ = u"1.3.0 beta"
mit
Python
ee60032049322f6af4817f743397c30cbf33fe7a
Update version to 1.99.2
Synss/pyhard2
pyhard2/__init__.py
pyhard2/__init__.py
__version__ = u"1.99.2 alpha"
__version__ = u"1.99.1 alpha"
mit
Python
cd755d90f4c01ca02c15cb7748d7683a5151df2a
Bump version
douban/pymesos
pymesos/__init__.py
pymesos/__init__.py
from .interface import Scheduler, Executor from .scheduler import MesosSchedulerDriver from .executor import MesosExecutorDriver from .utils import encode_data, decode_data __VERSION__ = '0.2.14' __all__ = ( 'Scheduler', 'MesosSchedulerDriver', 'Executor', 'MesosExecutorDriver', 'encode_data', ...
from .interface import Scheduler, Executor from .scheduler import MesosSchedulerDriver from .executor import MesosExecutorDriver from .utils import encode_data, decode_data __VERSION__ = '0.2.13' __all__ = ( 'Scheduler', 'MesosSchedulerDriver', 'Executor', 'MesosExecutorDriver', 'encode_data', ...
bsd-3-clause
Python
5bd9f9bf342cd258122a70c8c46d52c18d0014a4
handle untagged merges
svn2github/chromium-depot-tools,svn2github/chromium-depot-tools,svn2github/chromium-depot-tools
git_find_releases.py
git_find_releases.py
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Usage: %prog <commit>* Given a commit, finds the release where it first appeared (e.g. 47.0.2500.0) as well as attempting to determi...
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Usage: %prog <commit>* Given a commit, finds the release where it first appeared (e.g. 47.0.2500.0) as well as attempting to determi...
bsd-3-clause
Python
7334ebdf31b25bb1edd08ddbb89bb64accc6925f
Bump to 1.2.2.dev0.
kivy/pyobjus,kivy/pyobjus,kivy/pyobjus
pyobjus/__init__.py
pyobjus/__init__.py
__version__ = '1.2.2.dev0' from .pyobjus import *
__version__ = '1.2.1' from .pyobjus import *
mit
Python
1b60cec37ce60154c3de19506e6267ebc85f65b8
use of dict.get() makes exceptions unlikely
sheppard/django-github-hook,sheppard/django-github-hook
github_hook/views.py
github_hook/views.py
from rest_framework.response import Response from rest_framework.generics import GenericAPIView from rest_framework.renderers import JSONRenderer from django.views.decorators.csrf import csrf_exempt import json from .models import Hook class HookView(GenericAPIView): renderer_classes = [JSONRenderer] @csrf_e...
from rest_framework.response import Response from rest_framework.generics import GenericAPIView from rest_framework.renderers import JSONRenderer from django.views.decorators.csrf import csrf_exempt import json from .models import Hook class HookView(GenericAPIView): renderer_classes = [JSONRenderer] @csrf_e...
mit
Python
cd1edd91f0261c6c4778bbca6fa1c4e3124c0212
Update __init__.py
ueg1990/pypoker
pypoker/__init__.py
pypoker/__init__.py
''' This module re-implements the poker game engine found on https://github.com/yannlombard/node-poker in Python @author Usman Ehtesham Gul @email uehtesham90@gmail.com ''' __title__ = 'pypoker' __author__ = 'Usman Ehtesham Gul' __license__ = 'MIT' __copyright__ = 'Copyright 2014 Usman Ehtesham Gul' from table impo...
''' This module re-implements the poker game engine found on https://github.com/yannlombard/node-poker in Python @author Usman Ehtesham Gul @email uehtesham90@gmail.com ''' __title__ = 'pypoker' __author__ = 'Usman Ehtesham Gul' __license__ = 'MIT' __copyright__ = 'Copyright 2014 Usman Ehtesham Gul' from table impo...
mit
Python
7e283bf1f7ed5451358770b96ad1f10d1b39d06b
Add tf.function to TF2 functions.
microsoft/dpu-utils,microsoft/dpu-utils
python/dpu_utils/tf2utils/unsorted_segment_ops.py
python/dpu_utils/tf2utils/unsorted_segment_ops.py
import tensorflow as tf from .constants import SMALL_NUMBER @tf.function def unsorted_segment_logsumexp(scores, segment_ids, num_segments): """Perform an unsorted segment safe logsumexp.""" # Note: if a segment is empty, the smallest value for the score will be returned, # which yields the correct behavi...
import tensorflow as tf from .constants import SMALL_NUMBER def unsorted_segment_logsumexp(scores, segment_ids, num_segments): """Perform an unsorted segment safe logsumexp.""" # Note: if a segment is empty, the smallest value for the score will be returned, # which yields the correct behavior max_pe...
mit
Python
86a8034101c27ffd9daf15b6cd884c6b511feecc
Fix mapping for codon keys for Tyrosine
rootulp/exercism,rootulp/exercism,rootulp/exercism,rootulp/exercism,rootulp/exercism,rootulp/exercism,rootulp/exercism,rootulp/exercism
python/protein-translation/protein_translation.py
python/protein-translation/protein_translation.py
# Codon | Protein # :--- | :--- # AUG | Methionine # UUU, UUC | Phenylalanine # UUA, UUG | Leucine # UCU, UCC, UCA, UCG | Serine # UAU, UAC | Tyrosine # UGU, UGC | Cysteine # UGG | Tryptophan # UA...
# Codon | Protein # :--- | :--- # AUG | Methionine # UUU, UUC | Phenylalanine # UUA, UUG | Leucine # UCU, UCC, UCA, UCG | Serine # UAU, UAC | Tyrosine # UGU, UGC | Cysteine # UGG | Tryptophan # UA...
mit
Python
ad70989a40db2b041a98eae3b17cde200574657c
Add colon in pmtoggle
RedstonerServer/redstoner-utils,RedstonerServer/redstoner-utils,Evanus/redstoner-utils,Evanus/redstoner-utils
pmtoggle.py
pmtoggle.py
from helpers import * import org.bukkit.Bukkit as Bukkit from java.util.UUID import fromString as juuid toggle_dict = {} permission = "utils.pmtoggle" @hook.command("tm") def on_toggle_message_command(sender, args): if not sender.hasPermission(permission) or not is_player(sender): noperm(sender) r...
from helpers import * import org.bukkit.Bukkit as Bukkit from java.util.UUID import fromString as juuid toggle_dict = {} permission = "utils.pmtoggle" @hook.command("tm") def on_toggle_message_command(sender, args): if not sender.hasPermission(permission) or not is_player(sender): noperm(sender) r...
mit
Python
107ebaf6582e65711012d60dfc81aeee2d24bcf8
fix golf
Empire-of-Code-Puzzles/checkio-empire-earth-distances,Empire-of-Code-Puzzles/checkio-empire-earth-distances,Empire-of-Code-Puzzles/checkio-empire-earth-distances
verification/src/referee.py
verification/src/referee.py
from checkio_referee import RefereeBase from checkio_referee import covercodes, validators, representations import settings import settings_env from tests import TESTS Validator = validators.FloatEqualValidator Validator.PRECISION = 1 class Referee(RefereeBase): TESTS = TESTS EXECUTABLE_PATH = settings.EXE...
from checkio_referee import RefereeBase from checkio_referee.covercode import py_unwrap_args from checkio_referee.validators import FloatEqualValidator import settings import settings_env from tests import TESTS FloatEqualValidator.PRECISION = 1 class Referee(RefereeBase): TESTS = TESTS EXECUTABLE_PATH = se...
mit
Python
2e07218fe864104d31c5c5df285e3a97f2dbfe4f
Add a test for the bug occuring when no restaurants exist
PyJAX/foodie,PyJAX/foodie
randomizer/tests.py
randomizer/tests.py
from django.test import TestCase from randomizer.models import Restaurant class RandomizerTest(TestCase): """tests for the randomizer""" def test_homepage(self): """tests the homepage""" restaurant1 = Restaurant.objects.create(name='1') restaurant2 = Restaurant.objects.create(name='2'...
from django.test import TestCase from randomizer.models import Restaurant class RandomizerTest(TestCase): """tests for the randomizer""" def test_homepage(self): """tests the homepage""" restaurant1 = Restaurant.objects.create(name='1') restaurant2 = Restaurant.objects.create(name='2'...
isc
Python
1fe53ccce2aa9227bcb2b8f8cdfa576924d81fbd
Change rc_counts to a dict instead of list.
zimolzak/poker-experiments,zimolzak/poker-experiments,zimolzak/poker-experiments
range_hits_board.py
range_hits_board.py
from convenience_hole import all_hands_in_range from convenience import pr from deuces.deuces import Card, Evaluator e = Evaluator() basic_keys = [] rc_counts = {} for i in range(1,10): s = e.class_to_string(i) basic_keys.append(s) rc_counts[s] = 0 ## Two input vars: board = [Card.new('Qs'), Card.new('Jd...
from convenience_hole import all_hands_in_range from convenience import pr from deuces.deuces import Card, Evaluator e = Evaluator() board = [Card.new('Qs'), Card.new('Jd'), Card.new('2c')] range_list = ['AA', 'KK', 'QQ', 'AK', 'AKs'] ## tricky ones highlighted: ## 1 2 3 4 5 6 7 8...
mit
Python
caa08ae4c92bb46ad7260cd6ea7681b13faebd8b
Update for apptrana
EnableSecurity/wafw00f
wafw00f/plugins/apptrana.py
wafw00f/plugins/apptrana.py
#!/usr/bin/env python ''' Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'AppTrana (Indusface)' def is_waf(self): schemes = [ self.matchHeader(('Server', r'IF_WAF')), self.matchContent(r'This website is secured against online attacks. Your request ...
#!/usr/bin/env python ''' Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'AppTrana (Indusface)' def is_waf(self): schemes = [ self.matchHeader(('Server', r'IF_WAF')), self.matchContent(r'This website is secured against online attacks. Your request ...
bsd-3-clause
Python
20bd58d42950e1b3eb34096d63cc574d95b55766
Fix path
FourthLion/pydatasentry
setup.py
setup.py
from setuptools import setup setup(name='pydatasentry', version='0.1.3', description='Memory tool for Python-Based Data Science', url='http://github.com/FourthLion/pydatasentry', download_url='https://github.com/FourthLion/pydatasentry/tarball/0.1.3', author='Venkata Pingali', autho...
from setuptools import setup setup(name='pydatasentry', version='0.1.3', description='Memory tool for Python-Based Data Science', url='http://github.com/FourthLion/pydatasentry', download_url='https://github.com/FourthLion/pydatasentry/tarball/0.1r2', author='Venkata Pingali', autho...
mit
Python
a92ecb19889c94527dec52332195b57a990c525f
add pandas as dependency
jma127/pyltr,jma127/pyltr
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pyltr', version='0.2.0', description='Python learning to rank (LTR) toolkit.', author='Jerry Ma', author_email='jmnospam@mail.com', url='https://github.com/jma127/pyltr', license='BSD-new', packages=find_packages(), package_d...
from setuptools import setup, find_packages setup( name='pyltr', version='0.2.0', description='Python learning to rank (LTR) toolkit.', author='Jerry Ma', author_email='jmnospam@mail.com', url='https://github.com/jma127/pyltr', license='BSD-new', packages=find_packages(), package_d...
bsd-3-clause
Python
5dab48b24376c6672d89fa2b0f8183c2cda380a5
change url in setup.py
konglx90/flask-admin.py
setup.py
setup.py
# -*- encoding: utf-8 -*- from setuptools import setup, find_packages """ 打包的用的setup必须引入, """ VERSION = '0.1.1' setup(name='flask-admin.py', version=VERSION, description="copy from djang-admin.py", long_description='for easy flask Web', classifiers=[], # Get strings from http://pypi.python.o...
# -*- encoding: utf-8 -*- from setuptools import setup, find_packages """ 打包的用的setup必须引入, """ VERSION = '0.1.1' setup(name='flask-admin.py', version=VERSION, description="copy from djang-admin.py", long_description='for easy flask Web', classifiers=[], # Get strings from http://pypi.python.o...
mit
Python
74f59e0c95224de13a26d0cb2575c77bb60e7cf1
remove factories entry points from setup.py
genome/flow-workflow,genome/flow-workflow,genome/flow-workflow
setup.py
setup.py
from setuptools import setup, find_packages entry_points = ''' [flow.commands] submit-workflow = flow_workflow.commands.submit_workflow:SubmitWorkflowCommand workflow_historian_service = flow.commands.service:ServiceCommand [flow.protocol.message_classes] workflow_historian_message = flow_workflow.historian.messages:...
from setuptools import setup, find_packages entry_points = ''' [flow.commands] submit-workflow = flow_workflow.commands.submit_workflow:SubmitWorkflowCommand workflow_historian_service = flow.commands.service:ServiceCommand [flow.factories] workflow_historian_message_handler = flow_workflow.historian.handler:Workflow...
agpl-3.0
Python
aee872021119686f9efa08b1a2933027da3ae3c0
Update development status to "beta"
jribbens/voting,jribbens/voting
setup.py
setup.py
"""voting setuptools information.""" import setuptools setuptools.setup( name="voting", version="0.0.1", description="UKVoting web systems", author="Jon Ribbens", author_email="jon-voting@unequivocal.eu", url="https://github.com/jribbens/voting", license="MIT", py_modules=["voting"], ...
"""voting setuptools information.""" import setuptools setuptools.setup( name="voting", version="0.0.1", description="UKVoting web systems", author="Jon Ribbens", author_email="jon-voting@unequivocal.eu", url="https://github.com/jribbens/voting", license="MIT", py_modules=["voting"], ...
mit
Python
51685a7b88731b9bc160091c0eb88033c2576f09
bump version
contextio/Python-ContextIO
setup.py
setup.py
from setuptools import setup, find_packages requires=['rauth', 'six'] setup(name='contextio', version='v1.12.7', description='Library for accessing the Context.IO API (v2.0 and Lite) in Python', author='Alex Tanton, Cecy Correa', author_email='alex.tanton@returnpath.com, cecy.correa@returnpath.com', ...
from setuptools import setup, find_packages requires=['rauth', 'six'] setup(name='contextio', version='v1.12.6', description='Library for accessing the Context.IO API (v2.0 and Lite) in Python', author='Alex Tanton, Cecy Correa', author_email='alex.tanton@returnpath.com, cecy.correa@returnpath.com', ...
apache-2.0
Python
feebff8c355e9e4bed5a2cc6edcb7f88f4ece766
update setup.py for version 1
lindsay-stevens/limesurveyrc2api
setup.py
setup.py
from setuptools import setup, find_packages setup( name="limesurveyrc2api", version="1.0.0", description="LimeSurvey RC2 API Web Services Client", url="https://github.com/lindsay-stevens-kirby/", author="Lindsay Stevens", author_email="lindsay.stevens.au@gmail.com", packages=find_packages()...
from setuptools import setup, find_packages setup( name="limesurveyrc2api", version="0.0.1", description="LimeSurvey RC2 API Web Services Client", author="Lindsay Stevens", author_email="lindsay.stevens.au@gmail.com", packages=find_packages(), include_package_data=True, url="https://git...
mit
Python
32f982bc34f525b1dfbb4fcc066587e7f62d8596
fix build
overfly83/bjrobot
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup from os.path import abspath, join, dirname CURDIR = dirname(abspath(__file__)) execfile(join(CURDIR, 'src', 'BJRobot', 'version.py')) DESCRIPTION = """ BJRobot is a web testing library for Robot Framework that leverages the Selenium 3 (WebDriver) libraries. """[1:-1]...
#!/usr/bin/env python from setuptools import setup from os.path import abspath, join, dirname CURDIR = dirname(abspath(__file__)) execfile(join(CURDIR, 'src', 'BJRobot', 'version.py')) DESCRIPTION = """ BJRobot is a web testing library for Robot Framework that leverages the Selenium 3 (WebDriver) libraries. """[1:-1]...
mit
Python
92ea5691095aacdf2841255a9b4922ae0e5218f6
Update setup.py
qwil/plaid-python
setup.py
setup.py
from setuptools import setup, find_packages import plaid url = 'https://github.com/plaid/plaid-python' setup( name='plaid-python', version=plaid.__version__, description='Simple Python API client for Plaid', long_description='', keywords='api, client, plaid', author='Chris Forrette', auth...
from setuptools import setup, find_packages import plaid url = 'https://github.com/plaid/plaid-python' setup( name='plaid-python', version=plaid.__version__, description='Simple Python API client for Plaid', long_description='', keywords='api, client, plaid', author='Chris Forrette', auth...
mit
Python
d1ffc7a842fbe216bc4ef180ada54a016801caab
Add Django version trove classifiers
brutasse/django-password-reset,brutasse/django-password-reset
setup.py
setup.py
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup from setuptools import find_packages setup( name='django-password-reset', version=__import__('password_reset').__version__, author='Bruno Renie', author_email='bruno@renie.fr', p...
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup from setuptools import find_packages setup( name='django-password-reset', version=__import__('password_reset').__version__, author='Bruno Renie', author_email='bruno@renie.fr', p...
bsd-3-clause
Python
9ed41f0d74bc5ece60579739693f8b4d58e9cc6d
Add license declaration to setup Probably fixes #4
Blueshoe/djangocms-layouter,Blueshoe/djangocms-layouter,Blueshoe/djangocms-layouter
setup.py
setup.py
import os from distutils.core import setup from layouter import __version__ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developer...
import os from distutils.core import setup from layouter import __version__ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developer...
mit
Python
7121adb67fe5b2a1ffc122ada16a48deda182d5a
Update setup.py to 0.6.1
edx/edx-analytics-data-api-client,open-craft/edx-analytics-data-api-client,nagyistoce/edx-analytics-data-api-client,edx/edx-analytics-data-api-client,Stanford-Online/edx-analytics-data-api-client,Stanford-Online/edx-analytics-data-api-client,open-craft/edx-analytics-data-api-client,nagyistoce/edx-analytics-data-api-cli...
setup.py
setup.py
from distutils.core import setup setup( name='edx-analytics-data-api-client', version='0.6.1', packages=['analyticsclient', 'analyticsclient.constants'], url='https://github.com/edx/edx-analytics-data-api-client', description='Client used to access edX analytics data warehouse', long_descriptio...
from distutils.core import setup setup( name='edx-analytics-data-api-client', version='0.5.2', packages=['analyticsclient', 'analyticsclient.constants'], url='https://github.com/edx/edx-analytics-data-api-client', description='Client used to access edX analytics data warehouse', long_descriptio...
apache-2.0
Python
d81d479df3de4f13c01bed61cbb532ee3351566f
change version info to semver
gmgeo/at-address-compare,gmgeo/at-address-compare
setup.py
setup.py
from setuptools import setup setup( name = 'at-address-compare', packages = ['ataddrcompare'], version = '0.1.0', entry_points = { 'console_scripts': ['ataddrcompare = ataddrcompare.ataddrcompare:main'] }, install_requires = ['overpass'], description = 'Address comparison of OSM data with official op...
from setuptools import setup setup( name = 'at-address-compare', packages = ['ataddrcompare'], version = '0.1', entry_points = { 'console_scripts': ['ataddrcompare = ataddrcompare.ataddrcompare:main'] }, install_requires = ['overpass'], description = 'Address comparison of OSM data with official open...
mit
Python
c9d4f4057230e56b39459e49f6f804c93c40fc9d
bump release
smazhara/awesome_print
setup.py
setup.py
from distutils.core import setup setup( name='awesome_print', version='0.1.1', author='Stan Mazhara', author_email='akmegran@gmail.com', packages=['awesome_print', 'awesome_print.test'], license='LICENSE', description='Awesome print.', long_description=open('README.txt').read(), url...
from distutils.core import setup setup( name='awesome_print', version='0.1', author='Stan Mazhara', author_email='akmegran@gmail.com', packages=['awesome_print', 'awesome_print.test'], license='LICENSE', description='Awesome print.', long_description=open('README.txt').read(), url='...
mit
Python
d17e2e737abc48d69a8bcbb967fe959700b1c5f8
Bump version to 0.3.11
bodbdigr/restea
setup.py
setup.py
from setuptools import setup readme_content = '' with open("README.rst") as f: readme_content = f.read() setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.11', description='Simple RESTful server toolkit', long_description=readme_content, author='Walery Jadlowski', ...
from setuptools import setup readme_content = '' with open("README.rst") as f: readme_content = f.read() setup( name='restea', packages=['restea', 'restea.adapters'], version='0.3.10', description='Simple RESTful server toolkit', long_description=readme_content, author='Walery Jadlowski', ...
mit
Python
c421779d923f64cafa1acfdfef0af7951648baa8
fix name matching
halkeye/flask_atlassian_connect
setup.py
setup.py
from setuptools import setup try: #import pypandoc #print "Formats: %s" % (repr(pypandoc.get_pandoc_formats())) long_description = '' # pypandoc.convert('README.md', 'rst') except ImportError: long_description = '' setup( name='AC_Flask', version='0.0.1', url='https://github.com/halkeye/ac...
from setuptools import setup try: #import pypandoc #print "Formats: %s" % (repr(pypandoc.get_pandoc_formats())) long_description = '' # pypandoc.convert('README.md', 'rst') except ImportError: long_description = '' setup( name='Flask-AC', version='0.0.1', url='https://github.com/halkeye/ac...
apache-2.0
Python
ed57ff12b41c5cc3f3bcac93748335c7b09a1452
Update setup.py for POCS'
AstroHuntsman/POCS,panoptes/POCS,joshwalawender/POCS,joshwalawender/POCS,AstroHuntsman/POCS,panoptes/POCS,panoptes/POCS,AstroHuntsman/POCS,joshwalawender/POCS,AstroHuntsman/POCS,panoptes/POCS
setup.py
setup.py
#!/usr/bin/env python # Licensed under a 3-clause BSD style license - see LICENSE.rst import glob import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from pocs.version import version srcdir = os.path.dirname(__file__) from distutils.command.build_py i...
#!/usr/bin/env python # Licensed under a 3-clause BSD style license - see LICENSE.rst import glob import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup from panoptes.version import version srcdir = os.path.dirname(__file__) from distutils.command.build_...
mit
Python
cca58274799a9958589e7a2273840726237cdc43
Bump version to 0.21.1
thombashi/DataProperty
setup.py
setup.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with io.open("README.rst", encoding="utf8") as f: long_description = f.read() wit...
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with io.open("README.rst", encoding="utf8") as f: long_description = f.read() wit...
mit
Python
42cbb69ab38c5ed790f877f1dba6ec249843dee7
Fix description for pip install. Issue #2
xujun10110/pykafka,dsully/pykafka,agoragames/pykafka
setup.py
setup.py
#!/usr/bin/env python """ # pykafka pykafka allows you to produce messages to the Kafka distributed publish/subscribe messaging service. ## Requirements You need to have access to your Kafka instance and be able to connect through TCP. You can obtain a copy and instructions on how to setup kafka at https://github.c...
#!/usr/bin/env python import setuptools # Don't install deps for development mode. setuptools.bootstrap_install_from = None setuptools.setup( name = 'pykafka', version = '0.1', license = 'MIT', description = open('README.md').read(), author = "Dan Sully", author_email = "dsully@gmail.com", url = 'http:...
mit
Python
c49c2a4e82f183c2c48869240b7164d21365cab2
Bump version to 0.2
ecdavis/pantsmud
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name="pantsmud", version="0.2", description="A simple MUD library built using the Pants networking framework.", author="ecdavis", author_email="me@ezdwt.com", url="http://github.com/ecdavis/pantsmud", download_url="https://github.co...
#!/usr/bin/env python from setuptools import setup setup( name="pantsmud", version="0.1", description="A simple MUD library built using the Pants networking framework.", author="ecdavis", author_email="me@ezdwt.com", url="http://github.com/ecdavis/pantsmud", download_url="https://github.co...
apache-2.0
Python
f1620f97407f48c2abed3ad32eba85711e1bd8d5
Update version of the package
Nikolay-Lysenko/dsawl
setup.py
setup.py
""" Just a regular `setup.py` file. @author: Nikolay Lysenko """ import os from setuptools import setup, find_packages current_dir = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='dsawl', ve...
""" Just a regular `setup.py` file. @author: Nikolay Lysenko """ import os from setuptools import setup, find_packages current_dir = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(current_dir, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='dsawl', ve...
mit
Python
6d7f72eaea4d4820f9969cc9806431d634a14845
Update email
AmmsA/django-resumator,AmmsA/django-resumator
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-resumator', version='1.1.6', packages=['resumator'], install...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-resumator', version='1.1.6', packages=['resumator'], install...
mit
Python
1884503e370b09d6d1a91d617361ad678b258e5d
Update setup.py
fmartingr/django-debug-toolbar-template-timings,orf/django-debug-toolbar-template-timings,fmartingr/django-debug-toolbar-template-timings,orf/django-debug-toolbar-template-timings
setup.py
setup.py
from distutils.core import setup import os license = "" if os.path.isfile("LICENSE"): with open('LICENSE') as f: license = f.read() setup( name='django-debug-toolbar-template-timings', version='0.5.2', packages=['template_timings_panel', 'template_timings_panel.panels'], package_data={''...
from distutils.core import setup import os license = "" if os.path.isfile("LICENSE"): with open('LICENSE') as f: license = f.read() setup( name='django-debug-toolbar-template-timings', version='0.5.1', packages=['template_timings_panel', 'template_timings_panel.panels'], package_data={''...
mit
Python
c6e11f42cf9a80ff90fc8d78a73679b9a7dc7c2a
Bump version to 0.2.1
HTTP-APIs/hydrus
setup.py
setup.py
#!/usr/bin/env python """Setup script for Hydrus.""" from setuptools import setup, find_packages try: # for pip >= 10 from pip._internal.req import parse_requirements from pip._internal.download import PipSession except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements from pip....
#!/usr/bin/env python """Setup script for Hydrus.""" from setuptools import setup, find_packages try: # for pip >= 10 from pip._internal.req import parse_requirements from pip._internal.download import PipSession except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements from pip....
mit
Python
11e5b28d93b5e7ca14b2f0bd4d4eac5f2e016fb4
Update project URL, add long description with link to docs
storborg/pyramid_uniform
setup.py
setup.py
import sys from setuptools import setup, find_packages PY3 = sys.version_info[0] > 2 requires = [ 'Pyramid>=1.4.5', 'webhelpers2>=2.0', 'six>=1.5.2', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cov', ] # NOTE: Once FormEncode 1.3 is non-alpha, just use it for all platforms. if ...
import sys from setuptools import setup, find_packages PY3 = sys.version_info[0] > 2 requires = [ 'Pyramid>=1.4.5', 'webhelpers2>=2.0', 'six>=1.5.2', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cov', ] # NOTE: Once FormEncode 1.3 is non-alpha, just use it for all platforms. if ...
mit
Python
ca7bf09ea6f02649baa7234f5e1995225de0d6cc
Improve setup.py, builds cython modules now as well
FRidh/ism
setup.py
setup.py
from setuptools import setup from Cython.Build import cythonize import numpy as np setup( name='ism', version='0.1', description="Implementation of Image Source Method.", #long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', licens...
from setuptools import setup setup( name='ism', version='0.0', description="Implementation of Image Source Method.", long_description=open('README').read(), author='Frederik Rietdijk', author_email='fridh@fridh.nl', license='LICENSE', packages=['ism'], scripts=[], ...
bsd-3-clause
Python
8464f0a534319747ddfb330016eff34bd2c9f49e
Revert "bumping python package version number to 3.0"
bbc/ebu-tt-live-toolkit,ebu/ebu-tt-live-toolkit,bbc/ebu-tt-live-toolkit,ebu/ebu-tt-live-toolkit,ebu/ebu-tt-live-toolkit,bbc/ebu-tt-live-toolkit
setup.py
setup.py
try: from setuptools import setup extra = dict( include_package_data=True, setup_requires=['pytest-runner'] ) except ImportError: from distutils.core import setup extra = {} packages=[ "ebu_tt_live", "ebu_tt_live.bindings", "ebu_tt_live.clocks", "ebu_tt_live.script...
try: from setuptools import setup extra = dict( include_package_data=True, setup_requires=['pytest-runner'] ) except ImportError: from distutils.core import setup extra = {} packages=[ "ebu_tt_live", "ebu_tt_live.bindings", "ebu_tt_live.clocks", "ebu_tt_live.script...
bsd-3-clause
Python
2012fbe3e600bfea53b10030a23f082d1b2d47c4
Bump version to 1.1
cloudify-cosmo/cloudify-cloudstack-plugin,cloudify-cosmo/cloudify-cloudstack-plugin
setup.py
setup.py
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='1.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
__author__ = 'adaml, boul, jedeko' from setuptools import setup setup( zip_safe=True, name='cloudify-cloudstack-plugin', version='3.1', packages=[ 'cloudstack_plugin', 'cloudstack_exoscale_plugin' ], license='Apache License 2.0', description='Cloudify plugin for the Cloudsta...
apache-2.0
Python
a5423f758adddffc7ffee643e59dcd83cee9c50c
bump to version 0.1.2.4
DallasMorningNews/django-rolodex,DallasMorningNews/django-rolodex,DallasMorningNews/django-rolodex
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-rolodex', version='0.1.2.4', packages=['rolodex'], ...
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-rolodex', version='0.1.2.3', packages=['rolodex'], ...
mit
Python
780aa8a32eb5a49b3b54824ea41ce9d29ebb4375
Update url
zhaochunqi/simiki,tankywoo/simiki,tankywoo/simiki,zhaochunqi/simiki,9p0le/simiki,tankywoo/simiki,9p0le/simiki,9p0le/simiki,zhaochunqi/simiki
setup.py
setup.py
#!/usr/bin/env python from __future__ import with_statement from setuptools import setup, find_packages import simiki entry_points = { "console_scripts": [ "simiki = simiki.cli:main", ] } with open("requirements.txt") as f: requires = [l for l in f.read().splitlines() if l] setup( name="simi...
#!/usr/bin/env python from __future__ import with_statement from setuptools import setup, find_packages import simiki entry_points = { "console_scripts": [ "simiki = simiki.cli:main", ] } with open("requirements.txt") as f: requires = [l for l in f.read().splitlines() if l] setup( name="simi...
mit
Python
72e9e18fbd7eb9151cf40b17d0c7de8a27c7ff04
add version requirement to dnspython
micahsnyder/cvdupdate
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="cvdupdate", version="0.3.0", author="Micah Snyder", author_email="micasnyd@cisco.com", copyright="Copyright (C) 2021 Micah Snyder.", description="ClamAV Private Database Mirror Updater...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="cvdupdate", version="0.3.0", author="Micah Snyder", author_email="micasnyd@cisco.com", copyright="Copyright (C) 2021 Micah Snyder.", description="ClamAV Private Database Mirror Updater...
apache-2.0
Python
c0f6decd560ce2397f2e281eab8b75523423058e
Fix setup.py
davidmogar/genderator
setup.py
setup.py
#!/user/bin/env python import re from setuptools import setup, find_packages version = re.search( '^__version__\s*=\s*\'(.*)\'', open('genderator/__init__.py').read(), re.M).group(1) setup(name='genderator', version=version, description='Python library to guess gender given a spanish full na...
#!/user/bin/env python import re from setuptools import setup, find_packages version = re.search( '^__version__\s*=\s*\'(.*)\'', open('genderator/__init__.py').read(), re.M).group(1) with open("README.md", "rb") as f: long_description = f.read().decode("utf-8") setup(name='genderator', versio...
mit
Python
89d38886813874aafe2b241bb4311e335923ebef
Bump version
rackerlabs/rackspace-auth-openstack,rackerlabs/rackspace-auth-neutronclientext
setup.py
setup.py
# Copyright 2011 OpenStack, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
# Copyright 2011 OpenStack, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
apache-2.0
Python
1ba8bebaa5e46965c9b0c6b2e5bc4b140e3bad81
add install dependency on Django 1.1
danielnaab/django-mptt,musashiXXX/django-mptt,fusionbox/django-mptt,matthiask/django-mptt,shultais/django-mptt,batiste/django-mptt,promil23/django-mptt,lojaintegrada/django-mptt,matthiask/django-mptt,AndrewGrossman/django-mptt,matthiask/django-mptt,sandow-digital/django-mptt-sandow,watchdogpolska/django-mptt,caktus/dja...
setup.py
setup.py
""" Django mptt setup file """ import os from setuptools import setup, find_packages # Dynamically calculate the version based on mptt.VERSION version_tuple = __import__('mptt').VERSION version = ".".join([str(v) for v in version_tuple]) setup( name = 'django-mptt-2', description = '''Utilities for implementi...
""" Django mptt setup file """ import os from setuptools import setup, find_packages # Dynamically calculate the version based on mptt.VERSION version_tuple = __import__('mptt').VERSION version = ".".join([str(v) for v in version_tuple]) setup( name = 'django-mptt-2', description = '''Utilities for implementi...
mit
Python
b609dfc8c14e216d7eb63bf2dc750c5d21e96f25
bump version in setup.py
jpwilliams/appenlight-client-python
setup.py
setup.py
from setuptools import setup, find_packages setup(name='appenlight_client', version='0.6.5', description='Client for Appenlight reporting - supporting WSGI and django (http://appenlight.com)', classifiers=[ 'Intended Audience :: Developers', 'License :: DFSG approved', ...
from setuptools import setup, find_packages setup(name='appenlight_client', version='0.6.4', description='Client for Appenlight reporting - supporting WSGI and django (http://appenlight.com)', classifiers=[ 'Intended Audience :: Developers', 'License :: DFSG approved', ...
bsd-3-clause
Python
886ec80155c68e210d4d11e2960d0f48f0bb1b4d
Bump version
ciudadanointeligente/ddah-promises
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup file_dir = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): filepath = os.path.join(file_dir, filename) return open(filepath).read() # Allow setup.py to be run from any path os.chdir(os.path.normpath(os...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup file_dir = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): filepath = os.path.join(file_dir, filename) return open(filepath).read() # Allow setup.py to be run from any path os.chdir(os.path.normpath(os...
bsd-3-clause
Python
884580d420ab5ccc2bf1958eb646f0b3bc68daed
correct directive name
whalerock/ella,petrlosa/ella,WhiskeyMedia/ella,ella/ella,MichalMaM/ella,petrlosa/ella,WhiskeyMedia/ella,whalerock/ella,whalerock/ella,MichalMaM/ella
setup.py
setup.py
from setuptools import setup, find_packages import ella install_requires = [ 'setuptools>=0.6b1', 'Django>=1.3.1', 'south>=0.7', 'pytz', 'django-appdata>=0.1.0', ] tests_require = [ 'nose', 'coverage', 'feedparser', 'redis', ] long_description = open('README.rst').read() setup( ...
from setuptools import setup, find_packages import ella install_requires = [ 'setuptools>=0.6b1', 'Django>=1.3.1', 'south>=0.7', 'pytz', 'django-appdata>=0.1.0', ] test_requires = [ 'nose', 'coverage', 'feedparser', 'redis', ] long_description = open('README.rst').read() setup( ...
bsd-3-clause
Python
9be4edbf6dcbc53ff4f0e871f891388ab1e7661d
fix package_data
amol-/dukpy,amol-/dukpy,amol-/dukpy
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup, Extension import sys py_version = sys.version_info[:2] HERE = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(HERE, 'README.rst')).read() except IOError: README = '' INSTALL_REQUIRES = [] if py_version == (2, 6): ...
#!/usr/bin/env python import os from distutils.core import setup, Extension import sys py_version = sys.version_info[:2] HERE = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(HERE, 'README.rst')).read() except IOError: README = '' INSTALL_REQUIRES = [] if py_version == (2, 6): ...
mit
Python
9018dc2a9bbd8cab50b8ae7d31a6096cefb014db
rename package to jukebox-mpg123
lociii/jukebox_mpg123,rejahrehim/jukebox_mpg123
setup.py
setup.py
# -*- coding: UTF-8 -*- from setuptools import setup, find_packages setup( name="jukebox-mpg123", packages=find_packages(), version="0.1", description="mpg123 playback service for jukebox", author="Jens Nistler", author_email="opensource@jensnistler.de", url="http://jensnistler.de/", do...
# -*- coding: UTF-8 -*- from setuptools import setup, find_packages setup( name="jukebox_mpg123", packages=find_packages(), version="0.1", description="mpg123 playback service for jukebox", author="Jens Nistler", author_email="opensource@jensnistler.de", url="http://jensnistler.de/", do...
mit
Python
be22c05481a61dcb591b7ed76ef53790b33fe6c1
bump version to v1.2.0
harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl
setup.py
setup.py
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.2.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters", license="MIT", keywords="redshift postgresql ETL ELT ext...
from setuptools import find_packages, setup setup( name="redshift_etl", version="1.1.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters", license="MIT", keywords="redshift postgresql ETL ELT ext...
mit
Python