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\n# coding=utf-8\nfrom __future__ import unicode_literals\n\n\ndef fcntl(fd, op, arg=0):\n return 0\n\n\ndef ioctl(fd, op, arg=0, mutable_flag=True):\n if mutable_flag:\n return 0\n else:\n return \"\"\n\n\ndef flock(fd...
python
edit
1
2
mit
a037843f62a3d6b1124f8b62517463ef92cd793f
shlomiLan/tvsort_sl
tvsort_sl/fcntl.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport io\nimport logging\n \nimport PIL.Image\nimport selenium.webdriver\n\ndef fetch_screen_capture(uri, size):\n browser = selenium.webdriver.PhantomJS()\n browser.set_window_size(*size)\n browser.get(uri)\n return browser.ge...
python
edit
1
1
mit
6a2f0ddc309a2ad4ab74ad1f28875ca8f32c4437
mrjackdavis/toaster-website-toast
src/toaster.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom celery.task import Task\nfrom celery.utils.log import get_task_logger\n\nfrom hellomama_registration import utils\n\n\nlogger = get_task_logger(__name__)\n\n\nclass AddUniqueIDToIdentity(Task):\n def run(self, identity, unique_id, w...
python
edit
1
2
bsd-3-clause
cb52e7b1a507ca7b6065c6994d11d3c07a41e6f1
praekelt/hellomama-registration,praekelt/hellomama-registration
uniqueids/tasks.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nUI tools related to exercise search and selection.\n\"\"\"\nimport urwid\n\nfrom arthur.ui import DIVIDER\n\n\nclass SearchTool(object):\n name = u\"Mission search\"\n position = (\"relative\", 20), 30, \"middle\", 10\n\n d...
python
edit
1
1
isc
8d7d058480f909ef3bc22aa9f8ee76179b346784
crypto101/arthur
arthur/exercises.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom flask import Flask\nimport experiments\nimport db\n\napp = Flask(__name__)\n\nsession = db.init_db(drop_all=True)\n\n\n@app.route('/')\ndef index():\n return 'Index page'\n\n\n@app.route('/demo2')\ndef start():\n experiment = exp...
python
edit
2
2
mit
4d8193640498d5eb82876c245a80f5b41c51b8dd
Dallinger/Dallinger,Dallinger/Dallinger,suchow/Wallace,Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,berkeley-cocosci/Wallace,Dallinger/Dallinger,suchow/Wallace,suchow/Wallace,Dallinger/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,berkeley-cocosci/Wallace,jcpeterson/Dallinger,jcpeterson/Dalli...
wallace/app.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom numpy import *\nfrom mnist import *\nfrom util import Counter\n\n# def loadData():\n# images, labels = load_mnist('training')\n\ndef defineFeatures(imageList, n):\n imageList = imageList[0:]\n featureList = []\n for image ...
python
edit
3
5
mit
bc6d8d6789fb6275587e119eea7d39941ea4c749
chetaldrich/MLOCR,chetaldrich/MLOCR
loadFeatures.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.db import models\nfrom django.utils.translation import ugettext_lazy as _\n\nLEVEL_CHOICES = (\n ('v1-org-5', '$5/mo'),\n ('v1-org-10', '$10/mo'),\n ('v1-org-15', '$15/mo'),\n ('v1-org-20', '$20/mo'),\n ('v1-org-5...
python
edit
1
1
mit
3a87b03ed42232f7daa96242142f48872bf26634
jerel/readthedocs.org,CedarLogic/readthedocs.org,sunnyzwh/readthedocs.org,sils1297/readthedocs.org,rtfd/readthedocs.org,espdev/readthedocs.org,raven47git/readthedocs.org,sunnyzwh/readthedocs.org,safwanrahman/readthedocs.org,takluyver/readthedocs.org,fujita-shintaro/readthedocs.org,sid-kap/readthedocs.org,laplaceliu/rea...
readthedocs/gold/models.py
rejected_duplicate
Near-duplicate of sample 14679
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport numpy as np\nimport skimage.filter as filters\n\ndef generate_linear_structure(size, with_noise=False):\n \"\"\"Generate a basic linear structure, optionally with noise\"\"\"\n linear_structure = np.zeros(shape=(size,size))\n ...
python
edit
1
2
mit
178b39611ec6bc32e4bb0ccd481660a0364872d7
samueljackson92/major-project,samueljackson92/major-project,samueljackson92/major-project,samueljackson92/major-project
src/tests/test_utils.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='programmabletuple',\n version='0.4.0',\n description='Python metaclass for making named tuples with programmability',\n long_description=open('README.rst')....
python
edit
1
0
mit
19d5f6eb29e5940f6df77140009737d581ae5048
tschijnmo/programmabletuple
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nfrom datetime import datetime\nfrom time import time\n\n\nclass Result:\n def __init__(self, directory):\n date = datetime.fromtimestamp(time())\n name = '%d-%d-%d_%d-%d-%d' % (\n date.year,\n ...
python
edit
1
3
mit
f10d443eda1e8727c48439cc7c9491178a1ac4c8
BakeCode/performance-testing,BakeCode/performance-testing
performance_testing/result.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom functools import wraps\n\nfrom django import http\nfrom django.conf import settings\nfrom django.contrib.auth.decorators import login_required\nfrom django.utils.decorators import available_attrs\nfrom django.utils.log import getLogger...
python
edit
1
3
bsd-2-clause
a3975cc9d4a388789fcdaf07ece011b01801f162
mlavin/django-hilbert,mlavin/django-hilbert
hilbert/decorators.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\n\ninstall_requires = ('django-admin-sso',)\n\nsetup(\n name='incuna-auth-urls',\n version='0.1',\n url='http://github.com/incuna/incuna-auth-urls',\n py_modules=('backends', 'middleware', 'urls'),...
python
edit
1
0
bsd-2-clause
ad03af8550e35de2e3184ac9fb11bc9cb88508bf
incuna/incuna-auth,ghickman/incuna-auth,incuna/incuna-auth,ghickman/incuna-auth
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nsetup(name='googleanalytics',\n description='A wrapper for the Google Analytics API.',\n long_description=open('README.rst').read(),\n author='Stijn Debrouwere',\n author_email='<EM...
python
edit
1
0
isc
0bfb4b7f82ec92c0c6d6b455dc82427e0e317370
debrouwere/google-analytics
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport ez_setup\nez_setup.use_setuptools()\n\nfrom setuptools import setup, find_packages\n\nwith open('README.md') as f:\n description = f.read()\n\nsetup(name='WebShack',\n version='0.0.1',\n description='Web Component/Polyme...
python
edit
1
0
mit
22c193419008a3f1facc53502c1f8d26f2f3ccfa
prophile/webshack
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\nsetup(\n name='gallerize',\n version='0.3.1',\n description='Create a static HTML/CSS image gallery from a bunch of images.',\n author='Jochen Kupperschmidt',\n autho...
python
edit
1
1
mit
52dc4fe9618aef6434f8f7d5fdaf592bb81c1fbe
homeworkprod/gallerize,homeworkprod/gallerize
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nfrom Cython.Build import cythonize\nimport numpy as np\n\nsetup(\n name='ism',\n version='0.1',\n description=\"Implementation of Image Source Method.\",\n #long_description=open('README').r...
python
edit
1
0
bsd-3-clause
22bf97e0860682919d731c622a282a0191508c5a
FRidh/ism
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\n\nsetup(\n name=\"SimpleES\",\n version=\"0.11.1\",\n description='A simple Event Sourcing library for Python',\n packages=find_packages('src'),\n package_dir={'': 'src'}\n)\n\n`...
python
edit
1
0
apache-2.0
12b36e9ffd30a0453d702c5f8b2f9adb6280ee67
OnShift/simple-es
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\"\"\"\nsentry-ldap-auth\n==============\n\nAn extension for Sentry which authenticates users from\nan LDAP server and auto-adds them to the an organization in sentry.\n\"\"\"\nfrom setuptools import setup, find_packa...
python
edit
1
0
apache-2.0
126a0bc97bfbe466ca34a7b22934fa6a4ce13f6a
kmlebedev/getsentry-ldap-auth,Banno/getsentry-ldap-auth
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.shortcuts import render\nfrom .forms import UploadPhotoForm\nfrom django.http import HttpResponseRedirect\nfrom django.contrib.auth.decorators import login_required\nfrom .models import Photo\n\n\n@login_required\ndef upload_pho...
python
edit
1
3
mit
398d16aaa8f1239c2bb08c45af9cde218f21ab68
KeserOner/where-artists-share,KeserOner/where-artists-share
was/photo/views.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nfrom codecs import open\nfrom os import path\nfrom sys import version_info\n\n\nhere = path.abspath(path.dirname(__file__))\n\nabout = {}\n\nwith open(path.join(here, \"README.rst\"), encoding=\"utf-8\") as fil...
python
edit
3
0
mit
e131ea4917ce85bba2c188c366cc6fb599695059
erkghlerngm44/malaffinity
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import find_packages, setup\n\nfrom shorty.version import __VERSION__\n\ndependencies=[\n 'django',\n 'django-autoconfig',\n 'django-nuit',\n]\ntest_dependencies=[\n 'django-setuptest',\n]\n\nsetup(\n name='dj...
python
edit
1
0
apache-2.0
114e2e877898f351bbb388cac7df5811b322c48f
benbacardi/djshorty,benbacardi/djshorty,ocadotechnology/djshorty,ocadotechnology/djshorty,ocadotechnology/djshorty,benbacardi/djshorty
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, find_packages\nimport sys, os\nfrom distutils import versionpredicate\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = open(os.path.join(here, 'README')).read()\n\nversio...
python
edit
5
0
bsd-3-clause
a95814afa175d7cd047f35dbf77ca2492d810598
SUNET/VCCS
setup.py
rejected_lint
Too many lint violations: 5
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"Setup file for SciUnit\"\"\"\n\nimport sys\nimport os\n\nfrom pip.req import parse_requirements\nfrom pip.download import PipSession\n\ntry:\n from setuptools import setup\nexcept ImportError:\n from distutils.core import setup\...
python
edit
1
2
mit
515e979d726af9031a4689dae899c6f87cc22e65
scidash/sciunit,scidash/sciunit
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\nfrom os import environ\n\nfrom setuptools import Extension, find_packages, setup\n\n# Opt-in to building the C extensions for Python 2 by setting the\n# ENABLE_DJB_HASH_CEXT environment variable\nif environ.get('ENABL...
python
edit
1
0
mit
a95abc176867a49985d4acd8625dc803cba045fc
pombredanne/python-pure-cdb,pombredanne/python-pure-cdb,dw/python-pure-cdb,dw/python-pure-cdb
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport logging\n\nclass TelegramHandler(logging.Handler):\n \"\"\"\n A handler class which sends a Telegram message for each logging event.\n \"\"\"\n def __init__(self, token, ids):\n \"\"\"\n Initialize the handl...
python
edit
1
3
mit
76b5d00a4f936c38036270ef37465fd2621db71c
simonacca/TelegramLogHandler
TelegramLogHandler/handler.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\nfrom setuptools import setup, find_packages\n\n\nclassifiers = \"\"\"\\\nIntended Audience :: Developers\nLicense :: OSI Approved :: MIT License\nProgramming Language :: Python\nTopic :: Utilities\nOperating System :: Unix\n\"\...
python
edit
1
1
mit
927dd6e667c76ac7a42e386ea49dd5678d11325b
rspivak/crammit,rspivak/crammit
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\n\nsetup(\n name = 'django-jinja',\n version = \"0.13\",\n description = \"Jinja2 templating language integrated in Django.\",\n long_...
python
edit
1
0
bsd-3-clause
c46389dabb4c6f0d1a8868f1114d35ff11e1bfce
niwinz/django-jinja,akx/django-jinja,glogiotatidis/django-jinja,akx/django-jinja,akx/django-jinja,niwinz/django-jinja,glogiotatidis/django-jinja,glogiotatidis/django-jinja,niwinz/django-jinja,akx/django-jinja,glogiotatidis/django-jinja
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nimport csvlib\n\n\ndef readme():\n with open('README.rst') as f:\n return f.read()\n\n\nsetup(name='csvlib',\n version=csvlib.__version__,\n description='A tiny library for handling CSV file...
python
edit
1
1
mit
fd23a4656c3d55f87549a82af64c0a172cec41c1
TaurusOlson/incisive
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(\n name='asr_evaluation',\n version='2.0.3',\n author='Ben Lambert',\n author_email='<EMAIL>',\n packages=['asr_evaluation'],\n license='LICENSE.txt',\n description='Evaluating ASR ...
python
edit
1
0
apache-2.0
9e80fe787f196b8a96bdbe79e0f7366dfa5f9e45
belambert/asr_evaluation,belambert/asr-evaluation,belambert/asr-evaluation
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nimport curtsies\n\nsetup(name='curtsies',\n version=curtsies.__version__,\n description='Curses-like terminal wrapper, with colored strings!',\n url='https://github.com/thomasballinger/curtsies',...
python
edit
1
3
mit
0748838525cb2c2ee838da3a3e906ebf8dd25a3b
sebastinas/curtsies,thomasballinger/curtsies,spthaolt/curtsies
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\nfrom wagtailnetlify import __version__\n\nsetup(\n name='wagtailnetlify',\n version=__version__,\n description='Deploy Wagtail sites to Netlify',\n long_description='See https://githu...
python
edit
1
0
mit
3e126dbba13ba95bb087d1d61b6d083dff8b3656
tomdyson/wagtail-netlify
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nsetup(name='instana',\n version='0.0.1',\n url='https://github.com/instana/python-sensor',\n license='MIT',\n author='Instana Inc.',\n author_email='<EMAIL>',\n de...
python
edit
1
0
mit
6311aaa8793e06e2fa6e869c2d788dca48a54734
instana/python-sensor,instana/python-sensor
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/python\n\nfrom setuptools import setup, find_packages\n\nfrom colorful import VERSION\n\ngithub_url = 'https://github.com/charettes/django-colorful'\n\nsetup(\n name='django-colorful',\n version='.'.join(str(v) for v in VER...
python
edit
1
0
mit
9faf5faf93e466ee952e03048c829eaf5fea5eca
charettes/django-colorful,Vitagene1/django-colorful,Vitagene1/django-colorful,charettes/django-colorful
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nrequires = [\n 'amaasutils',\n 'configparser',\n 'python-dateutil',\n 'pytz',\n 'requests',\n 'warrant'\n]\n\nsetup(\n name='amaascore',\n version='0.3.6',\n descript...
python
edit
1
0
apache-2.0
cdf78b63d018d767853c1488ead451c61a2ecf4d
nedlowe/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,amaas-fintech/amaas-core-sdk-python,amaas-fintech/amaas-core-sdk-python,paul-rs/amaas-core-sdk-python,nedlowe/amaas-core-sdk-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nimport os\nimport sys\nimport setuptools.command.egg_info as egg_info_cmd\nimport shutil\n\nfrom setuptools import setup, find_packages\n\nSETUP_DIR = os.path.dirname(__file__)\nREADME = os.path.join(SETUP_DIR, 'REA...
python
edit
5
0
apache-2.0
9830db0388855f129b3c1f31b5a2c7fe06b471c1
common-workflow-language/schema_salad,common-workflow-language/schema_salad,common-workflow-language/schema_salad,hmenager/common-workflow-language,common-workflow-language/common-workflow-language,stain/common-workflow-language,ohsu-computational-biology/common-workflow-language,common-workflow-language/schema_salad,m...
setup.py
rejected_lint
Too many lint violations: 5
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python3\nimport os\nfrom setuptools import setup, find_packages\n\n\ndef get_readme():\n return open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()\n\nsetup(\n author=\"Julio Gonzalez Altamirano\",\n a...
python
edit
1
1
mit
e95a2306eaf875f8349ac0e3638292851fd3cbf5
jga/capmetrics-etl,jga/capmetrics-etl
setup.py
rejected_duplicate
Near-duplicate of sample 1058
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\n\nsetup(name='logs-analyzer',\n version='0.5',\n description='Logs-analyzer is a library containing functions that can help you extract usable data from logs.',\n url='https://gi...
python
edit
1
0
apache-2.0
911a30b21285895b6f45a5b6fc051397ce409a8f
ddalu5/logs-analyzer
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#! /usr/bin/env python\n\n\"\"\"Setup information of demandlib.\n\"\"\"\n\nfrom setuptools import setup, find_packages\nimport os\n\n\ndef read(fname):\n return open(os.path.join(os.path.dirname(__file__), fname)).read()\n\n\nsetup(name=...
python
edit
1
1
mit
eb16a12bd8f5e9896f48e6dfb23df64cfe5fb4cf
oemof/demandlib
setup.py
rejected_duplicate
Near-duplicate of sample 2202
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Always prefer setuptools over distutils\nfrom setuptools import setup, find_packages\n# To use a consistent encoding\nfrom codecs import open\nfrom os import path\n\nhere = path.abspath(path.dirname(__file__))\n\n# Get the long descriptio...
python
edit
3
0
mit
cc7aaa66a68d043b084f4cb1d54f3acc63c9aca3
xandr2/blynkapi
setup.py
rejected_duplicate
Near-duplicate of sample 2750
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import find_packages, setup\n\nimport yolapy\n\n\nsetup(\n name='yolapy',\n version=yolapy.__version__,\n description='Python client for the Yola API',\n author='Yola',\n author_email='<EMAIL>',\n license='...
python
edit
1
0
mit
a81dac4d89b38aed4f40f3c459a1690832c43449
yola/yolapy
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\nimport json\nimport os\n\nfrom setuptools import setup, find_packages\n\n\ndef get_requirements_from_pipfile_lock(pipfile_lock=None):\n if pipfile_lock is None:\n pipfile_lock = os.path.join(os.path.dirname(...
python
edit
1
3
mit
acc7b768ee6f8bb356811839d8d5c0cdcd088cc6
kvg/dmpy
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\nfrom setuputils import find_version, read\n\n\nsetup(\n name='astor',\n version=find_version('astor/__init__.py'),\n description='Read/rewrite/write Python ASTs',\n long_d...
python
edit
1
0
bsd-3-clause
5caba564232afc6a193042dc9701a978b75138dd
zackmdavis/astor,berkerpeksag/astor
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#! /usr/bin/env python\n'''\nThis file is part of RTSLib Community Edition.\nCopyright (c) 2011 by RisingTide Systems LLC\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General ...
python
edit
4
0
apache-2.0
6e2e4dfd800a55f14a86a1ddc03b809c98f0a462
mikenawrocki/rtslib-fb,cvubrugier/rtslib-fb,mikenawrocki/rtslib-fb,agrover/rtslib-fb
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\nBUILDBOTVERSION = '2.8.2'\n\nsetup(\n name='autobuilder',\n version='2.6.95',\n packages=find_packages(),\n license='MIT',\n author='Matt Madison',\n author_email='<EMAIL>',\n...
python
edit
1
0
mit
52e7077ed05de7a7379f99f2a5ed71a07de79fa9
madisongh/autobuilder
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\ninstall_requires = ['redis', 'motor', 'jinja2', 'yuicompressor', 'webassets',\n 'cssmin', 'PyYAML']\n# 'Routes'\n\nsetup(name='scheduler',\n version='0.1',\n author...
python
edit
2
0
mit
728ca409a6534f1d5e398013bc6ca846d3fcd93b
kyiv-team-hacktbilisi/web-app,kyiv-team-hacktbilisi/web-app
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, find_packages\n\nsetup(\n name='django-sensible-caching',\n\n url=\"https://chris-lamb.co.uk/projects/django-sensible-caching\",\n version='2.0.1',\n description=\"Non-magic...
python
edit
1
0
bsd-3-clause
d83c9cd2633f08c75a3f1a6767984d663c6f6f28
lamby/django-sensible-caching
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#! /usr/bin/env python\nimport os, glob\nfrom distutils.core import setup\n\nNAME = 'bacula_configuration'\nVERSION = '0.1'\nWEBSITE = 'http://gallew.org/bacula_configuration'\nLICENSE = 'GPLv3 or later'\nDESCRIPTION = 'Bacula configuration...
python
edit
3
0
bsd-3-clause
557eaa0d0c15ab57f9b8773486098b14a9bcc89f
BrianGallew/bacula_configuration
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='knitty-gritty',\n version='0.0.1',\n description='Pattern uploader/downloader for Brother knitting machines',\n url='https://github.com/mhallin/knitty-gritty',\n\n ...
python
edit
1
0
bsd-3-clause
8882230d88839d5f4bd253c78350b6b8621a5f3a
mhallin/knitty-gritty
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\n\"\"\"Setup for cppclean.\"\"\"\n\nfrom __future__ import unicode_literals\n\nfrom distutils import core\n\n\nwith open('README') as readme:\n core.setup(name='cppclean',\n description='Find problem...
python
edit
1
0
apache-2.0
285cd06243fdd7aacb65628f390876be3b7ca098
myint/cppclean,myint/cppclean,myint/cppclean,myint/cppclean
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Copyright (c) 2011, SD Elements. See LICENSE.txt for details.\n\nimport os\nfrom distutils.core import setup\n\nf = open(os.path.join(os.path.dirname(__file__), 'README'))\nreadme = f.read()\nf.close()\n\nsetup(name=\"django-security\",\n...
python
edit
1
0
bsd-3-clause
b7adf26adfef1b3c1c474b2395b63525043cbd6f
barseghyanartur/django-security,MartinPetkov/django-security,MartinPetkov/django-security,issackelly/django-security,issackelly/django-security,barseghyanartur/django-security
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, Extension\n\n\nsetup(\n name='asyncpg',\n version='0.0.1',\n description='An asyncio PosgtreSQL driver',\n classifiers=[\n 'License :: OSI Approved :: MIT License',\n 'Intended Audienc...
python
edit
1
0
apache-2.0
39d7ea31c3c51958ee9b0fc05fa4b057a6bc532a
MagicStack/asyncpg,MagicStack/asyncpg
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\ntry:\n import rc\nexcept ImportError:\n import vx\n\n # which keybinding do we want\n from keybindings import hopscotch\n\n vx.default_start()\n\n```\n\nApply this change: Change default keybindings to concat since these are ...
python
edit
2
0
mit
f622569041c3aae25a243029609d63606b29015f
philipdexter/vx,philipdexter/vx
start.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport invoke\n\ndef run(*args, **kwargs):\n kwargs.update(echo=True)\n return invoke.run(*args, **kwargs)\n\n@invoke.task\ndef clean():\n run(\"rm -rf .tox/\")\n run(\"rm -rf dist/\")\n run(\"rm -rf pyservice.egg-info/\")\n ...
python
edit
1
1
mit
5ab07a72a5a9e9e147e782301d55ed5c7c844978
numberoverzero/pyservice
tasks.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nfrom setuptools.command.develop import develop\nfrom setuptools.command.install import install\nimport os\n\ndependencies = [\n 'requests~=2.7'\n]\n\nclass PostDevelopCommand(develop):\n def run(self):\n m...
python
edit
1
1
apache-2.0
e26e845a6f3793cee5e464919d70aa0bf9dd98f6
Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen,Gohla/eclipsegen
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# This file is part of python-markups module\n# License: BSD\n# Copyright: (C) Dmitry Shachnev, 2012-2017\n\nimport os.path\n\n# Some common constants and functions\n(LANGUAGE_HOME_PAGE, MODULE_HOME_PAGE, SYNTAX_DOCUMENTATION) = range(3)\nC...
python
edit
1
4
bsd-3-clause
ff664b9731d6fdcbbd3eadf02595a35ccac402f6
retext-project/pymarkups,mitya57/pymarkups
markups/common.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nimport sys, re, operator, collections\n\n#\n# Model\n#\nclass WordFrequenciesModel:\n \"\"\" Models the data. In this case, we're only interested \n in words and their frequencies as an end result \"\"\"\n ...
python
edit
4
4
mit
2c92d844b01458e74bd7163d755518f7947e87ec
placrosse/exercises-in-programming-style,aaron-goshine/exercises-in-programming-style,jw0201/exercises-in-programming-style,bgamwell/exercises-in-programming-style,rajanvenkataguru/exercises-in-programming-style,bgamwell/exercises-in-programming-style,aaron-goshine/exercises-in-programming-style,emil-mi/exercises-in-pr...
31-trinity/tf-31.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom bluebottle.payments.adapters import BasePaymentAdapter\nfrom bluebottle.payments.exception import PaymentException\n\nfrom .models import PledgeStandardPayment\n\n\nclass PledgePaymentAdapter(BasePaymentAdapter):\n\n def create_paym...
python
edit
4
3
bsd-3-clause
5fc569c3f44747dc6d1301515152c6a670257790
jfterpstra/bluebottle,jfterpstra/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,jfterpstra/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle
bluebottle/payments_pledge/adapters.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\n'''\r\nA simple class which can be used to generate test sets of examples. \r\n'''\r\n\r\n#import numpy \r\nimport numpy.random \r\n\r\nclass ExamplesGenerator():\r\n def __init__(self):\r\n pass\r\n \r\n def generateBinaryE...
python
edit
1
3
bsd-3-clause
3bf8790a0a8bd5464cedcb4f2acb92f758bc01b4
charanpald/APGL
apgl/data/ExamplesGenerator.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\ndef createDirectory(directoryPath):\n return None\n\ndef createFile(filePath):\n try:\n createdFile = open(filePath, 'w+')\n createdFile.close()\n except IOError:\n print \"Error: could not create ...
python
edit
3
4
apache-2.0
f2baef5e4b3b1c1d64f62a84625136befd4772ba
AmosGarner/PyInventory
osOps.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# Licensed to the StackStorm, Inc ('StackStorm') under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file...
python
edit
1
1
apache-2.0
bd8c4e3640649cb9253f7a10088d8e879afc5b4f
StackStorm/st2,nzlosh/st2,StackStorm/st2,nzlosh/st2,StackStorm/st2,Plexxi/st2,nzlosh/st2,nzlosh/st2,Plexxi/st2,StackStorm/st2,Plexxi/st2,Plexxi/st2
st2client/st2client/models/keyvalue.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\ndef createDirectory(directoryPath):\n if os.path.isdir(directoryPath) is False and os.path.exists(directoryPath) is False:\n try:\n os.makedirs(directoryPath)\n except OSError:\n print 'Er...
python
edit
7
4
apache-2.0
775d9a5d1b38b8973357a1a861da04848a7f39ad
AmosGarner/PyInventory
osOps.py
rejected_lint
Too many lint violations: 7
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom spec import Spec\nfrom mock import patch\n\nfrom invoke.context import Context\n\n\nclass Context_(Spec):\n class run_:\n @patch('invoke.context.run')\n def honors_warn_state(self, run):\n Context(run={'warn...
python
edit
1
1
bsd-2-clause
b902c32237febd976ae899bea41195adc58920d0
pyinvoke/invoke,mattrobenolt/invoke,pfmoore/invoke,tyewang/invoke,pyinvoke/invoke,frol/invoke,kejbaly2/invoke,mkusz/invoke,frol/invoke,mkusz/invoke,kejbaly2/invoke,pfmoore/invoke,singingwolfboy/invoke,sophacles/invoke,mattrobenolt/invoke
tests/context.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\nfrom setuptools import find_packages, setup\n\nabout_path = os.path.join(os.path.dirname(__file__), \"revscoring/about.py\")\nexec(compile(open(about_path).read(), about_path, \"exec\"))\n\n\ndef read(fname):\n return open(o...
python
edit
null
null
mit
f46a0cb7109d3532aa4cba8b0e351fe20bc8056f
wiki-ai/revscoring,he7d3r/revscoring
setup.py
rejected_syntax
Syntax error detected by tree-sitter
false
[ { "role": "user", "content": "Write python code for the following: Bring __VERSION__ inline with latest tag" }, { "role": "assistant", "content": "__VERSION__ = \"0.0.8\"\n__AUTHOR__ = \"GDS Developers\"\n__AUTHOR_EMAIL__ = \"\"\n" } ]
python
new_file
1
0
mit
8e5854e09a0c05a46257eb7130aac48c0dcb9079
gds-attic/backdrop-collector,alphagov/performanceplatform-collector,alphagov/performanceplatform-collector,alphagov/performanceplatform-collector,gds-attic/backdrop-collector
backdrop/collector/__init__.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nimport shutil\n\nfrom nose.tools import *\n\nimport beastling.beastxml\nimport beastling.configuration\nimport beastling.extractor\n\ndef test_extractor():\n config = beastling.configuration.Configuration(configfile=\"tests/co...
python
edit
2
1
bsd-2-clause
240ae629ba54d79d9306227fa9a88e8bc93324ea
lmaurits/BEASTling
tests/extractor_test.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom gi.repository import GLib\nimport dbus\nimport dbus.service\nfrom dbus.mainloop.glib import DBusGMainLoop\n\nclass MyDBUSService(dbus.service.Object):\n def __init__(self):\n bus_name = dbus.service.BusName('com.zielmicha.tes...
python
edit
1
2
mit
2ca649f158a5ec4b93105081d93eba7516419c53
zielmicha/nim-dbus,zielmicha/nim-dbus,zielmicha/nim-dbus
tests/simple_service.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom __future__ import unicode_literals\n\nfrom django.shortcuts import get_object_or_404, render\nfrom django.utils.html import format_html, mark_safe\n\nfrom content_editor.contents import contents_for_mptt_item\nfrom content_editor.rende...
python
edit
1
3
bsd-3-clause
ba1de19895b001069966a10d9c72b8485c4b4195
matthiask/feincms3,matthiask/feincms3,matthiask/feincms3
tests/testapp/views.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nfrom os import path\n\nhere = path.abspath(path.dirname(__file__))\n\nwith open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:\n long_description = readme_file.read()\n\nsetup(\n name='o...
python
edit
1
0
mit
9c9d16d9a71986373d9bbe06d6c3484f97553152
madman-bob/python-order-maintenance
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\n\nfrom setuptools import find_packages, setup\n\n\ndef local_file(name):\n return os.path.relpath(os.path.join(os.path.dirname(__file__), name))\n\n\nSOURCE = local_file('src')\n\nsetup(\n name='wellcome_lambda_utils',\n ...
python
edit
1
1
mit
b345d27486376ed4c1b9edbbf999cef074b21b3c
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
lambda_utils/setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nfrom codebuilder import __version__\n\nsetup(\n name='codebuilder',\n version=__version__,\n description='CLI helper for AWS CodeBuild and CodePipeline',\n url='http://github.com/wn...
python
edit
1
0
mit
7fcc7a2540eabdd1ccbe85fa62df66f1caeb24ae
wnkz/codebuilder,wnkz/codebuilder
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\ntry:\n import pypandoc\n\n def long_description():\n return pypandoc.convert_file('README.md', 'rst')\n\nexcept ImportError:\n def long_description():\n return ''\n\n\nse...
python
edit
1
1
mit
45569a10768ce5730a25699611d8de07cbcc8491
mikemill/rq_retry_scheduler
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\nimport glob\nimport os.path as op\nfrom os import listdir\nfrom pyuvdata import version\nimport json\n\ndata = [version.git_origin, version.git_hash, version.git_description, version.git_branch]\nwith open(op.j...
python
edit
4
0
bsd-2-clause
df973fa9fe8f0dc4b8b6a50ff7410e9fd4faed2b
HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata
setup.py
rejected_lint
Too many lint violations: 4
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\n Submit an RSVP for the current user\n\"\"\"\n\nfrom django import forms\nfrom hackfsu_com.views.generic import ApiView\nfrom hackfsu_com.util import acl\nfrom api.models import AttendeeStatus, Hackathon\nfrom django.utils import...
python
edit
1
2
apache-2.0
0cee0801c8a5fd320a0e0b4cb7136ec1360539f0
andrewsosa/hackfsu_com,andrewsosa/hackfsu_com,andrewsosa/hackfsu_com,andrewsosa/hackfsu_com
api/api/views/attendee/rsvp.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n# coding=utf8\n\n# This is an example of how to run dope (or any other WSGI app) in CherryPy.\n# Running it will start dope at the document root, and the server on port 80.\n#\n# Assuming a virtual environment in whic...
python
edit
1
0
mit
7b1773d5c3fa07899ad9d56d4ac488c1c2e2014e
mbr/dope,mbr/dope
dope_cherry.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\nconfig = {\n 'Description': 'A simple Finite Element Modeling (FEM) library',\n 'author': 'Greg Hamel (MrJarv1s)',\n 'url': 'https...
python
edit
1
0
mit
9addb88d7d3b9067a0581cb46b048ad693bbb720
MrJarv1s/FEMur
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\n\"\"\"\nSetup script for PythonTemplateDemo.\n\"\"\"\n\nimport setuptools\n\nfrom demo import __project__, __version__\n\nimport os\nif os.path.exists('README.rst'):\n README = open('README.rst').read()\nelse:\n ...
python
edit
1
0
mit
0f8ba23c445a56897a00c25b6a2784484e567045
jacebrowning/template-python-demo
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\ntry:\n from local_config import *\n\nexcept ImportError:\n\n twilio_sid = os.environ.get('TWILIO_SID', '')\n twilio_token = os.environ.get('TWILIO_TOKEN', '')\n twilio_number = os.environ.get('TWILIO_NUMBER', '')\n\n ...
python
edit
2
0
mit
9286baad7800b3d9e3d3724b891ceb8e6ff90687
nhshd-slot/SLOT,nhshd-slot/SLOT,nhshd-slot/SLOT
config.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\nSetup and installation for the package.\n\"\"\"\n\ntry:\n from setuptools import setup\nexcept ImportError:\n from distutils.core import setup\n\n\nsetup(\n name=\"three\",\n version=\"0.1\",\n author=\"Zach Williams\...
python
edit
1
0
bsd-3-clause
2c9dc66b64a7afeee958e950c25366fd43d07bb3
codeforamerica/three
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom django.core.exceptions import ObjectDoesNotExist\nfrom django.core.management.base import BaseCommand, CommandError\n\nfrom subscriptions.models import Subscription\n\n\nclass Command(BaseCommand):\n help = (\"Active subscription ho...
python
edit
1
6
bsd-3-clause
fd14dc0cd191b4060562a83fad29ab852044f1fc
praekelt/seed-stage-based-messaging,praekelt/seed-stage-based-messaging,praekelt/seed-staged-based-messaging
subscriptions/management/commands/add_prepend_next_to_subscriptions.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(\n name='troposphere-sugar',\n version='0.0.4',\n description='Common utilities on top of troposphere and boto for ease of clouformation template creation',\n author='Enric Lluelles',\n a...
python
edit
1
0
mit
1f9c998815ddcb1ededb940ebc86ac816d2cf6aa
enriclluelles/troposphere_sugar
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\n\"\"\"Setup script for MemeGen.\"\"\"\n\nimport sys\nimport logging\n\nimport setuptools\n\nfrom memegen import __project__, __version__\n\ntry:\n README = open(\"README.rst\").read()\n CHANGELOG = open(\"CHAN...
python
edit
1
4
mit
e6bd87d5a4ba42edb4e301258712be2da2a35b2d
DanLindeman/memegen,DanLindeman/memegen,DanLindeman/memegen,DanLindeman/memegen
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport sys\nfrom setuptools import setup\nfrom setuptools.command.test import test as TestCommand\n\nimport pipin\n\n\nclass PyTest(TestCommand):\n def finalize_options(self):\n TestCommand.finalize_options(self)\n self.tes...
python
edit
1
1
mit
7b92f1c5d1b109b93eb5535e70573b708c3df305
mlen108/pipin
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/python\n\nfrom setuptools import setup\n\nwith open(\"README.rst\") as readme:\n long_description = readme.read()\n\nsetup(\n name = 'cosmic',\n version = \"0.3.0.alpha2\",\n url = \"http://www.cosmic-api.com/docs/cos...
python
edit
1
0
mit
341a4a3a4bd3ac0761196695a1458e75b6d9a772
cosmic-api/cosmic.py
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\nconsole_scripts = [\n 'makiki = makiki.cli:main_parser',\n]\n\nrequires = [\n 'blinker>=1.4',\n 'gevent>=1.1',\n 'gunicorn>=19.0',\n 'Jinja2>=2.8.1',\n...
python
edit
1
0
mit
c33806dac3e693d2a33d6739fab78b644b36c9af
faith0811/makiki,faith0811/makiki
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom distutils.core import setup\nsetup(\n name = 'pybenchmark',\n packages = ['pybenchmark'], # this must be the same as the name above\n version = '0.0.4',\n description = 'A benchmark utility used in performance tests.',\n author = ...
python
edit
1
0
mit
b42d762acd30a19b5035b536a8d3c059b74dc5ed
duboviy/pybenchmark
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\nsetup(\n entry_points={\n 'trac.plugins': [\n \"ticket-reporter = twisted_trac_plugins.ticket_reporter\",\n ],\n },\n name='Twisted Trac Plugins', version='0.0',\n ...
python
edit
1
0
mit
d5c8b10500661727ddbfdb4afa4f770f098a06d5
twisted-infra/twisted-trac-plugins
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\ninstall_requires = open('requirements.txt').read().split()\n\nsetup(\n name='mocurly',\n packages=find_packages(exclude=(\"tests\", \"tests.*\")),\n package_data={'mocurly': ['template...
python
edit
1
0
mit
4d6a69dc60ea4f10330c11de04ba4706b980d037
Captricity/mocurly
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python2.6\n\ntry:\n from setuptools import setup\nexcept:\n from distutils.core import setup\n\n\ndef getVersion():\n import os\n packageSeedFile = os.path.join(\"lib\", \"_version.py\")\n ns = {\"__name__\": _...
python
edit
2
1
bsd-3-clause
888ffba93f4b9ed9a889aebd9d3e4296b469579d
olix0r/pub
setup.py
rejected_duplicate
Near-duplicate of sample 5199
true
[ { "role": "user", "content": "Here is the current file:\n```python\n\"\"\"\n******************\nDjango integration\n******************\n\n**Static Model** provides two custom Django model fields in the\n``staticmodel.django.fields`` module:\n\n * ``StaticModelCharField`` (sub-class of ``django.db.models.Cha...
python
edit
1
0
mit
a80a875a62f3cf4e73eb47934b7589b00042d369
wsmith323/staticmodel
staticmodel/django/__init__.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\ntry:\n from setuptools import setup, find_packages\nexcept ImportError:\n from ez_setup import use_setuptools\n use_setuptools()\n from setuptools import setup, find_packages\n\nsetup(\n name='debexpo',\n version=\"\",\n ...
python
edit
1
0
mit
3165cbdd418a38f72f2b638797b692589452528c
jonnylamb/debexpo,jonnylamb/debexpo,jadonk/debexpo,jonnylamb/debexpo,jadonk/debexpo,swvist/Debexpo,swvist/Debexpo,swvist/Debexpo,jadonk/debexpo
setup.py
rejected_duplicate
Near-duplicate of sample 4227
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\nimport unormalize\n\nimport codecs\n\ndef long_description():\n with codecs.open('README.rst', encoding='utf8') as f:\n return f.read()\n\nsetup(\n name='unormalize',\n version=...
python
edit
1
1
mit
b06773830ea3f3be4580ea9c4c49a84b07d27634
eddieantonio/unormalize
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n#!/usr/bin/env python\n\nfrom mpyq import __version__ as version\nfrom setuptools import setup\n\nsetup(name='mpyq',\n version=version,\n author='Aku Kotkavuo',\n author_email='<EMAIL>',\n url='http://github.com/arkx/mpy...
python
edit
1
0
bsd-2-clause
51228ca43fdc27af9cf5c0a6b569e2b6a9d77cb7
fengthedroid/mpyq,eagleflo/mpyq
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup\n\n\nsetup(\n name=\"spare5\",\n version='0.1',\n description=\"Spare 5 Python API client\",\n license=\"MIT\",\n author=\"John Williams, Philip Kimmey\",\n author_email=\"<EMAIL>, <EMAIL>\",\n...
python
edit
1
0
mit
ba959fe7bd3b4a0bee758090585cf1a2bbc5b94c
roverdotcom/spare5-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom distutils.core import setup\n \nsetup(\n name='Decouple',\n version='1.2.1',\n packages=['Decouple', 'Decouple.BatchPlugins'],\n license='LICENSE',\n description='Decouple and recouple.',\n long_description=open('READ...
python
edit
1
0
mit
117de7c9ff56388ae7e33fb05f146710e423f174
svenkreiss/decouple
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom logging import getLogger, basicConfig, INFO\nfrom os import getenv\nfrom aiohttp import web\n\nfrom .middleware import cors_middleware_factory\nfrom .views import (\n IndexView,\n TodoView,\n)\n\nIP = '0.0.0.0'\nPORT = getenv('PO...
python
edit
1
1
mit
ccb9aebb5f2338e12d8aa79d65fa1a6e972e76c2
justuswilhelm/todobackend-aiohttp
todobackend/__init__.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\nfrom setuptools import setup, find_packages\n\n\n__version__ = \"0.0.13\"\n\n\nsetup(\n # package name in pypi\n name='django-oscar-api',\n # extract version from module.\n version=__version__,\n description=\"REST API module...
python
edit
1
0
bsd-3-clause
a1ddc3eac2c663c25498fe105843eef634a59de0
regulusweb/django-oscar-api,crgwbr/django-oscar-api,KuwaitNET/django-oscar-api,lijoantony/django-oscar-api
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\nfrom codecs import open\n\nsetup(name='hashids',\n version='1.1.0',\n description='Python implementation of hashids (http://www.hashids.or...
python
edit
1
0
mit
774915b91358b2e8ec7f665826b3dde4be1b5607
davidaurelio/hashids-python
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# coding=utf-8\n'''\nTest case for utils/__init__.py\n'''\nfrom tests.support.unit import TestCase, skipIf\nfrom tests.support.mock import (\n NO_MOCK,\n NO_MOCK_REASON,\n MagicMock,\n patch\n)\n\ntry:\n import pytest\nexcept...
python
edit
6
1
apache-2.0
8fe31c3fbf3853d679f29b6743d05478cc1413f9
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
tests/unit/utils/test_utils.py
rejected_lint
Too many lint violations: 6
true
[ { "role": "user", "content": "Here is the current file:\n```python\nimport os\nfrom setuptools import setup\nimport sys\n\nwith open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:\n README = readme.read()\n\ntests_require = ['responses>=0.5']\nif sys.version_info < (3, 3):\n tests_r...
python
edit
1
0
mit
f5ff12afcc75f722a41356ca89d09c23b03396dd
ministryofjustice/django-moj-irat
setup.py
accepted
null
true
[ { "role": "user", "content": "Here is the current file:\n```python\n# -*- coding: utf-8 -*-\n#\n# setup.py\n# shelly\n#\n\n\"\"\"\nPackage information for shelly package.\n\"\"\"\n\nfrom setuptools import setup\n\nVERSION = '0.1.0'\n\nsetup(\n name='shelly',\n description=\"Standalone tools ...
python
edit
1
0
isc
7c10f4511e64bedad079e39834d6b845cfb942cc
larsyencken/shelly
setup.py
accepted
null
true