messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Write Python code that implements test_urlizetrunc.py from delinhabit/django (path: tests/template_tests/filter_tests/test_urlizetrunc.py)."
},
{
"role": "assistant",
"content": "# tests/template_tests/filter_tests/test_urlizetrunc.py (from delinhabit/django, licens... |
[
{
"role": "user",
"content": "Write Python code that implements lasheight_classify.py from saeedghsh/SSRR13 (path: Andreas/slam6d/3rdparty/lastools/ArcGIS_toolbox/scripts/lasheight_classify.py)."
},
{
"role": "assistant",
"content": "# Andreas/slam6d/3rdparty/lastools/ArcGIS_toolbox/scripts/lash... |
[
{
"role": "user",
"content": "Write Python code that implements restart-proc.py from pinireznik/antitude (path: agents/skynet/scripts/restart-proc.py)."
},
{
"role": "assistant",
"content": "# agents/skynet/scripts/restart-proc.py (from pinireznik/antitude, license: apache-2.0)\n\n#!/usr/bin/pyt... |
[
{
"role": "user",
"content": "Write Python code that implements visitor.py from mesonbuild/meson (path: mesonbuild/ast/visitor.py)."
},
{
"role": "assistant",
"content": "# mesonbuild/ast/visitor.py (from mesonbuild/meson, license: apache-2.0)\n\n# Copyright 2019 The Meson development team\n\n# ... |
[
{
"role": "user",
"content": "Write Python code that implements multipole.py from robwarm/gpaw-symm (path: gpaw/analyse/multipole.py)."
},
{
"role": "assistant",
"content": "# gpaw/analyse/multipole.py (from robwarm/gpaw-symm, license: gpl-3.0)\n\nimport numpy as np\n\nfrom ase.units import Bohr... |
[
{
"role": "user",
"content": "Write Python code that implements run_inventory_report.py from coxmediagroup/googleads-python-lib (path: examples/dfp/v201408/report_service/run_inventory_report.py)."
},
{
"role": "assistant",
"content": "# examples/dfp/v201408/report_service/run_inventory_report.p... |
[
{
"role": "user",
"content": "Write Python code that implements graphxapi.py from guard163/xen-api (path: ocaml/idl/binding_sanity_checks/graphxapi.py)."
},
{
"role": "assistant",
"content": "# ocaml/idl/binding_sanity_checks/graphxapi.py (from guard163/xen-api, license: lgpl-2.1)\n\n#!/usr/bin/... |
[
{
"role": "user",
"content": "Write Python code that implements jabber.py from Multimac/ansible-modules-extras (path: notification/jabber.py)."
},
{
"role": "assistant",
"content": "# notification/jabber.py (from Multimac/ansible-modules-extras, license: gpl-3.0)\n\n#!/usr/bin/python\n# -*- codi... |
[
{
"role": "user",
"content": "Write Python code that implements knuth_miles.py from harlowja/networkx (path: examples/drawing/knuth_miles.py)."
},
{
"role": "assistant",
"content": "# examples/drawing/knuth_miles.py (from harlowja/networkx, license: bsd-3-clause)\n\n#!/usr/bin/env python\n\"\"\"... |
[
{
"role": "user",
"content": "Write Python code that implements radio.py from MacCearain/HomeDetect (path: radio.py)."
},
{
"role": "assistant",
"content": "# radio.py (from MacCearain/HomeDetect, license: mit)\n\n'''\n radio module\n'''\n\n# pylint: disable=line-too-long\n# pylint: disable=too... |
[
{
"role": "user",
"content": "Write Python code that implements bfe_reprints.py from ppiotr/Invenio (path: modules/bibformat/lib/elements/bfe_reprints.py)."
},
{
"role": "assistant",
"content": "# modules/bibformat/lib/elements/bfe_reprints.py (from ppiotr/Invenio, license: gpl-2.0)\n\n## This f... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from Johnzero/OE7 (path: openerp/addons-fg/openerp-magento-master/magento_connect/__init__.py)."
},
{
"role": "assistant",
"content": "# openerp/addons-fg/openerp-magento-master/magento_connect/__init__.py (from Johnzero... |
[
{
"role": "user",
"content": "Write Python code that implements eos_system.py from jmighion/ansible (path: lib/ansible/modules/network/eos/eos_system.py)."
},
{
"role": "assistant",
"content": "# lib/ansible/modules/network/eos/eos_system.py (from jmighion/ansible, license: gpl-3.0)\n\n#!/usr/bi... |
[
{
"role": "user",
"content": "Write Python code that implements os.py from holmes/intellij-community (path: python/lib/Lib/os.py)."
},
{
"role": "assistant",
"content": "# python/lib/Lib/os.py (from holmes/intellij-community, license: apache-2.0)\n\nr\"\"\"OS routines for Mac, NT, or Posix depen... |
[
{
"role": "user",
"content": "Write Python code that implements test_play_iterator.py from awkspace/ansible (path: test/units/executor/test_play_iterator.py)."
},
{
"role": "assistant",
"content": "# test/units/executor/test_play_iterator.py (from awkspace/ansible, license: gpl-3.0)\n\n# (c) 201... |
[
{
"role": "user",
"content": "Write Python code that implements suntimes.py from ioangogo/Suntimes (path: suntimes.py)."
},
{
"role": "assistant",
"content": "# suntimes.py (from ioangogo/Suntimes, license: bsd-3-clause)\n\n#! /bin/python\n# -*- coding: UTF-8 -*-\nimport urllib2, json, datetime,... |
[
{
"role": "user",
"content": "Write Python code that implements ez_setup.py from feibaliang/blog (path: node_modules/pygmentize-bundled/vendor/pygments/ez_setup.py)."
},
{
"role": "assistant",
"content": "# node_modules/pygmentize-bundled/vendor/pygments/ez_setup.py (from feibaliang/blog, licens... |
[
{
"role": "user",
"content": "Write Python code that implements nxos_vxlan_vtep_vni.py from GustavoHennig/ansible (path: lib/ansible/modules/network/nxos/nxos_vxlan_vtep_vni.py)."
},
{
"role": "assistant",
"content": "# lib/ansible/modules/network/nxos/nxos_vxlan_vtep_vni.py (from GustavoHennig/... |
[
{
"role": "user",
"content": "Write Python code that implements quoting.py from veger/ansible (path: lib/ansible/parsing/quoting.py)."
},
{
"role": "assistant",
"content": "# lib/ansible/parsing/quoting.py (from veger/ansible, license: gpl-3.0)\n\n# (c) 2014 James Cammarata, <jcammarata@ansible.... |
[
{
"role": "user",
"content": "Write Python code that implements site.py from CMPUT410W15T02/CMPUT410W15-project (path: testenv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/site.py)."
},
{
"role": "assistant",
"content": "# testenv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.eg... |
[
{
"role": "user",
"content": "Write Python code that implements generate_realm_creation_link.py from rishig/zulip (path: zerver/management/commands/generate_realm_creation_link.py)."
},
{
"role": "assistant",
"content": "# zerver/management/commands/generate_realm_creation_link.py (from rishig/z... |
[
{
"role": "user",
"content": "Write Python code that implements physicalobject.py from mammadori/asteroids (path: game/physicalobject.py)."
},
{
"role": "assistant",
"content": "# game/physicalobject.py (from mammadori/asteroids, license: bsd-3-clause)\n\n# -*- coding: utf-8 *-*\n\nimport pyglet... |
[
{
"role": "user",
"content": "Write Python code that implements ec2_ami.py from andreaso/ansible (path: lib/ansible/modules/cloud/amazon/ec2_ami.py)."
},
{
"role": "assistant",
"content": "# lib/ansible/modules/cloud/amazon/ec2_ami.py (from andreaso/ansible, license: gpl-3.0)\n\n#!/usr/bin/pytho... |
[
{
"role": "user",
"content": "Write Python code that implements test_nsuserdefaults.py from albertz/music-player (path: mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsuserdefaults.py)."
},
{
"role": "assistant",
"content": "# mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsuserdefaults.py (from alber... |
[
{
"role": "user",
"content": "Write Python code that implements info.py from kelseyoo14/Wander (path: venv_2_7/lib/python2.7/site-packages/numpy/fft/info.py)."
},
{
"role": "assistant",
"content": "# venv_2_7/lib/python2.7/site-packages/numpy/fft/info.py (from kelseyoo14/Wander, license: artisti... |
[
{
"role": "user",
"content": "Write Python code that implements decorator.py from unix-beard/gloria (path: service/decorator.py)."
},
{
"role": "assistant",
"content": "# service/decorator.py (from unix-beard/gloria, license: mit)\n\nimport inspect\nimport logging\nfrom gloria.service.runnable i... |
[
{
"role": "user",
"content": "Write Python code that implements make_qbk.py from jmanday/Master (path: TFM/library/boost_1_63_0/libs/geometry/doc/make_qbk.py)."
},
{
"role": "assistant",
"content": "# TFM/library/boost_1_63_0/libs/geometry/doc/make_qbk.py (from jmanday/Master, license: apache-2.... |
[
{
"role": "user",
"content": "Write Python code that implements hr_timesheet_invoice_report.py from npiganeau/odoo (path: addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py)."
},
{
"role": "assistant",
"content": "# addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py... |
[
{
"role": "user",
"content": "Write Python code that implements mailmail.py from tzewangdorje/SIPserv (path: Twisted-13.1.0/twisted/mail/scripts/mailmail.py)."
},
{
"role": "assistant",
"content": "# Twisted-13.1.0/twisted/mail/scripts/mailmail.py (from tzewangdorje/SIPserv, license: gpl-3.0)\n\... |
[
{
"role": "user",
"content": "Write Python code that implements rbm.py from jblackburne/scikit-learn (path: sklearn/neural_network/rbm.py)."
},
{
"role": "assistant",
"content": "# sklearn/neural_network/rbm.py (from jblackburne/scikit-learn, license: bsd-3-clause)\n\n\"\"\"Restricted Boltzmann ... |
[
{
"role": "user",
"content": "Write Python code that implements task.py from tschmorleiz/amcat (path: api/rest/viewsets/task.py)."
},
{
"role": "assistant",
"content": "# api/rest/viewsets/task.py (from tschmorleiz/amcat, license: agpl-3.0)\n\n####################################################... |
[
{
"role": "user",
"content": "Write Python code that implements piratestreaming.py from dentaku65/plugin.video.sod (path: channels/piratestreaming.py)."
},
{
"role": "assistant",
"content": "# channels/piratestreaming.py (from dentaku65/plugin.video.sod, license: gpl-3.0)\n\n# -*- coding: utf-8 ... |
[
{
"role": "user",
"content": "Write Python code that implements cleanup_all_local.py from LREN-CHUV/data-factory-airflow-dags (path: reorganisation_steps/cleanup_all_local.py)."
},
{
"role": "assistant",
"content": "# reorganisation_steps/cleanup_all_local.py (from LREN-CHUV/data-factory-airflow... |
[
{
"role": "user",
"content": "Write Python code that implements test_find_packages.py from danielvdao/facebookMacBot (path: venv/lib/python2.7/site-packages/setuptools/tests/test_find_packages.py)."
},
{
"role": "assistant",
"content": "# venv/lib/python2.7/site-packages/setuptools/tests/test_fi... |
[
{
"role": "user",
"content": "Write Python code that implements temperature_converter.py from ozturkemre/programming-challanges (path: 02-temperature_converter/temperature_converter.py)."
},
{
"role": "assistant",
"content": "# 02-temperature_converter/temperature_converter.py (from ozturkemre/p... |
[
{
"role": "user",
"content": "Write Python code that implements _plugin_wrapping.py from ipylypiv/grpc (path: src/python/grpcio/grpc/_plugin_wrapping.py)."
},
{
"role": "assistant",
"content": "# src/python/grpcio/grpc/_plugin_wrapping.py (from ipylypiv/grpc, license: bsd-3-clause)\n\n# Copyrigh... |
[
{
"role": "user",
"content": "Write Python code that implements check.py from bobcyw/django (path: django/core/management/commands/check.py)."
},
{
"role": "assistant",
"content": "# django/core/management/commands/check.py (from bobcyw/django, license: bsd-3-clause)\n\n# -*- coding: utf-8 -*-\n... |
[
{
"role": "user",
"content": "Write Python code that implements get-sizes.py from ldbc/ldbc_snb_datagen (path: tools/get-sizes.py)."
},
{
"role": "assistant",
"content": "# tools/get-sizes.py (from ldbc/ldbc_snb_datagen, license: gpl-3.0)\n\n#!/usr/bin/env python3\n\nimport argparse\nimport os\n... |
[
{
"role": "user",
"content": "Write Python code that implements bipdersig-p2p.py from energicryptocurrency/energi (path: qa/rpc-tests/bipdersig-p2p.py)."
},
{
"role": "assistant",
"content": "# qa/rpc-tests/bipdersig-p2p.py (from energicryptocurrency/energi, license: mit)\n\n#!/usr/bin/env pytho... |
[
{
"role": "user",
"content": "Write Python code that implements test_cmd_line.py from fidomason/kbengine (path: kbe/src/lib/python/Lib/test/test_cmd_line.py)."
},
{
"role": "assistant",
"content": "# kbe/src/lib/python/Lib/test/test_cmd_line.py (from fidomason/kbengine, license: lgpl-3.0)\n\n# T... |
[
{
"role": "user",
"content": "Write Python code that implements probe.py from CalvinHsu1223/LinuxCNC-HAL-EtherCAT-Driver-with-ILC (path: configs/gladevcp/probe/probe.py)."
},
{
"role": "assistant",
"content": "# configs/gladevcp/probe/probe.py (from CalvinHsu1223/LinuxCNC-HAL-EtherCAT-Driver-wit... |
[
{
"role": "user",
"content": "Write Python code that implements type_check.py from brianlsharp/MissionPlanner (path: Lib/site-packages/numpy/lib/type_check.py)."
},
{
"role": "assistant",
"content": "# Lib/site-packages/numpy/lib/type_check.py (from brianlsharp/MissionPlanner, license: gpl-3.0)\... |
[
{
"role": "user",
"content": "Write Python code that implements test_base.py from trolldbois/python-haystack (path: test/haystack/mappings/test_base.py)."
},
{
"role": "assistant",
"content": "# test/haystack/mappings/test_base.py (from trolldbois/python-haystack, license: gpl-3.0)\n\n#!/usr/bin... |
[
{
"role": "user",
"content": "Write Python code that implements db_fixture.py from coecms/ARCCSSive (path: tests/CMIP5/db_fixture.py)."
},
{
"role": "assistant",
"content": "# tests/CMIP5/db_fixture.py (from coecms/ARCCSSive, license: apache-2.0)\n\n#!/usr/bin/env python\n\"\"\"\nfile: tests/C... |
[
{
"role": "user",
"content": "Write Python code that implements base_import_language.py from jusdng/odoo (path: openerp/addons/base/module/wizard/base_import_language.py)."
},
{
"role": "assistant",
"content": "# openerp/addons/base/module/wizard/base_import_language.py (from jusdng/odoo, licens... |
[
{
"role": "user",
"content": "Write Python code that implements uninstall.py from EnviroCentre/jython-upgrade (path: jython/lib/site-packages/pip/commands/uninstall.py)."
},
{
"role": "assistant",
"content": "# jython/lib/site-packages/pip/commands/uninstall.py (from EnviroCentre/jython-upgrade,... |
[
{
"role": "user",
"content": "Write Python code that implements test_volume_replication.py from scality/cinder (path: cinder/tests/unit/api/contrib/test_volume_replication.py)."
},
{
"role": "assistant",
"content": "# cinder/tests/unit/api/contrib/test_volume_replication.py (from scality/cinder,... |
[
{
"role": "user",
"content": "Write Python code that implements iptables.py from emonty/ansible (path: lib/ansible/modules/system/iptables.py)."
},
{
"role": "assistant",
"content": "# lib/ansible/modules/system/iptables.py (from emonty/ansible, license: gpl-3.0)\n\n#!/usr/bin/python\n# -*- codi... |
[
{
"role": "user",
"content": "Write Python code that implements test_file_parser.py from bratatidas9/Impala-1 (path: tests/unittests/test_file_parser.py)."
},
{
"role": "assistant",
"content": "# tests/unittests/test_file_parser.py (from bratatidas9/Impala-1, license: apache-2.0)\n\n# Copyright ... |
[
{
"role": "user",
"content": "Write Python code that implements middleware.py from TheoChevalier/bedrock (path: bedrock/mozorg/middleware.py)."
},
{
"role": "assistant",
"content": "# bedrock/mozorg/middleware.py (from TheoChevalier/bedrock, license: mpl-2.0)\n\n# This Source Code Form is subjec... |
[
{
"role": "user",
"content": "Write Python code that implements comments_helper_googleplus.tmpl.py from wcmckee/moejobs-site (path: cache/.mako.tmp/comments_helper_googleplus.tmpl.py)."
},
{
"role": "assistant",
"content": "# cache/.mako.tmp/comments_helper_googleplus.tmpl.py (from wcmckee/moejo... |
[
{
"role": "user",
"content": "Write Python code that implements oeditor.py from sesamesushi/desatisrevu (path: modules/oeditor/oeditor.py)."
},
{
"role": "assistant",
"content": "# modules/oeditor/oeditor.py (from sesamesushi/desatisrevu, license: apache-2.0)\n\n# Copyright 2012 Google Inc. All ... |
[
{
"role": "user",
"content": "Write Python code that implements conftest.py from muffinresearch/olympia (path: conftest.py)."
},
{
"role": "assistant",
"content": "# conftest.py (from muffinresearch/olympia, license: bsd-3-clause)\n\nfrom django import http, test\nfrom django.conf import setting... |
[
{
"role": "user",
"content": "Write Python code that implements scanner.py from m039/Void (path: third-party/void-boost/tools/build/src/build/scanner.py)."
},
{
"role": "assistant",
"content": "# third-party/void-boost/tools/build/src/build/scanner.py (from m039/Void, license: mit)\n\n# Status: ... |
[
{
"role": "user",
"content": "Write Python code that implements tests.py from tellesnobrega/horizon (path: openstack_dashboard/dashboards/project/access_and_security/security_groups/tests.py)."
},
{
"role": "assistant",
"content": "# openstack_dashboard/dashboards/project/access_and_security/sec... |
[
{
"role": "user",
"content": "Write Python code that implements circFilter.py from dieterich-lab/DCC (path: DCC/circFilter.py)."
},
{
"role": "assistant",
"content": "# DCC/circFilter.py (from dieterich-lab/DCC, license: gpl-3.0)\n\nimport numpy as np\nimport os\nimport sys\n\nimport HTSeq\n\nfr... |
[
{
"role": "user",
"content": "Write Python code that implements chromiumsync.py from gx1997/chrome-loongson (path: net/tools/testserver/chromiumsync.py)."
},
{
"role": "assistant",
"content": "# net/tools/testserver/chromiumsync.py (from gx1997/chrome-loongson, license: bsd-3-clause)\n\n# Copyri... |
[
{
"role": "user",
"content": "Write Python code that implements build_fixtures.py from ncf-ds/chloroform (path: samples/build_fixtures.py)."
},
{
"role": "assistant",
"content": "# samples/build_fixtures.py (from ncf-ds/chloroform, license: agpl-3.0)\n\nimport os\nimport sys\nsys.path.append(os.... |
[
{
"role": "user",
"content": "Write Python code that implements f2py2e.py from JFriel/honours_project (path: venv/lib/python2.7/site-packages/numpy/f2py/f2py2e.py)."
},
{
"role": "assistant",
"content": "# venv/lib/python2.7/site-packages/numpy/f2py/f2py2e.py (from JFriel/honours_project, licens... |
[
{
"role": "user",
"content": "Write Python code that implements test_lower.py from hackerbot/DjangoDev (path: tests/template_tests/filter_tests/test_lower.py)."
},
{
"role": "assistant",
"content": "# tests/template_tests/filter_tests/test_lower.py (from hackerbot/DjangoDev, license: bsd-3-claus... |
[
{
"role": "user",
"content": "Write Python code that implements build_autodoc_files.py from prasen-ftech/pywinauto (path: doc_src/build_autodoc_files.py)."
},
{
"role": "assistant",
"content": "# doc_src/build_autodoc_files.py (from prasen-ftech/pywinauto, license: lgpl-2.1)\n\n\"Build up the sp... |
[
{
"role": "user",
"content": "Write Python code that implements rootisolation.py from yukoba/sympy (path: sympy/polys/rootisolation.py)."
},
{
"role": "assistant",
"content": "# sympy/polys/rootisolation.py (from yukoba/sympy, license: bsd-3-clause)\n\n\"\"\"Real and complex root isolation and r... |
[
{
"role": "user",
"content": "Write Python code that implements NESTServerClient.py from nest/nest-simulator (path: examples/NESTServerClient/NESTServerClient.py)."
},
{
"role": "assistant",
"content": "# examples/NESTServerClient/NESTServerClient.py (from nest/nest-simulator, license: gpl-2.0)\... |
[
{
"role": "user",
"content": "Write Python code that implements MSVSUserFile.py from swampbotics/new.swampbotics.org (path: node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py)."
},
{
"role": "assistant",
"content": "# node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py (from swampbotics/new.swa... |
[
{
"role": "user",
"content": "Write Python code that implements gen_gtest_pred_impl.py from peer-node/flex (path: test/lib/googletest/scripts/gen_gtest_pred_impl.py)."
},
{
"role": "assistant",
"content": "# test/lib/googletest/scripts/gen_gtest_pred_impl.py (from peer-node/flex, license: agpl-3... |
[
{
"role": "user",
"content": "Write Python code that implements views_urls.py from zsjohny/jumpserver (path: apps/perms/urls/views_urls.py)."
},
{
"role": "assistant",
"content": "# apps/perms/urls/views_urls.py (from zsjohny/jumpserver, license: gpl-2.0)\n\n# coding:utf-8\n\nfrom django.conf.ur... |
[
{
"role": "user",
"content": "Write Python code that implements submit_proposals_for_approval.py from cctaylor/googleads-python-lib (path: examples/dfp/v201505/proposal_service/submit_proposals_for_approval.py)."
},
{
"role": "assistant",
"content": "# examples/dfp/v201505/proposal_service/submi... |
[
{
"role": "user",
"content": "Write Python code that implements html_parse.py from wtanaka/google-app-engine-django-openid (path: src/openid/consumer/html_parse.py)."
},
{
"role": "assistant",
"content": "# src/openid/consumer/html_parse.py (from wtanaka/google-app-engine-django-openid, license:... |
[
{
"role": "user",
"content": "Write Python code that implements scripts.py from davidharvey1986/pyRRG (path: unittests/bugFixPyRRG/lib/python3.7/site-packages/pip/_vendor/distlib/scripts.py)."
},
{
"role": "assistant",
"content": "# unittests/bugFixPyRRG/lib/python3.7/site-packages/pip/_vendor/d... |
[
{
"role": "user",
"content": "Write Python code that implements lm_prediction.py from chengdezhi/language_model_for_typing (path: lm_prediction.py)."
},
{
"role": "assistant",
"content": "# lm_prediction.py (from chengdezhi/language_model_for_typing, license: mit)\n\nimport datrie \nfrom data_ut... |
[
{
"role": "user",
"content": "Write Python code that implements softplus.py from alsrgv/tensorflow (path: tensorflow/contrib/distributions/python/ops/bijectors/softplus.py)."
},
{
"role": "assistant",
"content": "# tensorflow/contrib/distributions/python/ops/bijectors/softplus.py (from alsrgv/te... |
[
{
"role": "user",
"content": "Write Python code that implements ctth_quicklooks.py from adybbroe/mesan_compositer (path: mesan_compositer/ctth_quicklooks.py)."
},
{
"role": "assistant",
"content": "# mesan_compositer/ctth_quicklooks.py (from adybbroe/mesan_compositer, license: gpl-3.0)\n\n#!/usr... |
[
{
"role": "user",
"content": "Write Python code that implements explorer.py from rueckstiess/dopamine (path: adapters/explorers/explorer.py)."
},
{
"role": "assistant",
"content": "# adapters/explorers/explorer.py (from rueckstiess/dopamine, license: gpl-3.0)\n\nfrom dopamine.adapters import Ada... |
[
{
"role": "user",
"content": "Write Python code that implements servo.py from szeged/servo (path: tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/servo.py)."
},
{
"role": "assistant",
"content": "# tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/servo.py (from sze... |
[
{
"role": "user",
"content": "Write Python code that implements jni_generator.py from hujiajie/pa-chromium (path: base/android/jni_generator/jni_generator.py)."
},
{
"role": "assistant",
"content": "# base/android/jni_generator/jni_generator.py (from hujiajie/pa-chromium, license: bsd-3-clause)\... |
[
{
"role": "user",
"content": "Write Python code that implements symcomp.py from BhallaLab/moose-examples (path: symcomp/symcomp.py)."
},
{
"role": "assistant",
"content": "# symcomp/symcomp.py (from BhallaLab/moose-examples, license: gpl-2.0)\n\n# symcompartment.py --- \n# \n# Filename: symcompa... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from ojengwa/talk (path: venv/lib/python2.7/site-packages/django/db/models/__init__.py)."
},
{
"role": "assistant",
"content": "# venv/lib/python2.7/site-packages/django/db/models/__init__.py (from ojengwa/talk, license:... |
[
{
"role": "user",
"content": "Write Python code that implements base.py from sznekol/django-cms (path: cms/management/commands/subcommands/base.py)."
},
{
"role": "assistant",
"content": "# cms/management/commands/subcommands/base.py (from sznekol/django-cms, license: bsd-3-clause)\n\n# -*- codi... |
[
{
"role": "user",
"content": "Write Python code that implements app.py from henrykironde/weaverhenry (path: app/app.py)."
},
{
"role": "assistant",
"content": "# app/app.py (from henrykironde/weaverhenry, license: mit)\n\nimport wx\n\nclass Frame(wx.Frame):\n def __init__(self, parent, id, ti... |
[
{
"role": "user",
"content": "Write Python code that implements window_test.py from dhalperi/beam (path: sdks/python/apache_beam/transforms/window_test.py)."
},
{
"role": "assistant",
"content": "# sdks/python/apache_beam/transforms/window_test.py (from dhalperi/beam, license: apache-2.0)\n\n#\n... |
[
{
"role": "user",
"content": "Write Python code that implements urls.py from 827992983/yue (path: yue/urls.py)."
},
{
"role": "assistant",
"content": "# yue/urls.py (from 827992983/yue, license: gpl-3.0)\n\n\"\"\"yue URL Configuration\n\nThe `urlpatterns` list routes URLs to views. For more info... |
[
{
"role": "user",
"content": "Write Python code that implements gae_transaction_services.py from dippatel1994/oppia (path: core/platform/transactions/gae_transaction_services.py)."
},
{
"role": "assistant",
"content": "# core/platform/transactions/gae_transaction_services.py (from dippatel1994/o... |
[
{
"role": "user",
"content": "Write Python code that implements mbr.py from FlorentChamault/My_sickbeard (path: lib/hachoir_parser/file_system/mbr.py)."
},
{
"role": "assistant",
"content": "# lib/hachoir_parser/file_system/mbr.py (from FlorentChamault/My_sickbeard, license: gpl-3.0)\n\n\"\"\"\n... |
[
{
"role": "user",
"content": "Write Python code that implements erlang.py from testmana2/test (path: ThirdParty/Pygments/pygments/lexers/erlang.py)."
},
{
"role": "assistant",
"content": "# ThirdParty/Pygments/pygments/lexers/erlang.py (from testmana2/test, license: gpl-3.0)\n\n# -*- coding: utf... |
[
{
"role": "user",
"content": "Write Python code that implements six.py from Arcanemagus/SickRage (path: lib/six.py)."
},
{
"role": "assistant",
"content": "# lib/six.py (from Arcanemagus/SickRage, license: gpl-3.0)\n\n# Copyright (c) 2010-2017 Benjamin Peterson\n#\n# Permission is hereby granted... |
[
{
"role": "user",
"content": "Write Python code that implements MainWindow.py from LePastis/pyload (path: module/gui/MainWindow.py)."
},
{
"role": "assistant",
"content": "# module/gui/MainWindow.py (from LePastis/pyload, license: gpl-3.0)\n\n# -*- coding: utf-8 -*-\n\"\"\"\n This program is ... |
[
{
"role": "user",
"content": "Write Python code that implements unitofwork.py from dfalt974/SickRage (path: lib/sqlalchemy/orm/unitofwork.py)."
},
{
"role": "assistant",
"content": "# lib/sqlalchemy/orm/unitofwork.py (from dfalt974/SickRage, license: gpl-3.0)\n\n# orm/unitofwork.py\n# Copyright ... |
[
{
"role": "user",
"content": "Write Python code that implements parsing_ops.py from sandeepgupta2k4/tensorflow (path: tensorflow/python/ops/parsing_ops.py)."
},
{
"role": "assistant",
"content": "# tensorflow/python/ops/parsing_ops.py (from sandeepgupta2k4/tensorflow, license: apache-2.0)\n\n# C... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from abonil91/ncanda-data-integration (path: scripts/redcap/scoring/ctq/__init__.py)."
},
{
"role": "assistant",
"content": "# scripts/redcap/scoring/ctq/__init__.py (from abonil91/ncanda-data-integration, license: bsd-3... |
[
{
"role": "user",
"content": "Write Python code that implements account_rights.py from Simran-B/arangodb (path: 3rdParty/V8-4.3.61/third_party/python_26/Lib/site-packages/win32/Demos/security/account_rights.py)."
},
{
"role": "assistant",
"content": "# 3rdParty/V8-4.3.61/third_party/python_26/Li... |
[
{
"role": "user",
"content": "Write Python code that implements mqtt_sender.py from deklungel/iRulez (path: src/dimmer/mqtt_sender.py)."
},
{
"role": "assistant",
"content": "# src/dimmer/mqtt_sender.py (from deklungel/iRulez, license: mit)\n\nimport src.irulez.util as util\nimport src.irulez.to... |
[
{
"role": "user",
"content": "Write Python code that implements clean.py from dandan94/OpenGLTest (path: finalOpenGL/HelloGLFW/lib/boost_1_59_0/tools/build/test/clean.py)."
},
{
"role": "assistant",
"content": "# finalOpenGL/HelloGLFW/lib/boost_1_59_0/tools/build/test/clean.py (from dandan94/Ope... |
[
{
"role": "user",
"content": "Write Python code that implements preferencesDialog.py from master2be1/pychess (path: lib/pychess/widgets/preferencesDialog.py)."
},
{
"role": "assistant",
"content": "# lib/pychess/widgets/preferencesDialog.py (from master2be1/pychess, license: gpl-3.0)\n\nfrom __f... |
[
{
"role": "user",
"content": "Write Python code that implements 03-publish-c2b-qos2.py from telefonicaid/fiware-IoTAgent-Cplusplus (path: third_party/mosquitto-1.4.4/test/lib/03-publish-c2b-qos2.py)."
},
{
"role": "assistant",
"content": "# third_party/mosquitto-1.4.4/test/lib/03-publish-c2b-qos... |
[
{
"role": "user",
"content": "Write Python code that implements interleave_test.py from alsrgv/tensorflow (path: tensorflow/python/data/kernel_tests/interleave_test.py)."
},
{
"role": "assistant",
"content": "# tensorflow/python/data/kernel_tests/interleave_test.py (from alsrgv/tensorflow, licen... |
[
{
"role": "user",
"content": "Write Python code that implements compare_id_sets.py from Neurita/boyle (path: scripts/compare_id_sets.py)."
},
{
"role": "assistant",
"content": "# scripts/compare_id_sets.py (from Neurita/boyle, license: bsd-3-clause)\n\n#!/usr/bin/env python\n\n#TODO\n#Transform ... |
[
{
"role": "user",
"content": "Write Python code that implements package_managers.py from foursquare/pants (path: contrib/node/src/python/pants/contrib/node/subsystems/package_managers.py)."
},
{
"role": "assistant",
"content": "# contrib/node/src/python/pants/contrib/node/subsystems/package_mana... |
[
{
"role": "user",
"content": "Write Python code that implements conf.py from dictoon/blenderseed (path: docs/conf.py)."
},
{
"role": "assistant",
"content": "# docs/conf.py (from dictoon/blenderseed, license: mit)\n\n# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation b... |
[
{
"role": "user",
"content": "Write Python code that implements test_implements.py from jimberlage/servo (path: components/script/dom/bindings/codegen/parser/tests/test_implements.py)."
},
{
"role": "assistant",
"content": "# components/script/dom/bindings/codegen/parser/tests/test_implements.py... |
[
{
"role": "user",
"content": "Write Python code that implements exceptions.py from triveous/LearnFlask (path: flask/lib/python2.7/site-packages/pip/_vendor/requests/exceptions.py)."
},
{
"role": "assistant",
"content": "# flask/lib/python2.7/site-packages/pip/_vendor/requests/exceptions.py (from... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.