id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/CS207-Final-Project-Group-10/cs207-FinalProject/simulate_leapfrog | LDU_FT | [
"<BEGIN>\n## `configuration_ES`",
"Get the positions and velocities of the earth and sun from date t0 to t1.\n Returned as a tuple q, v\n q: Nx3 array of positions (x, y, z) in the J2000.0 coordinate frame.\n<END>",
"<BEGIN>\n## `plot_ES`",
"Plot the earth-sun orbits.\n q is a Tx6 array. T indexes t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate_leapfrog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate_leapfrog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Simulate the earth-sun system from t0 to t1 using Leapfrog Integration.
INPUTS:
config_func: function taking a date or date range and returning position and velocity of bodies
accel_func: function taking positions of the bodies and returning their accelerations
t0: start date of the simulation; a pytho... | "Simulate the earth-sun system from t0 to t1 using Leapfrog Integration.\n INPUTS:\n config_func: function taking a date or date range and returning position and velocity of bodies\n accel_func: function taking positions of the bodies and returning their accelerations\n t0: start date of the simulation; a ... | 92 | false | CS207-Final-Project-Group-10/cs207-FinalProject | simulate_leapfrog | 39,973 | |
LDU_FT/larryng/narwal/search | LDU_FT | [
"<BEGIN>\n## `get`",
"Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Use reddit's search function. Returns :class:`things.Listing` object.
URL: ``http://www.reddit.com/search/?q=<query>&limit=<limit>``
:param query: query string
:param limit: max number of results to get | "Use reddit's search function. Returns :class:`things.Listing` object.\n \n URL: ``http://www.reddit.com/search/?q=<query>&limit=<limit>``\n \n :param query: query string\n :param limit: max number of results to get" | 147 | false | larryng/narwal | search | 39,974 | |
LDU_FT/nats-io/asyncio-nats-streaming/close | LDU_FT | [
"<BEGIN>\n## `connect`",
"Starts a session with a NATS Streaming cluster.",
" :param cluster: Name of the cluster to which we will connect.\n :param nats: NATS connection to be borrowed for NATS Streaming.\n<END>",
"<BEGIN>\n## `_process_ack`",
"Receives acks from the publishes via the _STAN.a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Close terminates a session with NATS Streaming. | "Close terminates a session with NATS Streaming." | 31 | false | nats-io/asyncio-nats-streaming | close | 39,975 | |
LDU_FT/mozilla/taar/configure_plugin | LDU_FT | [
"<BEGIN>\n## `flaskrun`",
"Takes a flask.Flask instance and runs it. Parses\n command-line flags to configure the app.\n<END>",
"<BEGIN>\n## `get_randomized_guid_sample`",
"Fetch a subset of randomzied GUIDs from the whitelist\n<END>",
"<BEGIN>\n## `can_recommend`",
"The Curated recommender will always... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | This is a factory function that configures all the routes for
flask given a particular library. | "This is a factory function that configures all the routes for\n flask given a particular library." | 45 | false | mozilla/taar | configure_plugin | 39,976 | |
LDU_FT/jquast/wcwidth/_do_readme_update | LDU_FT | [
"<BEGIN>\n## `_do_readme_update`",
"Patch README.rst to reflect the data files used in release.\n<END>",
"<BEGIN>\n## `_make_table`",
"Return a tuple of lookup tables for given values.\n<END>",
"<BEGIN>\n## `_do_retrieve`",
"Retrieve given url to target filepath fname.\n<END>",
"<BEGIN>\n## `_do_write`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_readme_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_readme_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Patch README.rst to reflect the data files used in release. | "Patch README.rst to reflect the data files used in release." | 60 | false | jquast/wcwidth | _do_readme_update | 39,977 | |
LDU_FT/BD2KGenomics/toil-scripts/download_and_transfer_sample | LDU_FT | [
"<BEGIN>\n## `kmer_dag`",
"Optionally launches a Spark cluster and then runs ADAM to count k-mers on an\n input file.",
" :param job: Toil job\n :param input_file: URL/path to input file to count k-mers on\n :param output_path: URL/path to save k-mer counts at\n :param kmer_length: The length of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_and_transfer_sample API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_and_transfer_sample API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Downloads a sample from dbGaP via SRAToolKit, then uses S3AM to transfer it to S3
input_args: dict Dictionary of input arguments
analysis_id: str An analysis ID for a sample in CGHub | "Downloads a sample from dbGaP via SRAToolKit, then uses S3AM to transfer it to S3\n\n input_args: dict Dictionary of input arguments\n analysis_id: str An analysis ID for a sample in CGHub" | 278 | false | BD2KGenomics/toil-scripts | download_and_transfer_sample | 39,978 | |
LDU_FT/mezz64/pyEight/last_room_temp | LDU_FT | [
"<BEGIN>\n## `fetch_userid`",
"Return the userid for the specified bed side.\n<END>",
"<BEGIN>\n## `room_temperature`",
"Return room temperature for both sides of bed.\n<END>",
"<BEGIN>\n## `heating_values`",
"Return a dict of all the current heating values.\n<END>",
"<BEGIN>\n## `current_sleep_stage`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_room_temp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_room_temp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return avg room temperature for last session. | "Return avg room temperature for last session." | 37 | false | mezz64/pyEight | last_room_temp | 39,979 | |
LDU_FT/Clarify/clarify_python/process_embed | LDU_FT | [
"<BEGIN>\n## `process_embed`",
"Returns an embed field value based on the parameters.\n<END>",
"<BEGIN>\n## `process_embed_override`",
"Returns an embed field value based on the parameters.\n<END>",
"<BEGIN>\n## `get_embedded_items`",
"Given a result_collection (returned by a previous API call that\n r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_embed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_embed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns an embed field value based on the parameters. | "Returns an embed field value based on the parameters." | 137 | false | Clarify/clarify_python | process_embed | 39,980 | |
LDU_FT/cds-astro/mocpy/plot | LDU_FT | [
"<BEGIN>\n## `max_order`",
"Depth of the smallest HEALPix cells found in the MOC instance.\n<END>",
"<BEGIN>\n## `intersection`",
"Intersection between the MOC instance and other MOCs.",
" Parameters\n ----------\n another_moc : `~mocpy.moc.MOC`\n The MOC used for performing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Plot the MOC object using a mollweide projection.
**Deprecated**: New `fill` and `border` methods produce more reliable results and allow you to specify additional
matplotlib style parameters.
Parameters
----------
title : str
The title of the plot
frame : ... | "Plot the MOC object using a mollweide projection.\n\n **Deprecated**: New `fill` and `border` methods produce more reliable results and allow you to specify additional \n matplotlib style parameters.\n\n Parameters\n ----------\n title : str\n The title of the plot\n ... | 210 | false | cds-astro/mocpy | plot | 39,981 | |
LDU_FT/dask/dask-kubernetes/pods | LDU_FT | [
"<BEGIN>\n## `_set_k8s_attribute`",
"Set a specific value on a kubernetes object's attribute",
" obj\n an object from Kubernetes Python API client\n attribute\n Should be a Kubernetes API style attribute (with camelCase)\n value\n Can be anything (string, list, dict, k8s objects) t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | A list of kubernetes pods corresponding to current workers
See Also
--------
KubeCluster.logs | "A list of kubernetes pods corresponding to current workers\n\n See Also\n --------\n KubeCluster.logs" | 55 | false | dask/dask-kubernetes | pods | 39,982 | |
LDU_FT/koriakin/binflakes/finish | LDU_FT | [
"<BEGIN>\n## `to_sint`",
"Converts the word to a BinInt, treating it as a signed number.\n<END>",
"<BEGIN>\n## `sar`",
"Performs an arithmetic right-shift of a BinWord by the given number\n of bits. Bits shifted out of the word are lost. The word is\n filled on the left with copies of the top ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Ensures the reader is in clean state (no unclosed S-expression
is currently being parsed). Should be called after the last
``feed_line``. | "Ensures the reader is in clean state (no unclosed S-expression\n is currently being parsed). Should be called after the last\n ``feed_line``." | 59 | false | koriakin/binflakes | finish | 39,983 | |
LDU_FT/markuskiller/textblob-de/anchor_id | LDU_FT | [
"<BEGIN>\n## `definite_article`",
"Returns the definite article (der/die/das/die) for a given word.\n<END>",
"<BEGIN>\n## `indefinite_article`",
"Returns the indefinite article (ein) for a given word.\n<END>",
"<BEGIN>\n## `article`",
"Returns the indefinite (ein) or definite (der/die/das/die) article for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the anchor_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the anchor_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Yields the anchor tag as parsed from the original token.
Chunks that are anchors have a tag with an "A" prefix (e.g., "A1").
Chunks that are PNP attachmens (or chunks inside a PNP) have "P" (e.g., "P1").
Chunks inside a PNP can be both anchor and attachment (e.g., "P1-A2"),
... | "Yields the anchor tag as parsed from the original token.\n Chunks that are anchors have a tag with an \"A\" prefix (e.g., \"A1\").\n Chunks that are PNP attachmens (or chunks inside a PNP) have \"P\" (e.g., \"P1\").\n Chunks inside a PNP can be both anchor and attachment (e.g., \"P1-A2... | 407 | false | markuskiller/textblob-de | anchor_id | 39,984 | |
LDU_FT/jut-io/jut-python-tools/get_deployments | LDU_FT | [
"<BEGIN>\n## `_print_jobs`",
"internal method to print the provided jobs array in a nice tabular\n format\n<END>",
"<BEGIN>\n## `debug`",
"debug output goes to stderr so you can still redirect the stdout to a file\n or another program. Controlled by the JUT_DEBUG environment variable being\n present\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_deployments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_deployments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | return the list of deployments that the current access_token gives you
access to | "return the list of deployments that the current access_token gives you\n access to" | 72 | false | jut-io/jut-python-tools | get_deployments | 39,985 | |
LDU_FT/twosigma/marbles/assertDateTimesFuture | LDU_FT | [
"<BEGIN>\n## `get_stack_info`",
"Capture locals, module name, filename, and line number from the\n stacktrace to provide the source of the assertion error and\n formatted note.\n<END>",
"<BEGIN>\n## `assertBetween`",
"Fail if ``obj`` is not between ``lower`` and ``upper``.",
" If ``strict=True`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assertDateTimesFuture API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assertDateTimesFuture API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Fail if any elements in ``sequence`` are not in the future.
If the min element is a datetime, "future" is defined as
anything after ``datetime.now()``; if the min element is a date,
"future" is defined as anything after ``date.today()``.
If ``strict=True``, fail unless all elements in ... | "Fail if any elements in ``sequence`` are not in the future.\n\n If the min element is a datetime, \"future\" is defined as\n anything after ``datetime.now()``; if the min element is a date,\n \"future\" is defined as anything after ``date.today()``.\n\n If ``strict=True``, fail unless all e... | 199 | false | twosigma/marbles | assertDateTimesFuture | 39,986 | |
LDU_FT/steffann/pylisp/sanitize | LDU_FT | [
"<BEGIN>\n## `from_bytes`",
"Look at the type of the message, instantiate the correct class and\n let it parse the message.\n<END>",
"<BEGIN>\n## `sanitize`",
"Check if the current settings conform to the LISP specifications and\n fix them where possible.\n<END>",
"<BEGIN>\n## `calculate_authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Check if the current settings conform to the LISP specifications and
fix where possible. | "Check if the current settings conform to the LISP specifications and\n fix where possible." | 85 | false | steffann/pylisp | sanitize | 39,987 | |
LDU_FT/awslabs/aws-sam-cli/_get_aws_variables | LDU_FT | [
"<BEGIN>\n## `invoke_common_options`",
"Common CLI options shared by \"local invoke\" and \"local start-api\" commands",
" :param f: Callback passed by Click\n<END>",
"<BEGIN>\n## `get_or_default_template_file_name`",
"Default value for the template file name option is more complex than what Click can ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_aws_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_aws_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the AWS specific environment variables that should be available in the Lambda runtime.
They are prefixed it "AWS_*".
:return dict: Name and value of AWS environment variable | "Returns the AWS specific environment variables that should be available in the Lambda runtime.\n They are prefixed it \"AWS_*\".\n\n :return dict: Name and value of AWS environment variable" | 708 | false | awslabs/aws-sam-cli | _get_aws_variables | 39,988 | |
LDU_FT/serge-sans-paille/pythran/cxx_loop | LDU_FT | [
"<BEGIN>\n## `check_specs`",
"Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>",
"<BEGIN>\n## `check_exports`",
"Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>",
"<BEGIN>\n## `visit_Import`",
"Check if i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cxx_loop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cxx_loop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Decorator for loop node (For and While) to handle "else" branching.
Decorated node will save flags for a goto statement used instead of usual
break and add this flag at the end of the else statements.
Examples
--------
>> for i in xrange(12):
>> if i == 5:
>> break
>> else:... | "Decorator for loop node (For and While) to handle \"else\" branching.\n\n Decorated node will save flags for a goto statement used instead of usual\n break and add this flag at the end of the else statements.\n\n Examples\n --------\n >> for i in xrange(12):\n >> if i == 5:\n >> break\... | 547 | false | serge-sans-paille/pythran | cxx_loop | 39,989 | |
LDU_FT/openwisp/django-freeradius/get_redirect_url | LDU_FT | [
"<BEGIN>\n## `set_default`",
"ensures there's only 1 default group\n (logic overridable via custom models)\n<END>",
"<BEGIN>\n## `get_default_queryset`",
"looks for default groups excluding the current one\n overridable by openwisp-radius and other 3rd party apps\n<END>",
"<BEGIN>\n## `authent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_redirect_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_redirect_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | refreshes token and returns the captive page URL | "refreshes token and returns the captive page URL" | 24 | false | openwisp/django-freeradius | get_redirect_url | 39,990 | |
LDU_FT/brunobord/meuhdb/keys_to_values | LDU_FT | [
"<BEGIN>\n## `autocommit`",
"A decorator to commit to the storage if autocommit is set to True.\n<END>",
"<BEGIN>\n## `intersect`",
"Intersect dictionaries d1 and d2 by key *and* value.\n<END>",
"<BEGIN>\n## `insert`",
"Insert value in the keystore. Return the UUID key.\n<END>",
"<BEGIN>\n## `update`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keys_to_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keys_to_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return the items in the keystore with keys in `keys`. | "Return the items in the keystore with keys in `keys`." | 24 | false | brunobord/meuhdb | keys_to_values | 39,991 | |
LDU_FT/vlukes/dicom2fem/get_print_info | LDU_FT | [
"<BEGIN>\n## `find_map`",
"Find a mapping between common coordinates in x1 and x2, such that\n x1[cmap[:,0]] == x2[cmap[:,1]]\n<END>",
"<BEGIN>\n## `merge_mesh`",
"Merge two meshes in common coordinates found in x1, x2.\n<END>",
"<BEGIN>\n## `fix_double_nodes`",
"Detect and attempt fixing double nodes ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_print_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_print_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns the max. number of digits in range(n_step) and the corresponding
format string.
Examples:
>>> get_print_info(11)
(2, '%2d')
>>> get_print_info(8)
(1, '%1d')
>>> get_print_info(100)
(2, '%2d')
>>> get_print_info(101)
(3, '%3d')
>>> get_print_info(101, fill='0')
(... | "Returns the max. number of digits in range(n_step) and the corresponding\n format string.\n\n Examples:\n\n >>> get_print_info(11)\n (2, '%2d')\n >>> get_print_info(8)\n (1, '%1d')\n >>> get_print_info(100)\n (2, '%2d')\n >>> get_print_info(101)\n (3, '%3d')\n >>> get_print_info(101, f... | 142 | false | vlukes/dicom2fem | get_print_info | 39,992 | |
LDU_FT/spotify/ulogger/_set_worker_thread_level | LDU_FT | [
"<BEGIN>\n## `get_handler`",
"Helper function to create a Stackdriver handler.",
" See `ulogger.stackdriver.CloudLoggingHandlerBuilder` for arguments\n and supported keyword arguments.",
" Returns:\n (obj): Instance of `google.cloud.logging.handlers.\n CloudLoggingHa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_worker_thread_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_worker_thread_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Sets logging level of the background logging thread to DEBUG or INFO | "Sets logging level of the background logging thread to DEBUG or INFO" | 37 | false | spotify/ulogger | _set_worker_thread_level | 39,993 | |
LDU_FT/Cognexa/cxflow/after_batch | LDU_FT | [
"<BEGIN>\n## `_write_header`",
"Write CSV header row with column names.",
" Column names are inferred from the ``epoch_data`` and ``self.variables`` (if specified).\n Variables and streams expected later on are stored in ``self._variables`` and ``self._streams`` respectively.",
" :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_batch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Display the progress and ETA for the current stream in the epoch.
If the stream size (total batch count) is unknown (1st epoch), print only the number of processed batches. | "Display the progress and ETA for the current stream in the epoch.\n If the stream size (total batch count) is unknown (1st epoch), print only the number of processed batches." | 325 | false | Cognexa/cxflow | after_batch | 39,994 | |
LDU_FT/EconForge/dolo/gssa | LDU_FT | [
"<BEGIN>\n## `multidot_old`",
"Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gssa API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gssa API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Sketch of algorithm:
0. Choose levels for the initial states and the simulation length (n_sim)
1. Obtain an initial decision rule -- here using first order perturbation
2. Draw a sequence of innovations epsilon
3. Iterate on the following steps:
- Use the epsilons, initial states, and proposed ... | "Sketch of algorithm:\n\n 0. Choose levels for the initial states and the simulation length (n_sim)\n 1. Obtain an initial decision rule -- here using first order perturbation\n 2. Draw a sequence of innovations epsilon\n 3. Iterate on the following steps:\n - Use the epsilons, initial states, and pr... | 221 | false | EconForge/dolo | gssa | 39,995 | |
LDU_FT/mishan/twemredis-py/get_canonical_key_id | LDU_FT | [
"<BEGIN>\n## `_init_redis_shards`",
"init_redis_shards is used internally to connect to the Redis sentinels\n and populate self.shards with the redis.StrictRedis instances. This\n is a convenient method to override / stub out in unit tests.\n<END>",
"<BEGIN>\n## `get_shard_names`",
"get_shard_na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_canonical_key_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_canonical_key_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | get_canonical_key_id is used by get_canonical_key, see the comment
for that method for more explanation.
Keyword arguments:
key_id -- the key id (e.g. '12345')
returns the canonical key id (e.g. '12') | "get_canonical_key_id is used by get_canonical_key, see the comment\n for that method for more explanation.\n\n Keyword arguments:\n key_id -- the key id (e.g. '12345')\n\n returns the canonical key id (e.g. '12')" | 48 | false | mishan/twemredis-py | get_canonical_key_id | 39,996 | |
LDU_FT/redhat-cip/dci-control-server/retrieve_info | LDU_FT | [
"<BEGIN>\n## `get_user_and_check_auth`",
"Check the combination username/password that is valid on the\n database.\n<END>",
"<BEGIN>\n## `retrieve_info`",
"Query the Github API to retrieve the needed infos.\n<END>",
"<BEGIN>\n## `get_last_rconfiguration_id`",
"Get the rconfiguration_id of the last ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Query Bugzilla API to retrieve the needed infos. | "Query Bugzilla API to retrieve the needed infos." | 86 | false | redhat-cip/dci-control-server | retrieve_info | 39,997 | |
LDU_FT/casastorta/python-sar/__split_info | LDU_FT | [
"<BEGIN>\n## `load_file`",
"Loads SAR format logfile in ASCII format (sarXX).\n :return: ``True`` if loading and parsing of file went fine, \\\n ``False`` if it failed (at any point)\n<END>",
"<BEGIN>\n## `get_sar_info`",
"Returns parsed sar info\n :return: ``Dictionary``-styl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __split_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __split_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Splits info from SAR parts into logical stuff :-)
:param info_part: Part of SAR output we want to split into usable data
:param patternsname: ???
:param patterns: ???
:return: ``List``-style info from SAR files, now finally \
completely parsed into meaningful data for further... | "Splits info from SAR parts into logical stuff :-)\n :param info_part: Part of SAR output we want to split into usable data\n :param patternsname: ???\n :param patterns: ???\n :return: ``List``-style info from SAR files, now finally \\\n completely parsed into meaningful data for ... | 24 | false | casastorta/python-sar | __split_info | 39,998 | |
LDU_FT/Carbonara-Project/Guanciale/getpart | LDU_FT | [
"<BEGIN>\n## `idaunpack`",
"Special data packing format, used in struct definitions, and .id2 files\r",
" sdk functions: pack_dd etc.\n<END>",
"<BEGIN>\n## `binary_search`",
"Do a binary search in an array of objects ordered by '.key'\r",
" returns the largest index for which: a[i].key <= k\r",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getpart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getpart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a fileobject for the specified section.
This method optionally decompresses the data found in the .idb file,
and returns a file-like object, with seek, read, tell. | "Returns a fileobject for the specified section.\r\n\r\n This method optionally decompresses the data found in the .idb file,\r\n and returns a file-like object, with seek, read, tell." | 44 | false | Carbonara-Project/Guanciale | getpart | 39,999 | |
LDU_FT/mrstephenneal/dirutility/chdir | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect and login to an FTP server and return ftplib.FTP object.\n<END>",
"<BEGIN>\n## `get`",
"Download a remote file on the fto sever to a local directory.",
" :param remote: File path of remote source file\n :param local: Directory of local destination directory\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chdir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chdir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Change directories and optionally make the directory if it doesn't exist. | "Change directories and optionally make the directory if it doesn't exist." | 92 | false | mrstephenneal/dirutility | chdir | 40,000 | |
LDU_FT/tobgu/pyrsistent/maybe_parse_user_type | LDU_FT | [
"<BEGIN>\n## `pdeque`",
"Return deque containing the elements of iterable. If maxlen is specified then\n len(iterable) - maxlen elements are discarded from the left to if len(iterable) > maxlen.",
" >>> pdeque([1, 2, 3])\n pdeque([1, 2, 3])\n >>> pdeque([1, 2, 3, 4], maxlen=2)\n pdeque([3, 4], ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_parse_user_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_parse_user_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Try to coerce a user-supplied type directive into a list of types.
This function should be used in all places where a user specifies a type,
for consistency.
The policy for what defines valid user input should be clear from the implementation. | "Try to coerce a user-supplied type directive into a list of types.\n\n This function should be used in all places where a user specifies a type,\n for consistency.\n\n The policy for what defines valid user input should be clear from the implementation." | 130 | false | tobgu/pyrsistent | maybe_parse_user_type | 40,001 | |
LDU_FT/J535D165/recordlinkage/date | LDU_FT | [
"<BEGIN>\n## `_map_tril_1d_on_2d`",
"Map 1d indices on lower triangular matrix in 2d.\n<END>",
"<BEGIN>\n## `random_pairs_without_replacement_large_frames`",
"Make a sample of random pairs with replacement\n<END>",
"<BEGIN>\n## `clean`",
"Clean string variables.",
" Clean strings in the Series by rem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Compare attributes of pairs with date algorithm.
Shortcut of :class:`recordlinkage.compare.Date`::
from recordlinkage.compare import Date
indexer = recordlinkage.Compare()
indexer.add(Date()) | "Compare attributes of pairs with date algorithm.\n\n Shortcut of :class:`recordlinkage.compare.Date`::\n\n from recordlinkage.compare import Date\n\n indexer = recordlinkage.Compare()\n indexer.add(Date())" | 339 | false | J535D165/recordlinkage | date | 40,002 | |
LDU_FT/royi1000/py-libhdate/jdn_to_gdate | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jdn_to_gdate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jdn_to_gdate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Convert from the Julian day to the Gregorian day.
Algorithm from 'Julian and Gregorian Day Numbers' by Peter Meyer.
Return: day, month, year | "Convert from the Julian day to the Gregorian day.\n\n Algorithm from 'Julian and Gregorian Day Numbers' by Peter Meyer.\n Return: day, month, year" | 70 | false | royi1000/py-libhdate | jdn_to_gdate | 40,003 | |
LDU_FT/drj11/pypng/write_chunk | LDU_FT | [
"<BEGIN>\n## `adam7_generate`",
"Generate the coordinates for the reduced scanlines\n of an Adam7 interlaced image\n of size `width` by `height` pixels.",
" Yields a generator for each pass,\n and each pass generator yields a series of (x, y, xstep) triples,\n each one identifying a reduced scanl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_chunk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_chunk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Write a PNG chunk to the output file, including length and
checksum. | "Write a PNG chunk to the output file, including length and\n checksum." | 153 | false | drj11/pypng | write_chunk | 40,004 | |
LDU_FT/ofek/bit/calculate_preimages | LDU_FT | [
"<BEGIN>\n## `currency_to_satoshi`",
"Converts a given amount of currency to the equivalent number of\n satoshi. The amount can be either an int, float, or string as long as\n it is a valid input to :py:class:`decimal.Decimal`.",
" :param amount: The quantity of currency.\n :param currency: One of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_preimages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_preimages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Calculates preimages for provided transaction structure and input
values.
:param tx_obj: The transaction object used to calculate preimage from using
a transaction digest algorithm, such as BIP-143 for Segwit
inputs. This transaction object must hence have scriptCodes
... | "Calculates preimages for provided transaction structure and input\n values.\n\n :param tx_obj: The transaction object used to calculate preimage from using\n a transaction digest algorithm, such as BIP-143 for Segwit\n inputs. This transaction object must hence have scriptCode... | 71 | false | ofek/bit | calculate_preimages | 40,005 | |
LDU_FT/GeorgeArgyros/symautomata/add_arc | LDU_FT | [
"<BEGIN>\n## `main`",
"Testing function for DFA brzozowski algebraic method Operation\n<END>",
"<BEGIN>\n## `_bfs_sort`",
"maintain a map of states distance using BFS\n Args:\n start (fst state): The initial DFA state\n Returns:\n list: An ordered list of DFA states\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Adds a new Arc
Args:
src (int): The source state identifier
dst (int): The destination state identifier
char (str): The character for the transition
Returns:
None | "Adds a new Arc\n Args:\n src (int): The source state identifier\n dst (int): The destination state identifier\n char (str): The character for the transition\n Returns:\n None" | 143 | false | GeorgeArgyros/symautomata | add_arc | 40,006 | |
LDU_FT/Aluriak/bubble-tools/connected_components | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connected_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connected_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return for one root of each connected component all
the linked objects, and the mapping linking a connected component
root with the roots that it contains. | "Return for one root of each connected component all\n the linked objects, and the mapping linking a connected component\n root with the roots that it contains." | 88 | false | Aluriak/bubble-tools | connected_components | 40,007 | |
LDU_FT/thespacedoctor/qubits/generate_numpy_polynomial_lightcurves | LDU_FT | [
"<BEGIN>\n## `setup`",
"*setup the workspace in the requested location*",
" **Return:**\n - ``None``\n<END>",
"<BEGIN>\n## `random_redshift_array`",
"*Generate a NumPy array of random distances given a sample number and distance limit*",
" **Key Arguments:**\n - ``log`` -- logg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_numpy_polynomial_lightcurves API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_numpy_polynomial_lightcurves API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | *Given a the yaml input of the SN Lightcurves generate a numpy polynomial of the curves.*
**Key Arguments:**
- ``log`` -- logger
- ``snLightCurves`` -- some info on sn LightCurves
- ``pathToOutputDirectory`` -- path to the output directory (provided by the user)
- ``pathToOutputPlot... | "*Given a the yaml input of the SN Lightcurves generate a numpy polynomial of the curves.*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``snLightCurves`` -- some info on sn LightCurves\n - ``pathToOutputDirectory`` -- path to the output directory (provided by the user)\n - ``pathToOut... | 152 | false | thespacedoctor/qubits | generate_numpy_polynomial_lightcurves | 40,008 | |
LDU_FT/jrjparks/django-rest-framework-nested/_register_nested_router | LDU_FT | [
"<BEGIN>\n## `build_url_field`",
"Create a field representing the object's own URL.\n<END>",
"<BEGIN>\n## `get_parent_lookup_field`",
"Return tha parent_lookup_field for the NestedHyperlinkedModelSerializer.\n If `parent_lookup_field` of `parent_model` is not defined lookup ForeignKey field of model.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_nested_router API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_nested_router API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | NestedSimpleRouter.__init__ calls this method | "NestedSimpleRouter.__init__ calls this method" | 14 | false | jrjparks/django-rest-framework-nested | _register_nested_router | 40,009 | |
LDU_FT/Jahaja/psdash/get_interface_addresses | LDU_FT | [
"<BEGIN>\n## `_read`",
"Reads and returns a buffer reversely from current file-pointer position.",
" :rtype : str\n<END>",
"<BEGIN>\n## `find`",
"Returns the position of the first occurence of needle.\n If the needle was not found, -1 is returned.",
" :rtype : int\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interface_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interface_addresses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Get addresses of available network interfaces.
See netifaces on pypi for details.
Returns a list of dicts | "Get addresses of available network interfaces.\n See netifaces on pypi for details.\n\n Returns a list of dicts" | 14 | false | Jahaja/psdash | get_interface_addresses | 40,010 | |
LDU_FT/bradmontgomery/django-redis-metrics/get_metrics | LDU_FT | [
"<BEGIN>\n## `categorize_metrics`",
"Called only on a valid form, this method will place the chosen\n metrics in the given catgory.\n<END>",
"<BEGIN>\n## `dedupe`",
"Remove duplicates from a sequence (of hashable items) while maintaining\n order. NOTE: This only works if items in the list are hashab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Get the metrics for multiple slugs.
Returns a list of two-tuples containing the metric slug and a
dictionary like the one returned by ``get_metric``::
(
some-metric, {
'seconds': 0, 'minutes': 0, 'hours': 0,
'day': 0, 'week': 0, 'mont... | "Get the metrics for multiple slugs.\n\n Returns a list of two-tuples containing the metric slug and a\n dictionary like the one returned by ``get_metric``::\n\n (\n some-metric, {\n 'seconds': 0, 'minutes': 0, 'hours': 0,\n 'day': 0, 'week':... | 122 | false | bradmontgomery/django-redis-metrics | get_metrics | 40,011 | |
LDU_FT/johnbywater/eventsourcing/receive_accept | LDU_FT | [
"<BEGIN>\n## `register_new_suffix_tree`",
"Factory method, returns new suffix tree object.\n<END>",
"<BEGIN>\n## `find_substring`",
"Returns the index if substring in tree, otherwise -1.\n<END>",
"<BEGIN>\n## `_canonize_suffix`",
"This canonizes the suffix, walking along its suffix string until it\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_accept API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_accept API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns either an Accepted or Nack message in response. The Acceptor's state must be persisted
to disk prior to transmitting the Accepted message. | "Returns either an Accepted or Nack message in response. The Acceptor's state must be persisted\n to disk prior to transmitting the Accepted message." | 161 | false | johnbywater/eventsourcing | receive_accept | 40,012 | |
LDU_FT/bfontaine/crosswords/update | LDU_FT | [
"<BEGIN>\n## `sanitize_word`",
"sanitize a word by removing its accents, special characters, etc\n<END>",
"<BEGIN>\n## `init_storage`",
"Initialize the local dictionnaries cache in ~/.crosswords/dicts.\n<END>",
"<BEGIN>\n## `local_list`",
"Return a list of the locally available dictionnaries. Each element... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update local dictionnaries by downloading the latest version from the
server, if there's one. | "Update local dictionnaries by downloading the latest version from the\n server, if there's one." | 20 | false | bfontaine/crosswords | update | 40,013 | |
LDU_FT/raphaelm/python-sepaxml/make_id | LDU_FT | [
"<BEGIN>\n## `check_payment`",
"Check the payment for required fields and validity.\n @param payment: The payment dict\n @return: True if valid, error string if invalid paramaters where\n encountered.\n<END>",
"<BEGIN>\n## `add_payment`",
"Function to add payments\n @param payment:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Create a random id combined with the creditor name.
@return string consisting of name (truncated at 22 chars), -,
12 char rand hex string. | "Create a random id combined with the creditor name.\n @return string consisting of name (truncated at 22 chars), -,\n 12 char rand hex string." | 45 | false | raphaelm/python-sepaxml | make_id | 40,014 | |
LDU_FT/thomasw/querylist/iregex | LDU_FT | [
"<BEGIN>\n## `_convert_iterable`",
"Converts elements returned by an iterable into instances of\n self._wrapper\n<END>",
"<BEGIN>\n## `_check_element`",
"Return True if lookup string/value pairs match against the passed\n object.\n<END>",
"<BEGIN>\n## `get`",
"Returns the first object encoun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iregex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iregex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns true if the value case insentively matches agains the
regex. | "Returns true if the value case insentively matches agains the\n regex." | 29 | false | thomasw/querylist | iregex | 40,015 | |
LDU_FT/zeaphoo/budoc/instance_variables | LDU_FT | [
"<BEGIN>\n## `import_module`",
"Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.",
" If a module has already been import... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instance_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instance_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns all instance variables in the class, sorted
alphabetically as a list of `pydoc.Variable`. Instance variables
are attributes of `self` defined in a class's `__init__`
method. | "Returns all instance variables in the class, sorted\n alphabetically as a list of `pydoc.Variable`. Instance variables\n are attributes of `self` defined in a class's `__init__`\n method." | 54 | false | zeaphoo/budoc | instance_variables | 40,016 | |
LDU_FT/inveniosoftware/invenio-accounts/mysql_aes_decrypt | LDU_FT | [
"<BEGIN>\n## `check_security_settings`",
"Warn if session cookie is not secure in production.\n<END>",
"<BEGIN>\n## `mysql_aes_encrypt`",
"Mysql AES encrypt value with secret key.",
" :param val: Plain text value.\n :param key: The AES key.\n :returns: The encrypted AES value.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mysql_aes_decrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mysql_aes_decrypt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Mysql AES decrypt value with secret key.
:param encrypted_val: Encrypted value.
:param key: The AES key.
:returns: The AES value decrypted. | "Mysql AES decrypt value with secret key.\n\n :param encrypted_val: Encrypted value.\n :param key: The AES key.\n :returns: The AES value decrypted." | 71 | false | inveniosoftware/invenio-accounts | mysql_aes_decrypt | 40,017 | |
LDU_FT/HolmesNL/confidence/load | LDU_FT | [
"<BEGIN>\n## `_merge`",
"Merges values in place from *right* into *left*.",
" :param left: mapping to merge into\n :param right: mapping to merge from\n :param path: `list` of keys processed before (used for error reporting\n only, should only need to be provided by recursive calls)\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read a `.Configuration` instance from file-like objects.
:param fps: file-like objects (supporting ``.read()``)
:param missing: policy to be used when a configured key is missing, either
as a `.Missing` instance or a default value
:return: a `.Configuration` instance providing values from *fps*
... | "Read a `.Configuration` instance from file-like objects.\n\n :param fps: file-like objects (supporting ``.read()``)\n :param missing: policy to be used when a configured key is missing, either\n as a `.Missing` instance or a default value\n :return: a `.Configuration` instance providing values from *fp... | 49 | false | HolmesNL/confidence | load | 40,018 | |
LDU_FT/mila/pyoo/create | LDU_FT | [
"<BEGIN>\n## `str_repr`",
"Implements string conversion methods for the given class.",
" The given class must implement the __str__ method. This decorat\n will add __repr__ and __unicode__ (for Python 2).\n<END>",
"<BEGIN>\n## `_clean_slice`",
"Validates and normalizes a cell range slice.",
" >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Creates a new sheet with the given name.
If an optional index argument is not provided then the created
sheet is appended at the end. Returns the new sheet. | "Creates a new sheet with the given name.\n\n If an optional index argument is not provided then the created\n sheet is appended at the end. Returns the new sheet." | 70 | false | mila/pyoo | create | 40,019 | |
LDU_FT/grahambell/pymoc/catalog | LDU_FT | [
"<BEGIN>\n## `run`",
"Main run method for PyMOC tool.",
" Takes a list of command line arguments to process.",
" Each operation is performed on a current \"running\" MOC\n object.\n<END>",
"<BEGIN>\n## `read_moc`",
"Read a file into the current running MOC object.",
" If the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the catalog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the catalog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Create MOC from catalog of coordinates.
This command requires that the Healpy and Astropy libraries
be available. It attempts to load the given catalog,
and merges it with the running MOC.
The name of an ASCII catalog file should be given. The file
should contain either "RA" ... | "Create MOC from catalog of coordinates.\n\n This command requires that the Healpy and Astropy libraries\n be available. It attempts to load the given catalog,\n and merges it with the running MOC.\n\n The name of an ASCII catalog file should be given. The file\n should contain eith... | 165 | false | grahambell/pymoc | catalog | 40,020 | |
LDU_FT/dbuscher/pois/SingleModeCombine | LDU_FT | [
"<BEGIN>\n## `ScreenGenerator`",
"Generate an infinite series of rectangular phase screens\n Uses an FFT screen generator to make a large screen and then\n returns non-overlapping subsections of it\n<END>",
"<BEGIN>\n## `PhaseScreens`",
"Return a generator for atmospheric wavefront perturbations across\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SingleModeCombine API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SingleModeCombine API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the instantaneous coherent fluxes and photometric fluxes for a
multiway single-mode fibre combiner | "Return the instantaneous coherent fluxes and photometric fluxes for a\n multiway single-mode fibre combiner" | 20 | false | dbuscher/pois | SingleModeCombine | 40,021 | |
LDU_FT/frictionlessdata/datapackage-pipelines/_filehash | LDU_FT | [
"<BEGIN>\n## `_filehash`",
"Return the hash object for the file `filepath', processing the file\n by chunk of `blocksize'.",
" :type filepath: str\n :param filepath: Path to file",
" :type blocksize: int\n :param blocksize: Size of the chunk when processing the file\n<END>",
"<BEGIN>\n## `com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filehash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filehash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the hash object for the file `filepath', processing the file
by chunk of `blocksize'.
:type filepath: str
:param filepath: Path to file
:type blocksize: int
:param blocksize: Size of the chunk when processing the file | "Return the hash object for the file `filepath', processing the file\n by chunk of `blocksize'.\n\n :type filepath: str\n :param filepath: Path to file\n\n :type blocksize: int\n :param blocksize: Size of the chunk when processing the file" | 51 | false | frictionlessdata/datapackage-pipelines | _filehash | 40,022 | |
LDU_FT/albertz/py_better_exchook/fold_text_stream | LDU_FT | [
"<BEGIN>\n## `parse_pkg_info`",
":param str fn:\n :rtype: dict[str,str]\n<END>",
"<BEGIN>\n## `parse_py_statement`",
":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>",
"<BEGIN>\n## `grep_full_py_identifiers`",
":param typing.Iterable[(str,s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fold_text_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fold_text_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | :param str prefix: always visible
:param str postfix: always visible, right after.
:param io.TextIOBase|io.StringIO hidden_stream: sys.stdout by default.
If this is sys.stdout, it will replace that stream,
and collect the data during the context (in the `with` block). | ":param str prefix: always visible\n :param str postfix: always visible, right after.\n :param io.TextIOBase|io.StringIO hidden_stream: sys.stdout by default.\n If this is sys.stdout, it will replace that stream,\n and collect the data during the context (in the `with` block)." | 75 | false | albertz/py_better_exchook | fold_text_stream | 40,023 | |
LDU_FT/pgmpy/pgmpy/get_variables | LDU_FT | [
"<BEGIN>\n## `_initalize_tree`",
"Initalizes root node of the tree, i.e depth = 0\n<END>",
"<BEGIN>\n## `_build_tree`",
"Recursively builds a tree for proposing new position and momentum\n<END>",
"<BEGIN>\n## `_sample`",
"Returns a sample using a single iteration of NUTS\n<END>",
"<BEGIN>\n## `sample`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add variables to PomdpX
Return
---------------
xml containing variables tag | "Add variables to PomdpX\n\n Return\n ---------------\n xml containing variables tag" | 1,557 | true | pgmpy/pgmpy | get_variables | 40,024 | |
LDU_FT/gbiggs/rtctree/get_connection_by_dest | LDU_FT | [
"<BEGIN>\n## `build_attr_string`",
"Build a string that will turn any ANSI shell output the desired\r\n colour.\r",
" attrs should be a list of keys into the term_attributes table.\n<END>",
"<BEGIN>\n## `get_num_columns_and_rows`",
"Given a list of string widths, a width of the minimum gap to place\r\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection_by_dest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection_by_dest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | DEPRECATED. Search for a connection between this and another port. | "DEPRECATED. Search for a connection between this and another port." | 285 | false | gbiggs/rtctree | get_connection_by_dest | 40,025 | |
LDU_FT/joeyespo/gitpress/set_value | LDU_FT | [
"<BEGIN>\n## `remove_directory`",
"Deletes a directory and its contents.\n Returns a list of errors in form (function, path, excinfo).\n<END>",
"<BEGIN>\n## `copy_files`",
"Copies a list of files to the specified directory.\n If source_directory is provided, it will be prepended to each source file.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Sets the value of a particular key in the config file. This has no effect when setting to the same value. | "Sets the value of a particular key in the config file. This has no effect when setting to the same value." | 36 | false | joeyespo/gitpress | set_value | 40,026 | |
LDU_FT/stxnext/mappet/sget | LDU_FT | [
"<BEGIN>\n## `no_empty_value`",
"Raises an exception if function argument is empty.\n<END>",
"<BEGIN>\n## `to_bool`",
"Converts human boolean-like values to Python boolean.",
" Falls back to :class:`bool` when ``value`` is not recognized.",
" :param value: the value to convert\n :returns: ``True`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | u"""Enables access to nodes if one or more of them don't exist.
Example:
>>> m = Mappet('<root><tag attr1="attr text">text value</tag></root>')
>>> m.sget('tag')
text value
>>> m.sget('tag.@attr1')
'attr text'
>>> m.sget('tag.#text')
'text value'
... | "u\"\"\"Enables access to nodes if one or more of them don't exist.\n\n Example:\n >>> m = Mappet('<root><tag attr1=\"attr text\">text value</tag></root>')\n >>> m.sget('tag')\n text value\n >>> m.sget('tag.@attr1')\n 'attr text'\n >>> m.sget('tag.#text')\n 'text ... | 66 | false | stxnext/mappet | sget | 40,027 | |
LDU_FT/jay-johnson/antinex-client/wait_for_job_to_finish | LDU_FT | [
"<BEGIN>\n## `generate_ai_request`",
"generate_ai_request",
" :param predict_rows: list of predict rows to build into the request\n :param req_dict: request dictionary to update - for long-running clients\n :param req_file: file holding a request dict to update - one-off tests\n :param features: fea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_job_to_finish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_job_to_finish API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | wait_for_job_to_finish
:param job_id: MLJob.id to wait on
:param sec_to_sleep: seconds to sleep during polling
:param max_retries: max retires until stopping | "wait_for_job_to_finish\n\n :param job_id: MLJob.id to wait on\n :param sec_to_sleep: seconds to sleep during polling\n :param max_retries: max retires until stopping" | 46 | false | jay-johnson/antinex-client | wait_for_job_to_finish | 40,028 | |
LDU_FT/doanguyen/lasotuvi/jdFromDate | LDU_FT | [
"<BEGIN>\n## `nhapDaiHan`",
"Nhap dai han",
" Args:\n cucSo (TYPE): Description\n gioiTinh (TYPE): Description",
" Returns:\n TYPE: Description\n<END>",
"<BEGIN>\n## `ngayThangNam`",
"Summary",
" Args:\n nn (TYPE): ngay\n tt (TYPE): thang\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jdFromDate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jdFromDate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | def jdFromDate(dd, mm, yy): Compute the (integral) Julian day number of
day dd/mm/yyyy, i.e., the number of days between 1/1/4713 BC
(Julian calendar) and dd/mm/yyyy. | "def jdFromDate(dd, mm, yy): Compute the (integral) Julian day number of\n day dd/mm/yyyy, i.e., the number of days between 1/1/4713 BC\n (Julian calendar) and dd/mm/yyyy." | 47 | false | doanguyen/lasotuvi | jdFromDate | 40,029 | |
LDU_FT/byt3bl33d3r/CrackMapExec/options | LDU_FT | [
"<BEGIN>\n## `add_computer`",
"Check if this host has already been added to the database, if not add it in.\n<END>",
"<BEGIN>\n## `remove_credentials`",
"Removes a credential ID from the database\n<END>",
"<BEGIN>\n## `options`",
"SERVER IP of the SMB server\n NAME LNK file name\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | LISTENER Listener name to generate the launcher for | "LISTENER Listener name to generate the launcher for" | 77 | false | byt3bl33d3r/CrackMapExec | options | 40,030 | |
LDU_FT/josiah-wolf-oberholtzer/uqbar/get_vars | LDU_FT | [
"<BEGIN>\n## `_build_mappings`",
"Collect all bases and organize into parent/child mappings.\n<END>",
"<BEGIN>\n## `_collect_classes`",
"Collect all classes defined in/under ``package_paths``.\n<END>",
"<BEGIN>\n## `find_common_prefix`",
"Find the common prefix of two or more paths.",
" ::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get ``args``, ``var args`` and ``kwargs`` for an object ``expr``.
::
>>> class MyObject:
... def __init__(self, arg1, arg2, *var_args, foo=None, bar=None, **kwargs):
... self.arg1 = arg1
... self.arg2 = arg2
... self.var_args = var_args
.... | "Get ``args``, ``var args`` and ``kwargs`` for an object ``expr``.\n\n ::\n\n >>> class MyObject:\n ... def __init__(self, arg1, arg2, *var_args, foo=None, bar=None, **kwargs):\n ... self.arg1 = arg1\n ... self.arg2 = arg2\n ... self.var_args = var_args\... | 123 | false | josiah-wolf-oberholtzer/uqbar | get_vars | 40,031 | |
LDU_FT/tripzero/python-photons/wavelengthToRGB | LDU_FT | [
"<BEGIN>\n## `wavelengthToRGB`",
"Taken from Earl F. Glynn's web page:\n\t* <a href=\"http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm\">Spectra Lab Report</a>\n<END>",
"<BEGIN>\n## `writeHeader`",
"write header:\n\t\t[8bit][16bit]\n\t\t[protocol_version][msg_length]\n<END>",
"<BEGIN>\n## `setColor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wavelengthToRGB API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wavelengthToRGB API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Taken from Earl F. Glynn's web page:
* <a href="http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm">Spectra Lab Report</a> | "Taken from Earl F. Glynn's web page:\n\t* <a href=\"http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm\">Spectra Lab Report</a>" | 19 | false | tripzero/python-photons | wavelengthToRGB | 40,032 | |
LDU_FT/henrysher/kotocore/to_camel_case | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Returns a string-ified version number.",
" Optionally accepts a ``full`` parameter, which if ``True``, will include\n any pre-release information. (Default: ``False``)\n<END>",
"<BEGIN>\n## `requires_loaded`",
"A decorator to ensure the resource data is loaded.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_camel_case API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_camel_case API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Converts snake_cased_names to CamelCaseNames.
:param snake_case_name: The name you'd like to convert from.
:type snake_case_name: string
:returns: A converted string
:rtype: string | "Converts snake_cased_names to CamelCaseNames.\n\n :param snake_case_name: The name you'd like to convert from.\n :type snake_case_name: string\n\n :returns: A converted string\n :rtype: string" | 198 | false | henrysher/kotocore | to_camel_case | 40,033 | |
LDU_FT/drj11/pypng/asRGBA | LDU_FT | [
"<BEGIN>\n## `adam7_generate`",
"Generate the coordinates for the reduced scanlines\n of an Adam7 interlaced image\n of size `width` by `height` pixels.",
" Yields a generator for each pass,\n and each pass generator yields a series of (x, y, xstep) triples,\n each one identifying a reduced scanl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asRGBA API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asRGBA API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return image as RGBA pixels.
Greyscales are expanded into RGB triplets;
an alpha channel is synthesized if necessary.
The return values are as for the :meth:`read` method except that
the *info* reflect the returned pixels, not the source image.
In particular, for this method
... | "Return image as RGBA pixels.\n Greyscales are expanded into RGB triplets;\n an alpha channel is synthesized if necessary.\n The return values are as for the :meth:`read` method except that\n the *info* reflect the returned pixels, not the source image.\n In particular, for this metho... | 153 | false | drj11/pypng | asRGBA | 40,034 | |
LDU_FT/GGiecold/Concurrent_AP/add_preference | LDU_FT | [
"<BEGIN>\n## `chunk_generator`",
"Returns a generator of slice objects.",
" Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ",
" n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_preference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_preference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Assign the value 'preference' to the diagonal entries
of the matrix of similarities stored in the HDF5 data structure
at 'hdf5_file'. | "Assign the value 'preference' to the diagonal entries\n of the matrix of similarities stored in the HDF5 data structure \n at 'hdf5_file'." | 61 | false | GGiecold/Concurrent_AP | add_preference | 40,035 | |
LDU_FT/jaraco/path.py/walkfiles | LDU_FT | [
"<BEGIN>\n## `load`",
"If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>",
"<BEGIN>\n## `simple_cache`",
"Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>",
"<BEGIN>\n## `only_newer`",
"Wrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkfiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkfiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | D.walkfiles() -> iterator over files in D, recursively. | "D.walkfiles() -> iterator over files in D, recursively." | 158 | false | jaraco/path.py | walkfiles | 40,036 | |
LDU_FT/trustar/trustar-python/_get_correlated_reports_page_generator | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Create an indicator object from a dictionary.",
" :param indicator: The dictionary.\n :return: The indicator object.\n<END>",
"<BEGIN>\n## `to_dict`",
"Creates a dictionary representation of the indicator.",
" :param remove_nones: Whether ``None`` values sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_correlated_reports_page_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_correlated_reports_page_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Creates a generator from the |get_correlated_reports_page| method that returns each
successive page.
:param indicators: A list of indicator values to retrieve correlated reports for.
:param enclave_ids:
:param is_enclave:
:return: The generator. | "Creates a generator from the |get_correlated_reports_page| method that returns each\n successive page.\n\n :param indicators: A list of indicator values to retrieve correlated reports for.\n :param enclave_ids:\n :param is_enclave:\n :return: The generator." | 243 | false | trustar/trustar-python | _get_correlated_reports_page_generator | 40,037 | |
LDU_FT/getpelican/pelican-plugins/_separate_header_and_content | LDU_FT | [
"<BEGIN>\n## `get_gif`",
"Returns dict with gif informations from the API.\n<END>",
"<BEGIN>\n## `main`",
"Doing the regex parsing and running the create_html function.\n<END>",
"<BEGIN>\n## `filetime_from_git`",
"Update modification and creation times from git\n<END>",
"<BEGIN>\n## `update_hash_from_st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _separate_header_and_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _separate_header_and_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | From a given Org text, return the header separate from the content.
The given text must be separate line by line and be a list.
The return is a list of two items: header and content.
Theses two items are text separate line by line in format of a list
Keyword Arguments:
text_lines... | "From a given Org text, return the header separate from the content.\n The given text must be separate line by line and be a list.\n The return is a list of two items: header and content.\n Theses two items are text separate line by line in format of a list\n Keyword Arguments:\n text... | 247 | false | getpelican/pelican-plugins | _separate_header_and_content | 40,038 | |
LDU_FT/roskakori/pygount/_check_encoding | LDU_FT | [
"<BEGIN>\n## `_check_encoding`",
"Check that ``encoding`` is a valid Python encoding\n :param name: name under which the encoding is known to the user, e.g. 'default encoding'\n :param encoding_to_check: name of the encoding to check, e.g. 'utf-8'\n :param source: source where the encoding has been set, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_encoding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Check that ``encoding`` is a valid Python encoding
:param name: name under which the encoding is known to the user, e.g. 'default encoding'
:param encoding_to_check: name of the encoding to check, e.g. 'utf-8'
:param source: source where the encoding has been set, e.g. option name
:raise pygount.common.... | "Check that ``encoding`` is a valid Python encoding\n :param name: name under which the encoding is known to the user, e.g. 'default encoding'\n :param encoding_to_check: name of the encoding to check, e.g. 'utf-8'\n :param source: source where the encoding has been set, e.g. option name\n :raise pygount.co... | 17 | false | roskakori/pygount | _check_encoding | 40,039 | |
LDU_FT/reorx/torext/_init_application | LDU_FT | [
"<BEGIN>\n## `format_request`",
"Override for better log format",
" Tornado format:\n [INFO 2015-03-24 11:29:57 app:521] 200 GET /static/css/lib/pure-min.css (127.0.0.1) 6.76ms\n Current format:\n [gevent.wsgi] INFO 127.0.0.1 - - [2015-03-24 11:18:45] \"GET /test HTTP/1.1\" 200 304 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_application API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_application API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Initialize application object for torext app, if a existed application is passed,
then just use this one without make a new one | "Initialize application object for torext app, if a existed application is passed,\n then just use this one without make a new one" | 70 | false | reorx/torext | _init_application | 40,040 | |
LDU_FT/emin63/eyap/get_comment_section | LDU_FT | [
"<BEGIN>\n## `make_anchor_id`",
"Return string to use as URL anchor for this comment.\n<END>",
"<BEGIN>\n## `make_url`",
"Make URL to this comment.",
" :arg my_request: The request object where this comment is seen from.",
" :arg anchor_id=None: Optional anchor id. If None, we use\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_section API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_section API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get CommentSection instance representing all comments for thread.
:arg force_reload=False: Whether to force reloading comments
directly or allow using what is cached
in self.content if possible.
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-... | "Get CommentSection instance representing all comments for thread.\n\n :arg force_reload=False: Whether to force reloading comments\n directly or allow using what is cached\n in self.content if possible.\n\n ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~... | 126 | false | emin63/eyap | get_comment_section | 40,041 | |
LDU_FT/jsvine/tinyapi/fetch | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetch data corresponding to this draft and store it as ``self.data``.\n<END>",
"<BEGIN>\n## `request`",
"Makes a call to TinyLetter's __svcbus__ endpoint.\n<END>",
"<BEGIN>\n## `get_messages`",
"Returns a list of messages your account sent.",
" Messages are sorted by ``ord... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Fetch data corresponding to this draft and store it as ``self.data``. | "Fetch data corresponding to this draft and store it as ``self.data``." | 20 | false | jsvine/tinyapi | fetch | 40,042 | |
LDU_FT/wakatime/wakatime/_get_LMv2_response | LDU_FT | [
"<BEGIN>\n## `wrap`",
"[MS-NLMP] v28.0 2016-07-14",
" 3.4.6 GSS_WrapEx()\n Emulates the GSS_Wrap() implementation to sign and seal messages if the correct flags\n are set.",
" @param message: The message data that will be wrapped\n @return message: The message that has been ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_LMv2_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_LMv2_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | [MS-NLMP] v28.0 2016-07-14
2.2.2.4 LMv2_RESPONSE
The LMv2_RESPONSE structure defines the NTLM v2 authentication LmChallengeResponse
in the AUTHENTICATE_MESSAGE. This response is used only when NTLM v2
authentication is configured.
:param user_name: The user name of the user we ... | "[MS-NLMP] v28.0 2016-07-14\n\n 2.2.2.4 LMv2_RESPONSE\n The LMv2_RESPONSE structure defines the NTLM v2 authentication LmChallengeResponse\n in the AUTHENTICATE_MESSAGE. This response is used only when NTLM v2\n authentication is configured.\n\n :param user_name: The user name of the ... | 623 | false | wakatime/wakatime | _get_LMv2_response | 40,043 | |
LDU_FT/pytroll/trollimage/putalpha | LDU_FT | [
"<BEGIN>\n## `colorize`",
"Colorize a monochromatic array *arr*, based *colors* given for\n *values*. Interpolation is used. *values* must be in ascending order.\n<END>",
"<BEGIN>\n## `palettize`",
"From start *values* apply *colors* to *data*.\n<END>",
"<BEGIN>\n## `set_range`",
"Set the range of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the putalpha API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the putalpha API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Adds an *alpha* channel to the current image, or replaces it with
*alpha* if it already exists. | "Adds an *alpha* channel to the current image, or replaces it with\n *alpha* if it already exists." | 150 | false | pytroll/trollimage | putalpha | 40,044 | |
LDU_FT/resonai/ybt/guess_uri_type | LDU_FT | [
"<BEGIN>\n## `norm_name`",
"Return a normalized canonical target name for the `target_name`\n observed in build module `build_module`.",
" A normalized canonical target name is of the form \"<build module>:<name>\",\n where <build module> is the relative normalized path from the project root\n to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_uri_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the guess_uri_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a guess for the URI type based on the URI string `uri`.
If `hint` is given, it is assumed to be the correct type.
Otherwise, the URI is inspected using urlparse, and we try to guess
whether it's a remote Git repository, a remote downloadable archive,
or a local-only data. | "Return a guess for the URI type based on the URI string `uri`.\n\n If `hint` is given, it is assumed to be the correct type.\n Otherwise, the URI is inspected using urlparse, and we try to guess\n whether it's a remote Git repository, a remote downloadable archive,\n or a local-only data." | 284 | false | resonai/ybt | guess_uri_type | 40,045 | |
LDU_FT/jic-dtool/dtoolcore/_admin_metadata_from_uri | LDU_FT | [
"<BEGIN>\n## `generous_parse_uri`",
"Return a urlparse.ParseResult object with the results of parsing the\n given URI. This has the same properties as the result of parse_uri.",
" When passed a relative path, it determines the absolute path, sets the\n scheme to file, the netloc to localhost and return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _admin_metadata_from_uri API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _admin_metadata_from_uri API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Helper function for getting admin metadata. | "Helper function for getting admin metadata." | 111 | false | jic-dtool/dtoolcore | _admin_metadata_from_uri | 40,046 | |
LDU_FT/mjirik/io3d/__ReadFromDirectory | LDU_FT | [
"<BEGIN>\n## `get_or_save_default`",
"Get value stored in cache file or store there default value.\n :param key:\n :param default_value:\n :return:\n<END>",
"<BEGIN>\n## `__get_segmentation_path`",
"Create path with \"_segmentation\" suffix and keep extension.",
" :param path:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __ReadFromDirectory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __ReadFromDirectory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | This function is actually the ONE, which reads 3D data from file
:param datapath: path to file
:return: tuple (data3d, metadata) | "This function is actually the ONE, which reads 3D data from file\n\n :param datapath: path to file\n :return: tuple (data3d, metadata)" | 182 | false | mjirik/io3d | __ReadFromDirectory | 40,047 | |
LDU_FT/django-danceschool/django-danceschool/processPointOfSalePayment | LDU_FT | [
"<BEGIN>\n## `get_context_data`",
"Add the list of registrations for the given series\n<END>",
"<BEGIN>\n## `get_context_data`",
"The URL to redirect to can be explicitly specified, or it can come\n from the site session history, or it can be the default admin success page\n as specified in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processPointOfSalePayment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the processPointOfSalePayment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | This view handles the callbacks from point-of-sale transactions.
Please note that this will only work if you have set up your callback
URL in Square to point to this view. | "This view handles the callbacks from point-of-sale transactions.\n Please note that this will only work if you have set up your callback\n URL in Square to point to this view." | 337 | false | django-danceschool/django-danceschool | processPointOfSalePayment | 40,048 | |
LDU_FT/podio/podio-py/update | LDU_FT | [
"<BEGIN>\n## `AuthorizingClient`",
"Creates a Podio client using an auth object.\n<END>",
"<BEGIN>\n## `encode_and_quote`",
"If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>",
"<BEGIN>\n## `_strify`",
"If s is a unicode string, e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates the item using the supplied attributes. If 'silent' is true, Podio will send
no notifications to subscribed users and not post updates to the stream.
Important: webhooks will still be called. | "Updates the item using the supplied attributes. If 'silent' is true, Podio will send\n no notifications to subscribed users and not post updates to the stream.\n \n Important: webhooks will still be called." | 82 | false | podio/podio-py | update | 40,049 | |
LDU_FT/liip/taxi/get_files | LDU_FT | [
"<BEGIN>\n## `round_to_quarter`",
"Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>",
"<BEGIN>\n## `_timesheets_callback`",
"Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return an :class:`~taxi.utils.structures.OrderedSet` of file paths expanded from `filename`, with a maximum of
`nb_previous_files`. See :func:`taxi.utils.file.expand_date` for more information about filename expansion. If
`from_date` is set, it will be used as a starting date instead of the current date... | "Return an :class:`~taxi.utils.structures.OrderedSet` of file paths expanded from `filename`, with a maximum of\n `nb_previous_files`. See :func:`taxi.utils.file.expand_date` for more information about filename expansion. If\n `from_date` is set, it will be used as a starting date instead of the current d... | 131 | false | liip/taxi | get_files | 40,050 | |
LDU_FT/jonhadfield/python-hosts/exists | LDU_FT | [
"<BEGIN>\n## `get_entry_type`",
"Return the type of entry for the line of hosts file passed\n :param hosts_entry: A line from the hosts file\n :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'\n<END>",
"<BEGIN>\n## `str_to_hostentry`",
"Transform a line from a hosts file into an instance of HostsEn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Determine if the supplied address and/or names, or comment, exists in a HostsEntry within Hosts
:param address: An ipv4 or ipv6 address to search for
:param names: A list of names to search for
:param comment: A comment to search for
:return: True if a supplied address, name, or comment ... | "Determine if the supplied address and/or names, or comment, exists in a HostsEntry within Hosts\n :param address: An ipv4 or ipv6 address to search for\n :param names: A list of names to search for\n :param comment: A comment to search for\n :return: True if a supplied address, name, or com... | 28 | false | jonhadfield/python-hosts | exists | 40,051 | |
LDU_FT/ColinDuquesnoy/QCrash/show_report_dialog | LDU_FT | [
"<BEGIN>\n## `format_body`",
"Formats the body in plain text. (add a series of '-' under each section\n title).",
" :param description: Description of the issue, written by the user.\n :param sys_info: Optional system information string\n :param log: Optional application log\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_report_dialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_report_dialog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Show the issue report dialog manually.
:param window_title: Title of dialog window
:param window_icon: the icon to use for the dialog window
:param traceback: optional traceback string to include in the report.
:param issue_title: optional issue title
:param issue_description: optional issue descri... | "Show the issue report dialog manually.\n\n :param window_title: Title of dialog window\n :param window_icon: the icon to use for the dialog window\n :param traceback: optional traceback string to include in the report.\n :param issue_title: optional issue title\n :param issue_description: optional issue... | 16 | false | ColinDuquesnoy/QCrash | show_report_dialog | 40,052 | |
LDU_FT/sixty-north/python-transducers/windowing | LDU_FT | [
"<BEGIN>\n## `coroutine`",
"Decorator for priming generator-based coroutines.\n<END>",
"<BEGIN>\n## `ticker`",
"Yield numbers from 0 to `to` every `delay` seconds.\n<END>",
"<BEGIN>\n## `rprint`",
"A coroutine sink which prints received items stdout",
" Args:\n sep: Optional separator to be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the windowing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the windowing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Create a transducer which produces a moving window over items. | "Create a transducer which produces a moving window over items." | 38 | false | sixty-north/python-transducers | windowing | 40,053 | |
LDU_FT/harlowja/notifier/register | LDU_FT | [
"<BEGIN>\n## `register_deregister`",
"Context manager that registers a callback, then deregisters on exit.",
" NOTE(harlowja): if the callback is none, then this registers nothing, which\n is different from the behavior of the ``register`` method\n which will *not* accep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a callback to be called when event of a given type occurs.
Callback will be called with provided ``args`` and ``kwargs`` and
when event type occurs (or on any event if ``event_type`` equals to
:attr:`.ANY`). It will also get additional keyword argument,
``details``, that will h... | "Register a callback to be called when event of a given type occurs.\n\n Callback will be called with provided ``args`` and ``kwargs`` and\n when event type occurs (or on any event if ``event_type`` equals to\n :attr:`.ANY`). It will also get additional keyword argument,\n ``details``, that ... | 42 | false | harlowja/notifier | register | 40,054 | |
LDU_FT/ashleysommer/sanicpluginsframework/decorate | LDU_FT | [
"<BEGIN>\n## `middleware`",
"Decorate and register middleware\n :param args: captures all of the positional arguments passed in\n :type args: tuple(Any)\n :param kwargs: captures the keyword arguments passed in\n :type kwargs: dict(Any)\n :return: The middleware function to use ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decorate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decorate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | This is a decorator that can be used to apply this plugin to a specific
route/view on your app, rather than the whole app.
:param app:
:type app: Sanic | Blueprint
:param args:
:type args: tuple(Any)
:param run_middleware:
:type run_middleware: bool
:param... | "This is a decorator that can be used to apply this plugin to a specific\n route/view on your app, rather than the whole app.\n :param app:\n :type app: Sanic | Blueprint\n :param args:\n :type args: tuple(Any)\n :param run_middleware:\n :type run_middleware: bool\n ... | 38 | false | ashleysommer/sanicpluginsframework | decorate | 40,055 | |
LDU_FT/SUSE-Enceladus/ipa/_create_public_ip | LDU_FT | [
"<BEGIN>\n## `_get_instance_state`",
"Attempt to retrieve the state of the instance.\n Raises:\n EC2CloudException: If the instance cannot be found.\n<END>",
"<BEGIN>\n## `_get_user_data`",
"Return formatted bash script string.",
" The public ssh key is added by cloud init to the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_public_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_public_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create dynamic public IP address in the resource group. | "Create dynamic public IP address in the resource group." | 143 | false | SUSE-Enceladus/ipa | _create_public_ip | 40,056 | |
LDU_FT/nerdynick/PySQLPool/getCursor | LDU_FT | [
"<BEGIN>\n## `getNewConnection`",
"Quickly Create a new PySQLConnection class",
"\t@param host: Hostname for your database\n\t@param username: Username to use to connect to database\n\t@param password: Password to use to connect to database \n\t@param schema: Schema to use\n\t@param port: Port to connect on\n\t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCursor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCursor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get a Dictionary Cursor for executing queries | "Get a Dictionary Cursor for executing queries" | 59 | false | nerdynick/PySQLPool | getCursor | 40,057 | |
LDU_FT/kunitoki/django-custard/create_modelform | LDU_FT | [
"<BEGIN>\n## `debug`",
"Simple tag to debug output a variable;",
" Usage:\n {% debug request %}\n<END>",
"<BEGIN>\n## `create_fields`",
"This method will create a model which will hold field types defined\n at runtime for each ContentType.",
" :param base_model: base model ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_modelform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_modelform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | This creates the class that implements a ModelForm that knows about
the custom fields
:param base_form:
:param field_types:
:param widget_types:
:return: | "This creates the class that implements a ModelForm that knows about\n the custom fields\n\n :param base_form:\n :param field_types:\n :param widget_types:\n :return:" | 21 | false | kunitoki/django-custard | create_modelform | 40,058 | |
LDU_FT/jim-easterbrook/pyctools/queue_command | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect an output to any callable object.",
" :param str output_name: the output to connect. Must be one of\n the ``'self'`` outputs in the ``linkages`` parameter.",
" :param callable input_method: the thread-safe callable to invoke\n when :py:meth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Put a command on the queue to be called in the component's
thread.
:param callable command: the method to be invoked, e.g.
:py:meth:`~Component.new_frame_event`. | "Put a command on the queue to be called in the component's\n thread.\n\n :param callable command: the method to be invoked, e.g.\n :py:meth:`~Component.new_frame_event`." | 158 | false | jim-easterbrook/pyctools | queue_command | 40,059 | |
LDU_FT/shad7/tvrenamer/write_changelog | LDU_FT | [
"<BEGIN>\n## `execute`",
"Renames a file based on the name generated using metadata.",
" :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>",
"<BEGIN>\n## `get_series_by_name`",
"Perform lookup for series",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_changelog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_changelog API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Write a changelog based on the git changelog. | "Write a changelog based on the git changelog." | 135 | false | shad7/tvrenamer | write_changelog | 40,060 | |
LDU_FT/inveniosoftware/invenio-communities/destroy_oaipmh_set | LDU_FT | [
"<BEGIN>\n## `format_item`",
"Render a template to a string with the provided item in context.\n<END>",
"<BEGIN>\n## `index`",
"Index page with uploader and list of existing depositions.\n<END>",
"<BEGIN>\n## `generic_item`",
"Index page with uploader and list of existing depositions.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy_oaipmh_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy_oaipmh_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Signal for creating OAI-PMH sets during community creation. | "Signal for creating OAI-PMH sets during community creation." | 89 | false | inveniosoftware/invenio-communities | destroy_oaipmh_set | 40,061 | |
LDU_FT/ckan/deadoralive/upsert_result | LDU_FT | [
"<BEGIN>\n## `get_resources_to_check`",
"Return a list of resource IDs to check for broken links.",
" Calls the client site's API to get a list of resource IDs.",
" :raises CouldNotGetResourceIDsError: if getting the resource IDs fails\n for any reason\n<END>",
"<BEGIN>\n## `get_url_for_id`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upsert_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upsert_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Post the given link check result to the client site. | "Post the given link check result to the client site." | 27 | false | ckan/deadoralive | upsert_result | 40,062 | |
LDU_FT/deepmind/pysc2/data_raw | LDU_FT | [
"<BEGIN>\n## `DEFINE_point`",
"Registers a flag whose value parses as a point.\n<END>",
"<BEGIN>\n## `spatial`",
"Choose the action space for the action proto.\n<END>",
"<BEGIN>\n## `select_unit`",
"Select a specific unit from the multi-unit selection.\n<END>",
"<BEGIN>\n## `control_group`",
"Act on a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_raw API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_raw API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get the raw static data for the current game. Prefer `data` instead. | "Get the raw static data for the current game. Prefer `data` instead." | 300 | false | deepmind/pysc2 | data_raw | 40,063 | |
LDU_FT/jmoiron/micromongo/save | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the database. Passes arguments along to\n ``pymongo.connection.Connection`` unmodified.",
" The Connection returned by this proxy method will be used by micromongo\n for all of its queries. Micromongo will alter the behavior of this\n conneciton object in some ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save this object to the database. Behaves very similarly to
whatever collection.save(document) would, ie. does upserts on _id
presence. If methods ``pre_save`` or ``post_save`` are defined, those
are called. If there is a spec document, then the document is
validated against it after ... | "Save this object to the database. Behaves very similarly to\n whatever collection.save(document) would, ie. does upserts on _id\n presence. If methods ``pre_save`` or ``post_save`` are defined, those\n are called. If there is a spec document, then the document is\n validated against it a... | 30 | false | jmoiron/micromongo | save | 40,064 | |
LDU_FT/justinabrahms/imhotep/process_line | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Main entrypoint for all plugins.",
" Returns results in the format of:",
" {'filename': {\n 'line_number': [\n 'error1',\n 'error2'\n ]\n }\n }\n<END>",
"<BEGIN>\n## `process_line`",
"Processes a line return a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Processes a line return a 3-element tuple representing (filename,
line_number, error_messages) or None to indicate no error.
:param: dirname - directory the code is running in
For default implementation, regex in `self.response_format` is expected
to have the capture groups `filename`,... | "Processes a line return a 3-element tuple representing (filename,\n line_number, error_messages) or None to indicate no error.\n\n :param: dirname - directory the code is running in\n\n For default implementation, regex in `self.response_format` is expected\n to have the capture groups `fil... | 29 | false | justinabrahms/imhotep | process_line | 40,065 | |
LDU_FT/ardydedase/pycouchbase/_decr_remaining | LDU_FT | [
"<BEGIN>\n## `_add_err`",
"Sets the error on this MultiResult. Will be ignored if an error is\n already set.\n :param exinfo: Return value from ``sys.exc_info()``\n<END>",
"<BEGIN>\n## `_add_bad_rc`",
"Sets an error with a bad return code. Handles 'quiet' logic\n :param rc: The error code... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decr_remaining API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decr_remaining API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Call when a result is received to decrement the remaining count
:return: True if there are no more items remaining | "Call when a result is received to decrement the remaining count\n :return: True if there are no more items remaining" | 76 | false | ardydedase/pycouchbase | _decr_remaining | 40,066 | |
LDU_FT/jkwill87/mapi/tvdb_refresh_token | LDU_FT | [
"<BEGIN>\n## `_clean_dict`",
"Convenience function that removes a dicts keys that have falsy values\n<END>",
"<BEGIN>\n## `_get_user_agent`",
"Convenience function that looks up a user agent string, random if N/A\n<END>",
"<BEGIN>\n## `_request_json`",
"Queries a url for json data",
" Note: Requests ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tvdb_refresh_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tvdb_refresh_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Refreshes JWT token
Online docs: api.thetvdb.com/swagger#!/Authentication/get_refresh_token= | "Refreshes JWT token\n\n Online docs: api.thetvdb.com/swagger#!/Authentication/get_refresh_token=" | 40 | false | jkwill87/mapi | tvdb_refresh_token | 40,067 | |
LDU_FT/unt-libraries/pyuntl/add_empty_fields | LDU_FT | [
"<BEGIN>\n## `normalize_LCSH`",
"Normalize a LCSH subject heading prior to indexing.\n<END>",
"<BEGIN>\n## `normalize_UNTL`",
"Normalize a UNTL subject heading for consistency.\n<END>",
"<BEGIN>\n## `UNTL_to_encodedUNTL`",
"Normalize a UNTL subject heading to be used in SOLR.\n<END>",
"<BEGIN>\n## `untl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_empty_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_empty_fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Add empty values if UNTL fields don't have values. | "Add empty values if UNTL fields don't have values." | 144 | false | unt-libraries/pyuntl | add_empty_fields | 40,068 | |
LDU_FT/charnley/rmsd/generate_permutations | LDU_FT | [
"<BEGIN>\n## `rmsd`",
"Calculate Root-mean-square deviation from two sets of vectors V and W.",
" Parameters\n ----------\n V : array\n (N,D) matrix, where N is points and D is dimension.\n W : array\n (N,D) matrix, where N is points and D is dimension.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_permutations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_permutations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Heap's algorithm for generating all n! permutations in a list
https://en.wikipedia.org/wiki/Heap%27s_algorithm | "Heap's algorithm for generating all n! permutations in a list\n https://en.wikipedia.org/wiki/Heap%27s_algorithm" | 66 | false | charnley/rmsd | generate_permutations | 40,069 | |
LDU_FT/inspirehep/refextract/look_for_books | LDU_FT | [
"<BEGIN>\n## `process_reference_line`",
"After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the look_for_books API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the look_for_books API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Look for books in our kb
Create book tags by using the authors and the title to find books
in our knowledge base | "Look for books in our kb\n\n Create book tags by using the authors and the title to find books\n in our knowledge base" | 301 | false | inspirehep/refextract | look_for_books | 40,070 | |
LDU_FT/greenelab/PathCORE-T/_edges_from_permutation | LDU_FT | [
"<BEGIN>\n## `_load_significant_pathways_file`",
"Read in the significant pathways file as a\n pandas.DataFrame.\n<END>",
"<BEGIN>\n## `_pathway_feature_permutation`",
"Permute the pathways across features for one side in the\n network. Used in `permute_pathways_across_features`",
" Parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _edges_from_permutation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _edges_from_permutation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Given a dictionary mapping each feature to the pathways
overrepresented in the feature, build a CoNetwork by
creating edges for every pairwise combination of pathways in a feature. | "Given a dictionary mapping each feature to the pathways\n overrepresented in the feature, build a CoNetwork by\n creating edges for every pairwise combination of pathways in a feature." | 82 | false | greenelab/PathCORE-T | _edges_from_permutation | 40,071 | |
LDU_FT/Cadair/jupyter_environment_kernels/source_zsh | LDU_FT | [
"<BEGIN>\n## `convert_to_env_data`",
"Converts a list of paths to environments to env_data.",
" env_data is a structure {name -> (ressourcedir, kernel spec)}\n<END>",
"<BEGIN>\n## `validate_IPykernel`",
"Validates that this env contains an IPython kernel and returns info to start it",
" Returns: tup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_zsh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_zsh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Simply zsh-specific wrapper around source-foreign
Returns a dict to be used as a new environment | "Simply zsh-specific wrapper around source-foreign\n\n Returns a dict to be used as a new environment" | 69 | false | Cadair/jupyter_environment_kernels | source_zsh | 40,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.