messages
listlengths
2
2
language
stringclasses
8 values
prompt_type
stringclasses
2 values
lint_errors
int64
0
129
⌀
cyclomatic_complexity
int64
0
32
⌀
license
stringclasses
7 values
commit
stringlengths
40
40
repos
stringlengths
5
116k
new_file
stringlengths
4
220
status
stringclasses
6 values
error
stringlengths
26
74
⌀
is_valid_syntax
bool
2 classes
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom collections import namedtuple\n\nCONTENT_TYPES = [\n (\"core.ArticlePage\", \"Article\"),\n (\"core.SectionPage\", \"Section\"),\n]\n\nENDPOINTS = [\n (\"page\", \"api/v1/pages\")\n]\n\nSESSION_VARS = namedtuple(\n \"SESSIO...
python
edit
1
0
bsd-2-clause
d0651d590f558f69f2c09230daf59336ac3f6406
praekelt/molo,praekelt/molo,praekelt/molo,praekelt/molo
molo/core/api/constants.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Do not commit secrets to VCS.\n\n# Local environment variables will be loaded from `.env.local`.\n# Additional environment variables will be loaded from `.env.$DOTENV`.\n# Local settings will be imported from `project_settings_local.py`\n...
python
edit
2
0
mit
a65d65ce536a0a6dbc01f7f31db4bbabd08ec223
ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit
project_template/project_settings.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals, absolute_import\n\nimport os\nfrom cryptography.fernet import Fernet, InvalidToken\n\nfernet = Fernet(os.environ['KOMBU_FERNET_KEY'])\n\ndef fernet_encode(func):\n def inn...
python
edit
2
3
mit
3956293089e500ef1f7d665bc3fcf45706fc5d6b
heroku/kombu-fernet-serializers
kombu_fernet/serializers/__init__.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport pykka\n\nfrom mopidy import core\n\n\nclass JukeboxFrontend(pykka.ThreadingActor, core.CoreListener):\n def __init__(self, config, core):\n super(JukeboxFrontend, self).__init__()\n self.core = core\n\n def track_...
python
edit
1
1
mit
46f3067650001454ed99351cc5569813a378dcec
qurben/mopidy-jukebox,qurben/mopidy-jukebox,qurben/mopidy-jukebox
mopidy_jukebox/frontend.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.conf.urls import patterns, include, url\nfrom MyHub.home.views import home_page\nfrom MyHub.resume.views import resume_page\nfrom MyHub.projects.views import projects_page\nfrom MyHub.contact.views import contact_page\nfrom MyHu...
python
edit
7
0
mit
2b1cc5b2426994953e8f8b937364d91f4e7aadf2
sebastienbarbier/sebastienbarbier.com,sebastienbarbier/sebastienbarbier.com,sebastienbarbier/sebastienbarbier.com,sebastienbarbier/sebastienbarbier.com
MyHub/MyHub/urls.py
rejected_lint
Too many lint violations: 7
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom .base import *\n\nDEBUG = True\nINSTALLED_APPS += ('wagtail.contrib.wagtailstyleguide',)\n\nDATABASES = {\n 'default': {\n 'ENGINE': MYSQL_ENGINE,\n 'NAME': os.environ.get('MYSQL_NAME'),\n 'USER': os.environ.get...
python
edit
12
0
cc0-1.0
470752a778476d27fd5f13445b8cd8a79b722591
kave/cfgov-refresh,kave/cfgov-refresh,kave/cfgov-refresh,kave/cfgov-refresh
cfgov/cfgov/settings/local.py
rejected_lint
Too many lint violations: 12
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.conf.urls import patterns, include, url\nfrom django.conf.urls.static import static\nfrom django.views.generic import TemplateView\nfrom django.contrib import admin\nfrom django.conf import settings\n\nimport views\n\nadmin.auto...
python
edit
1
0
mit
2336a72c878a58ef8a3a1f47f6ecf9ee9574feca
tom-henderson/django-template,tom-henderson/django-template
project_name/project_name/urls.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/etc/usr/python\n\nfrom scapy.all import *\nimport sys\n\niface = \"eth0\"\nfilter = \"ip\"\n#victim in this case is the initiator\nVICTIM_IP = \"192.168.1.121\"\nMY_IP = \"192.168.1.154\"\n# gateway is the target\nGATEWAY_IP = \"192.168....
python
edit
3
4
mit
818023e8bdfe607efe9c31bfd70487b0195c4861
illinoistech-itm/pykkon,illinoistech-itm/pykkon,Illinois-tech-ITM/BSMP-2016-ISCSI-Packet-Injection,Illinois-tech-ITM/BSMP-2016-ISCSI-Packet-Injection,illinoistech-itm/pykkon,Illinois-tech-ITM/BSMP-2016-ISCSI-Packet-Injection
Scapy/ip_forward.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# pylint: disable=missing-docstring\nfrom resdk.tests.functional.base import BaseResdkFunctionalTest\n\n\nclass TestDataUsage(BaseResdkFunctionalTest):\n\n expected_fields = {\n 'user_id',\n 'username',\n 'full_name'...
python
edit
1
1
apache-2.0
a56b69ef48acb0badf04625650dfdc25d1517a81
genialis/resolwe-bio-py
resdk/tests/functional/resolwe/e2e_resolwe.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nProxy Server \"Phone Book\".\n\nSimplify running browser tests through a proxy server\nby adding your frequently-used proxies here.\n\nNow you can do something like this on the command line:\n\"pytest SOME_TEST.py --proxy=proxy1\"\n...
python
edit
1
0
mit
b0ef175fbf5e71c0dbfa8761b5b01b1bc4ff171d
mdmintz/SeleniumBase,mdmintz/SeleniumBase,seleniumbase/SeleniumBase,seleniumbase/SeleniumBase,mdmintz/SeleniumBase,seleniumbase/SeleniumBase,mdmintz/SeleniumBase,seleniumbase/SeleniumBase
seleniumbase/config/proxy_list.py
rejected_duplicate
Near-duplicate of sample 1400
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nProxy Server \"Phone Book\".\n\nSimplify running browser tests through a proxy server\nby adding your frequently-used proxies here.\n\nNow you can do something like this on the command line:\n\"pytest SOME_TEST.py --proxy=proxy1\"\n...
python
edit
1
0
mit
212b5a126e464ff46e60e00846bbb87a2de3fbb2
mdmintz/SeleniumBase,seleniumbase/SeleniumBase,seleniumbase/SeleniumBase,seleniumbase/SeleniumBase,mdmintz/SeleniumBase,mdmintz/SeleniumBase,mdmintz/SeleniumBase,seleniumbase/SeleniumBase
seleniumbase/config/proxy_list.py
rejected_duplicate
Near-duplicate of sample 1400
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nThis file contains gunicorn settings.\nTo run sqmpy with gunicorn run the following command:\n\n gunicorn -c gunicorn_cfg.py run:app\n\nIn order to daemonize gunicorn add -D flag:\n\n gunicorn -c gunicorn_cfg.py run:app -D\n\n...
python
edit
1
0
bsd-3-clause
2dac6ebe5bb2185fead39e28bb805ddb473f8aff
simphony/sqmpy,mehdisadeghi/sqmpy,mehdisadeghi/sqmpy,mehdisadeghi/sqmpy,simphony/sqmpy,simphony/sqmpy
gunicorn_cfg.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom __future__ import unicode_literals\n\nfrom datetime import timedelta\n\nfrom django.conf import settings\nfrom rest_framework.settings import APISettings\n\nUSER_SETTINGS = getattr(settings, 'SIMPLE_JWT', None)\n\nDEFAULTS = {\n 'AU...
python
edit
1
0
mit
5864b503bced36d51ab911d5b306284dbc0cdb13
davesque/django-rest-framework-simplejwt,davesque/django-rest-framework-simplejwt
rest_framework_simplejwt/settings.py
rejected_duplicate
Near-duplicate of sample 11393
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom mpipe import OrderedStage, Pipeline\n\ndef increment(value):\n return value + 1\n\ndef double(value):\n return value * 2\n\nstage1 = OrderedStage(increment, 3)\nstage2 = OrderedStage(double, 3)\nstage1.link(stage2)\npipe = Pipeli...
python
edit
1
1
mit
d88c1221e2d07b300f29ef2605acea18c9e7fbf2
vmlaker/mpipe
test/tiny.py
accepted
null
true
[ { "role": "user", "content": "Write python code for the following: Add common db static methods" }, { "role": "assistant", "content": "import pymongo\n\nclass Database:\n\tURI = 'mongodb://127.0.0.1:27017'\n\tDATABASE = None\n\n\t@staticmethod\n\tdef initialize():\n\t\tclient = pymongo.MongoClie...
python
new_file
1
1
apache-2.0
11526af359a19446aa95a74833028329f8969107
asimonia/pricing-alerts,asimonia/pricing-alerts
src/common/database.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\nfrom setuptools import setup\n\nif sys.version_info < (2, 6):\n raise Exception('Wiggelen requires Python 2.6 or higher.')\n\n# Todo: How does this play with pip freeze requirement files?\nrequires = ['nose']\n\n# Python 2.6 ...
python
edit
2
0
mit
010416fd3888aeae2ab0b50a5d9b02ad23f5cab3
martijnvermaat/wiggelen
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.contrib import messages\nfrom django.core.mail import send_mail\nfrom django.utils.translation import ugettext_lazy as _\n\nimport stored_messages\n\nfrom osmaxx.excerptexport import models\n\n\nclass ConverterHelper:\n def _...
python
edit
1
3
isc
1c9f3b95cca8439ec8c4a5a5cb1959e8b2edaff2
geometalab/drf-utm-zone-info,geometalab/drf-utm-zone-info,geometalab/osmaxx-frontend,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/osmaxx
osmaxx-py/excerptconverter/converter_helper.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n# -*- coding:utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\nimport opps\n\n\n\ninstall_requires = [\"Django>=1.4\", \"south>=0.7\"]\n\nclassifiers = [\"Development Status :: 4 - Beta\",\n \"Intended Au...
python
edit
1
0
mit
efd13e069e7fa986f7fe68dfe5dc5256cfc68750
YACOWS/opps,opps/opps,YACOWS/opps,jeanmask/opps,jeanmask/opps,YACOWS/opps,opps/opps,williamroot/opps,williamroot/opps,jeanmask/opps,jeanmask/opps,williamroot/opps,opps/opps,YACOWS/opps,williamroot/opps,opps/opps
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import find_packages, setup\n\n\nsetup(name='qwertyui',\n version='1.0.21',\n description='Some common Python functions and algorithms',\n author='Przemyslaw Kaminski',\n author_e...
python
edit
1
0
mit
47903d4e8ff4e2adfc9a05b8145923154d7ff57e
CGenie/qwertyui
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#-*- encoding: utf-8 -*-\nfrom setuptools import setup\n\nfrom setuptools.command.test import test as TestCommand\nimport sys\n\nclass Tox(TestCommand):\n def finalize_options(self):\n TestCommand.finalize_options(self)\n s...
python
edit
1
1
bsd-3-clause
fccf3f1b2eb1a861d8c63aef1bef9ba4ac03a777
rescale/django-money,recklessromeo/django-money,tsouvarev/django-money,AlexRiina/django-money,recklessromeo/django-money,tsouvarev/django-money
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\nimport os\n\nname = 'docrepr'\nhere = os.path.abspath(os.path.dirname(__file__))\n\nversion_ns = {}\nwith open(os.path.join(here, name, '_version.py')) as f:\n exec(f.read(), {}, version_ns)\n...
python
edit
1
0
bsd-3-clause
fd99c30f1bc03a39fa378cfda0fe6249d4a48722
spyder-ide/docrepr,spyder-ide/docrepr,spyder-ide/docrepr
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(name='dpaw-utils',\n version='0.3a12',\n description='Utilities for Django/Python apps',\n url='https://github.com/parksandwildlife/dpaw-utils',\n author='Department of Parks and Wil...
python
edit
1
0
apache-2.0
c360d62a088dc4ea0722f3ff062bf82422b2c8a6
rockychen-dpaw/dpaw-utils,rockychen-dpaw/dpaw-utils,parksandwildlife/dpaw-utils,parksandwildlife/dpaw-utils
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(\n maintainer='Adam Grandquist',\n maintainer_email='<EMAIL>',\n name='libReQL',\n url='https://github.com/grandquista/ReQL-Core',\n version='0.1.0',\n zip_safe=False\n)\n\n```\n\nAppl...
python
edit
1
0
apache-2.0
afc1fb93e8713feecefeb10e77c725b28f09b5f8
grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\ntry:\n from setuptools import setup\nexcept ImportError:\n from distutils.core import setup\n\nversion = \"0.0.3\"\n\nsetup(\n name=\"pyopen\",\n version=version,\n author=\"Tim O'Donnell\",\n author_email=\"<EMAIL>\",\n ...
python
edit
1
0
apache-2.0
1a75bfa255eef976f55d9d08c88697183c8b1e8f
timodonnell/pyopen
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#\n# Copyright 2016 BMC Software, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://ww...
python
edit
1
0
apache-2.0
65d6563d22c8500402b23c09d3b8991b79c94dee
jdgwartney/meter-plugin-sdk-python,jdgwartney/meter-plugin-sdk-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\ntry:\n from setuptools import setup\nexcept ImportError:\n from distutils.core import setup\n\n# Utility function to read the README file.\n# Used for the long_description. It's nice, because now 1) we have a top level\n...
python
edit
3
1
mit
44c338e09bcb91003516d9589cf78c1a5896c73a
bjmorgan/lattice_mc
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python3\n\nimport setuptools\nimport unittest\n\n\ndef discover_tests():\n test_loader = unittest.TestLoader()\n return test_loader.discover('.', pattern='*_test.py')\n\n\nsetuptools.setup(\n name='mesonwrap',\n v...
python
edit
1
1
apache-2.0
76efd79df4b996323872dbe48c39d8f21af6a09f
mesonbuild/wrapweb,mesonbuild/wrapweb,mesonbuild/wrapweb
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\n\nfrom setuptools import find_packages, setup\n\nVERSION = '2.0.dev0'\n\nsetup(\n name='django-arcutils',\n version=VERSION,\n url='https://github.com/PSU-OIT-ARC/django-arcutils',\n author='PSU - OIT - ARC',\n au...
python
edit
3
0
mit
c793efc175d0c5829f7dca1916e35def43f1a9fc
wylee/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,PSU-OIT-ARC/django-arcutils
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, Extension\n\nfrom Cython.Build import cythonize\nfrom Cython.Distutils import build_ext\n\nimport numpy\n\n\next = Extension('noisily.noise',\n sources=['noisily/noise.pyx'],\n include_dirs=['nois...
python
edit
1
0
apache-2.0
5d5d9455f801a3279dc450b2cf7203da5dc64f6b
tocubed/noisily,tocubed/noisily,tocubed/noisily
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport io\nimport os\nimport re\n\nfrom setuptools import setup, find_packages\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(here, 'opencmiss', 'utils', '__init__.py')) as fd:\n version = re.search(r'^_...
python
edit
1
2
apache-2.0
3e7e6e0742965eef5064be2e669ec91c61324fc5
OpenCMISS-Bindings/opencmiss.utils
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"Install Mesh TensorFlow.\"\"\"\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\nsetup(\n name='mesh-tensorflow',\n version='0.0.5',\n description='Mesh TensorFlow',\n author='Google Inc.',\n auth...
python
edit
1
0
apache-2.0
5010f46259e7ac9ed70c1eecef454fef2f55fea4
tensorflow/mesh,tensorflow/mesh
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nimport io\nimport os\n\n\nversion = '0.2.4'\n\n\nreadme_path = os.path.join(os.path.dirname(__file__), 'README.rst')\nwith io.open(readme_path, encoding='utf-8') as f:\n long_description = f.read()\n\n\nse...
python
edit
1
0
bsd-3-clause
a9542b41af8b3dcc999994c9954dee04414995c7
jszakmeister/markdown2ctags
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nfrom os import path\n\n\nproject_dir = path.abspath(path.dirname(__file__))\n\ndef read_from(filename):\n with open(path.join(project_dir, filename), encoding='utf-8') as f:\n return f.read().strip()\...
python
edit
1
1
mit
e1595a489ef7a5243dd4bf759a393338257e02dd
swarmer/nlist,swarmer/nlist
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\n\nfrom setuptools import setup\nfrom setuptools.command.test import test as TestCommand\n\nclass PyTest(TestCommand):\n def finalize_options(self):\n TestCommand.finalize_options(self)\n self.test_args = []\n ...
python
edit
1
1
mit
9049a718f7b4fa6394f5d8b153e91f21daa06888
dreid/atomiclong,alex/atomiclong
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\nimport sys, os\n\nversion = '0.1'\n\nsetup(name='FastPt',\n version=version,\n description=\"Really fast well-formed xml templates\",\n long_description=\"\"\"Are you tired of the ...
python
edit
4
0
mit
b2574f5f4de0d11ab5d4ab8da411ddfca6b7cc5d
moreati/kajiki,ollyc/kajiki,moreati/kajiki,ollyc/kajiki,moreati/kajiki,ollyc/kajiki
setup.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n# -*- coding: UTF-8 -*-\n\nimport os.path as op\n\nfrom glob import glob\nfrom setuptools import setup\nfrom setup_helper import SetupHelper\n\n\nname = \"goatools\"\nclassifiers = [\n 'Development Status :: 4 - Be...
python
edit
1
0
bsd-2-clause
2119d75d1115b28fb768dafb2df2e2f13e761310
lileiting/goatools,tanghaibao/goatools,lileiting/goatools,tanghaibao/goatools
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\n# Dynamically calculate the version based on dbsettings.VERSION\nversion_tuple = (0, 8, 1)\nif version_tuple[2] is not None:\n if type(version_tuple[2]) == int:\n version = \"%d.%d.%s...
python
edit
1
0
bsd-3-clause
6255eefafd2dc20e393d955a861fce8f041dfc08
zlorf/django-dbsettings,sciyoshi/django-dbsettings,johnpaulett/django-dbsettings,DjangoAdminHackers/django-dbsettings,sciyoshi/django-dbsettings,nwaxiomatic/django-dbsettings,helber/django-dbsettings,DjangoAdminHackers/django-dbsettings,zlorf/django-dbsettings,nwaxiomatic/django-dbsettings,helber/django-dbsettings,john...
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom distutils.core import setup\n\nsetup(\n name='Juju XaaS Client Binding',\n version='0.1.0',\n author='Justin SB',\n author_email='<EMAIL>',\n packages=['jujuxaas', 'jujuxaas.auth'],\n url='http://pypi.python.org/pypi/...
python
edit
1
0
apache-2.0
26a5b169f1cc67911f49c2ba835b078135f57dda
jxaas/python-client
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nwith open('README.rst') as f:\n long_description = f.read()\n\nsetup(\n name='xopen',\n use_scm_version={'write_to': 'src/xopen/_version.py'},\n setup_requires=['setuptools_scm'], ...
python
edit
1
0
mit
470458f918df26bf4bebe5a81739831968ea3e2f
marcelm/xopen
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\n\nsetup(\n name='tangled.contrib',\n version='0.1a4.dev0',\n description='Tangled namespace for contributed packages',\n long_description=open('README.rst').read(),\n url='http://tangledframewo...
python
edit
1
0
mit
1a8bdb4afcdb268af09df1a1abf2ef09f45176f1
TangledWeb/tangled.contrib
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nsetup(\n name='sgfs',\n version='0.1.0b',\n description='Translation layer between Shotgun entities and a file structure.',\n url='http://github.com/westernx/sgfs',\n \n packa...
python
edit
1
0
bsd-3-clause
841fe3f80e32520600321eb5c986b0ff3e002865
westernx/sgfs,westernx/sgfs
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(name='keras_tf_multigpu',\n version='0.1',\n description='Multi-GPU data-parallel training in Keras/TensorFlow',\n url='https://github.com/rossumai/keras-multi-gpu',\n author='Bohumi...
python
edit
1
0
mit
daa85b5a66711b1200a13394bf8921a258015c45
rossumai/keras-multi-gpu,rossumai/keras-multi-gpu
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\nimport os\n\nfrom setuptools import find_packages, setup\n\n\ndef read(*rnames):\n return open(os.path.join(os.path.dirname(__file__), *rnames)).read()\n\n\nsetup(\n name=\"django-anonymizer\",\n version='0.5...
python
edit
1
1
mit
d26271d67e9ccc3e2d1f2e0e82ed9969688432e6
BetterWorks/django-anonymizer
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\nimport os\n\n# The version of the wrapped library is the starting point for the\n# version number of the python package.\n# In bugfix releases of the python package, add a '-' suffix and an\n# in...
python
edit
1
1
bsd-3-clause
1766d21c01a5282be5632d6f19889da16ff333e0
vivek8943/js.amcharts,vivek8943/js.amcharts
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\ntry:\n from distutils.core import setup\nexcept ImportError:\n from setuptools import setup\n\nopen('MANIFEST.in', 'w').write(\"\\n\".join((\n 'include *.rst',\n 'include doc/*',\n 'include test/*.c'\n)))\n\nfrom mss import...
python
edit
1
0
mit
19e0c178b924e0db54ab07f71d1e0fd6e02b8a23
BoboTiG/python-mss
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nversion = '0.5.dev0'\n\nlong_description = '\\n\\n'.join([\n open('README.rst').read(),\n open('CREDITS.rst').read(),\n open('CHANGES.rst').read(),\n ])\n\ninstall_requires = [\n 'Django',\n ...
python
edit
1
0
mit
bd78770c589ff2919ce96d0b04127bfceda0583f
ddsc/ddsc-api,ddsc/ddsc-api
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nfrom django_python3_ldap import __version__\n\n\nversion_str = \".\".join(str(n) for n in __version__)\n \n\nsetup(\n name = \"django-python3-ldap\",\n version = version_str,\n ...
python
edit
1
0
bsd-3-clause
2fe54797df8a7efbcb58e14de72b415069af7eb4
etianen/django-python3-ldap,rbrtslmn/django-python3-ldap,sol33t/django-python3-ldap,NotSqrt/django-python3-ldap,mnach/django-python3-ldap,alanzoppa/django-python3-ldap
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\nimport re\nfrom setuptools import setup, find_packages\n\nwith open('rhino/__init__.py') as f:\n version = re.findall(r\"^__version__ = '(.*)'\", f.read(), re.M)[0]\n\nwith open('README.rst') as f:\n README = f....
python
edit
1
0
mit
2f155a48bfdae8a603148f4e593d7e49fccc7ddc
trendels/rhino
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport codecs\nimport re\nfrom os import path\nfrom setuptools import setup\n\n\ndef read(*parts):\n file_path = path.join(path.dirname(__file__), *parts)\n return codecs.open(file_path).read()\n\n\ndef find_version(*parts):\n vers...
python
edit
1
2
bsd-3-clause
71a717f5166ec52b630507c83b3a67456786b996
ptone/django-predicate
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nimport re\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\nif sys.version_info[:2] < (2, 6):\n raise RuntimeError('Requires Python 2.6 or better')\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = o...
python
edit
1
0
mit
7fe88d28e2c86a884be81c7757cc8ffadff5aa71
oldmantaiter/inferno,pombredanne/inferno,chango/inferno
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import find_packages, setup\n\nwith open(\"README.rst\") as readme_file:\n readme = readme_file.read()\n\nsetup(\n name=\"homebrew\",\n version=\"0.2.1\",\n description=\"Homebrew wrapper\",\n long_description...
python
edit
1
0
isc
78583066f80b4392ad03f37dcee276622ce8223d
igroen/homebrew
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\n\nsetup(name='coinop',\n version='0.0.3',\n description='Crypto-currency conveniences',\n url='http://github.com/BitVault/coinop-py',\n author='Matthew King',\n author_...
python
edit
1
0
mit
cb7f4dfb9315c79448f2db52266df0f11aeb6210
GemHQ/coinop-py
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nimport setuptools\n\n\nrequirements = [\n \"numpy\",\n \"scipy\",\n \"lasagne\",\n]\n\n\ndef readme():\n base_dir = os.path.abspath(os.path.dirname(__file__))\n with open(os.path.join(base_dir, 'README.md')) as f:\...
python
edit
1
1
mit
3ee933042e0c02a5a23e69d48e81d3fb5a9fa05b
pikinder/nn-patterns
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\nsetup(name='pyannotate',\n version='1.0.5',\n description=\"PyAnnotate: Auto-generate PEP-484 annotations\",\n author='Dropbox',\n author_email='<EMAIL>',\n u...
python
edit
1
1
apache-2.0
53727a452f0a6498f02c046f47e24effb81349da
dropbox/pyannotate
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"Setup script for zinnia-theme-bootstrap\"\"\"\nfrom setuptools import setup\nfrom setuptools import find_packages\n\nimport zinnia_bootstrap\n\nsetup(\n name='zinnia-theme-bootstrap',\n version=zinnia_bootstrap.__version__,\n\n ...
python
edit
1
0
bsd-3-clause
123f5a8dd6fc49d3e5f4be09096bdeabe4ffdd24
dwdsolutions/zinnia-theme-hos,django-blog-zinnia/zinnia-theme-bootstrap,django-blog-zinnia/zinnia-theme-bootstrap,dwdsolutions/zinnia-theme-hos
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n# coding: utf-8\n\nfrom setuptools import setup, find_packages\nsetup(\n name=\"bentoo\",\n description=\"Benchmarking tools\",\n version=\"0.9\",\n packages=find_packages(),\n scripts=[\"scripts/genera...
python
edit
1
0
mit
b87a3601d9575df5180255bc06f5564c77a90eca
ProgramFan/bentoo
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#\n# This file is part of ArgProc. ArgProc is free software that is made\n# available under the MIT license. Consult the file \"LICENSE\" that is\n# distributed together with this file for the exact licensing terms.\n#\n# ArgProc is copyrig...
python
edit
4
1
mit
efa6852a86e42557e0c5078e00c090e17f4ae1f8
geertj/argproc
setup.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nsetup(\n name=\"LightMatchingEngine\",\n url=\"https://github.com/gavincyi/LightMatchingEngine\",\n license='MIT',\n\n author=\"Gavin Chan\",\n author_email=\"<EMAIL>\",\n\n d...
python
edit
1
0
mit
eda82743b8c572bb9c9c43037f8bc4b75ec66ad6
gavincyi/LightMatchingEngine
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(name='depfinder',\n version='0.0.1',\n author='Eric Dill',\n author_email='<EMAIL>',\n py_modules=['depfinder'],\n description='Find all the imports in your library',\n url...
python
edit
1
0
bsd-3-clause
785cbcb8ff92520e0e57fec3634353935b5b030a
ericdill/depfinder
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\n\nfrom setuptools import find_packages, setup\n\n\nwith open('VERSION') as version_fp:\n VERSION = version_fp.read().strip()\n\n\ninstall_requires = [\n 'django-local-settings>=1.0a14',\n 'stashward',\n]\n\nif sys.versi...
python
edit
1
0
mit
e30bcefccd5f41a7117afc2d3f7007561ac69af8
wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nfrom setuptools import find_packages, setup\n\nwith open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:\n README = readme.read()\n\n# allow setup.py to be run from any path\nos.chdir(os.path.normpath(os.path....
python
edit
1
0
mit
17512492c1fe997e6f19f56901e6a231aea9fced
Leeps-Lab/otree-redwood,Leeps-Lab/otree-redwood,Leeps-Lab/otree-redwood
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\nVERSION = '1.4.0'\n\nsetup(\n name='tornadoes',\n version=VERSION,\n description=\"A tornado-powered python library that provides asynchronous access to elas...
python
edit
1
0
mit
d155daf76457386661be1f7b93bed6ba6ab448fb
scorphus/tornado-es,scorphus/tornado-es,excpt0/tornado-es,globocom/tornado-es,excpt0/tornado-es,globocom/tornado-es
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\nfrom distutils.core import setup\nfrom os.path import dirname, join\n\nsetup(name='hashids',\n version='0.8.3',\n description='Python implementation of hashids (http://www.hashids.org).'\n '...
python
edit
1
0
mit
fcf30e1dfada272d0344ccb9e4054afeda003c8e
davidaurelio/hashids-python,Dubz/hashids-python,pombredanne/hashids-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom distutils.core import setup\nfrom vaspy import __version__ as version\n\nmaintainer = 'Shao-Zheng-Jiang'\nmaintainer_email = '<EMAIL>'\nauthor = maintainer\nauthor_email = maintainer_email\ndescription = __doc_...
python
edit
2
0
mit
0e98542f2b703de66dda71fb1b5efb7ae6d5b93d
PytLab/VASPy,PytLab/VASPy
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nimport sys\nfrom os.path import join, dirname\nfrom setuptools import setup\n\nsys.path.append(join(dirname(__file__), 'src'))\n\nexecfile(join(dirname(__file__), 'src', 'BrowserMobProxyLibrary', 'version.py'))\n\nD...
python
edit
4
0
apache-2.0
85f45651e940b86b0e3d1317cbe082cd8c34992c
s4int/robotframework-BrowserMobProxyLibrary
setup.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\n\nfrom setuptools import setup\n\nextra = {}\nif sys.version_info >= (3,):\n extra['use_2to3'] = True\n\nsetup(name='mockito-edgeware',\n version='1.0.0',\n packages=['mockito', 'mockito_test', 'mockito_util'],\n ...
python
edit
1
0
mit
5b34711e3f7b2c183ebb4be504c0914f8c55f6e3
edgeware/mockito-python,edgeware/mockito-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nfrom setuptools import setup, find_packages\nfrom wagtailmenus import __version__\n\nwith open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:\n README = readme.read()\n\n# allow setup.py to be run from any pa...
python
edit
1
0
mit
0f8e6c8440f96f5bb5b1da960f290b0c0ac7dcc8
ababic/wagtailmenus,frague59/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus,rkhleics/wagtailmenus,frague59/wagtailmenus,frague59/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport time\n\nfrom influxdb import InfluxDBClient\nfrom influxdb import SeriesHelper\n\nfrom . import config\n\n# expects Cozify devices type json data\ndef getMultisensorData(data):\n out = []\n for device in data:\n state=da...
python
edit
5
6
mit
0452180ce246d86da8b02b0721f11a4346cbd9a5
Artanicus/python-cozify,Artanicus/python-cozify
cozify/multisensor.py
rejected_lint
Too many lint violations: 5
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import Extension, setup\nfrom Cython.Build import cythonize\nimport numpy\n\nsourcefiles = [ 'SuchTree/SuchTree.pyx' ]\n\nextensions = [ Extension( 'SuchTree', sourcefiles ) ]\n\nextensions = cythoni...
python
edit
1
0
bsd-3-clause
315bc9ada4452517df245b74b55a96c05209ef8a
ryneches/SuchTree
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\n\nfrom django.db import models\nfrom django.utils.translation import ugettext_lazy as _\n\nfrom basic_extras.utils import now\n\n\nclass MetaBase(models.Model):\n \"\"\"Abstract base model class that holds some c...
python
edit
1
2
bsd-3-clause
d60068060b7b0eb3892b41372d27b9f505a49754
benspaulding/django-basic-extras
basic_extras/models.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport unittest\nimport os\n\nfrom main import generate_files\n\nclass WordsTest(unittest.TestCase):\n def setUp(self):\n for fname in [\"test_sequences\", \"test_words\"]:\n if os.path.exists(fname):\n o...
python
edit
1
3
mit
4446a700fcf057f83645b4861b5655773983511c
orblivion/hellolabs_word_test
tests.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Copyright 2015 Intel, Inc\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache....
python
edit
1
5
apache-2.0
f2ab0c74986881e017199ac8a56dd09334a8b42b
ArchiFleKs/magnum,openstack/magnum,ArchiFleKs/magnum,openstack/magnum,jay-lau/magnum
magnum/tests/unit/template/test_template.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#coding:utf8\n\nimport unittest\n\n\nclass TestFunctions(unittest.TestCase):\n\n def first(self):\n assertEqual('test', 'test')\n\n def second(self):\n \"\"\"second test\"\"\"\n assertEqual('2','2')\n\n\n```\n\nAp...
python
edit
1
1
apache-2.0
393bc0dc82524802c8d548216d4c51b4394e5394
khoser/mini_games
tests.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Project tasks (for use with invoke task runner)\n\nimport subprocess\nfrom invoke import task\n\n\n@task\ndef test(cover=False):\n # Run tests using nose called with coverage\n code = subprocess.call(['coverage', 'run', '-m', 'nose'...
python
edit
1
3
mit
f5abc26cf9e7fa80bc74028e4c5e3552772f2e93
caleb531/youversion-suggest,caleb531/youversion-suggest
tasks.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nimport shutil\n\nfrom setuptools import setup, find_packages, Command\n\nimport oscrypto\n\n\n\nclass CleanCommand(Command):\n user_options = []\n\n def initialize_options(self):\n pass\n\n def finalize_options(se...
python
edit
1
3
mit
8a9137ea826a3b8ca8c74be546f1388e81e72b9f
wbond/oscrypto
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\n\ndef fread(filepath):\n with open(filepath, 'r') as f:\n return f.read()\n\n\nsetup(\n name='GB2260',\n version='0.1.0',\n author='Hsiaoming Yang',\n author_ema...
python
edit
1
1
bsd-2-clause
ea0cb6cc038c071f3160d15ca2167af7ff18096f
cn/GB2260.py
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\nfrom distutils.core import setup\n\nsetup(\n name='sugartensor',\n packages=['sugartensor'],\n version='0.0.1.4',\n description='A slim tensorflow wrapper that provides syntactic sugar for tensor variabl...
python
edit
1
0
mit
cc9ef459277c6583e8f6fce3f9ab658f74f13559
buriburisuri/sugartensor
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom networkx.algorithms.flow.maxflow import *\nfrom networkx.algorithms.flow.mincost import *\nfrom networkx.algorithms.flow.preflow_push import *\nfrom networkx.algorithms.flow.shortest_augmenting_path import *\n\ndel utils\n\n```\n\nAppl...
python
edit
5
0
bsd-3-clause
ae4519a26e372f8a27a7e460fc08d409c5bafe55
nathania/networkx,ionanrozenfeld/networkx,dmoliveira/networkx,aureooms/networkx,kernc/networkx,dmoliveira/networkx,aureooms/networkx,kernc/networkx,harlowja/networkx,jni/networkx,jakevdp/networkx,jni/networkx,jakevdp/networkx,Sixshaman/networkx,RMKD/networkx,RMKD/networkx,ionanrozenfeld/networkx,sharifulgeo/networkx,de...
networkx/algorithms/flow/__init__.py
rejected_lint
Too many lint violations: 5
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nimport imp\n\n\ndef get_version():\n ver_file = None\n try:\n ver_file, pathname, description = imp.find_module('__version__', ['src/wstool'])\n vermod = imp.load_module('__version__', ver...
python
edit
1
3
bsd-3-clause
1faeaaadbd616866d08d85af8277ec0f4c3ac319
tkruse/wstool,vincentrou/wstool,tkruse/wstool,vincentrou/wstool,wkentaro/wstool
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nwith open('README.md') as f:\n long_description = f.read()\n\nsetup(\n name='abraia',\n version='0.3.2',\n description='Abraia Python SDK',\n long_description=long_description,\n long_descri...
python
edit
1
0
mit
e2fb68232df520151f3d4545129150b5d1fcf0ad
abraia/abraia-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import find_packages, setup\nfrom channels import __version__\n\nsetup(\n name='channels',\n version=__version__,\n url='http://github.com/django/channels',\n author='Django Software Foundation',\n author_emai...
python
edit
1
0
bsd-3-clause
d9aeb09cbe0c2311c0f2bdd5177dd9f4a036631e
andrewgodwin/django-channels,andrewgodwin/channels,django/channels
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#! /usr/bin/env python\n\nfrom setuptools import find_packages, setup\n\nsetup(name='oemof.db',\n version='0.0.2',\n description='The oemof database extension',\n namespace_package = ['oemof'],\n packages=find_packages()...
python
edit
1
0
mit
7140111a5a326d8d065110079e59b5f90aa700bb
oemof/oemof.db
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n# -*- coding: UTF-8 -*-\n\nfrom setuptools import setup\nfrom glob import glob\n\nclassifiers = [\n 'Development Status :: 4 - Beta',\n 'Intended Audience :: Science/Research',\n 'License :: OSI Approved :: B...
python
edit
2
0
bsd-2-clause
a2637bc28477dff53a5fd836b0aab42b7dee5c30
lileiting/goatools,lileiting/goatools,tanghaibao/goatools,tanghaibao/goatools
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\nimport os, sys\n\nversion = '0.0.1'\n\nhere = os.path.abspath(os.path.dirname(__file__))\ntry:\n README = open(os.path.join(here, 'README.rst')).read()\nexcept IOError:\n README = ''\n\nTES...
python
edit
1
0
mit
d1cb4a227c97369938f93a40afbee2ff4f0e1cc0
miraculixx/depot,rlam3/depot,miraculixx/depot,eprikazc/depot,amol-/depot
setup.py
rejected_duplicate
Near-duplicate of sample 768
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\n\n\"\"\"\nA text interface to Taiga.\n\"\"\"\n\nfrom taiga_ncurses import __name__, __description__, __version__\n\nfrom setuptools import setup, find_packages\n\nREQUIREMENTS = [\n \"requests==2.5.0\",\n \"ur...
python
edit
1
0
apache-2.0
6a5609dc518897d94d71a3611b890a3364b8917a
taigaio/taiga-ncurses,battlemidget/taiga-ncurses,wweiradio/taiga-ncurses
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\nsetup(name = \"medea\",\n license = \"Apache\",\n version = \"0.0\",\n install_requires = [\"protobuf\"],\n ...
python
edit
1
0
apache-2.0
8e06061e59d7443de00648d6a7e14f32d5b7ad2f
solidsnack/deimos,davidbliu/deimos-etcd-mod,solidsnack/deimos,mesosphere/deimos,midonet/mcp,midonet/mcp,mesosphere/deimos,davidbliu/deimos-etcd-mod
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\n# Version info -- read without importing\n_locals = {}\nwith open('releases/_version.py') as fp:\n exec(fp.read(), None, _locals)\nversion = _locals['__version__']\n\nsetup(\n n...
python
edit
1
0
bsd-2-clause
5cb584cba4c968c7c366d51d8fc3c61cc71d80b0
bitprophet/releases
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\ntry:\n from setuptools import setup\nexcept ImportError:\n from distutils.core import setup\n\n\nsetup(\n name=\"clrsvsim\",\n version=\"0.1.0\",\n description=\"Color Genomics Structural Variant Simulator\",\n author=\"Co...
python
edit
1
0
apache-2.0
dcbd1e485e095771c8e607bc380bc7742d36ea7e
color/clrsvsim
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nimport sys\nassert sys.version >= '2.5', \"Requires Python v2.5 or above.\"\nfrom setuptools import setup\n\nclassifiers = [\n \"Programming Language :: Python\",\n \"Programming Language :: Python :: 2.5\",\n...
python
edit
1
0
bsd-3-clause
5f68c9eeeb32f67d52ac3f804a0239d323d44a05
stochastic-technologies/shortuuid,skorokithakis/shortuuid
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(\n name='simpleblogging',\n version='2.0.13',\n packages=['simple'],\n url='http://github.com/orf/simple',\n license='MIT',\n author='Orf',\n author_email='<EMAIL>',\n descriptio...
python
edit
1
0
mit
26aa4b483dfb40a9351badc6a98e68097d8ebb80
orf/simple,orf/simple,orf/simple
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"A setuptools based setup module.\nSee:\nhttps://packaging.python.org/en/latest/distributing.html\nhttps://github.com/pypa/sampleproject\n\"\"\"\n\n# Always prefer setuptools over distutils\nfrom setuptools import setup, find_packages\...
python
edit
1
0
mit
d62ac35483eb1685562566b918050218e57c7e1b
mwchase/class-namespaces,mwchase/class-namespaces
setup.py
rejected_duplicate
Near-duplicate of sample 14836
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*\n\nimport os\nfrom setuptools import setup, find_packages\n\nreadme = os.path.join(os.path.dirname(__file__), 'README.md')\nlong_description = open(readme).read()\n\nsetup(\n name='python-mandrill-inbound',\n ve...
python
edit
1
0
mit
3e0c76bef538ac1f4cc0415491b4b73574403777
jpadilla/mandrill-inbound-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\nimport codecs\nimport re\nfrom os import path\nfrom distutils.core import setup\nfrom setuptools import find_packages\n\n\ndef read(*parts):\n return codecs.open(path.join(path.dirname(__file__), *parts),\n ...
python
edit
1
2
bsd-3-clause
9297c0e672f8500f71c2279deb5fd5662aa60dd9
gregmuellegger/django-floppyforms,gregmuellegger/django-floppyforms,gregmuellegger/django-floppyforms
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\nsetup(\n name='mockldap',\n version='0.1',\n description=u\"A simple mock implementation of python-ldap.\",\n long_description=open('README').read(),\n url='http://bitb...
python
edit
2
0
bsd-2-clause
b4ea3835e901af0b3bf70cc886f9c93eb7c65f98
sttts/mockldap,sttts/mockldap
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom distutils.core import setup\n\nsetup(\n name='buqeyemodel',\n # packages=['buqeyemodel'],\n py_modules=['buqeyemodel'],\n version='0.1',\n description='A statistical model of EFT convergence.',\n author='Jordan Melend...
python
edit
1
0
mit
8126a93ec002c3cbff8f9cd7bfe996de740f4bef
jordan-melendez/buqeyemodel,jordan-melendez/buqeyemodel
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\nversion = '0.6.0.dev'\n\nrequired = open('requirements.txt').read().split('\\n')\nextra = {'all': ['mist', 'rime']}\n\nsetup(\n name='thunder-python',\n version=version,\n de...
python
edit
1
0
apache-2.0
5b2de46ac3c21278f1ab2c7620d3f31dc7d98530
thunder-project/thunder,jwittenbach/thunder,j-friedrich/thunder,j-friedrich/thunder
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nFlask-GoogleLogin\n-----------------\nFlask-GoogleLogin extends Flask-Login to use Google's OAuth2 authorization\n\nLinks\n`````\n* `documentation <http://packages.python.org/Flask-GoogleLogin>`_\n* `development version <https://git...
python
edit
1
0
mit
55d033219350dbb2288d71cb3e8f5d355fe6fe02
insynchq/flask-googlelogin,insynchq/flask-googlelogin
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport logging\nimport random\nimport os\nfrom unittest import TestLoader, TestSuite\nimport unittest.util\n\nfrom exchangelib.util import PrettyXmlHandler\n\n\nclass RandomTestSuite(TestSuite):\n def __iter__(self):\n tests = lis...
python
edit
1
1
bsd-2-clause
ddba8aea13cad32dcb3d33943498dfc746702924
ecederstrand/exchangelib
tests/__init__.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\n\nsetup(name='fntools',\n description='Functional programming tools for data processing',\n author=u'Taurus Olson',\n author_email=u'<EMAIL>',\n url='https://github.com/TaurusOlson/fntools...
python
edit
1
1
mit
e0bbdbcd3c0f4fb1a6893471f5480b1b32a74fe1
TaurusOlson/fntools
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom setuptools import setup\n\nsetup(name='hyppocratic',\n version='0.1',\n description='Software to convert text files to EpiDoc compatible XML.',\n author='Johathan Boyle, Nicolas Gruel',\n pa...
python
edit
1
0
bsd-3-clause
c6f946d47fafbd01c5d607fc797cef88f85f0055
gruel/AphorismToTEI
setup.py
accepted
null
true