messages
listlengths
2
2
[ { "role": "user", "content": "Write Python code that implements wordfast.py from robhudson/kuma (path: vendor/packages/translate/storage/wordfast.py)." }, { "role": "assistant", "content": "# vendor/packages/translate/storage/wordfast.py (from robhudson/kuma, license: mpl-2.0)\n\n#!/usr/bin/env ...
[ { "role": "user", "content": "Write Python code that implements similar.py from cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools (path: third_party/pylint/checkers/similar.py)." }, { "role": "assistant", "content": "# third_party/pylint/checkers/similar.py (from cpa...
[ { "role": "user", "content": "Write Python code that implements qa_hier_block2.py from wnesl/gnuradio-IA (path: gnuradio-core/src/python/gnuradio/gr/qa_hier_block2.py)." }, { "role": "assistant", "content": "# gnuradio-core/src/python/gnuradio/gr/qa_hier_block2.py (from wnesl/gnuradio-IA, licens...
[ { "role": "user", "content": "Write Python code that implements bool_result.py from chubbymaggie/claripy (path: claripy/vsa/bool_result.py)." }, { "role": "assistant", "content": "# claripy/vsa/bool_result.py (from chubbymaggie/claripy, license: bsd-2-clause)\n\nfrom ..backend_object import Back...
[ { "role": "user", "content": "Write Python code that implements android.py from emilyvon/titanium_mobile (path: support/android/android.py)." }, { "role": "assistant", "content": "# support/android/android.py (from emilyvon/titanium_mobile, license: apache-2.0)\n\n#!/usr/bin/env python\n# -*- co...
[ { "role": "user", "content": "Write Python code that implements crawler_config.py from will4906/PatentCrawler (path: config/crawler_config.py)." }, { "role": "assistant", "content": "# config/crawler_config.py (from will4906/PatentCrawler, license: apache-2.0)\n\n# -*- coding: utf-8 -*-\n\"\"\"\...
[ { "role": "user", "content": "Write Python code that implements common.py from w1ll1am23/home-assistant (path: tests/components/minio/common.py)." }, { "role": "assistant", "content": "# tests/components/minio/common.py (from w1ll1am23/home-assistant, license: apache-2.0)\n\n\"\"\"Minio Test eve...
[ { "role": "user", "content": "Write Python code that implements test_config.py from sunlianqiang/kbengine (path: kbe/src/lib/python/Lib/distutils/tests/test_config.py)." }, { "role": "assistant", "content": "# kbe/src/lib/python/Lib/distutils/tests/test_config.py (from sunlianqiang/kbengine, lic...
[ { "role": "user", "content": "Write Python code that implements test_views.py from moccu/django-cruditor (path: tests/test_views.py)." }, { "role": "assistant", "content": "# tests/test_views.py (from moccu/django-cruditor, license: mit)\n\nimport pytest\nfrom django.contrib.auth.models import A...
[ { "role": "user", "content": "Write Python code that implements included_namespace_urls.py from MoritzS/django (path: tests/urlpatterns_reverse/included_namespace_urls.py)." }, { "role": "assistant", "content": "# tests/urlpatterns_reverse/included_namespace_urls.py (from MoritzS/django, license...
[ { "role": "user", "content": "Write Python code that implements rtmp.py from iwconfig/svtplay-dl (path: lib/svtplay_dl/fetcher/rtmp.py)." }, { "role": "assistant", "content": "# lib/svtplay_dl/fetcher/rtmp.py (from iwconfig/svtplay-dl, license: mit)\n\n# ex:ts=4:sw=4:sts=4:et\n# -*- tab-width: 4...
[ { "role": "user", "content": "Write Python code that implements langcyrillicmodel.py from justinlulejian/fah-gae (path: lib/requests/packages/chardet/langcyrillicmodel.py)." }, { "role": "assistant", "content": "# lib/requests/packages/chardet/langcyrillicmodel.py (from justinlulejian/fah-gae, l...
[ { "role": "user", "content": "Write Python code that implements customfonts.py from Johnzero/OE7 (path: openerp/report/render/rml2pdf/customfonts.py)." }, { "role": "assistant", "content": "# openerp/report/render/rml2pdf/customfonts.py (from Johnzero/OE7, license: agpl-3.0)\n\n# -*- coding: utf...
[ { "role": "user", "content": "Write Python code that implements lr_os_custom_header_operations.py from yaqiyang/autorest (path: src/generator/AutoRest.Python.Azure.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_custom_header_operations.py)." }, { "role": ...
[ { "role": "user", "content": "Write Python code that implements win_firewall_rule.py from fedorpatlin/ansible (path: lib/ansible/modules/windows/win_firewall_rule.py)." }, { "role": "assistant", "content": "# lib/ansible/modules/windows/win_firewall_rule.py (from fedorpatlin/ansible, license: gp...
[ { "role": "user", "content": "Write Python code that implements xml_serializer.py from gannetson/django (path: django/core/serializers/xml_serializer.py)." }, { "role": "assistant", "content": "# django/core/serializers/xml_serializer.py (from gannetson/django, license: bsd-3-clause)\n\n\"\"\"\n...
[ { "role": "user", "content": "Write Python code that implements hashers.py from jgoclawski/django (path: django/contrib/auth/hashers.py)." }, { "role": "assistant", "content": "# django/contrib/auth/hashers.py (from jgoclawski/django, license: bsd-3-clause)\n\nfrom __future__ import unicode_lite...
[ { "role": "user", "content": "Write Python code that implements shared_ptr.py from dandan94/OpenGLTest (path: finalOpenGL/HelloGLFW/lib/boost_1_59_0/libs/python/test/shared_ptr.py)." }, { "role": "assistant", "content": "# finalOpenGL/HelloGLFW/lib/boost_1_59_0/libs/python/test/shared_ptr.py (fr...
[ { "role": "user", "content": "Write Python code that implements test_urlwrappers.py from Rogdham/pelican (path: pelican/tests/test_urlwrappers.py)." }, { "role": "assistant", "content": "# pelican/tests/test_urlwrappers.py (from Rogdham/pelican, license: agpl-3.0)\n\n# -*- coding: utf-8 -*-\nfro...
[ { "role": "user", "content": "Write Python code that implements fieldchoice.py from gklyne/annalist (path: src/annalist_root/annalist/views/form_utils/fieldchoice.py)." }, { "role": "assistant", "content": "# src/annalist_root/annalist/views/form_utils/fieldchoice.py (from gklyne/annalist, licen...
[ { "role": "user", "content": "Write Python code that implements scikit.py from kaczla/PJN (path: src/Przecinki/scikit.py)." }, { "role": "assistant", "content": "# src/Przecinki/scikit.py (from kaczla/PJN, license: gpl-2.0)\n\n#!/usr/bin/python2\n# -*- coding: utf-8 -*-\n\nimport sys\nimport mat...
[ { "role": "user", "content": "Write Python code that implements test_faults.py from maoy/zknova (path: nova/tests/api/openstack/test_faults.py)." }, { "role": "assistant", "content": "# nova/tests/api/openstack/test_faults.py (from maoy/zknova, license: apache-2.0)\n\n# vim: tabstop=4 shiftwidth...
[ { "role": "user", "content": "Write Python code that implements basic_loops.py from hfp/tensorflow-xsmm (path: tensorflow/python/training/basic_loops.py)." }, { "role": "assistant", "content": "# tensorflow/python/training/basic_loops.py (from hfp/tensorflow-xsmm, license: apache-2.0)\n\n# Copyr...
[ { "role": "user", "content": "Write Python code that implements fourtube.py from Sylrob434/CouchPotatoServer (path: couchpotato/core/media/movie/providers/trailer/youtube_dl/extractor/fourtube.py)." }, { "role": "assistant", "content": "# couchpotato/core/media/movie/providers/trailer/youtube_dl...
[ { "role": "user", "content": "Write Python code that implements restore.py from hojel/calibre (path: src/calibre/library/restore.py)." }, { "role": "assistant", "content": "# src/calibre/library/restore.py (from hojel/calibre, license: gpl-3.0)\n\n#!/usr/bin/env python2\n# vim:fileencoding=UTF-8...
[ { "role": "user", "content": "Write Python code that implements sanitizer.py from perlygatekeeper/glowing-robot (path: Little_Alchemy_2/Scraper_python/env/lib/python3.7/site-packages/pip/_vendor/html5lib/filters/sanitizer.py)." }, { "role": "assistant", "content": "# Little_Alchemy_2/Scraper_pyt...
[ { "role": "user", "content": "Write Python code that implements losses_test.py from zasdfgbnm/tensorflow (path: tensorflow/contrib/kernel_methods/python/losses_test.py)." }, { "role": "assistant", "content": "# tensorflow/contrib/kernel_methods/python/losses_test.py (from zasdfgbnm/tensorflow, l...
[ { "role": "user", "content": "Write Python code that implements test_logfile.py from dhamaniasad/mythbox (path: resources/lib/twisted/twisted/test/test_logfile.py)." }, { "role": "assistant", "content": "# resources/lib/twisted/twisted/test/test_logfile.py (from dhamaniasad/mythbox, license: gpl...
[ { "role": "user", "content": "Write Python code that implements test.py from svn2github/django (path: django/core/management/commands/test.py)." }, { "role": "assistant", "content": "# django/core/management/commands/test.py (from svn2github/django, license: bsd-3-clause)\n\nimport sys\nimport o...
[ { "role": "user", "content": "Write Python code that implements DLFCN.py from MalloyPower/parsing-python (path: front-end/testsuite-python-lib/Python-2.2/Lib/plat-linux2/DLFCN.py)." }, { "role": "assistant", "content": "# front-end/testsuite-python-lib/Python-2.2/Lib/plat-linux2/DLFCN.py (from M...
[ { "role": "user", "content": "Write Python code that implements sqlite.py from hoevenvd/weewx_poller (path: bin/weedb/sqlite.py)." }, { "role": "assistant", "content": "# bin/weedb/sqlite.py (from hoevenvd/weewx_poller, license: gpl-3.0)\n\n#\n# Copyright (c) 2012 Tom Keffer <tkeffer@gmail.co...
[ { "role": "user", "content": "Write Python code that implements test_redis.py from mozilla/make.mozilla.org (path: vendor-local/lib/python/celery/tests/test_backends/test_redis.py)." }, { "role": "assistant", "content": "# vendor-local/lib/python/celery/tests/test_backends/test_redis.py (from mo...
[ { "role": "user", "content": "Write Python code that implements win_package.py from hryamzik/ansible (path: lib/ansible/modules/windows/win_package.py)." }, { "role": "assistant", "content": "# lib/ansible/modules/windows/win_package.py (from hryamzik/ansible, license: gpl-3.0)\n\n#!/usr/bin/pyt...
[ { "role": "user", "content": "Write Python code that implements test_util.py from thaddeusdiamond/Social-Hierarchical-Learning (path: ext/protobuf/python/google/protobuf/internal/test_util.py)." }, { "role": "assistant", "content": "# ext/protobuf/python/google/protobuf/internal/test_util.py (fr...
[ { "role": "user", "content": "Write Python code that implements __init__.py from chatelak/RMG-Py (path: rmgpy/solver/__init__.py)." }, { "role": "assistant", "content": "# rmgpy/solver/__init__.py (from chatelak/RMG-Py, license: mit)\n\n#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\n#########...
[ { "role": "user", "content": "Write Python code that implements analyze_fvfm.py from danforthcenter/plantcv (path: plantcv/plantcv/photosynthesis/analyze_fvfm.py)." }, { "role": "assistant", "content": "# plantcv/plantcv/photosynthesis/analyze_fvfm.py (from danforthcenter/plantcv, license: mit)\...
[ { "role": "user", "content": "Write Python code that implements exceptions.py from vicky2135/lucious (path: oscar/lib/python2.7/site-packages/urllib3/exceptions.py)." }, { "role": "assistant", "content": "# oscar/lib/python2.7/site-packages/urllib3/exceptions.py (from vicky2135/lucious, license:...
[ { "role": "user", "content": "Write Python code that implements zmqbug.py from tutengfei/zerorpc-python (path: tests/zmqbug.py)." }, { "role": "assistant", "content": "# tests/zmqbug.py (from tutengfei/zerorpc-python, license: mit)\n\n# -*- coding: utf-8 -*-\n# Open Source Initiative OSI - The M...
[ { "role": "user", "content": "Write Python code that implements 0001_initial.py from chachan/nodeshot (path: nodeshot/community/notifications/migrations/0001_initial.py)." }, { "role": "assistant", "content": "# nodeshot/community/notifications/migrations/0001_initial.py (from chachan/nodeshot, ...
[ { "role": "user", "content": "Write Python code that implements url.py from waveform80/lars (path: lars/datatypes/url.py)." }, { "role": "assistant", "content": "# lars/datatypes/url.py (from waveform80/lars, license: mit)\n\n# vim: set et sw=4 sts=4 fileencoding=utf-8:\n#\n# Copyright (c) 2013-...
[ { "role": "user", "content": "Write Python code that implements rabbitmq.py from adobdin/timmy (path: timmy/analyze_modules/rabbitmq.py)." }, { "role": "assistant", "content": "# timmy/analyze_modules/rabbitmq.py (from adobdin/timmy, license: apache-2.0)\n\n#!/usr/bin/env python2\n# -*- coding: ...
[ { "role": "user", "content": "Write Python code that implements driver_sanitycheck.py from smcantab/pele (path: playground/amber/driver_sanitycheck.py)." }, { "role": "assistant", "content": "# playground/amber/driver_sanitycheck.py (from smcantab/pele, license: gpl-3.0)\n\nfrom pele.amber impor...
[ { "role": "user", "content": "Write Python code that implements ipa.py from sorenk/ansible (path: lib/ansible/utils/module_docs_fragments/ipa.py)." }, { "role": "assistant", "content": "# lib/ansible/utils/module_docs_fragments/ipa.py (from sorenk/ansible, license: gpl-3.0)\n\n# Copyright (c) 20...
[ { "role": "user", "content": "Write Python code that implements rlcompleter.py from barykaed/Pelican-Test (path: activate/Lib/rlcompleter.py)." }, { "role": "assistant", "content": "# activate/Lib/rlcompleter.py (from barykaed/Pelican-Test, license: mit)\n\n\"\"\"Word completion for GNU readline...
[ { "role": "user", "content": "Write Python code that implements __init__.py from feigames/Odoo (path: addons/survey/__init__.py)." }, { "role": "assistant", "content": "# addons/survey/__init__.py (from feigames/Odoo, license: agpl-3.0)\n\n# -*- encoding: utf-8 -*-\n#############################...
[ { "role": "user", "content": "Write Python code that implements about_true_and_false.py from mfortner/MyPythonKoans (path: python2/koans/about_true_and_false.py)." }, { "role": "assistant", "content": "# python2/koans/about_true_and_false.py (from mfortner/MyPythonKoans, license: mit)\n\n#!/usr/...
[ { "role": "user", "content": "Write Python code that implements test_sma_strategy.py from llazzaro/analyzerstrategies (path: tests/test_sma_strategy.py)." }, { "role": "assistant", "content": "# tests/test_sma_strategy.py (from llazzaro/analyzerstrategies, license: bsd-3-clause)\n\nimport random...
[ { "role": "user", "content": "Write Python code that implements extension.py from takeshineshiro/keystone (path: keystone/common/extension.py)." }, { "role": "assistant", "content": "# keystone/common/extension.py (from takeshineshiro/keystone, license: apache-2.0)\n\n# Copyright 2013 OpenStack ...
[ { "role": "user", "content": "Write Python code that implements android.py from bankonmeOS/cjdns (path: node_build/dependencies/libuv/build/gyp/pylib/gyp/generator/android.py)." }, { "role": "assistant", "content": "# node_build/dependencies/libuv/build/gyp/pylib/gyp/generator/android.py (from b...
[ { "role": "user", "content": "Write Python code that implements gmpyrationalfield.py from ichuang/sympy (path: sympy/polys/domains/gmpyrationalfield.py)." }, { "role": "assistant", "content": "# sympy/polys/domains/gmpyrationalfield.py (from ichuang/sympy, license: bsd-3-clause)\n\n\"\"\"Impleme...
[ { "role": "user", "content": "Write Python code that implements enforcements.py from cipriancraciun/extremely-simple-cluster-platform (path: components/py-tools/sources/escp/tools/enforcements.py)." }, { "role": "assistant", "content": "# components/py-tools/sources/escp/tools/enforcements.py (f...
[ { "role": "user", "content": "Write Python code that implements __init__.py from linearregression/mpld3 (path: mpld3/__init__.py)." }, { "role": "assistant", "content": "# mpld3/__init__.py (from linearregression/mpld3, license: bsd-3-clause)\n\n\"\"\"\nInteractive D3 rendering of matplotlib ima...
[ { "role": "user", "content": "Write Python code that implements __init__.py from luzheqi1987/nova-annotation (path: nova/vnc/__init__.py)." }, { "role": "assistant", "content": "# nova/vnc/__init__.py (from luzheqi1987/nova-annotation, license: apache-2.0)\n\n#!/usr/bin/env python\n# Copyright (...
[ { "role": "user", "content": "Write Python code that implements generate.py from meh/servo (path: tests/wpt/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/generate.py)." }, { "role": "assistant", "content": "# tests/wpt/web-platform-tests/dom/nodes/Document-createElement-nam...
[ { "role": "user", "content": "Write Python code that implements models.py from sbellem/django (path: django/contrib/contenttypes/models.py)." }, { "role": "assistant", "content": "# django/contrib/contenttypes/models.py (from sbellem/django, license: bsd-3-clause)\n\nfrom __future__ import unico...
[ { "role": "user", "content": "Write Python code that implements config.py from popazerty/dvbapp-gui2 (path: lib/python/Components/config.py)." }, { "role": "assistant", "content": "# lib/python/Components/config.py (from popazerty/dvbapp-gui2, license: gpl-2.0)\n\nfrom enigma import getPrevAscii...
[ { "role": "user", "content": "Write Python code that implements 1223-graph-connectivity-with-threshold.py from jianjunz/online-judge-solutions (path: leetcode/1223-graph-connectivity-with-threshold.py)." }, { "role": "assistant", "content": "# leetcode/1223-graph-connectivity-with-threshold.py (...
[ { "role": "user", "content": "Write Python code that implements utf_16_be.py from nagnath006/Soccer-Analytics (path: Soccer-Analytics/Lib/encodings/utf_16_be.py)." }, { "role": "assistant", "content": "# Soccer-Analytics/Lib/encodings/utf_16_be.py (from nagnath006/Soccer-Analytics, license: mpl-...
[ { "role": "user", "content": "Write Python code that implements make_cert.py from fucxy/ESPython (path: SDK/ESP8266_NONOS_SDK/tools/make_cert.py)." }, { "role": "assistant", "content": "# SDK/ESP8266_NONOS_SDK/tools/make_cert.py (from fucxy/ESPython, license: mit)\n\nimport os\n\nclass Cert(obje...
[ { "role": "user", "content": "Write Python code that implements sendkeys_test.py from mskrzypkows/servo (path: tests/wpt/web-platform-tests/webdriver/user_input/sendkeys_test.py)." }, { "role": "assistant", "content": "# tests/wpt/web-platform-tests/webdriver/user_input/sendkeys_test.py (from ms...
[ { "role": "user", "content": "Write Python code that implements rhnConstants.py from ktosiek/spacewalk (path: proxy/proxy/rhnConstants.py)." }, { "role": "assistant", "content": "# proxy/proxy/rhnConstants.py (from ktosiek/spacewalk, license: gpl-2.0)\n\n#!/usr/bin/python\n#\n# Copyright (c) 200...
[ { "role": "user", "content": "Write Python code that implements nntplib.py from makermade/arm_android-21_arm-linux-androideabi-4.8 (path: lib/python2.7/nntplib.py)." }, { "role": "assistant", "content": "# lib/python2.7/nntplib.py (from makermade/arm_android-21_arm-linux-androideabi-4.8, license...
[ { "role": "user", "content": "Write Python code that implements memoicmp.py from datalogics/scons (path: bin/memoicmp.py)." }, { "role": "assistant", "content": "# bin/memoicmp.py (from datalogics/scons, license: mit)\n\n#!/usr/bin/env python\n#\n# A script to compare the --debug=memoizer output...
[ { "role": "user", "content": "Write Python code that implements client.py from louietsai/python-for-android (path: python3-alpha/extra_modules/gdata/apps/emailsettings/client.py)." }, { "role": "assistant", "content": "# python3-alpha/extra_modules/gdata/apps/emailsettings/client.py (from louiet...
[ { "role": "user", "content": "Write Python code that implements filebased.py from diegoguimaraes/django (path: django/core/mail/backends/filebased.py)." }, { "role": "assistant", "content": "# django/core/mail/backends/filebased.py (from diegoguimaraes/django, license: bsd-3-clause)\n\n\"\"\"Ema...
[ { "role": "user", "content": "Write Python code that implements common.py from repotvsupertuga/tvsupertuga.repository (path: script.module.universalscrapers/lib/universalscrapers/common.py)." }, { "role": "assistant", "content": "# script.module.universalscrapers/lib/universalscrapers/common.py ...
[ { "role": "user", "content": "Write Python code that implements lib_wgl.py from Benrflanders/Pytris (path: pyglet/gl/lib_wgl.py)." }, { "role": "assistant", "content": "# pyglet/gl/lib_wgl.py (from Benrflanders/Pytris, license: mit)\n\n# ----------------------------------------------------------...
[ { "role": "user", "content": "Write Python code that implements settings.py from HarmJ0y/sparta (path: app/settings.py)." }, { "role": "assistant", "content": "# app/settings.py (from HarmJ0y/sparta, license: gpl-3.0)\n\n#!/usr/bin/env python\n\n'''\nSPARTA - Network Infrastructure Penetration T...
[ { "role": "user", "content": "Write Python code that implements bucket_listing_ref.py from svn2github/chromium-depot-tools (path: third_party/gsutil/gslib/bucket_listing_ref.py)." }, { "role": "assistant", "content": "# third_party/gsutil/gslib/bucket_listing_ref.py (from svn2github/chromium-dep...
[ { "role": "user", "content": "Write Python code that implements exporter.py from alheinecke/tensorflow-xsmm (path: tensorflow/contrib/session_bundle/exporter.py)." }, { "role": "assistant", "content": "# tensorflow/contrib/session_bundle/exporter.py (from alheinecke/tensorflow-xsmm, license: apa...
[ { "role": "user", "content": "Write Python code that implements main.py from F0rth/seafile-obsd-wip (path: web/main.py)." }, { "role": "assistant", "content": "# web/main.py (from F0rth/seafile-obsd-wip, license: gpl-3.0)\n\n#!/usr/bin/env python2\n# encoding: utf-8\n\nimport gettext\nimport loc...
[ { "role": "user", "content": "Write Python code that implements align_wordlists.py from dmort27/panphon (path: panphon/bin/align_wordlists.py)." }, { "role": "assistant", "content": "# panphon/bin/align_wordlists.py (from dmort27/panphon, license: mit)\n\n#!/usr/bin/env python\nfrom __future__ i...
[ { "role": "user", "content": "Write Python code that implements humanize.py from jounex/hue (path: desktop/core/ext-py/Django-1.6.10/django/contrib/humanize/templatetags/humanize.py)." }, { "role": "assistant", "content": "# desktop/core/ext-py/Django-1.6.10/django/contrib/humanize/templatetags/...
[ { "role": "user", "content": "Write Python code that implements 0009_auto__add_decision.py from nvoron23/hue (path: apps/oozie/src/oozie/migrations/0009_auto__add_decision.py)." }, { "role": "assistant", "content": "# apps/oozie/src/oozie/migrations/0009_auto__add_decision.py (from nvoron23/hue,...
[ { "role": "user", "content": "Write Python code that implements AWG_station.py from yausern/stlab (path: TimeDomain_v2/AWG_station.py)." }, { "role": "assistant", "content": "# TimeDomain_v2/AWG_station.py (from yausern/stlab, license: gpl-3.0)\n\n# author: Wolfgang Pfaff\n# modified by: Sarwan ...
[ { "role": "user", "content": "Write Python code that implements base.py from stewartpark/django (path: django/contrib/gis/geos/base.py)." }, { "role": "assistant", "content": "# django/contrib/gis/geos/base.py (from stewartpark/django, license: bsd-3-clause)\n\nfrom ctypes import c_void_p\n\nfro...
[ { "role": "user", "content": "Write Python code that implements test_dist_info.py from rossgoodwin/musapaedia (path: musapaedia/muse/lib/python2.7/site-packages/setuptools/tests/test_dist_info.py)." }, { "role": "assistant", "content": "# musapaedia/muse/lib/python2.7/site-packages/setuptools/te...
[ { "role": "user", "content": "Write Python code that implements reformat-json.py from victorzhao/miniblink49 (path: third_party/skia/tools/reformat-json.py)." }, { "role": "assistant", "content": "# third_party/skia/tools/reformat-json.py (from victorzhao/miniblink49, license: gpl-3.0)\n\n#!/usr...
[ { "role": "user", "content": "Write Python code that implements screencast.py from cherez/youtube-dl (path: youtube_dl/extractor/screencast.py)." }, { "role": "assistant", "content": "# youtube_dl/extractor/screencast.py (from cherez/youtube-dl, license: unlicense)\n\n# -*- coding: utf-8 -*-\nfr...
[ { "role": "user", "content": "Write Python code that implements __init__.py from jesramirez/odoo (path: addons/hr_timesheet_sheet/report/__init__.py)." }, { "role": "assistant", "content": "# addons/hr_timesheet_sheet/report/__init__.py (from jesramirez/odoo, license: agpl-3.0)\n\n# -*- coding: ...
[ { "role": "user", "content": "Write Python code that implements basic_app_4.py from AmandaMoen/AmandaMoen (path: notes/resources/UW_IntroClass/class8.5/code/basic_app_4.py)." }, { "role": "assistant", "content": "# notes/resources/UW_IntroClass/class8.5/code/basic_app_4.py (from AmandaMoen/Amand...
[ { "role": "user", "content": "Write Python code that implements pcalendar.py from jaggu303619/asylum-v2.0 (path: openerp/addons/resource/faces/pcalendar.py)." }, { "role": "assistant", "content": "# openerp/addons/resource/faces/pcalendar.py (from jaggu303619/asylum-v2.0, license: agpl-3.0)\n\n#...
[ { "role": "user", "content": "Write Python code that implements pokemon_optimizer.py from heihachi/PokemonGo-Bot (path: pokemongo_bot/cell_workers/pokemon_optimizer.py)." }, { "role": "assistant", "content": "# pokemongo_bot/cell_workers/pokemon_optimizer.py (from heihachi/PokemonGo-Bot, license...
[ { "role": "user", "content": "Write Python code that implements __init__.py from Titulacion-Sistemas/PythonTitulacion-EV (path: Lib/site-packages/django/contrib/gis/geos/prototypes/__init__.py)." }, { "role": "assistant", "content": "# Lib/site-packages/django/contrib/gis/geos/prototypes/__init_...
[ { "role": "user", "content": "Write Python code that implements localized_names.py from IronLanguages/ironpython2 (path: Src/StdLib/Lib/site-packages/win32/Demos/security/localized_names.py)." }, { "role": "assistant", "content": "# Src/StdLib/Lib/site-packages/win32/Demos/security/localized_nam...
[ { "role": "user", "content": "Write Python code that implements xmlemit.py from mhct/ardupilot (path: Tools/autotest/param_metadata/xmlemit.py)." }, { "role": "assistant", "content": "# Tools/autotest/param_metadata/xmlemit.py (from mhct/ardupilot, license: gpl-3.0)\n\n#!/usr/bin/env python\n\nf...
[ { "role": "user", "content": "Write Python code that implements test_batch_client.py from apache/airflow (path: tests/providers/amazon/aws/hooks/test_batch_client.py)." }, { "role": "assistant", "content": "# tests/providers/amazon/aws/hooks/test_batch_client.py (from apache/airflow, license: ap...
[ { "role": "user", "content": "Write Python code that implements page_test.py from guorendong/iridium-browser-ubuntu (path: tools/telemetry/telemetry/page/page_test.py)." }, { "role": "assistant", "content": "# tools/telemetry/telemetry/page/page_test.py (from guorendong/iridium-browser-ubuntu, l...
[ { "role": "user", "content": "Write Python code that implements integrals.py from sunny94/temp (path: sympy/integrals/integrals.py)." }, { "role": "assistant", "content": "# sympy/integrals/integrals.py (from sunny94/temp, license: bsd-3-clause)\n\nfrom __future__ import print_function, division...
[ { "role": "user", "content": "Write Python code that implements forms.py from rishiloyola/bedrock (path: bedrock/press/forms.py)." }, { "role": "assistant", "content": "# bedrock/press/forms.py (from rishiloyola/bedrock, license: mpl-2.0)\n\n# coding: utf-8\n\n# This Source Code Form is subject ...
[ { "role": "user", "content": "Write Python code that implements 0005_auto__add_paidcourseregistrationannotation__add_field_orderitem_report.py from xiandiancloud/edxplaltfom-xusong (path: lms/djangoapps/shoppingcart/migrations/0005_auto__add_paidcourseregistrationannotation__add_field_orderitem_report.py)."...
[ { "role": "user", "content": "Write Python code that implements formats.py from intgr/django (path: django/conf/locale/nb/formats.py)." }, { "role": "assistant", "content": "# django/conf/locale/nb/formats.py (from intgr/django, license: bsd-3-clause)\n\n# This file is distributed under the same...
[ { "role": "user", "content": "Write Python code that implements emitter.py from SickRage/SickRage (path: sickrage/libs/trakt/core/emitter.py)." }, { "role": "assistant", "content": "# sickrage/libs/trakt/core/emitter.py (from SickRage/SickRage, license: gpl-3.0)\n\nfrom __future__ import absolut...
[ { "role": "user", "content": "Write Python code that implements base.py from chaluemwut/fbserver (path: venv/lib/python2.7/site-packages/sklearn/neighbors/base.py)." }, { "role": "assistant", "content": "# venv/lib/python2.7/site-packages/sklearn/neighbors/base.py (from chaluemwut/fbserver, lice...
[ { "role": "user", "content": "Write Python code that implements test_collector.py from tedelhourani/ansible (path: test/units/module_utils/facts/test_collector.py)." }, { "role": "assistant", "content": "# test/units/module_utils/facts/test_collector.py (from tedelhourani/ansible, license: gpl-3...
[ { "role": "user", "content": "Write Python code that implements ContentFile.py from Thraxis/SickRage (path: lib/github/ContentFile.py)." }, { "role": "assistant", "content": "# lib/github/ContentFile.py (from Thraxis/SickRage, license: gpl-3.0)\n\n# -*- coding: utf-8 -*-\n\n# ###################...
[ { "role": "user", "content": "Write Python code that implements pretty_vcproj.py from RubenKelevra/rethinkdb (path: external/v8_3.30.33.16/build/gyp/tools/pretty_vcproj.py)." }, { "role": "assistant", "content": "# external/v8_3.30.33.16/build/gyp/tools/pretty_vcproj.py (from RubenKelevra/rethin...
[ { "role": "user", "content": "Write Python code that implements RapidshareCom.py from sebdelsol/pyload (path: module/plugins/hoster/RapidshareCom.py)." }, { "role": "assistant", "content": "# module/plugins/hoster/RapidshareCom.py (from sebdelsol/pyload, license: gpl-3.0)\n\n# -*- coding: utf-8 ...
[ { "role": "user", "content": "Write Python code that implements 0003_auto__add_field_author_uuid.py from PyMNtos/stacks (path: stacks/library/migrations/0003_auto__add_field_author_uuid.py)." }, { "role": "assistant", "content": "# stacks/library/migrations/0003_auto__add_field_author_uuid.py (f...
[ { "role": "user", "content": "Write Python code that implements connection.py from Jordonbc/GlassOS (path: Glass_OS/build/lib/GlassOS/libaries/requests/packages/urllib3/connection.py)." }, { "role": "assistant", "content": "# Glass_OS/build/lib/GlassOS/libaries/requests/packages/urllib3/connecti...