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/gabrielelanaro/chemview/cartoon
LDU_FT
[ "<BEGIN>\n## `pairs`", "Return array of pairs of adjacent elements in a.", " >>> pairs([1, 2, 3, 4])\n array([[1, 2],\n [2, 3],\n [3, 4]])\n<END>", "<BEGIN>\n## `points`", "Display the system as points.", " :param float size: the size of the points.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartoon 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 cartoon 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...
Display a protein secondary structure as a pymol-like cartoon representation. :param cmap: is a dictionary that maps the secondary type (H=helix, E=sheet, C=coil) to a hexadecimal color (0xffffff for white)
"Display a protein secondary structure as a pymol-like cartoon representation.\n\n :param cmap: is a dictionary that maps the secondary type\n (H=helix, E=sheet, C=coil) to a hexadecimal color (0xffffff for white)"
45
false
gabrielelanaro/chemview
cartoon
21,873
LDU_FT/jldantas/libmft/_compute_full_path
LDU_FT
[ "<BEGIN>\n## `apply_fixup_array`", "This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.", " Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_full_path 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 _compute_full_path 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...
Based on the parent reference and sequence, computes the full path. The majority of the files in a filesystem has a very small amount of parent directories. By definition, a filesystem is expected to have much smaller amount of directories than files. As such we use a function with the ...
"Based on the parent reference and sequence, computes the full path.\n\n The majority of the files in a filesystem has a very small amount of\n parent directories. By definition, a filesystem is expected to have\n much smaller amount of directories than files. As such we use a function\n wit...
107
false
jldantas/libmft
_compute_full_path
21,874
LDU_FT/dmlc/xgboost/record_evaluation
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize the rabit library with arguments\n<END>", "<BEGIN>\n## `tracker_print`", "Print message to the tracker.", " This function can be used to communicate the information of\n the progress to the tracker", " Parameters\n ----------\n msg : str\n The messag...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record_evaluation 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 record_evaluation 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 a call back that records the evaluation history into **eval_result**. Parameters ---------- eval_result : dict A dictionary to store the evaluation results. Returns ------- callback : function The requested callback function.
"Create a call back that records the evaluation history into **eval_result**.\n\n Parameters\n ----------\n eval_result : dict\n A dictionary to store the evaluation results.\n\n Returns\n -------\n callback : function\n The requested callback function."
276
false
dmlc/xgboost
record_evaluation
21,875
LDU_FT/whiteclover/dbpy/find
LDU_FT
[ "<BEGIN>\n## `compile`", "Building the sql expression", " :param db: the database instance\n<END>", "<BEGIN>\n## `find`", "Find and load the user from database by uid(user id)\n<END>", "<BEGIN>\n## `find_by_username`", "Return user by username if find in database otherwise None\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find 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 find 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...
Find and load the user from database by uid(user id)
"Find and load the user from database by uid(user id)"
41
false
whiteclover/dbpy
find
21,876
LDU_FT/bigchaindb/bigchaindb/_fulfillment_from_details
LDU_FT
[ "<BEGIN>\n## `get`", "API endpoint to retrieve a list of links to transaction\n outputs.", " Returns:\n A :obj:`list` of :cls:`str` of links to outputs.\n<END>", "<BEGIN>\n## `run_configure`", "Run a script to configure the current node.\n<END>", "<BEGIN>\n## `run_election...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fulfillment_from_details 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 _fulfillment_from_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Load a fulfillment for a signing spec dictionary Args: data: tx.output[].condition.details dictionary
"Load a fulfillment for a signing spec dictionary\n\n Args:\n data: tx.output[].condition.details dictionary"
398
false
bigchaindb/bigchaindb
_fulfillment_from_details
21,877
LDU_FT/pachyderm/python-pachyderm/list_file
LDU_FT
[ "<BEGIN>\n## `create_repo`", "Creates a new Repo object in PFS with the given name. Repos are the \n top level data object in PFS and should be used to store data of a\n similar type. For example rather than having a single Repo for an\n entire project you might have separate Repos for logs, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_file 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 list_file 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...
Lists the files in a directory. Params: * commit: A tuple, string, or Commit object representing the commit. * path: The path to the directory. * recursive: If True, continue listing the files for sub-directories.
"Lists the files in a directory.\n\n Params:\n * commit: A tuple, string, or Commit object representing the commit.\n * path: The path to the directory.\n * recursive: If True, continue listing the files for sub-directories."
66
false
pachyderm/python-pachyderm
list_file
21,878
LDU_FT/vlukes/dicom2fem/merge_mesh
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 merge_mesh 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 merge_mesh 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...
Merge two meshes in common coordinates found in x1, x2.
"Merge two meshes in common coordinates found in x1, x2."
142
false
vlukes/dicom2fem
merge_mesh
21,879
LDU_FT/pyecore/pyecoregen/load_model
LDU_FT
[ "<BEGIN>\n## `filtered_elements`", "Return iterator based on `element_type`.\n<END>", "<BEGIN>\n## `folder_path_for_package`", "Returns path to folder holding generated artifact for given element.\n<END>", "<BEGIN>\n## `imported_classifiers_package`", "Determines which classifiers have to be imported into...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_model 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 load_model 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...
Load a single Ecore model and return the root package.
"Load a single Ecore model and return the root package."
23
false
pyecore/pyecoregen
load_model
21,880
LDU_FT/hcpl/xkbgroup/group_num
LDU_FT
[ "<BEGIN>\n## `open_display`", "Establishes connection with X server and prepares objects\n necessary to retrieve and send data.\n<END>", "<BEGIN>\n## `close_display`", "Closes connection with X server and cleans up objects\n created on open_display().\n<END>", "<BEGIN>\n## `groups_data`", "A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group_num 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 group_num 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...
Current group number. :getter: Returns current group number :setter: Sets current group number :type: int
"Current group number.\n\n :getter: Returns current group number\n :setter: Sets current group number\n :type: int"
30
false
hcpl/xkbgroup
group_num
21,881
LDU_FT/zhexiao/ezhost/install_config_elastic
LDU_FT
[ "<BEGIN>\n## `install_config_kafka`", "install and config kafka\n :return:\n<END>", "<BEGIN>\n## `install_config_elastic`", "install and config elasticsearch\n :return:\n<END>", "<BEGIN>\n## `install_config_logstash`", "install and config logstash\n :return:\n<END>", "<BEGIN>\n## `i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_config_elastic 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 install_config_elastic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
install and config elasticsearch :return:
"install and config elasticsearch\n :return:"
22
false
zhexiao/ezhost
install_config_elastic
21,882
LDU_FT/filestack/filestack-python/av_convert
LDU_FT
[ "<BEGIN>\n## `to_filelink`", "Checks is the status of the conversion is complete and, if so, converts to a Filelink", " *returns* [Filestack.Filelink]", " ```python\n filelink = av_convert.to_filelink()\n ```\n<END>", "<BEGIN>\n## `url`", "Returns the URL for the instance, whic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the av_convert 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 av_convert 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...
```python from filestack import Client client = Client("<API_KEY>") filelink = client.upload(filepath='path/to/file/doom.mp4') av_convert= filelink.av_convert(width=100, height=100) while av_convert.status != 'completed': print(av_convert.status) filelink = ...
"```python\n from filestack import Client\n\n client = Client(\"<API_KEY>\")\n filelink = client.upload(filepath='path/to/file/doom.mp4')\n av_convert= filelink.av_convert(width=100, height=100)\n while av_convert.status != 'completed':\n print(av_convert.status)\n\n ...
82
false
filestack/filestack-python
av_convert
21,883
LDU_FT/marcolagi/quantulum/disambiguate_entity
LDU_FT
[ "<BEGIN>\n## `get_numwords`", "Convert number words to integers in a given text.\n<END>", "<BEGIN>\n## `get_dimension_permutations`", "Get all possible dimensional definitions for an entity.\n<END>", "<BEGIN>\n## `download_wiki`", "Download WikiPedia pages of ambiguous units.\n<END>", "<BEGIN>\n## `disa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disambiguate_entity 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 disambiguate_entity 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...
Resolve ambiguity between entities with same dimensionality.
"Resolve ambiguity between entities with same dimensionality."
30
false
marcolagi/quantulum
disambiguate_entity
21,884
LDU_FT/dh1tw/pyhamtools/get_lat_long
LDU_FT
[ "<BEGIN>\n## `get_homecall`", "Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).", " Args:\n callsign (str): Amateur Radio callsign", " Returns:\n str: callsign without country/activity pre/suffixes", " Raises:\n ValueError: No cal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lat_long 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 get_lat_long 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...
Returns Latitude and Longitude for a callsign Args: callsign (str): Amateur Radio callsign timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC) Returns: dict: Containing Latitude and Longitude Raises: KeyError: No data found for cal...
"Returns Latitude and Longitude for a callsign\n\n Args:\n callsign (str): Amateur Radio callsign\n timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)\n\n Returns:\n dict: Containing Latitude and Longitude\n\n Raises:\n KeyError: No data fo...
238
false
dh1tw/pyhamtools
get_lat_long
21,885
LDU_FT/google/dotty/dot_rhs
LDU_FT
[ "<BEGIN>\n## `generate_chunks`", "Yield 'chunk_size' items from 'data' at a time.\n<END>", "<BEGIN>\n## `reduce`", "Repeatedly call fold and merge on data and then finalize.", " Arguments:\n data: Input for the fold function.\n reducer: The IReducer to use.\n chunk_size: How many ite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dot_rhs 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 dot_rhs 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...
Match the right-hand side of a dot (.) operator. The RHS must be a symbol token, but it is interpreted as a literal string (because that's what goes in the AST of Resolve.)
"Match the right-hand side of a dot (.) operator.\n\n The RHS must be a symbol token, but it is interpreted as a literal\n string (because that's what goes in the AST of Resolve.)"
284
false
google/dotty
dot_rhs
21,886
LDU_FT/WoLpH/python-progressbar/_handle_resize
LDU_FT
[ "<BEGIN>\n## `_handle_resize`", "Tries to catch resize signals sent from the terminal.\n<END>", "<BEGIN>\n## `init`", "(re)initialize values to original state so the progressbar can be\n used (again)\n<END>", "<BEGIN>\n## `percentage`", "Return current percentage, returns None if no max_value is gi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_resize 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 _handle_resize 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...
Tries to catch resize signals sent from the terminal.
"Tries to catch resize signals sent from the terminal."
22
false
WoLpH/python-progressbar
_handle_resize
21,887
LDU_FT/LabKey/labkey-api-python/get_user_by_email
LDU_FT
[ "<BEGIN>\n## `create`", "Create a domain\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param domain_definition: A domain definition.\n :param container_path: labkey container path if not already set in context\n :return: Domain\n<END>", "<BEGIN>\n## `drop`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_by_email 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_user_by_email 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...
Get the user with the provided email. Throws a ValueError if not found. :param server_context: A LabKey server context. See utils.create_server_context. :param email: :return:
"Get the user with the provided email. Throws a ValueError if not found.\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param email:\n :return:"
60
false
LabKey/labkey-api-python
get_user_by_email
21,888
LDU_FT/jmbeach/KEP.py/process_tag
LDU_FT
[ "<BEGIN>\n## `parse_channels`", "Creates an array of Channel objects from the project\n<END>", "<BEGIN>\n## `parse_devices`", "Creates an array of Device objects from the channel\n<END>", "<BEGIN>\n## `process_tag`", "Processes tag and detects which function to use\n<END>", "<BEGIN>\n## `name_replace`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_tag 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 process_tag 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...
Processes tag and detects which function to use
"Processes tag and detects which function to use"
24
false
jmbeach/KEP.py
process_tag
21,889
LDU_FT/archman/beamline/setDraw
LDU_FT
[ "<BEGIN>\n## `plotLattice`", "function plot beamline defined by ``beamlinepatchlist``, which is a set of patches for all elements", " :param beamlinepatchlist: generated by function ``makeBeamline()``\n :param fignum: figure number, 1 by default\n :param fig_size: figure size, 20 inch by default\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setDraw 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 setDraw 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...
set element visualization drawing :param p0: start drawing position, (x,y) :param angle: angle [deg] between x-axis angle is rotating from x-axis to be '+' or '-', '+': clockwise, '-': anticlockwise :param mode: artist mode, 'plain' or 'fancy', 'plain' by default
"set element visualization drawing\n \n :param p0: start drawing position, (x,y)\n :param angle: angle [deg] between x-axis angle is rotating from x-axis to be '+' or '-', '+': clockwise, '-': anticlockwise\n :param mode: artist mode, 'plain' or 'fancy', 'plain' by default"
318
false
archman/beamline
setDraw
21,890
LDU_FT/jrspruitt/ubi_reader/parse_key
LDU_FT
[ "<BEGIN>\n## `read_block`", "Read complete PEB data from file.", " Argument:\n Obj:block -- Block data is desired for.\n<END>", "<BEGIN>\n## `read_block_data`", "Read LEB data from file", " Argument:\n Obj:block -- Block data is desired for.\n<END>", "<BEGIN>\n## `extract_blo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_key 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 parse_key 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...
Parse node key Arguments: Str:key -- Hex string literal of node key. Returns: Int:key_type -- Type of key, data, ino, dent, etc. Int:ino_num -- Inode number. Int:khash -- Key hash.
"Parse node key\n\n Arguments:\n Str:key -- Hex string literal of node key.\n\n Returns:\n Int:key_type -- Type of key, data, ino, dent, etc.\n Int:ino_num -- Inode number.\n Int:khash -- Key hash."
67
false
jrspruitt/ubi_reader
parse_key
21,891
LDU_FT/openpermissions/perch/all
LDU_FT
[ "<BEGIN>\n## `collect`", "Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>", "<BEGIN>\n## `run_migrations`", "Run migrations for a resource type", " :param: a dicitionary of migrations\n<END>", "<BEGIN>\n## `_migrate_resource`", "Migrate a resour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all 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 doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all 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 doc...
Get all organisations :param state: State of organisation :param include_deactivated: Flag to include deactivated :returns: list of Organisation instances :raises: SocketError, CouchException
"Get all organisations\n\n :param state: State of organisation\n :param include_deactivated: Flag to include deactivated\n :returns: list of Organisation instances\n :raises: SocketError, CouchException"
177
false
openpermissions/perch
all
21,892
LDU_FT/mapbox/mapbox-cli-py/coords_from_query
LDU_FT
[ "<BEGIN>\n## `match`", "Mapbox Map Matching API lets you use snap your GPS traces\nto the OpenStreetMap road and path network.", " $ mapbox mapmatching trace.geojson", "An access token is required, see `mapbox --help`.\n<END>", "<BEGIN>\n## `staticmap`", "Generate static map images from existing Mapb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coords_from_query 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 coords_from_query 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...
Transform a query line into a (lng, lat) pair of coordinates.
"Transform a query line into a (lng, lat) pair of coordinates."
81
false
mapbox/mapbox-cli-py
coords_from_query
21,893
LDU_FT/Yubico/python-pyhsm/validate_cmd_response_str
LDU_FT
[ "<BEGIN>\n## `hexdump`", "Produce a string hexdump of src, for debug output.\n<END>", "<BEGIN>\n## `group`", "Split data into chunks of num chars each\n<END>", "<BEGIN>\n## `key_handle_to_int`", "Turn \"123\" into 123 and \"KSM1\" into 827151179\n (0x314d534b, 'K' = 0x4b, S = '0x53', M = 0x4d).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_cmd_response_str 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 validate_cmd_response_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Check that some value returned in the response to a command matches what we put in the request (the command).
"Check that some value returned in the response to a command matches what\n we put in the request (the command)."
310
false
Yubico/python-pyhsm
validate_cmd_response_str
21,894
LDU_FT/MycroftAI/mycroft-skills-manager/apply
LDU_FT
[ "<BEGIN>\n## `get_skill_data`", "generates tuples of name, path, url, sha\n<END>", "<BEGIN>\n## `curate_skills_data`", "Sync skills_data with actual skills on disk.\n<END>", "<BEGIN>\n## `sync_skills_data`", "Update internal skill_data_structure from disk.\n<END>", "<BEGIN>\n## `write_skills_data`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply 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 apply 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...
Run a function on all skills in parallel
"Run a function on all skills in parallel"
25
false
MycroftAI/mycroft-skills-manager
apply
21,895
LDU_FT/klen/graphite-beacon/notify
LDU_FT
[ "<BEGIN>\n## `_get_loader`", "Determine which config file type and loader to use based on a filename.", " :param config str: filename to config file\n :return: a tuple of the loader type and callable to load\n :rtype: (str, Callable)\n<END>", "<BEGIN>\n## `start`", "Start all the things.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify 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 notify 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 ...
Sends alerts to telegram chats. This method is called from top level module. Do not rename it.
"Sends alerts to telegram chats.\n This method is called from top level module.\n Do not rename it."
34
false
klen/graphite-beacon
notify
21,896
LDU_FT/GeorgeArgyros/symautomata/get_rules
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 get_rules 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_rules 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...
Args: optimized (bool): Enable or Disable optimization - Do not produce O(n^3) Return: list: The CFG rules
"Args:\n optimized (bool): Enable or Disable optimization - Do not produce O(n^3)\n Return:\n list: The CFG rules"
143
false
GeorgeArgyros/symautomata
get_rules
21,897
LDU_FT/CityOfZion/neo-python/Header
LDU_FT
[ "<BEGIN>\n## `Clone`", "Clone self.", " Returns:\n AccountState:\n<END>", "<BEGIN>\n## `FromReplica`", "Get AccountState object from a replica.\n Args:\n replica (obj): must have ScriptHash, IsFrozen, Votes and Balances members.", " Returns:\n AccountS...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Header 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 Header 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 ...
Get the block header. Returns: neo.Core.Header:
"Get the block header.\n\n Returns:\n neo.Core.Header:"
962
false
CityOfZion/neo-python
Header
21,898
LDU_FT/jaywink/federation/build_send
LDU_FT
[ "<BEGIN>\n## `check_sender_and_entity_handle_match`", "Ensure that sender and entity handles match.", " Basically we've already verified the sender is who they say when receiving the payload. However, the sender might\n be trying to set another author in the payload itself, since Diaspora has the sender i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_send 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 build_send 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...
Build POST data for sending out to remotes. :param entity: The outbound ready entity for this protocol. :param from_user: The user sending this payload. Must have ``private_key`` and ``id`` properties. :param to_user_key: (Optional) Public key of user we're sending a private payload to. ...
"Build POST data for sending out to remotes.\n\n :param entity: The outbound ready entity for this protocol.\n :param from_user: The user sending this payload. Must have ``private_key`` and ``id`` properties.\n :param to_user_key: (Optional) Public key of user we're sending a private payload to.\n ...
230
false
jaywink/federation
build_send
21,899
LDU_FT/stephenmcd/django-forms-builder/file_view
LDU_FT
[ "<BEGIN>\n## `email_to`", "Return the value entered for the first field of type EmailField.\n<END>", "<BEGIN>\n## `posted_data`", "Wrapper for self.cleaned_data that returns True on\n field_id_export fields when the form hasn't been posted to,\n to facilitate show/export URLs that export all ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_view 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 file_view 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...
Output the file for the requested field entry.
"Output the file for the requested field entry."
17
false
stephenmcd/django-forms-builder
file_view
21,900
LDU_FT/pypa/setuptools/pypi_link
LDU_FT
[ "<BEGIN>\n## `indentedBlock`", "Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r", " Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pypi_link 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 pypi_link 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...
Given the filename, including md5 fragment, construct the dependency link for PyPI.
"Given the filename, including md5 fragment, construct the\n dependency link for PyPI."
565
false
pypa/setuptools
pypi_link
21,901
LDU_FT/KrishnaswamyLab/graphtools/to_igraph
LDU_FT
[ "<BEGIN>\n## `set_params`", "Set parameters on this object", " Safe setter method - attributes should not be modified directly as some\n changes are not valid.\n Valid parameters:\n - n_jobs\n - random_state\n - verbose\n Invalid parameters: (these would require ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_igraph 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 to_igraph 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...
Convert to an igraph Graph Uses the igraph.Graph.Weighted_Adjacency constructor Parameters ---------- attribute : str, optional (default: "weight") kwargs : additional arguments for igraph.Graph.Weighted_Adjacency
"Convert to an igraph Graph\n\n Uses the igraph.Graph.Weighted_Adjacency constructor\n\n Parameters\n ----------\n attribute : str, optional (default: \"weight\")\n kwargs : additional arguments for igraph.Graph.Weighted_Adjacency"
207
false
KrishnaswamyLab/graphtools
to_igraph
21,902
LDU_FT/mdiener/grace/parse_comments_for_file
LDU_FT
[ "<BEGIN>\n## `visit`", "Returns a generator that walks all children recursively.\n<END>", "<BEGIN>\n## `list_js_files`", "Generator for all JavaScript files in the directory, recursively", " >>> 'examples/module.js' in list(list_js_files('examples'))\n True\n<END>", "<BEGIN>\n## `save_file`", "Sav...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_comments_for_file 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 parse_comments_for_file 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 a list of all parsed comments in a file. Mostly for testing & interactive use.
"Return a list of all parsed comments in a file. Mostly for testing &\n interactive use."
188
false
mdiener/grace
parse_comments_for_file
21,903
LDU_FT/opentok/Opentok-Python-SDK/get_archive
LDU_FT
[ "<BEGIN>\n## `get_stream_url`", "this method returns the url to get streams information\n<END>", "<BEGIN>\n## `force_disconnect_url`", "this method returns the force disconnect url endpoint\n<END>", "<BEGIN>\n## `set_archive_layout_url`", "this method returns the url to set the archive layout\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_archive 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_archive 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...
Gets an Archive object for the given archive ID. :param String archive_id: The archive ID. :rtype: The Archive object.
"Gets an Archive object for the given archive ID.\n\n :param String archive_id: The archive ID.\n\n :rtype: The Archive object."
128
false
opentok/Opentok-Python-SDK
get_archive
21,904
LDU_FT/ofek/depq/count
LDU_FT
[ "<BEGIN>\n## `binary_insert`", "Traditional binary search. Performance: O(n log n)\n<END>", "<BEGIN>\n## `insert`", "Adds item to DEPQ with given priority by performing a binary\n search on the concurrently rotating deque. Amount rotated R of\n DEPQ of length n would be n <= R <= 3n/2. Performan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count 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 count 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...
Returns number of occurrences of item in DEPQ. Performance: O(1)
"Returns number of occurrences of item in DEPQ. Performance: O(1)"
22
false
ofek/depq
count
21,905
LDU_FT/fabiobatalha/crossrefapi/order
LDU_FT
[ "<BEGIN>\n## `version`", "This attribute retrieve the API version.", " >>> Works().version\n '1.0.0'\n<END>", "<BEGIN>\n## `count`", "This method retrieve the total of records resulting from a given query.", " This attribute can be used compounded with query, filter,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order 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 order 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...
This method retrieve an iterable object that implements the method __iter__. The arguments given will compose the parameters in the request url. This method can be used compounded with query, filter, sort and facet methods. kwargs: valid SORT_VALUES arguments. return: ...
"This method retrieve an iterable object that implements the method\n __iter__. The arguments given will compose the parameters in the\n request url.\n\n This method can be used compounded with query, filter,\n sort and facet methods.\n\n kwargs: valid SORT_VALUES arguments.\n\n ...
108
false
fabiobatalha/crossrefapi
order
21,906
LDU_FT/NatLibFi/Skosify/cleanup_unreachable
LDU_FT
[ "<BEGIN>\n## `read_rdf`", "Read a list of RDF files and/or RDF graphs. May raise an Exception.\n<END>", "<BEGIN>\n## `mapping_get`", "Look up the URI in the given mapping and return the result.", " Throws KeyError if no matching mapping was found.\n<END>", "<BEGIN>\n## `mapping_match`", "Determine wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup_unreachable 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 cleanup_unreachable 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...
Remove triples which cannot be reached from the concepts by graph traversal.
"Remove triples which cannot be reached from the concepts by graph\n traversal."
109
false
NatLibFi/Skosify
cleanup_unreachable
21,907
LDU_FT/uw-it-aca/uw-restclients/get_campus_calendars
LDU_FT
[ "<BEGIN>\n## `new_regid_custom_field`", "Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>", "<BEGIN>\n## `get_reservations`", "Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_campus_calendars 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_campus_calendars 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: a dictionary of {calenderid, TrumbaCalendar} corresponding to the given campus calendars. None if error, {} if not exists raise DataFailureException if the request failed.
":return: a dictionary of {calenderid, TrumbaCalendar}\n corresponding to the given campus calendars.\n None if error, {} if not exists\n raise DataFailureException if the request failed."
129
false
uw-it-aca/uw-restclients
get_campus_calendars
21,908
LDU_FT/bradrf/configstruct/might_prefer
LDU_FT
[ "<BEGIN>\n## `configure_basic_logging`", "Use common logging options to configure all logging.", " Basic logging configuration is used to set levels for all logs from the main module and to\n filter out logs from other modules unless they are of one level in priority higher.", " :param ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the might_prefer 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 might_prefer 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...
Items to take precedence if their values are not None (never saved)
"Items to take precedence if their values are not None (never saved)"
14
false
bradrf/configstruct
might_prefer
21,909
LDU_FT/cloudnull/turbolift/_resp_exception
LDU_FT
[ "<BEGIN>\n## `start`", "Return a list of objects from the API for a container.\n<END>", "<BEGIN>\n## `_cdn`", "Retrieve a long list of all files in a container.", " :return final_list, list_count, last_obj:\n<END>", "<BEGIN>\n## `remove_dirs`", "Delete a directory recursively.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resp_exception 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 _resp_exception 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...
If we encounter an exception in our upload. we will look at how we can attempt to resolve the exception. :param resp:
"If we encounter an exception in our upload.\n\n we will look at how we can attempt to resolve the exception.\n\n :param resp:"
148
false
cloudnull/turbolift
_resp_exception
21,910
LDU_FT/Thermondo/django-heroku-connect/_make_admin_link_to_similar
LDU_FT
[ "<BEGIN>\n## `_replaced`", "Replace elements in iterable with values from an alias dict, suppressing empty values.", " Used to consistently enhance how certain fields are displayed in list and detail pages.\n<END>", "<BEGIN>\n## `_get_admin_route_name`", "Get the base name of the admin route for a model ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_admin_link_to_similar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_admin_link_to_similar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Create a function that links to a changelist of all objects with similar field values.
"Create a function that links to a changelist of all objects with similar field values."
98
false
Thermondo/django-heroku-connect
_make_admin_link_to_similar
21,911
LDU_FT/Pelagicore/qface/_parse_document
LDU_FT
[ "<BEGIN>\n## `open_ns`", "generates a open namespace from symbol namespace x { y { z {\n<END>", "<BEGIN>\n## `close_ns`", "generates a closing names statement from a symbol\n<END>", "<BEGIN>\n## `ns`", "generates a namespace x::y::z statement from a symbol\n<END>", "<BEGIN>\n## `app`", "Takes several ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_document 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 _parse_document 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...
Parses a document and returns the resulting domain system :param path: document path to parse :param system: system to be used (optional)
"Parses a document and returns the resulting domain system\n\n :param path: document path to parse\n :param system: system to be used (optional)"
56
false
Pelagicore/qface
_parse_document
21,912
LDU_FT/rshk/python-libxdo/get_active_window
LDU_FT
[ "<BEGIN>\n## `_errcheck`", "Error checker for functions returning an integer indicating\n success (0) / failure (1).", " Raises a XdoException in case of error, otherwise just\n returns ``None`` (returning the original code, 0, would be\n useless anyways..)\n<END>", "<BEGIN>\n## `move_mouse`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_window 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_active_window 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...
Get the currently-active window. Requires your window manager to support this. Uses ``_NET_ACTIVE_WINDOW`` from the EWMH spec.
"Get the currently-active window.\n Requires your window manager to support this.\n Uses ``_NET_ACTIVE_WINDOW`` from the EWMH spec."
125
false
rshk/python-libxdo
get_active_window
21,913
LDU_FT/qubell/contrib-python-qubell-client/list_instances_json
LDU_FT
[ "<BEGIN>\n## `request_upload_secret`", ":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>", "<BEGIN>\n## `entity`", "CLI for tonomi.com using contrib-python-qubell-client", " To enable completion:", " eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>", "<BEGIN>\n## `import_ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_instances_json 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 list_instances_json 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 list of instances in json format converted to list
"Get list of instances in json format converted to list"
112
false
qubell/contrib-python-qubell-client
list_instances_json
21,914
LDU_FT/MozillaSecurity/fuzzfetch/from_args
LDU_FT
[ "<BEGIN>\n## `_si`", "Format a number using base-2 SI prefixes\n<END>", "<BEGIN>\n## `_extract_file`", "Extract files while explicitly setting the proper permissions\n<END>", "<BEGIN>\n## `build_string`", "Taskcluster denotes builds in one of two formats - i.e. linux64-asan or linux64-asan-opt\n Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_args 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 from_args 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...
Construct a Fetcher from given command line arguments. @type args: list(str) @param args: Command line arguments (optional). Default is to use args from sys.argv @type skip_dir_check: bool @param skip_dir_check: Boolean identifying whether to check for existing build directory ...
"Construct a Fetcher from given command line arguments.\n\n @type args: list(str)\n @param args: Command line arguments (optional). Default is to use args from sys.argv\n\n @type skip_dir_check: bool\n @param skip_dir_check: Boolean identifying whether to check for existing build directory\n...
60
false
MozillaSecurity/fuzzfetch
from_args
21,915
LDU_FT/kstaniek/condoor/send
LDU_FT
[ "<BEGIN>\n## `_prepare_patterns`", "Return two dictionaries: compiled and text prompts.\n<END>", "<BEGIN>\n## `_platform_patterns`", "Return all the patterns for specific platform.\n<END>", "<BEGIN>\n## `pattern`", "Return the pattern defined by the key string specific to the platform.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send 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 send 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...
Send the command to the device and return the output. Args: cmd (str): Command string for execution. Defaults to empty string. timeout (int): Timeout in seconds. Defaults to 300 sec (5 min) wait_for_string (str): This is optional string that driver waits for afte...
"Send the command to the device and return the output.\n\n Args:\n cmd (str): Command string for execution. Defaults to empty string.\n timeout (int): Timeout in seconds. Defaults to 300 sec (5 min)\n wait_for_string (str): This is optional string that driver\n waits f...
229
false
kstaniek/condoor
send
21,916
LDU_FT/intelsdi-x/snap-plugin-lib-py/CollectMetrics
LDU_FT
[ "<BEGIN>\n## `publish`", "Publishes metrics to a file in JSON format.", " This method is called by the Snap deamon during the collection phase\n of the execution of a Snap workflow.", " In this example we are writing the metrics to a file in json format.\n We obtain the path to the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CollectMetrics 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 CollectMetrics 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...
Dispatches the request to the plugins collect method
"Dispatches the request to the plugins collect method"
69
false
intelsdi-x/snap-plugin-lib-py
CollectMetrics
21,917
LDU_FT/spyder-ide/pywinpty/read
LDU_FT
[ "<BEGIN>\n## `spawn`", "Start the given command in a child process in a pseudo terminal.", " This does all the setting up the pty, and returns an instance of\n PtyProcess.", " Dimensions of the psuedoterminal used for the subprocess can be\n specified as a tuple (rows, cols), or th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read 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 read 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 ``length`` bytes from current process output stream. Note: This method is not fully non-blocking, however it behaves like one.
"Read ``length`` bytes from current process output stream.\n\n Note: This method is not fully non-blocking, however it\n behaves like one."
30
false
spyder-ide/pywinpty
read
21,918
LDU_FT/ethereum/eth-account/is_valid_abi_type
LDU_FT
[ "<BEGIN>\n## `encrypt`", "Generate a string with the encrypted key, as in\n :meth:`~eth_account.account.Account.encrypt`, but without a private key argument.\n<END>", "<BEGIN>\n## `defunct_hash_message`", "Convert the provided message into a message hash, to be signed.\n This provides the same prefi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_abi_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_abi_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...
This function is used to make sure that the ``type_name`` is a valid ABI Type. Please note that this is a temporary function and should be replaced by the corresponding ABI function, once the following issue has been resolved. https://github.com/ethereum/eth-abi/issues/125
"This function is used to make sure that the ``type_name`` is a valid ABI Type.\n\n Please note that this is a temporary function and should be replaced by the corresponding\n ABI function, once the following issue has been resolved.\n https://github.com/ethereum/eth-abi/issues/125"
92
false
ethereum/eth-account
is_valid_abi_type
21,919
LDU_FT/click-contrib/click-configfile/generate_configfile_names
LDU_FT
[ "<BEGIN>\n## `find_packages_by_root_package`", "Better than excluding everything that is not needed,\n collect only what is needed.\n<END>", "<BEGIN>\n## `make_long_description`", "click_ is a framework to simplify writing composable commands for\n command-line tools. This package extends the click_ fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_configfile_names 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 generate_configfile_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Generates all configuration file name combinations to read. .. sourcecode:: # -- ALGORITHM: # First basenames/directories are prefered and override other files. for config_path in reversed(config_searchpath): for config_basename in reversed(config_files): con...
"Generates all configuration file name combinations to read.\n\n .. sourcecode::\n\n # -- ALGORITHM:\n # First basenames/directories are prefered and override other files.\n for config_path in reversed(config_searchpath):\n for config_basename in reversed(config_files):\n ...
181
false
click-contrib/click-configfile
generate_configfile_names
21,920
LDU_FT/google/identity-toolkit-python-client/_InvokeGitkitApi
LDU_FT
[ "<BEGIN>\n## `DownloadAccount`", "Downloads multiple accounts from Gitkit server.", " Args:\n next_page_token: string, pagination token.\n max_results: pagination size.", " Returns:\n An array of accounts.\n<END>", "<BEGIN>\n## `UploadAccount`", "Uploads multiple accounts to Gitkit se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _InvokeGitkitApi 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 _InvokeGitkitApi 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 ...
Invokes Gitkit API, with optional access token for service account. Args: method: string, the api method name. params: dict of optional parameters for the API. need_service_account: false if service account is not needed. Raises: GitkitClientError: if the request is bad. GitkitSe...
"Invokes Gitkit API, with optional access token for service account.\n\n Args:\n method: string, the api method name.\n params: dict of optional parameters for the API.\n need_service_account: false if service account is not needed.\n\n Raises:\n GitkitClientError: if the request is bad.\n ...
63
false
google/identity-toolkit-python-client
_InvokeGitkitApi
21,921
LDU_FT/GluuFederation/oxd-python/uma_rs_check_access
LDU_FT
[ "<BEGIN>\n## `register_site`", "Function to register the site and generate a unique ID for the site", " Returns:\n **string:** The ID of the site (also called client id) if the registration is successful", " Raises:\n **OxdServerError:** If the site registration fails.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uma_rs_check_access 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 uma_rs_check_access 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...
Function to be used in a UMA Resource Server to check access. Parameters: * **rpt (string):** RPT or blank value if absent (not send by RP) * **path (string):** Path of resource (e.g. for http://rs.com/phones, /phones should be passed) * **http_method (string):** Http method...
"Function to be used in a UMA Resource Server to check access.\n\n Parameters:\n * **rpt (string):** RPT or blank value if absent (not send by RP)\n * **path (string):** Path of resource (e.g. for http://rs.com/phones, /phones should be passed)\n * **http_method (string):** Http ...
124
false
GluuFederation/oxd-python
uma_rs_check_access
21,922
LDU_FT/Azure/azure-cosmos-table-python/delete_entity
LDU_FT
[ "<BEGIN>\n## `generate_account_shared_access_signature`", "Generates a shared access signature for the table service.\n Use the returned signature with the sas_token parameter of TableService.", " :param ResourceTypes resource_types:\n Specifies the resource types that are accessible wi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_entity 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 delete_entity 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...
Deletes an existing entity in a table. Throws if the entity does not exist. When an entity is successfully deleted, the entity is immediately marked for deletion and is no longer accessible to clients. The entity is later removed from the Table service during garbage collection. :par...
"Deletes an existing entity in a table. Throws if the entity does not exist.\n\n When an entity is successfully deleted, the entity is immediately marked \n for deletion and is no longer accessible to clients. The entity is later \n removed from the Table service during garbage collection.\n\n ...
142
false
Azure/azure-cosmos-table-python
delete_entity
21,923
LDU_FT/learningequality/ricecooker/set_images
LDU_FT
[ "<BEGIN>\n## `_write_to_zip`", "_write_to_zip: Write file to zip\n Args:\n path: (str) where in zip to write file\n contents: (str) contents of file to write\n Returns: None\n<END>", "<BEGIN>\n## `_commit`", "_commit: Adds folder/file to map\n Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_images 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 set_images 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...
set_images: Replace image strings with downloaded image checksums Args: text (str): text to parse for image strings Returns:string with checksums in place of image strings and list of files that were downloaded from string
"set_images: Replace image strings with downloaded image checksums\n Args:\n text (str): text to parse for image strings\n Returns:string with checksums in place of image strings and\n list of files that were downloaded from string"
364
false
learningequality/ricecooker
set_images
21,924
LDU_FT/MozillaSecurity/laniakea/command_line_interfaces
LDU_FT
[ "<BEGIN>\n## `list_tags`", "List all used macros within a UserData script.", " :param userdata: The UserData script.\n :type userdata: str\n<END>", "<BEGIN>\n## `handle_tags`", "Insert macro values or auto export variables in UserData scripts.", " :param userdata: The UserData script....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_line_interfaces 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 command_line_interfaces 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 the CommandLine classes from each provider.
"Return the CommandLine classes from each provider."
136
false
MozillaSecurity/laniakea
command_line_interfaces
21,925
LDU_FT/jim-easterbrook/pyctools/set
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 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. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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. The extracted doc...
Set a metadata value. Each metadata value is referenced by a ``tag`` -- a short string such as ``'xlen'`` or ``'audit'``. In the sidecar file these tag names are prepended with ``'Xmp.pyctools.'``, which corresponds to a custom namespace in the XML file. :param str tag: The tag...
"Set a metadata value.\n\n Each metadata value is referenced by a ``tag`` -- a short\n string such as ``'xlen'`` or ``'audit'``. In the sidecar file\n these tag names are prepended with ``'Xmp.pyctools.'``, which\n corresponds to a custom namespace in the XML file.\n\n :param str tag:...
158
false
jim-easterbrook/pyctools
set
21,926
LDU_FT/kstaniek/condoor/a_store_cmd_result
LDU_FT
[ "<BEGIN>\n## `_prepare_patterns`", "Return two dictionaries: compiled and text prompts.\n<END>", "<BEGIN>\n## `_platform_patterns`", "Return all the patterns for specific platform.\n<END>", "<BEGIN>\n## `pattern`", "Return the pattern defined by the key string specific to the platform.", " :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the a_store_cmd_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the a_store_cmd_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. Th...
Store the command result for complex state machines. It is useful when exact command output is embedded in another commands, i.e. admin show inventory in eXR.
"Store the command result for complex state machines.\n\n It is useful when exact command output is embedded in another commands, i.e. admin show inventory in eXR."
229
false
kstaniek/condoor
a_store_cmd_result
21,927
LDU_FT/chrisspen/weka/define_attribute
LDU_FT
[ "<BEGIN>\n## `convert_weka_to_py_date_pattern`", "Converts the date format pattern used by Weka to the date format pattern used by Python's datetime.strftime().\n<END>", "<BEGIN>\n## `get_attribute_value`", "Returns the value associated with the given value index\n of the attribute with the given name....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the define_attribute 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 define_attribute 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 ...
Define a new attribute. atype has to be one of 'integer', 'real', 'numeric', 'string', 'date' or 'nominal'. For nominal attributes, pass the possible values as data. For date attributes, pass the format as data.
"Define a new attribute. atype has to be one of 'integer', 'real', 'numeric', 'string', 'date' or 'nominal'.\n For nominal attributes, pass the possible values as data.\n For date attributes, pass the format as data."
27
false
chrisspen/weka
define_attribute
21,928
LDU_FT/SpotlightData/preprocessing/remove_whitespace
LDU_FT
[ "<BEGIN>\n## `correct_word`", "Finds all valid one and two letter corrections for word_string, returning the word\n with the highest relative probability as type str.\n<END>", "<BEGIN>\n## `find_candidates`", "Finds all potential words word_string could have intended to mean. If a word is not incorrectly\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_whitespace 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 remove_whitespace 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...
Removes all whitespace found within text_string and returns new string as type str. Keyword argument: - text_string: string instance Exceptions raised: - InputError: occurs should a string or NoneType not be passed as an argument
"Removes all whitespace found within text_string and returns new string as type str.\n\n Keyword argument:\n\n - text_string: string instance\n\n Exceptions raised:\n\n - InputError: occurs should a string or NoneType not be passed as an argument"
106
false
SpotlightData/preprocessing
remove_whitespace
21,929
LDU_FT/KennethWilke/PingdomLib/averages
LDU_FT
[ "<BEGIN>\n## `_serializeBooleans`", "Convert all booleans to lowercase strings\n<END>", "<BEGIN>\n## `actions`", "Returns a list of actions (alerts) that have been generated for\n your account.", " Optional Parameters:", " * from -- Only include actions generated later than th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the averages 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 averages 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 average time / uptime value for a specified check and time period. Optional parameters: * time_from -- Start time of period. Format is UNIX timestamp Type: Integer Default: 0 * time_to -- End time of period. Format is UNIX ti...
"Get the average time / uptime value for a specified check and time\n period.\n\n Optional parameters:\n\n * time_from -- Start time of period. Format is UNIX timestamp\n Type: Integer\n Default: 0\n\n * time_to -- End time of period. Format ...
177
false
KennethWilke/PingdomLib
averages
21,930
LDU_FT/yoavaviram/python-amazon-simple-product-api/cart_add
LDU_FT
[ "<BEGIN>\n## `lookup_bulk`", "Lookup Amazon Products in bulk.", " Returns all products matching requested ASINs, ignoring invalid\n entries.", " :return:\n A list of :class:`~.AmazonProduct` instances.\n<END>", "<BEGIN>\n## `similarity_lookup`", "Similarty Lookup.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cart_add 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 cart_add 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...
CartAdd. :param items: A dictionary containing the items to be added to the cart. Or a list containing these dictionaries. It is not possible to create an empty cart! example: [{'offer_id': 'rt2ofih3f389nwiuhf8934z87o3f4h', 'quantity': 1}] :par...
"CartAdd.\n :param items:\n A dictionary containing the items to be added to the cart.\n Or a list containing these dictionaries.\n It is not possible to create an empty cart!\n example: [{'offer_id': 'rt2ofih3f389nwiuhf8934z87o3f4h',\n 'quantity': 1}]\n ...
112
false
yoavaviram/python-amazon-simple-product-api
cart_add
21,931
LDU_FT/django-ldapdb/django-ldapdb/build_rdn
LDU_FT
[ "<BEGIN>\n## `datetime_from_ldap`", "Convert a LDAP-style datetime to a Python aware object.", " See https://tools.ietf.org/html/rfc4517#section-3.3.13 for details.", " Args:\n value (str): the datetime to parse\n<END>", "<BEGIN>\n## `get_prep_lookup`", "Convert the Python value(s) used in th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_rdn 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 build_rdn 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...
Build the Relative Distinguished Name for this entry.
"Build the Relative Distinguished Name for this entry."
23
false
django-ldapdb/django-ldapdb
build_rdn
21,932
LDU_FT/refinery29/chassis/_import_module
LDU_FT
[ "<BEGIN>\n## `detect_circle`", "Wrapper for recursive _detect_circle function\n<END>", "<BEGIN>\n## `_detect_circle`", "Recursively iterate over nodes checking\n if we've traveled to that node before.\n<END>", "<BEGIN>\n## `_do`", "Recursive method to instantiate services\n<END>", "<BEGIN>\n## `_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _import_module 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 _import_module 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...
Imports the module dynamically _import_module('foo.bar') calls: __import__('foo.bar', globals(), locals(), ['bar', ], 0)
"Imports the module dynamically\n\n _import_module('foo.bar') calls:\n __import__('foo.bar',\n globals(),\n locals(),\n ['bar', ],\n 0)"
75
false
refinery29/chassis
_import_module
21,933
LDU_FT/PlaidWeb/Pushl/archive_namespace
LDU_FT
[ "<BEGIN>\n## `get_feed`", "Get a feed", " Arguments:", " config -- the configuration\n url -- The URL of the feed", " retval -- a tuple of feed,previous_version,changed\n<END>", "<BEGIN>\n## `archive_namespace`", "Returns the known namespace of the RFC5005 extension, if any\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive_namespace 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 archive_namespace 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...
Returns the known namespace of the RFC5005 extension, if any
"Returns the known namespace of the RFC5005 extension, if any"
38
false
PlaidWeb/Pushl
archive_namespace
21,934
LDU_FT/ojarva/python-ledcontroller/set_color
LDU_FT
[ "<BEGIN>\n## `execute`", "Execute a single command, and sets sleep times properly.", " - controller_id = index of controller, zero-based\n - command is normal LedController command as a string\n - *args and **kwargs are passed to command", " For example, .execute(0, \"on\", 1) send...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_color 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_color 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...
Switch lights on and change color. Available colors: - violet - royal_blue - baby_blue - aqua - royal_mint - seafoam_green - green - lime_green - yellow - yellow_orange - orang...
"Switch lights on and change color. Available colors:\n\n - violet\n - royal_blue\n - baby_blue\n - aqua\n - royal_mint\n - seafoam_green\n - green\n - lime_green\n - yellow\n - yellow_orange\n ...
49
false
ojarva/python-ledcontroller
set_color
21,935
LDU_FT/glue-viz/glue-vispy-viewers/_calc_positions
LDU_FT
[ "<BEGIN>\n## `iso_mesh_line`", "Generate an isocurve from vertex data in a surface mesh.", " Parameters\n ----------\n vertices : ndarray, shape (Nv, 3)\n Vertex coordinates.\n tris : ndarray, shape (Nf, 3)\n Indices of triangular element into the vertices array.\n vertex_data : nda...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calc_positions 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 _calc_positions 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...
Calculate the text centeritions given the ColorBar parameters. Note ---- This is static because in principle, this function does not need access to the state of the ColorBar at all. It's a computation function that computes coordinate transforms Paramete...
"Calculate the text centeritions given the ColorBar\n parameters.\n\n Note\n ----\n This is static because in principle, this\n function does not need access to the state of the ColorBar\n at all. It's a computation function that computes coordinate\n transforms\n\n ...
1,752
true
glue-viz/glue-vispy-viewers
_calc_positions
21,936
LDU_FT/pbrisk/timewave/finalize_path
LDU_FT
[ "<BEGIN>\n## `initialize_worker`", "inits producer for a simulation run on a single process\n<END>", "<BEGIN>\n## `initialize_path`", "inits producer for next path, i.e. sets current state to initial state\n<END>", "<BEGIN>\n## `evolve`", "evolve to the new process state at the next date, i.e. do one step...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize_path 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 finalize_path 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...
finalize path and populate result for ConsumerConsumer
"finalize path and populate result for ConsumerConsumer"
50
false
pbrisk/timewave
finalize_path
21,937
LDU_FT/stxnext/mappet/iter_children
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 iter_children 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 iter_children 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...
u"""Iterates over children. :param key: A key for filtering children by tagname.
"u\"\"\"Iterates over children.\n\n :param key: A key for filtering children by tagname."
66
false
stxnext/mappet
iter_children
21,938
LDU_FT/vecnet/vecnet.openmalaria/surveys
LDU_FT
[ "<BEGIN>\n## `get_percentage_from_prob`", "Converted probability of being treated to total percentage of clinical cases treated\n<END>", "<BEGIN>\n## `get_schema_version_from_xml`", "Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the surveys 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 surveys 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 the list of timesteps when survey measures has been captured None if xml document is mailformed xpath: /scenario/monitoring/survey https://github.com/SwissTPH/openmalaria/wiki/GeneratedSchema32Doc#survey-times-time-steps
"Returns the list of timesteps when survey measures has been captured\n None if xml document is mailformed\n xpath: /scenario/monitoring/survey\n https://github.com/SwissTPH/openmalaria/wiki/GeneratedSchema32Doc#survey-times-time-steps"
42
false
vecnet/vecnet.openmalaria
surveys
21,939
LDU_FT/crccheck/django-object-actions/takes_instance_or_queryset
LDU_FT
[ "<BEGIN>\n## `takes_instance_or_queryset`", "Decorator that makes standard Django admin actions compatible.\n<END>", "<BEGIN>\n## `get_urls`", "Prepend `get_urls` with our own patterns.\n<END>", "<BEGIN>\n## `_get_action_urls`", "Get the url patterns that route each action to a view.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the takes_instance_or_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the takes_instance_or_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Decorator that makes standard Django admin actions compatible.
"Decorator that makes standard Django admin actions compatible."
11
false
crccheck/django-object-actions
takes_instance_or_queryset
21,940
LDU_FT/thebjorn/pydeps/connect_generations
LDU_FT
[ "<BEGIN>\n## `write`", "Write ``txt`` to file and output stream (StringIO).\n<END>", "<BEGIN>\n## `write_attributes`", "Write comma separated attribute values (if exists).\n<END>", "<BEGIN>\n## `is_noise`", "Is this module just noise? (too common either at top or bottom of\n the graph).\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_generations 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 connect_generations 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...
Traverse depth-first adding imported_by.
"Traverse depth-first adding imported_by."
60
false
thebjorn/pydeps
connect_generations
21,941
LDU_FT/gagneurlab/concise/get_pwm_list
LDU_FT
[ "<BEGIN>\n## `best_kmers`", "Find best k-mers for CONCISE initialization.", " Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pwm_list 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 get_pwm_list 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...
Get a list of Attract PWM's. # Arguments pwm_id_list: List of id's from the `PWM_id` column in `get_metadata()` table pseudocountProb: Added pseudocount probabilities to the PWM # Returns List of `concise.utils.pwm.PWM` instances.
"Get a list of Attract PWM's.\n\n # Arguments\n pwm_id_list: List of id's from the `PWM_id` column in `get_metadata()` table\n pseudocountProb: Added pseudocount probabilities to the PWM\n\n # Returns\n List of `concise.utils.pwm.PWM` instances."
311
false
gagneurlab/concise
get_pwm_list
21,942
LDU_FT/getfleety/coralillo/set_engine
LDU_FT
[ "<BEGIN>\n## `snake_case`", "Takes a string that represents for example a class name and returns\n the snake case version of it. It is used for model-to-key conversion\n<END>", "<BEGIN>\n## `value_or_default`", "Returns the given value or the specified default value for this\n field\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_engine 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 set_engine 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...
Sets the given coralillo engine so the model uses it to communicate with the redis database
"Sets the given coralillo engine so the model uses it to communicate\n with the redis database"
62
false
getfleety/coralillo
set_engine
21,943
LDU_FT/pjuren/pyokit/pairedBEDIterator
LDU_FT
[ "<BEGIN>\n## `__trim_extensions_dot`", "trim leading dots from extensions and drop any empty strings.\n<END>", "<BEGIN>\n## `__split_genomic_interval_filename`", "Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).", " :return: tuple of (chrom, start, end) -- 'start' and 'end' are...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pairedBEDIterator 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 pairedBEDIterator 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...
Iterate over multiple BED format files simultaneously and yield lists of genomic intervals for each matching set of intervals found. By default, regions which are not found in all files will be skipped (mirror = false). Optionally (by setting mirror to true) if a file is missing an interval, it can be added on-...
"Iterate over multiple BED format files simultaneously and yield lists of\n genomic intervals for each matching set of intervals found. By default,\n regions which are not found in all files will be skipped (mirror = false).\n Optionally (by setting mirror to true) if a file is missing an interval,\n it can be adde...
519
false
pjuren/pyokit
pairedBEDIterator
21,944
LDU_FT/trustar/trustar-python/get_total_pages
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_total_pages 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_total_pages 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 total number of pages on the server.
":return: The total number of pages on the server."
243
false
trustar/trustar-python
get_total_pages
21,945
LDU_FT/usc-isi-i2/dig-extractor/__get_jp
LDU_FT
[ "<BEGIN>\n## `set_output_fields`", "Defines where to put the dictionary output of the extractor in the doc, but renames\n the fields of the extracted output for the document or just filters the keys\n<END>", "<BEGIN>\n## `__get_jp`", "Tries to get name from ExtractorProcessor to filter on first.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_jp 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_jp 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...
Tries to get name from ExtractorProcessor to filter on first. Otherwise falls back to filtering based on its metadata
"Tries to get name from ExtractorProcessor to filter on first.\n Otherwise falls back to filtering based on its metadata"
24
false
usc-isi-i2/dig-extractor
__get_jp
21,946
LDU_FT/wbond/certvalidator/verify_ocsp_response
LDU_FT
[ "<BEGIN>\n## `fetch`", "Fetches an OCSP response for a certificate", " :param cert:\n An asn1cyrpto.x509.Certificate object to get an OCSP reponse for", " :param issuer:\n An asn1crypto.x509.Certificate object that is the issuer of cert", " :param hash_algo:\n A unicode string ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_ocsp_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_ocsp_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. ...
Verifies an OCSP response, checking to make sure the certificate has not been revoked. Fulfills the requirements of https://tools.ietf.org/html/rfc6960#section-3.2. :param cert: An asn1cyrpto.x509.Certificate object to verify the OCSP reponse for :param path: A certvalidator.path.Valid...
"Verifies an OCSP response, checking to make sure the certificate has not\n been revoked. Fulfills the requirements of\n https://tools.ietf.org/html/rfc6960#section-3.2.\n\n :param cert:\n An asn1cyrpto.x509.Certificate object to verify the OCSP reponse for\n\n :param path:\n A certvalidator.p...
202
false
wbond/certvalidator
verify_ocsp_response
21,947
LDU_FT/glyphobet/fragments/commit
LDU_FT
[ "<BEGIN>\n## `_visible_in_diff`", "Collects the set of lines that should be visible in a diff with a certain number of context lines\n<END>", "<BEGIN>\n## `_split_diff`", "Split diffs and context lines into groups based on None sentinel\n<END>", "<BEGIN>\n## `_diff_group_position`", "Generate a unified di...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit 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 commit 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 ...
Commit changes to the fragments repository, limited to FILENAME(s) if specified.
"Commit changes to the fragments repository, limited to FILENAME(s) if specified."
28
false
glyphobet/fragments
commit
21,948
LDU_FT/fridiculous/django-estimators/load
LDU_FT
[ "<BEGIN>\n## `filter`", "filter lets django managers use `objects.filter` on a hashable object.\n<END>", "<BEGIN>\n## `_extract_model_params`", "this method allows django managers use `objects.get_or_create` and\n `objects.update_or_create` on a hashable object.\n<END>", "<BEGIN>\n## `persist`", "a...
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...
a private method that loads an estimator object from the filesystem
"a private method that loads an estimator object from the filesystem"
10
false
fridiculous/django-estimators
load
21,949
LDU_FT/GoogleCloudPlatform/appengine-mapreduce/_split_ns_by_scatter
LDU_FT
[ "<BEGIN>\n## `_validate_filters`", "Validate user supplied filters.", " Validate filters are on existing properties and filter values\n have valid semantics.", " Args:\n filters: user supplied filters. Each filter should be a list or tuple of\n format (<property_name_as_str>, <query_opera...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_ns_by_scatter 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 _split_ns_by_scatter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Split a namespace by scatter index into key_range.KeyRange. TODO(user): Power this with key_range.KeyRange.compute_split_points. Args: shard_count: number of shards. namespace: namespace name to split. str. raw_entity_kind: low level datastore API entity kind. app: app id in str. ...
"Split a namespace by scatter index into key_range.KeyRange.\n\n TODO(user): Power this with key_range.KeyRange.compute_split_points.\n\n Args:\n shard_count: number of shards.\n namespace: namespace name to split. str.\n raw_entity_kind: low level datastore API entity kind.\n app: app id in s...
766
false
GoogleCloudPlatform/appengine-mapreduce
_split_ns_by_scatter
21,950
LDU_FT/ThreatResponse/margaritashotgun/connect_with_password
LDU_FT
[ "<BEGIN>\n## `configure`", "Connect paramiko transport", " :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_with_password 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 connect_with_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Create an ssh session to a remote host with a username and password :type username: str :param username: username used for ssh authentication :type password: str :param password: password used for ssh authentication :type address: str :param address: remote server addres...
"Create an ssh session to a remote host with a username and password\n\n :type username: str\n :param username: username used for ssh authentication\n :type password: str\n :param password: password used for ssh authentication\n :type address: str\n :param address: remote serve...
134
false
ThreatResponse/margaritashotgun
connect_with_password
21,951
LDU_FT/ericsomdahl/python-bittrex/get_open_orders
LDU_FT
[ "<BEGIN>\n## `_api_query`", "Queries Bittrex", " :param request_url: fully-formed URL to request\n :type options: dict\n :return: JSON response from Bittrex\n :rtype : dict\n<END>", "<BEGIN>\n## `get_market_summary`", "Used to get the last 24 hour summary of all active\n e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_open_orders 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_open_orders 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...
Get all orders that you currently have opened. A specific market can be requested. Endpoint: 1.1 /market/getopenorders 2.0 /key/market/getopenorders :param market: String literal for the market (ie. BTC-LTC) :type market: str :return: Open orders info in JSON ...
"Get all orders that you currently have opened.\n A specific market can be requested.\n\n Endpoint:\n 1.1 /market/getopenorders\n 2.0 /key/market/getopenorders\n\n :param market: String literal for the market (ie. BTC-LTC)\n :type market: str\n :return: Open orders info ...
58
false
ericsomdahl/python-bittrex
get_open_orders
21,952
LDU_FT/poldracklab/niworkflows/_post_run_hook
LDU_FT
[ "<BEGIN>\n## `spike_regressors`", "Add spike regressors to a confound/nuisance matrix.", " Parameters\n ----------\n data: pandas DataFrame object\n A tabulation of observations from which spike regressors should be\n estimated.\n criteria: dict{str: ('>' or '<', float)}\n Crite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post_run_hook 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 _post_run_hook 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...
generates a report showing nine slices, three per axis, of an arbitrary volume of `in_files`, with the resulting segmentation overlaid
"generates a report showing nine slices, three per axis, of an\n arbitrary volume of `in_files`, with the resulting segmentation\n overlaid"
305
false
poldracklab/niworkflows
_post_run_hook
21,953
LDU_FT/kaste/mockito-python/get_obj_attr_tuple
LDU_FT
[ "<BEGIN>\n## `verify`", "Central interface to verify interactions.", " `verify` uses a fluent interface::", " verify(<obj>, times=2).<method_name>(<args>)", " `args` can be as concrete as necessary. Often a catch-all is enough,\n especially if you're working with strict mocks, bc they throw ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_obj_attr_tuple 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_obj_attr_tuple 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...
Split path into (obj, attribute) tuple. Given `path` is 'os.path.exists' will thus return `(os.path, 'exists')` If path is not a str, delegates to `get_function_host(path)`
"Split path into (obj, attribute) tuple.\n\n Given `path` is 'os.path.exists' will thus return `(os.path, 'exists')`\n\n If path is not a str, delegates to `get_function_host(path)`"
106
false
kaste/mockito-python
get_obj_attr_tuple
21,954
LDU_FT/selenol/selenol-python/recv
LDU_FT
[ "<BEGIN>\n## `run`", "Run the service in infinitive loop processing requests.\n<END>", "<BEGIN>\n## `on_message`", "Message from the backend has been received.", " :param message: Message string received.\n<END>", "<BEGIN>\n## `event`", "Create an event in the backend to be triggered given a circ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recv 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 recv 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...
Receive message from the backend or wait unilt next message.
"Receive message from the backend or wait unilt next message."
33
false
selenol/selenol-python
recv
21,955
LDU_FT/PyMLGame/pymlgame/gameloop
LDU_FT
[ "<BEGIN>\n## `update`", "Update the screens contents in every loop.\n<END>", "<BEGIN>\n## `render`", "Send the current screen content to Mate Light.\n<END>", "<BEGIN>\n## `gameloop`", "A game loop that circles through the methods.\n<END>", "<BEGIN>\n## `init`", "Initialize PyMLGame. This creates a con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gameloop 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 gameloop 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...
Loop through all the necessary stuff and end execution when Ctrl+C was hit.
"Loop through all the necessary stuff and end execution when Ctrl+C was hit."
63
false
PyMLGame/pymlgame
gameloop
21,956
LDU_FT/insightindustry/validator-collection/is_email
LDU_FT
[ "<BEGIN>\n## `disable_on_env`", "Disable the ``func`` called if its name is present in ``VALIDATORS_DISABLED``.", " :param func: The function/validator to be disabled.\n :type func: callable", " :returns: If disabled, the ``value`` (first positional argument) passed to\n ``func``. If enabled, th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_email 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 is_email 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...
Indicate whether ``value`` is an email address. .. note:: Email address validation is...complicated. The methodology that we have adopted here is *generally* compliant with `RFC 5322 <https://tools.ietf.org/html/rfc5322>`_ and uses a combination of string parsing and regular expressions. ...
"Indicate whether ``value`` is an email address.\n\n .. note::\n\n Email address validation is...complicated. The methodology that we have\n adopted here is *generally* compliant with\n `RFC 5322 <https://tools.ietf.org/html/rfc5322>`_ and uses a combination of\n string parsing and regular expres...
599
false
insightindustry/validator-collection
is_email
21,957
LDU_FT/elifesciences/elife-article/build_pub_dates
LDU_FT
[ "<BEGIN>\n## `build_contributors`", "Given a list of authors from the parser, instantiate contributors\n objects and build them\n<END>", "<BEGIN>\n## `build_datasets`", "Given datasets in JSON format, build and return a list of dataset objects\n<END>", "<BEGIN>\n## `build_data_availability`", "Given da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_pub_dates 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 build_pub_dates 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...
convert pub_dates into ArticleDate objects and add them to article
"convert pub_dates into ArticleDate objects and add them to article"
44
false
elifesciences/elife-article
build_pub_dates
21,958
LDU_FT/limix/geno-sugar/filter_by_maf
LDU_FT
[ "<BEGIN>\n## `filter_by_missing`", "return function that filters by missing values\r\n (takes maximum fraction of missing values, default is 0.01)\n<END>", "<BEGIN>\n## `filter_by_maf`", "return function that filters by maf\r\n (takes minimum maf, default is 0.01)\n<END>", "<BEGIN>\n## `snp_query`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_maf 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 filter_by_maf 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...
return function that filters by maf (takes minimum maf, default is 0.01)
"return function that filters by maf\r\n (takes minimum maf, default is 0.01)"
18
false
limix/geno-sugar
filter_by_maf
21,959
LDU_FT/jquast/wcwidth/initialize_page_data
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 initialize_page_data 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 initialize_page_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Initialize the page data for the given screen.
"Initialize the page data for the given screen."
60
false
jquast/wcwidth
initialize_page_data
21,960
LDU_FT/NerdWalletOSS/savage/to_archivable_dict
LDU_FT
[ "<BEGIN>\n## `delete`", "Performs a hard delete on a row, which means the row is deleted from the Savage\n table as well as the archive table.", " :param table: the model class which inherits from\n :class:`~savage.models.user_table.SavageModelMixin` and specifies the model\n of the user tab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_archivable_dict 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 to_archivable_dict 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...
:param dialect: a :py:class:`~sqlalchemy.engine.interfaces.Dialect` corresponding to the \ SQL dialect being used. :param use_dirty: whether to make a dict of the fields as they stand, or the fields \ before the row was updated :return: a dictionary of key value pairs representi...
":param dialect: a :py:class:`~sqlalchemy.engine.interfaces.Dialect` corresponding to the \\\n SQL dialect being used.\n :param use_dirty: whether to make a dict of the fields as they stand, or the fields \\\n before the row was updated\n\n :return: a dictionary of key value pairs re...
60
false
NerdWalletOSS/savage
to_archivable_dict
21,961
LDU_FT/sleepyfran/itunespy/get_books
LDU_FT
[ "<BEGIN>\n## `get_tracks`", "Retrieves all the tracks of the album if they haven't been retrieved yet\n :return: List. Tracks of the current album\n<END>", "<BEGIN>\n## `get_album_time`", "Retrieves all of the track's length and returns the sum of all\n :param round_number: Int. Number of decima...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract...
Retrieves all the books published by the artist :return: List. Books published by the artist
"Retrieves all the books published by the artist\n :return: List. Books published by the artist"
24
false
sleepyfran/itunespy
get_books
21,962
LDU_FT/HPAC/matchpy/is_match
LDU_FT
[ "<BEGIN>\n## `substitute`", "Replaces variables in the given *expression* using the given *substitution*.", " >>> print(substitute(f(x_), {'x': a}))\n f(a)", " If nothing was substituted, the original expression is returned:", " >>> expression = f(x_)\n >>> result = substitute(expression, {'y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_match 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 is_match 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 whether the given *subject* matches given *pattern*. Args: subject: The subject. pattern: The pattern. Returns: True iff the subject matches the pattern.
"Check whether the given *subject* matches given *pattern*.\n\n Args:\n subject:\n The subject.\n pattern:\n The pattern.\n\n Returns:\n True iff the subject matches the pattern."
324
false
HPAC/matchpy
is_match
21,963
LDU_FT/ubccr/pinky/smilin
LDU_FT
[ "<BEGIN>\n## `draw`", "(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.", " atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>", "<BEGIN>\n## `getPyroleLikeAtoms`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smilin 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 smilin 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 ...
(smiles)->molecule Convert a smiles string into a molecule representation
"(smiles)->molecule\r\n Convert a smiles string into a molecule representation"
63
false
ubccr/pinky
smilin
21,964
LDU_FT/davisd50/sparc.cache/isDirty
LDU_FT
[ "<BEGIN>\n## `schema_map`", "Return a valid ICachedItemMapper.map for schema\n<END>", "<BEGIN>\n## `items`", "Returns a generator of available ICachableItem in the ICachableSource\n<END>", "<BEGIN>\n## `getById`", "Returns ICachableItem that matches id", " Args:\n id: String that ident...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isDirty 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 isDirty 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...
True if cached information requires update for ICachableItem
"True if cached information requires update for ICachableItem"
37
false
davisd50/sparc.cache
isDirty
21,965
LDU_FT/sveetch/django-feedparser/get_context
LDU_FT
[ "<BEGIN>\n## `safe_import_module`", "Try to import the specified module from the given Python path", " @path is a string containing a Python path to the wanted module, @default is \n an object to return if import fails, it can be None, a callable or whatever you need.", " Return a object or None\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context 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_context 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...
Build template context with formatted feed content
"Build template context with formatted feed content"
22
false
sveetch/django-feedparser
get_context
21,966
LDU_FT/internetarchive/doublethink/unique_service
LDU_FT
[ "<BEGIN>\n## `_server_whitelist`", "Returns list of servers that have not errored in the last five minutes.\n If all servers have errored in the last five minutes, returns list with\n one item, the server that errored least recently.\n<END>", "<BEGIN>\n## `parse_rethinkdb_url`", "Parses a url li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_service 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 unique_service 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...
Retrieve a unique service, possibly setting or heartbeating it first. A "unique service" is a service with only one instance for a given role. Uniqueness is enforced by using the role name as the primary key `{'id':role, ...}`. Args: role (str): role name candid...
"Retrieve a unique service, possibly setting or heartbeating it first.\n\n A \"unique service\" is a service with only one instance for a given\n role. Uniqueness is enforced by using the role name as the primary key\n `{'id':role, ...}`.\n\n Args:\n role (str): role name\n ...
43
false
internetarchive/doublethink
unique_service
21,967
LDU_FT/redhat-cip/python-dciclient/list
LDU_FT
[ "<BEGIN>\n## `list`", "list(context, verbose)", " List all tags.", " >>> dcictl tag-list", " :param boolean verbose: Display verbose output\n<END>", "<BEGIN>\n## `create`", "create(context, name)", " Create a tag.", " >>> dcictl tag-create [OPTIONS]", " :param string name: Name o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list 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 list 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...
list(context, verbose) List all tags. >>> dcictl tag-list :param boolean verbose: Display verbose output
"list(context, verbose)\n\n List all tags.\n\n >>> dcictl tag-list\n\n :param boolean verbose: Display verbose output"
310
false
redhat-cip/python-dciclient
list
21,968
LDU_FT/PrefPy/prefpy/mix2PL_wsse
LDU_FT
[ "<BEGIN>\n## `mse`", "Description:\r\n Calculates the Mean Squared Error (MSE) of\r\n an estimation on flat numpy ndarrays.\r\n Parameters:\r\n mean: actual value (numpy ndarray)\r\n estimator: estimated value of the mean (numpy ndarray)\n<END>", "<BEGIN>\n## `sse`", "Descr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mix2PL_wsse 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 mix2PL_wsse 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...
Description: Calculates the weighted Sum of Squared Errors (WSSE) of an estimator of a mixture of 2 Plackett-Luce models, on flat numpy ndarrays, where the first element is the mixing proportion of the first model defined as the minimum WSSE over the inverse permutations of ...
"Description:\r\n Calculates the weighted Sum of Squared Errors (WSSE)\r\n of an estimator of a mixture of 2 Plackett-Luce models,\r\n on flat numpy ndarrays, where the first element is\r\n the mixing proportion of the first model defined\r\n as the minimum WSSE over the inverse permu...
316
false
PrefPy/prefpy
mix2PL_wsse
21,969
LDU_FT/lovvskillz/python-discord-webhook/add_file
LDU_FT
[ "<BEGIN>\n## `add_file`", "add file to webhook\n :param file: file content\n :param filename: filename\n :return:\n<END>", "<BEGIN>\n## `add_embed`", "add embedded rich content\n :param embed: embed object or dict\n<END>", "<BEGIN>\n## `json`", "convert webhook data to json\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file 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 add_file 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...
add file to webhook :param file: file content :param filename: filename :return:
"add file to webhook\n :param file: file content\n :param filename: filename\n :return:"
20
false
lovvskillz/python-discord-webhook
add_file
21,970
LDU_FT/stevepeak/inquiry/merge
LDU_FT
[ "<BEGIN>\n## `unique`", "Unique with keeping sort/order\n [\"a\", \"c\", \"b\", \"c\", \"c\", [\"d\", \"e\"]]", " Results in\n [\"a\", \"c\", \"b\", \"d\", \"e\"]\n<END>", "<BEGIN>\n## `_merge_fix`", "Fixes keys that start with \"&\" and \"-\"\n d = {\n \"&steve\": 10,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge 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 merge 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...
This method does cool stuff like append and replace for dicts d1 = { "steve": 10, "gary": 4 } d2 = { "&steve": 11, "-gary": null } result = { "steve": [10, 11] }
"This method does cool stuff like append and replace for dicts\n d1 = {\n \"steve\": 10,\n \"gary\": 4\n }\n d2 = {\n \"&steve\": 11,\n \"-gary\": null\n }\n result = {\n \"steve\": [10, 11]\n }"
17
false
stevepeak/inquiry
merge
21,971
LDU_FT/minorg/pastpy/write
LDU_FT
[ "<BEGIN>\n## `read`", "Read a new object from the given input protocol and return the object.", " :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.dbf.objects_dbf_record.ObjectsDbfRecord\n<END>", "<BEGIN>\n## `write`", "Write this object to the giv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write 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 write 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...
Write this object to the given output protocol and return self. :type oprot: thryft.protocol._output_protocol._OutputProtocol :rtype: pastpy.gen.database.impl.dbf.dbf_database_configuration.DbfDatabaseConfiguration
"Write this object to the given output protocol and return self.\n\n :type oprot: thryft.protocol._output_protocol._OutputProtocol\n :rtype: pastpy.gen.database.impl.dbf.dbf_database_configuration.DbfDatabaseConfiguration"
42
false
minorg/pastpy
write
21,972