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/onnx/onnxmltools/optimize_onnx_model
LDU_FT
[ "<BEGIN>\n## `apply_cast`", ":param to: enum defined in ONNX TensorProto.DataType, for example, TensorProto.FLOAT and TensorProto.INT64.\n<END>", "<BEGIN>\n## `apply_gemm`", "Applies operator `gemm <https://github.com/onnx/onnx/blob/master/docs/Operators.md#gemm>`.\n<END>", "<BEGIN>\n## `apply_upsample`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize_onnx_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize_onnx_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. T...
the origin model will be updated after the optimization. :param origin_model: :param nchw_inputs: :return:
"the origin model will be updated after the optimization.\n :param origin_model:\n :param nchw_inputs:\n :return:"
300
false
onnx/onnxmltools
optimize_onnx_model
12,073
LDU_FT/keleshev/schema/validate
LDU_FT
[ "<BEGIN>\n## `code`", "Removes duplicates values in auto and error list.\n parameters.\n<END>", "<BEGIN>\n## `validate`", "Validate data using defined sub schema/expressions ensuring all\n values are valid.\n :param data: to be validated with sub defined schemas.\n :return: returns...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. 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 validate API. 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...
Validate data using sub defined schema/expressions ensuring at least one value is valid. :param data: data to be validated by provided schema. :return: return validated data if not validation
"Validate data using sub defined schema/expressions ensuring at least\n one value is valid.\n :param data: data to be validated by provided schema.\n :return: return validated data if not validation"
12
false
keleshev/schema
validate
12,074
LDU_FT/rsalmei/clearly/copy_update
LDU_FT
[ "<BEGIN>\n## `server`", "Starts the Clearly Server.", " BROKER: The broker being used by celery, like \"amqp://localhost\".\n<END>", "<BEGIN>\n## `start_server`", "Starts a Clearly Server programmatically.\n<END>", "<BEGIN>\n## `_event_to_pb`", "Supports converting internal TaskData and WorkerDat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns a copy of the PB object, with some fields updated. Args: pb_message: **kwds: Returns:
"Returns a copy of the PB object, with some fields updated.\n\n Args:\n pb_message:\n **kwds:\n\n Returns:"
63
false
rsalmei/clearly
copy_update
12,075
LDU_FT/alfred82santa/dirty-loader/unregister_module
LDU_FT
[ "<BEGIN>\n## `register_module`", "Register a module. You could indicate position inside inner list.", " :param module: must be a string or a module object to register.\n :type module: str\n :param idx: position where you want to insert new module. By default it is inserted at the end.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister_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...
Unregister a module. :param module: must be a string or a module object to unregistered :type module: str
"Unregister a module.\n\n :param module: must be a string or a module object to unregistered\n :type module: str"
33
false
alfred82santa/dirty-loader
unregister_module
12,076
LDU_FT/timgabets/bpc8583/set_expected_action
LDU_FT
[ "<BEGIN>\n## `set_terminal_key`", "Change the terminal key. The encrypted_key is a hex string.\n encrypted_key is expected to be encrypted under master key\n<END>", "<BEGIN>\n## `get_encrypted_pin`", "Get PIN block in ISO 0 format, encrypted with the terminal key\n<END>", "<BEGIN>\n## `get_descriptio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_expected_action 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 set_expected_action 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...
Expected outcome of the transaction ('APPROVED' or 'DECLINED')
"Expected outcome of the transaction ('APPROVED' or 'DECLINED')"
18
false
timgabets/bpc8583
set_expected_action
12,077
LDU_FT/teddychoi/BynamoDB/create_table
LDU_FT
[ "<BEGIN>\n## `create_table`", "Create the table as the schema definition.\n<END>", "<BEGIN>\n## `update_item`", "Update item attributes. Currently SET and ADD actions are supported.\n<END>", "<BEGIN>\n## `query`", "High level query API.", " :param key_filter: key conditions of the query.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table API. 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 create_table API. 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...
Create the table as the schema definition.
"Create the table as the schema definition."
20
false
teddychoi/BynamoDB
create_table
12,078
LDU_FT/noobermin/pys/parse_stuple
LDU_FT
[ "<BEGIN>\n## `conv`", "essentially, the generalization of", " arg if arg else default", " or", " func(arg) if arg else default\n<END>", "<BEGIN>\n## `filelines`", "read lines from a file into lines...optional strip\n<END>", "<BEGIN>\n## `parse_utuple`", "parse a string into a list of a unif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_stuple API. 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 parse_stuple API. 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...
parse a string of strings. Don't quote strings
"parse a string of strings. Don't quote strings"
37
false
noobermin/pys
parse_stuple
12,079
LDU_FT/agoragames/kairos/step_size
LDU_FT
[ "<BEGIN>\n## `_resolve_time`", "Resolve the time in seconds of a configuration value.\n<END>", "<BEGIN>\n## `step_size`", "Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_size API. 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 step_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return the time in seconds of a step. If a begin and end timestamp, return the time in seconds between them after adjusting for what buckets they alias to. If t1 and t0 resolve to the same bucket,
"Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve to the same bucket,"
74
false
agoragames/kairos
step_size
12,080
LDU_FT/boakley/robotframework-hub/_looks_like_libdoc_file
LDU_FT
[ "<BEGIN>\n## `add`", "Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database\n<END>", "<BEGIN>\n## `on_change`", "Respond to changes in the file system", " This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _looks_like_libdoc_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 _looks_like_libdoc_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 true if an xml file looks like a libdoc file
"Return true if an xml file looks like a libdoc file"
61
false
boakley/robotframework-hub
_looks_like_libdoc_file
12,081
LDU_FT/odlgroup/odl/dist
LDU_FT
[ "<BEGIN>\n## `is_valid_input_array`", "Test if ``x`` is a correctly shaped point array in R^d.\n<END>", "<BEGIN>\n## `is_valid_input_meshgrid`", "Test if ``x`` is a `meshgrid` sequence for points in R^d.\n<END>", "<BEGIN>\n## `out_shape_from_meshgrid`", "Get the broadcast output shape from a `meshgrid`.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dist API. 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 dist API. 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...
Calculate the constant-weighted distance between two elements. Parameters ---------- x1, x2 : `ProductSpaceElement` Elements whose mutual distance is calculated. Returns ------- dist : float The distance between the elements.
"Calculate the constant-weighted distance between two elements.\n\n Parameters\n ----------\n x1, x2 : `ProductSpaceElement`\n Elements whose mutual distance is calculated.\n\n Returns\n -------\n dist : float\n The distance between the elements."
4,047
true
odlgroup/odl
dist
12,082
LDU_FT/Nike-Inc/cerberus-python-client/get_sdb_id
LDU_FT
[ "<BEGIN>\n## `throw_if_bad_response`", "Throw an exception if the Cerberus response is not successful.\n<END>", "<BEGIN>\n## `_add_slash`", "if a string doesn't end in a '/' add one\n<END>", "<BEGIN>\n## `_set_token`", "Set the Cerberus token based on auth type\n<END>", "<BEGIN>\n## `get_roles`", "Ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sdb_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sdb_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return the ID for the given safe deposit box. Keyword arguments: sdb -- This is the name of the safe deposit box, not the path
"Return the ID for the given safe deposit box.\n\n Keyword arguments:\n sdb -- This is the name of the safe deposit box, not the path"
86
false
Nike-Inc/cerberus-python-client
get_sdb_id
12,083
LDU_FT/eeue56/PyChat.js/release_name
LDU_FT
[ "<BEGIN>\n## `create_message`", "Creates a standard message from a given user with the message \r\n Replaces newline with html break\n<END>", "<BEGIN>\n## `write_message`", "Writes a message to this chat connection's handler\n<END>", "<BEGIN>\n## `join_room`", "Connects to a given room \r\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_name API. 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 release_name API. 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...
release a name and add it to the temp list
"release a name and add it to the temp list"
20
false
eeue56/PyChat.js
release_name
12,084
LDU_FT/kylejusticemagnuson/pyti/buying_pressure
LDU_FT
[ "<BEGIN>\n## `band_width`", "Bandwidth.", " Formula:\n BW = SMA(H - L)\n<END>", "<BEGIN>\n## `center_band`", "Center Band.", " Formula:\n CB = SMA(TP)\n<END>", "<BEGIN>\n## `upper_band`", "Upper Band.", " Formula:\n UB = CB + BW\n<END>", "<BEGIN>\n## `lower_band`", "Lower Band....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buying_pressure API. 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 buying_pressure API. 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...
Buying Pressure. Formula: BP = current close - min()
"Buying Pressure.\n\n Formula:\n BP = current close - min()"
204
false
kylejusticemagnuson/pyti
buying_pressure
12,085
LDU_FT/kivy/buildozer/check_root
LDU_FT
[ "<BEGIN>\n## `_sdkmanager`", "Call the sdkmanager in our Android SDK with the given arguments.\n<END>", "<BEGIN>\n## `_locate_java`", "If JAVA_HOME is in the environ, return $JAVA_HOME/bin/s. Otherwise,\n return s.\n<END>", "<BEGIN>\n## `_android_get_installed_platform_tools_version`", "Crudely par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_root API. 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 check_root API. 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...
If effective user id is 0, display a warning and require user input to continue (or to cancel)
"If effective user id is 0, display a warning and require\n user input to continue (or to cancel)"
54
false
kivy/buildozer
check_root
12,086
LDU_FT/mgraffg/EvoDAG/trace
LDU_FT
[ "<BEGIN>\n## `compute_weight`", "Returns the weight (w) using OLS of r * w = gp._ytr\n<END>", "<BEGIN>\n## `isfinite`", "Test whether the predicted values are finite\n<END>", "<BEGIN>\n## `trace`", "Restore the position in the history of individual v's nodes\n<END>", "<BEGIN>\n## `tournament`", "Tourn...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace API. 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 trace API. 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...
Restore the position in the history of individual v's nodes
"Restore the position in the history of individual v's nodes"
42
false
mgraffg/EvoDAG
trace
12,087
LDU_FT/bbengfort/commis/execute
LDU_FT
[ "<BEGIN>\n## `create_parser`", "Creates the subparser for this particular command\n<END>", "<BEGIN>\n## `add_arguments`", "Definition and addition of all arguments.\n<END>", "<BEGIN>\n## `add_arguments`", "Add the label argument by default, no need to specify it in args.\n<END>", "<BEGIN>\n## `handle_de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. 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 execute API. 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...
Entry point to the execution of the program.
"Entry point to the execution of the program."
14
false
bbengfort/commis
execute
12,088
LDU_FT/progrium/skypipe/skypipe_input_stream
LDU_FT
[ "<BEGIN>\n## `sp_msg`", "Produces skypipe protocol multipart message\n<END>", "<BEGIN>\n## `check_skypipe_endpoint`", "Skypipe endpoint checker -- pings endpoint", " Returns True if endpoint replies with valid header,\n Returns False if endpoint replies with invalid header,\n Returns None if endpoi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skypipe_input_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skypipe_input_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns a context manager for streaming data into skypipe
"Returns a context manager for streaming data into skypipe"
22
false
progrium/skypipe
skypipe_input_stream
12,089
LDU_FT/c0fec0de/anytree/find_by_attr
LDU_FT
[ "<BEGIN>\n## `siblings`", "Tuple of nodes with the same parent.", " >>> from anytree import Node\n >>> udo = Node(\"Udo\")\n >>> marc = Node(\"Marc\", parent=udo)\n >>> lian = Node(\"Lian\", parent=marc)\n >>> loui = Node(\"Loui\", parent=marc)\n >>> lazy = Node(\"Lazy\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_attr API. 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 find_by_attr API. 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...
Search for *single* node with attribute `name` having `value` but stop at `maxlevel`. Return tuple with matching nodes. Args: node: top node, start searching. value: value which need to match Keyword Args: name (str): attribute name need to match maxlevel (int): maximum d...
"Search for *single* node with attribute `name` having `value` but stop at `maxlevel`.\n\n Return tuple with matching nodes.\n\n Args:\n node: top node, start searching.\n value: value which need to match\n\n\n Keyword Args:\n name (str): attribute name need to match\n maxlevel (int...
99
false
c0fec0de/anytree
find_by_attr
12,090
LDU_FT/hph/mov/create
LDU_FT
[ "<BEGIN>\n## `get_size`", "Return the size of path in bytes if it exists and can be determined.\n<END>", "<BEGIN>\n## `local_data`", "Return tuples of names, directories, total sizes and files. Each\n directory represents a single film and the files are the files contained\n in the directory, such...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a new database with information about the films in the specified directory or directories.
"Create a new database with information about the films in the specified\n directory or directories."
12
false
hph/mov
create
12,091
LDU_FT/zeaphoo/budoc/functions
LDU_FT
[ "<BEGIN>\n## `import_module`", "Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.", " If a module has already been import...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the functions API. 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 functions API. 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...
Returns all documented module level functions in the module sorted alphabetically as a list of `pydoc.Function`.
"Returns all documented module level functions in the module\n sorted alphabetically as a list of `pydoc.Function`."
54
false
zeaphoo/budoc
functions
12,092
LDU_FT/swimlane/swimlane-python/cast_to_python
LDU_FT
[ "<BEGIN>\n## `add_record_references`", "Bulk operation to directly add record references without making any additional requests", " Warnings:\n Does not perform any app, record, or target app/record validation", " Args:\n app_id (str): Full App ID string\n record...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast_to_python API. 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 cast_to_python API. 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...
Convert JSON definition to UserGroup object
"Convert JSON definition to UserGroup object"
273
false
swimlane/swimlane-python
cast_to_python
12,093
LDU_FT/pixelogik/NearPy/perform_pca
LDU_FT
[ "<BEGIN>\n## `store_vector`", "Stores vector and JSON-serializable data in bucket with specified key.\n<END>", "<BEGIN>\n## `store_many_vectors`", "Store a batch of vectors.\n Stores vector and JSON-serializable data in bucket with specified key.\n<END>", "<BEGIN>\n## `delete_vector`", "Deletes vec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_pca API. 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 perform_pca API. 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...
Computes eigenvalues and eigenvectors of covariance matrix of A. The rows of a correspond to observations, the columns to variables.
"Computes eigenvalues and eigenvectors of covariance matrix of A.\n The rows of a correspond to observations, the columns to variables."
103
false
pixelogik/NearPy
perform_pca
12,094
LDU_FT/renatopp/liac-arff/decode
LDU_FT
[ "<BEGIN>\n## `_parse_values`", "(INTERNAL) Split a line into a list of values\n<END>", "<BEGIN>\n## `load`", "Load a file-like object containing the ARFF document and convert it into\n a Python object.", " :param fp: a file-like object.\n :param encode_nominal: boolean, if True perform a label enco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. 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 decode API. 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 Python representation of a given ARFF file. When a file object is passed as an argument, this method reads lines iteratively, avoiding to load unnecessary information to the memory. :param s: a string or file object with the ARFF file. :param encode_nominal: boolean, if Tru...
"Returns the Python representation of a given ARFF file.\n\n When a file object is passed as an argument, this method reads lines\n iteratively, avoiding to load unnecessary information to the memory.\n\n :param s: a string or file object with the ARFF file.\n :param encode_nominal: boolean,...
54
false
renatopp/liac-arff
decode
12,095
LDU_FT/tchellomello/python-amcrest/mjpeg_url
LDU_FT
[ "<BEGIN>\n## `record_config`", "rec_opt is the Record options listed as example below:", " +----------------------+--------+------------------------------------+\n | ParamName | Value | Description |\n +----------------------+--------+---------------------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mjpeg_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mjpeg_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Return MJPEG streaming url Params: channelno: integer, the video channel index which starts from 1, default 1 if not specified. typeno: the stream type, default 0 if not specified. It can be the following value: 0-Main Str...
"Return MJPEG streaming url\n\n Params:\n channelno: integer, the video channel index which starts from 1,\n default 1 if not specified.\n\n typeno: the stream type, default 0 if not specified. It can be\n the following value:\n\n ...
105
false
tchellomello/python-amcrest
mjpeg_url
12,096
LDU_FT/stephanepechard/projy/run_info
LDU_FT
[ "<BEGIN>\n## `author_from_git`", "Get the author name from git information.\n<END>", "<BEGIN>\n## `text_in_color`", "Print with a beautiful color. See codes at the top of this file.\n<END>", "<BEGIN>\n## `collect`", "Select the best suited data of all available in the subclasses.\n In each subc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Print information about a specific template.
"Print information about a specific template."
38
false
stephanepechard/projy
run_info
12,097
LDU_FT/openvax/varcode/effects
LDU_FT
[ "<BEGIN>\n## `translate_codon`", "Translate a single codon into a single amino acid or stop '*'", " Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>", "<BEGIN>\n## `translate`", "Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the effects API. 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 effects API. 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...
Parameters ---------- raise_on_error : bool, optional If exception is raised while determining effect of variant on a transcript, should it be raised? This default is True, meaning errors result in raised exceptions, otherwise they are only logged.
"Parameters\n ----------\n raise_on_error : bool, optional\n If exception is raised while determining effect of variant on a\n transcript, should it be raised? This default is True, meaning\n errors result in raised exceptions, otherwise they are only logged."
344
false
openvax/varcode
effects
12,098
LDU_FT/juju/python-libjuju/SetExternalControllerInfo
LDU_FT
[ "<BEGIN>\n## `get_charm_series`", "Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).", " Returns None if no series can be determined.\n<END>", "<BEGIN>\n## `cares_about`", "Return True if this observer \"cares about\" ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SetExternalControllerInfo 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 SetExternalControllerInfo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
controllers : typing.Sequence[~SetExternalControllerInfoParams] Returns -> typing.Sequence[~ErrorResult]
"controllers : typing.Sequence[~SetExternalControllerInfoParams]\n Returns -> typing.Sequence[~ErrorResult]"
672
false
juju/python-libjuju
SetExternalControllerInfo
12,099
LDU_FT/mattloper/chumpy/show_tree
LDU_FT
[ "<BEGIN>\n## `get_peak_mem`", "this returns peak memory use since process starts till the moment its called\n<END>", "<BEGIN>\n## `dfs_do_func_on_graph`", "invoke func on each node of the dr graph\n<END>", "<BEGIN>\n## `sparse_is_desireable`", "Examines a pair of matrices and determines if the result of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_tree API. 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 show_tree API. 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...
Cachelim is in Mb. For any cached jacobians above cachelim, they are also added to the graph.
"Cachelim is in Mb. For any cached jacobians above cachelim, they are also added to the graph."
30
false
mattloper/chumpy
show_tree
12,100
LDU_FT/kylewm/flask-micropub/authenticate
LDU_FT
[ "<BEGIN>\n## `init_app`", "Initialize the Micropub extension if it was not given app\n in the constructor.", " Args:\n app (flask.Flask): the flask application to extend.\n client_id (string, optional): the IndieAuth client id, will be\n displayed when the user is aske...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API. 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 authenticate API. 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...
Authenticate a user via IndieAuth. Args: me (string): the authing user's URL. if it does not begin with https?://, http:// will be prepended. state (string, optional): passed through the whole auth process, useful if you want to maintain some state, e.g. the starting...
"Authenticate a user via IndieAuth.\n\n Args:\n me (string): the authing user's URL. if it does not begin with\n https?://, http:// will be prepended.\n state (string, optional): passed through the whole auth process,\n useful if you want to maintain some state, e.g. the s...
19
false
kylewm/flask-micropub
authenticate
12,101
LDU_FT/cloudant/python-cloudant/exists
LDU_FT
[ "<BEGIN>\n## `_start`", "Starts streaming the feed using the provided session and feed options.\n<END>", "<BEGIN>\n## `_translate`", "Perform translation of feed options passed in as keyword\n arguments to CouchDB/Cloudant equivalent.\n<END>", "<BEGIN>\n## `_validate`", "Ensures that the key and th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Retrieves whether the document exists in the remote database or not. :returns: True if the document exists in the remote database, otherwise False
"Retrieves whether the document exists in the remote database or not.\n\n :returns: True if the document exists in the remote database,\n otherwise False"
489
false
cloudant/python-cloudant
exists
12,102
LDU_FT/mukulhase/WebWhatsapp-Wrapper/run
LDU_FT
[ "<BEGIN>\n## `run`", "Locks the main thread while the subscription in running\n<END>", "<BEGIN>\n## `save_firefox_profile`", "Function to save the firefox profile to the permanant one\n<END>", "<BEGIN>\n## `get_contacts`", "Fetches list of all contacts\n This will return chats with people from the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 run API. 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...
Locks the main thread while the subscription in running
"Locks the main thread while the subscription in running"
108
false
mukulhase/WebWhatsapp-Wrapper
run
12,103
LDU_FT/brbsix/subsystem/warning
LDU_FT
[ "<BEGIN>\n## `devnull`", "Temporarily redirect stdout and stderr to /dev/null.\n<END>", "<BEGIN>\n## `error`", "Display error message via stderr or GUI.\n<END>", "<BEGIN>\n## `failure`", "Display warning message via stderr or GUI.\n<END>", "<BEGIN>\n## `have`", "Determine whether supplied argument is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the warning API. 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 warning API. 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 warning message via stderr or GUI.
"Display warning message via stderr or GUI."
18
false
brbsix/subsystem
warning
12,104
LDU_FT/wesyoung/pyzyre/freefn
LDU_FT
[ "<BEGIN>\n## `set_header`", "Set node header; these are provided to other nodes during discovery\nand come in each ENTER message.\n<END>", "<BEGIN>\n## `set_endpoint`", "By default, Zyre binds to an ephemeral TCP port and broadcasts the local\nhost name using UDP beaconing. When you call this method, Zyre wil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the freefn API. 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 freefn API. 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 a free function for the specified hash table item. When the item is destroyed, the free function, if any, is called on that item. Use this when hash items are dynamically allocated, to ensure that you don't have memory leaks. You can pass 'free' or NULL as a free_fn. Returns the item, or NULL if there is no such it...
"Set a free function for the specified hash table item. When the item is\ndestroyed, the free function, if any, is called on that item.\nUse this when hash items are dynamically allocated, to ensure that\nyou don't have memory leaks. You can pass 'free' or NULL as a free_fn.\nReturns the item, or NULL if there is no su...
192
false
wesyoung/pyzyre
freefn
12,105
LDU_FT/draperjames/qtpandas/superReadText
LDU_FT
[ "<BEGIN>\n## `startDrag`", "start a drag operation with a PandasCellPayload on defined index.", " Args:\n index (QModelIndex): model index you want to start the drag operation.\n<END>", "<BEGIN>\n## `initUi`", "Initalizes the Uuser Interface with all sub widgets.\n<END>", "<BEGIN>\n## `e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the superReadText API. 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 superReadText API. 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...
A wrapper to superReadCSV which wraps pandas.read_csv(). The benefit of using this function is that it automatically identifies the column separator. .tsv files are assumed to have a \t (tab) separation .csv files are assumed to have a comma separation. .txt (or any other type) get the first line of...
"A wrapper to superReadCSV which wraps pandas.read_csv().\n The benefit of using this function is that it automatically identifies the\n column separator.\n .tsv files are assumed to have a \\t (tab) separation\n .csv files are assumed to have a comma separation.\n .txt (or any other type) get the first ...
420
false
draperjames/qtpandas
superReadText
12,106
LDU_FT/trevorstephens/gplearn/_protected_division
LDU_FT
[ "<BEGIN>\n## `_parallel_evolve`", "Private function used to build a batch of programs within a job.\n<END>", "<BEGIN>\n## `_verbose_reporter`", "A report of the progress of the evolution process.", " Parameters\n ----------\n run_details : dict\n Information about the evoluti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _protected_division 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 _protected_division 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...
Closure of division (x1/x2) for zero denominator.
"Closure of division (x1/x2) for zero denominator."
103
false
trevorstephens/gplearn
_protected_division
12,107
LDU_FT/nkmathew/yasi-sexp-indenter/assign_indent_numbers
LDU_FT
[ "<BEGIN>\n## `parse_options`", "Reads command-line arguments", " >>> parse_options('--indent-comments')\n<END>", "<BEGIN>\n## `read_file`", "read_file(fname : str) -> str", " >>> read_file(r'C:\\\\mine\\\\test.lisp')\n r'(print \"No, no, there\\'s \\\\r\\\\nlife in him!. \")\\\\r\\\\n\\\\r\\\\n'"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assign_indent_numbers 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 assign_indent_numbers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Associate keywords with their respective indentation numbers
"Associate keywords with their respective indentation numbers"
73
false
nkmathew/yasi-sexp-indenter
assign_indent_numbers
12,108
LDU_FT/ryanvarley/ExoData/_loadDatabase
LDU_FT
[ "<BEGIN>\n## `load_db_from_url`", "Loads the database from a gzipped version of the system folder, by default the one located in the oec_gzip repo\n in the OpenExoplanetCatalogue GitHub group.", " The database is loaded from the url in memory", " :param url: url to load (must be gzipped version of sy...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _loadDatabase API. 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 _loadDatabase API. 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...
Loads the database from a given file path in the class :param databaseLocation: the location on disk or the stream object :param stream: if true treats the databaseLocation as a stream object
"Loads the database from a given file path in the class\n\n :param databaseLocation: the location on disk or the stream object\n :param stream: if true treats the databaseLocation as a stream object"
133
false
ryanvarley/ExoData
_loadDatabase
12,109
LDU_FT/mcocdawc/chemcoord/reindex_similar
LDU_FT
[ "<BEGIN>\n## `_check_construction_table`", "Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>", "<BEGIN>\n## `_get_frag_constr_table`", "Create a construction table for a Zmatrix.", " A construction table is basically a Zm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reindex_similar API. 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 reindex_similar API. 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...
Reindex ``other`` to be similarly indexed as ``self``. Returns a reindexed copy of ``other`` that minimizes the distance for each atom to itself in the same chemical environemt from ``self`` to ``other``. Read more about the definition of the chemical environment in :func:`Carte...
"Reindex ``other`` to be similarly indexed as ``self``.\n\n Returns a reindexed copy of ``other`` that minimizes the\n distance for each atom to itself in the same chemical environemt\n from ``self`` to ``other``.\n Read more about the definition of the chemical environment in\n :func...
503
false
mcocdawc/chemcoord
reindex_similar
12,110
LDU_FT/erdewit/ib_insync/_endReq
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to a running TWS or IB gateway application.\n After the connection is made the client is fully synchronized\n and ready to serve requests.", " This method is blocking.", " Args:\n host: Host name or IP address.\n port: Port nu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _endReq API. 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 _endReq API. 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...
Finish the future of corresponding key with the given result. If no result is given then it will be popped of the general results.
"Finish the future of corresponding key with the given result.\n If no result is given then it will be popped of the general results."
287
false
erdewit/ib_insync
_endReq
12,111
LDU_FT/googleapis/google-cloud-python/from_api_repr
LDU_FT
[ "<BEGIN>\n## `_verify_params`", "Verifies the parameters don't use any reserved parameter.", " Raises:\n ValueError: If a reserved parameter is used.\n<END>", "<BEGIN>\n## `_next_page`", "Get the next page in the iterator.", " Returns:\n Optional[Page]: The next page in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_api_repr API. 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 from_api_repr API. 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...
Factory: construct a model reference given its API representation Args: resource (Dict[str, object]): Model reference representation returned from the API Returns: google.cloud.bigquery.model.ModelReference: Model reference parsed from ``resourc...
"Factory: construct a model reference given its API representation\n\n Args:\n resource (Dict[str, object]):\n Model reference representation returned from the API\n\n Returns:\n google.cloud.bigquery.model.ModelReference:\n Model reference parsed from ...
7,029
true
googleapis/google-cloud-python
from_api_repr
12,112
LDU_FT/toumorokoshi/miura/_run_with_different_python
LDU_FT
[ "<BEGIN>\n## `parse_job`", "Generates and returns a job object with the following:", " * a run method, as defined in the readme\n * a list of posix-like arguments\n * a dictionary of data\n * templates: a dict-like interface of (template_name, template_body) pairs\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_with_different_python 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 _run_with_different_python API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Run bootstrap.py with a different python executable
"Run bootstrap.py with a different python executable"
15
false
toumorokoshi/miura
_run_with_different_python
12,113
LDU_FT/NLeSC/noodles/conditional
LDU_FT
[ "<BEGIN>\n## `coroutine`", "A sink should be send `None` first, so that the coroutine arrives\n at the `yield` position. This wrapper takes care that this is done\n automatically when the coroutine is started.\n<END>", "<BEGIN>\n## `maybe`", "Calls `f` in a try/except block, returning a `Fail` object if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional API. 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 conditional API. 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...
Control statement to follow a branch in workflow. Equivalent to the `if` statement in standard Python. The quote function delay the evaluation of the branches until the boolean is evaluated. :param b: promised boolean value. :param branch_true: statement to execute in case of a t...
"Control statement to follow a branch\n in workflow. Equivalent to the `if` statement\n in standard Python.\n\n The quote function delay the evaluation of the branches\n until the boolean is evaluated.\n\n :param b:\n promised boolean value.\n :param branch_true:\n statement to execute in ...
293
false
NLeSC/noodles
conditional
12,114
LDU_FT/simonvh/genomepy/run_index_cmd
LDU_FT
[ "<BEGIN>\n## `register_provider`", "Register method to keep list of providers.\n<END>", "<BEGIN>\n## `tar_to_bigfile`", "Convert tar of multiple FASTAs to one file.\n<END>", "<BEGIN>\n## `download_genome`", "Download a (gzipped) genome file to a specific directory", " Parameters\n --------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_index_cmd API. 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 run_index_cmd API. 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...
Run command, show errors if the returncode is non-zero.
"Run command, show errors if the returncode is non-zero."
87
false
simonvh/genomepy
run_index_cmd
12,115
LDU_FT/JelleAalbers/multihist/plot
LDU_FT
[ "<BEGIN>\n## `from_histogram`", "Make a Hist1D from a numpy bin_edges + histogram pair\n :param histogram: Initial histogram\n :param bin_edges: Bin edges of histogram. Must be one longer than length of histogram\n :param axis_names: Ignored. Sorry :-)\n :return:\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Plots the histogram with Poisson (sqrt(n)) error bars - scale_errors_by multiplies the error bars by its argument - scale_histogram_by multiplies the histogram AND the error bars by its argument - plt thing to call .errorbar on (pylab, figure, axes, whatever the matplotlib guys come up wit...
"Plots the histogram with Poisson (sqrt(n)) error bars\n - scale_errors_by multiplies the error bars by its argument\n - scale_histogram_by multiplies the histogram AND the error bars by its argument\n - plt thing to call .errorbar on (pylab, figure, axes, whatever the matplotlib guys come up...
57
false
JelleAalbers/multihist
plot
12,116
LDU_FT/praekelt/django-object-tools/_urls
LDU_FT
[ "<BEGIN>\n## `_create_permissions`", "Almost exactly the same as django.contrib.auth.management.__init__.py\n<END>", "<BEGIN>\n## `validate`", "Does basic ObjectTool option validation.\n<END>", "<BEGIN>\n## `register`", "Registers the given model(s) with the given object tool class.", " The model...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _urls API. 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 _urls API. 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...
URL patterns for tool linked to _view method.
"URL patterns for tool linked to _view method."
20
false
praekelt/django-object-tools
_urls
12,117
LDU_FT/ethereum/pyrlp/consume_item_lazy
LDU_FT
[ "<BEGIN>\n## `decode_lazy`", "Decode an RLP encoded object in a lazy fashion.", " If the encoded object is a bytestring, this function acts similar to\n :func:`rlp.decode`. If it is a list however, a :class:`LazyList` is\n returned instead. This object will decode the string lazily, avoiding\n both ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_item_lazy API. 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 consume_item_lazy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Read an item from an RLP string lazily. If the length prefix announces a string, the string is read; if it announces a list, a :class:`LazyList` is created. :param rlp: the rlp string to read from :param start: the position at which to start reading :returns: a tuple ``(item, end)`` where ``item``...
"Read an item from an RLP string lazily.\n\n If the length prefix announces a string, the string is read; if it\n announces a list, a :class:`LazyList` is created.\n\n :param rlp: the rlp string to read from\n :param start: the position at which to start reading\n :returns: a tuple ``(item, end)`` where ...
49
false
ethereum/pyrlp
consume_item_lazy
12,118
LDU_FT/piotr-rusin/spam-lists/is_valid_url
LDU_FT
[ "<BEGIN>\n## `is_valid_host`", "Check if given value is a valid host string.", " :param value: a value to test\n :returns: True if the value is valid\n<END>", "<BEGIN>\n## `is_valid_url`", "Check if given value is a valid URL string.", " :param value: a value to test\n :returns: True if the va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Check if given value is a valid URL string. :param value: a value to test :returns: True if the value is valid
"Check if given value is a valid URL string.\n\n :param value: a value to test\n :returns: True if the value is valid"
78
false
piotr-rusin/spam-lists
is_valid_url
12,119
LDU_FT/soravux/scoop/init_debug
LDU_FT
[ "<BEGIN>\n## `_ensureAtomicity`", "Ensure atomicity of passed elements on the whole worker pool\n<END>", "<BEGIN>\n## `setConst`", "setConst(**kwargs)\n Set a constant that will be shared to every workers.", " :param **kwargs: One or more combination(s) key=value. Key being the\n variable name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_debug API. 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 init_debug API. 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...
Initialise debug_stats and QueueLength (this is not a reset)
"Initialise debug_stats and QueueLength (this is not a reset)"
251
false
soravux/scoop
init_debug
12,120
LDU_FT/treycucco/bidon/update
LDU_FT
[ "<BEGIN>\n## `_normalize_name`", "Returns a normalized element tag or attribute name. A tag name or attribute name can be given\n either as a string, or as a 2-tuple. If a 2-tuple, it is interpreted as (namespace, name) and is\n returned joined by a colon \":\"", " :name: a string or a 2-tuple of strings\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Creates or updates a property for the instance for each parameter.
"Creates or updates a property for the instance for each parameter."
436
false
treycucco/bidon
update
12,121
LDU_FT/gwastro/pycbc/compute_upper_limit
LDU_FT
[ "<BEGIN>\n## `compute_u_val_for_sky_loc_stat`", "The max-over-sky location detection statistic maximizes over a phase,\n an amplitude and the ratio of F+ and Fx, encoded in a variable called u.\n Here we return the value of u for the given indices.\n<END>", "<BEGIN>\n## `compute_max_snr_over_sky_loc_stat_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_upper_limit 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 compute_upper_limit 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...
Returns the upper limit mu_high of confidence level alpha for a posterior distribution post on the given parameter mu. The posterior need not be normalized.
"Returns the upper limit mu_high of confidence level alpha for a\n posterior distribution post on the given parameter mu.\n The posterior need not be normalized."
4,120
true
gwastro/pycbc
compute_upper_limit
12,122
LDU_FT/Bystroushaak/pyDHTMLParser/makeDoubleLinked
LDU_FT
[ "<BEGIN>\n## `_raw_split`", "Parse HTML from text into array filled with tags end text.", " Source code is little bit unintutive, because it is state machine parser.", " For better understanding, look at http://bit.ly/1rXRcJj", " Example::", " >>> dhtmlparser._raw_split('<html><tag params=...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeDoubleLinked API. 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 makeDoubleLinked API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Standard output from `dhtmlparser` is single-linked tree. This will make it double-linked. Args: dom (obj): :class:`.HTMLElement` instance. parent (obj, default None): Don't use this, it is used in recursive call.
"Standard output from `dhtmlparser` is single-linked tree. This will make it\n double-linked.\n\n Args:\n dom (obj): :class:`.HTMLElement` instance.\n parent (obj, default None): Don't use this, it is used in recursive\n call."
147
false
Bystroushaak/pyDHTMLParser
makeDoubleLinked
12,123
LDU_FT/klmitch/bark/watched_file_handler
LDU_FT
[ "<BEGIN>\n## `pop_state`", "Pops off the most recent state.", " :param idx: If provided, specifies the index at which the next\n string begins.\n<END>", "<BEGIN>\n## `add_text`", "Adds the text from string beginning to the specified ending\n index to the format.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watched_file_handler 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 watched_file_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
A Bark logging handler logging output to a named file. If the file has changed since the last log message was written, it will be closed and reopened. Similar to logging.handlers.WatchedFileHandler.
"A Bark logging handler logging output to a named file. If the\n file has changed since the last log message was written, it will\n be closed and reopened.\n\n Similar to logging.handlers.WatchedFileHandler."
160
false
klmitch/bark
watched_file_handler
12,124
LDU_FT/ngmarchant/oasis/_query_label
LDU_FT
[ "<BEGIN>\n## `update`", "Update the posterior and estimates after a label is sampled", " Parameters\n ----------\n ell : int\n sampled label: 0 or 1", " k : int\n index of stratum where label was sampled\n<END>", "<BEGIN>\n## `_sample_item`", "Sample an it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _query_label API. 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 _query_label API. 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...
Query the label for the item with index `loc`. Preferentially queries the label from the cache, but if not yet cached, queries the oracle. Returns ------- int the true label "0" or "1".
"Query the label for the item with index `loc`. Preferentially\n queries the label from the cache, but if not yet cached, queries the\n oracle.\n\n Returns\n -------\n int\n the true label \"0\" or \"1\"."
115
false
ngmarchant/oasis
_query_label
12,125
LDU_FT/Julius2342/pyvlx/handle_frame
LDU_FT
[ "<BEGIN>\n## `add`", "Add Node, replace existing node if node with node_id is present.\n<END>", "<BEGIN>\n## `load`", "Load nodes from KLF 200, if no node_id is specified all nodes are loaded.\n<END>", "<BEGIN>\n## `handle_frame`", "Handle incoming API frame, return True if this was the expected frame.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_frame API. 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 handle_frame API. 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...
Handle incoming API frame, return True if this was the expected frame.
"Handle incoming API frame, return True if this was the expected frame."
74
false
Julius2342/pyvlx
handle_frame
12,126
LDU_FT/toastdriven/alligator/task
LDU_FT
[ "<BEGIN>\n## `run_forever`", "Causes the worker to run either forever or until the\n ``Worker.max_tasks`` are reached.\n<END>", "<BEGIN>\n## `to_call`", "Sets the function & its arguments to be called when the task is\n processed.", " Ex::", " task.to_call(my_function, 1, '...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the task API. 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 task API. 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...
Pushes a task onto the queue. This will instantiate a ``Gator.task_class`` instance, configure the callable & its arguments, then push it onto the queue. You'll typically want to use either this method or the ``Gator.options`` context manager (if you need to configure the ``Task`` argu...
"Pushes a task onto the queue.\n\n This will instantiate a ``Gator.task_class`` instance, configure\n the callable & its arguments, then push it onto the queue.\n\n You'll typically want to use either this method or the ``Gator.options``\n context manager (if you need to configure the ``Task...
181
false
toastdriven/alligator
task
12,127
LDU_FT/maweigert/gputools/device_priority
LDU_FT
[ "<BEGIN>\n## `gaussian_filter`", "blurs data with a gaussian kernel of given sigmas", " Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the device_priority API. 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 device_priority API. 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...
used to sort devices device_with_type_tuple = (device, device_type)
"used to sort devices\n device_with_type_tuple = (device, device_type)"
199
false
maweigert/gputools
device_priority
12,128
LDU_FT/IvanMalison/okcupyd/quickmatch
LDU_FT
[ "<BEGIN>\n## `ages`", "The age range that the user is interested in.\n<END>", "<BEGIN>\n## `single`", "Whether or not the user is only interested in people that are single.\n<END>", "<BEGIN>\n## `update`", "Update the looking for attributes of the logged in user.", " :param ages: The ages that th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quickmatch API. 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 quickmatch API. 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...
Return a :class:`~okcupyd.profile.Profile` obtained by visiting the quickmatch page.
"Return a :class:`~okcupyd.profile.Profile` obtained by visiting the\n quickmatch page."
149
false
IvanMalison/okcupyd
quickmatch
12,129
LDU_FT/digidotcom/python-devicecloud/put_file
LDU_FT
[ "<BEGIN>\n## `_parse_command_response`", "Parse an SCI command response into ElementTree XML", " This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.", " :param response...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_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 put_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...
Put data into a file on the device :param target: The device(s) to be targeted with this request :type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances :param path: The path on the target to the file to write to. If the file already exists it w...
"Put data into a file on the device\n\n :param target: The device(s) to be targeted with this request\n :type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances\n :param path: The path on the target to the file to write to. If the file already exists...
366
false
digidotcom/python-devicecloud
put_file
12,130
LDU_FT/brean/python-pathfinding/find_neighbors
LDU_FT
[ "<BEGIN>\n## `backtrace`", "Backtrace according to the parent records and return the path.\n (including both start and end nodes)\n<END>", "<BEGIN>\n## `bi_backtrace`", "Backtrace from start and end node, returns the path for bi-directional A*\n (including both start and end nodes)\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_neighbors API. 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 find_neighbors API. 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...
find neighbor, same for Djikstra, A*, Bi-A*, IDA*
"find neighbor, same for Djikstra, A*, Bi-A*, IDA*"
37
false
brean/python-pathfinding
find_neighbors
12,131
LDU_FT/Workiva/furious/update_options
LDU_FT
[ "<BEGIN>\n## `_handle_task`", "Pass request info to the async framework.\n<END>", "<BEGIN>\n## `_init`", "Initialize the furious context and registry.", " NOTE: Do not directly run this method.\n<END>", "<BEGIN>\n## `run_job`", "Takes an async object and executes its job.\n<END>", "<BEGIN>\n## `_ha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Safely update this async job's configuration options.
"Safely update this async job's configuration options."
211
false
Workiva/furious
update_options
12,132
LDU_FT/rlabbe/filterpy/residual_resample
LDU_FT
[ "<BEGIN>\n## `reset`", "reset filter back to state at time of construction\n<END>", "<BEGIN>\n## `update`", "Update filter with new measurement `z`", " Returns\n -------", " x : np.array\n estimate for this time step (same as self.x)\n<END>", "<BEGIN>\n## `errors`", "Co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the residual_resample API. 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 residual_resample API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Performs the residual resampling algorithm used by particle filters. Based on observation that we don't need to use random numbers to select most of the weights. Take int(N*w^i) samples of each particle i, and then resample any remaining using a standard resampling algorithm [1] Parameters ------...
"Performs the residual resampling algorithm used by particle filters.\n\n Based on observation that we don't need to use random numbers to select\n most of the weights. Take int(N*w^i) samples of each particle i, and then\n resample any remaining using a standard resampling algorithm [1]\n\n\n Parameters\n ...
665
false
rlabbe/filterpy
residual_resample
12,133
LDU_FT/gatkin/declxml/serialize
LDU_FT
[ "<BEGIN>\n## `parse_from_file`", "Parse the XML file using the processor starting from the root of the document.", " :param root_processor: Root processor of the XML document.\n :param xml_file_path: Path to XML file to parse.\n :param encoding: Encoding of the file.", " :return: Parsed value.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API. 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 serialize API. 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...
Serialize the value into a new Element object and return it.
"Serialize the value into a new Element object and return it."
127
false
gatkin/declxml
serialize
12,134
LDU_FT/marchete/django-adldap-sync/paged_search_ext_s
LDU_FT
[ "<BEGIN>\n## `sync_ldap_users`", "Synchronize users with local user model.\n<END>", "<BEGIN>\n## `sync_ldap_groups`", "Synchronize LDAP groups with local group model.\n<END>", "<BEGIN>\n## `get_ldap_user_membership`", "Retrieve user membership from LDAP server.\n<END>", "<BEGIN>\n## `sync_ldap_user_memb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paged_search_ext_s 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 paged_search_ext_s 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...
Behaves exactly like LDAPObject.search_ext_s() but internally uses the simple paged results control to retrieve search results in chunks.
"Behaves exactly like LDAPObject.search_ext_s() but internally uses the\n simple paged results control to retrieve search results in chunks."
14
false
marchete/django-adldap-sync
paged_search_ext_s
12,135
LDU_FT/NatLibFi/Skosify/expand_mapping_target
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 expand_mapping_target 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 expand_mapping_target API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Expand a mapping target, expressed as a comma-separated list of CURIE-like strings potentially prefixed with ^ to express inverse properties, into a list of (uri, inverse) tuples, where uri is a URIRef and inverse is a boolean.
"Expand a mapping target, expressed as a comma-separated list of\n CURIE-like strings potentially prefixed with ^ to express inverse\n properties, into a list of (uri, inverse) tuples, where uri is a URIRef\n and inverse is a boolean."
109
false
NatLibFi/Skosify
expand_mapping_target
12,136
LDU_FT/mmcauliffe/Conch-sounds/acoustic_similarity_mapping
LDU_FT
[ "<BEGIN>\n## `lpc_ref`", "Compute the Linear Prediction Coefficients.", " Return the order + 1 LPC coefficients for the signal. c = lpc(x, k) will\n find the k+1 coefficients of a k order linear filter:", " xp[n] = -c[1] * x[n-2] - ... - c[k-1] * x[n-k-1]", " Such as the sum of the squared-err...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acoustic_similarity_mapping 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 acoustic_similarity_mapping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Takes in an explicit mapping of full paths to .wav files to have acoustic similarity computed. Parameters ---------- path_mapping : iterable of iterables Explicit mapping of full paths of .wav files, in the form of a list of tuples to be compared. Returns ------- dict ...
"Takes in an explicit mapping of full paths to .wav files to have\n acoustic similarity computed.\n\n Parameters\n ----------\n path_mapping : iterable of iterables\n Explicit mapping of full paths of .wav files, in the form of a\n list of tuples to be compared.\n\n\n Returns\n -------\n...
63
false
mmcauliffe/Conch-sounds
acoustic_similarity_mapping
12,137
LDU_FT/facelessuser/soupsieve/parse_pseudo_class_custom
LDU_FT
[ "<BEGIN>\n## `get_version`", "Get version and version_info without importing the entire module.\n<END>", "<BEGIN>\n## `css_unescape`", "Unescape CSS value.", " Strings allow for spanning the value on multiple strings by escaping a new line.\n<END>", "<BEGIN>\n## `parse_attribute_selector`", "Create a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_pseudo_class_custom 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 parse_pseudo_class_custom API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Parse custom pseudo class alias. Compile custom selectors as we need them. When compiling a custom selector, set it to `None` in the dictionary so we can avoid an infinite loop.
"Parse custom pseudo class alias.\n\n Compile custom selectors as we need them. When compiling a custom selector,\n set it to `None` in the dictionary so we can avoid an infinite loop."
39
false
facelessuser/soupsieve
parse_pseudo_class_custom
12,138
LDU_FT/rjw57/throw/CreateGallery
LDU_FT
[ "<BEGIN>\n## `create_email`", "Create an email message object which implements the\n email.message.Message interface and which has the files to be shared\n attached to it.\n<END>", "<BEGIN>\n## `CreateGallery`", "Creates a Gallery on the server. Returns a Gallery object with the\n editor_id and reade...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CreateGallery API. 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 CreateGallery API. 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...
Creates a Gallery on the server. Returns a Gallery object with the editor_id and reader_id.
"Creates a Gallery on the server. Returns a Gallery object with the\n editor_id and reader_id."
28
false
rjw57/throw
CreateGallery
12,139
LDU_FT/django-blog-zinnia/wordpress2zinnia/import_tags
LDU_FT
[ "<BEGIN>\n## `guess_wxr_version`", "We will try to guess the wxr version used\n to complete the wordpress xml namespace name.\n<END>", "<BEGIN>\n## `import_authors`", "Retrieve all the authors used in posts\n and convert it to new or existing author and\n return the conversion.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_tags API. 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 import_tags API. 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...
Import all the tags form 'wp:tag' nodes, because tags in 'item' nodes are not necessarily all the tags, then use only the nicename, because it's like a slug and the true tag name may be not valid for url usage.
"Import all the tags form 'wp:tag' nodes,\n because tags in 'item' nodes are not necessarily\n all the tags, then use only the nicename, because it's like\n a slug and the true tag name may be not valid for url usage."
20
false
django-blog-zinnia/wordpress2zinnia
import_tags
12,140
LDU_FT/jupyterhub/jupyter-server-proxy/on_message
LDU_FT
[ "<BEGIN>\n## `pingable_ws_connect`", "A variation on websocket_connect that returns a PingableWSClientConnection\n with on_ping_callback.\n<END>", "<BEGIN>\n## `call_with_asked_args`", "Call callback with only the args it wants from args", " Example\n >>> def cb(a):\n ... return a * 5", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API. 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 on_message API. 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...
Called when we receive a message from our client. We proxy it to the backend.
"Called when we receive a message from our client.\n\n We proxy it to the backend."
27
false
jupyterhub/jupyter-server-proxy
on_message
12,141
LDU_FT/projectshift/shift-boiler/register_token_getter
LDU_FT
[ "<BEGIN>\n## `asset`", "Asset helper\n Generates path to a static asset based on configuration base path and\n support for versioning. Will easily allow you to move your assets away to\n a CDN without changing templates. Versioning allows you to cache your asset\n changes forever by the webserver.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_token_getter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_token_getter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Register callback to retrieve token from session
"Register callback to retrieve token from session"
166
false
projectshift/shift-boiler
register_token_getter
12,142
LDU_FT/coopernurse/barrister/_validate_param
LDU_FT
[ "<BEGIN>\n## `get_checksum`", "Returns a checksum based on the IDL that ignores comments and \n ordering, but detects changes to types, parameter order, \n and enum values.\n<END>", "<BEGIN>\n## `contract_from_file`", "Loads a Barrister IDL JSON from the given file and returns a Contract class",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_param API. 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 _validate_param API. 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...
Validates a single param against its expected type. Raises RpcException if the param is invalid :Parameters: expected Type instance param Parameter value to validate
"Validates a single param against its expected type.\n Raises RpcException if the param is invalid\n \n :Parameters:\n expected\n Type instance\n param\n Parameter value to validate"
126
false
coopernurse/barrister
_validate_param
12,143
LDU_FT/StanfordBioinformatics/scgpm_seqresults_dnanexus/select_newest_project
LDU_FT
[ "<BEGIN>\n## `log_file_name`", "Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.\n An optional extension can be specified to make the logfile name more meaningful regarding its purpose.\n Args : ext - The extension to add to the log fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_newest_project 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 select_newest_project API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Given a list of DNAnexus project IDs, returns the one that is newest as determined by creation date. Args: dx_project_ids: `list` of DNAnexus project IDs. Returns: `str`.
"Given a list of DNAnexus project IDs, returns the one that is newest as determined by creation date.\n \n Args: \n dx_project_ids: `list` of DNAnexus project IDs.\n \n Returns:\n `str`."
63
false
StanfordBioinformatics/scgpm_seqresults_dnanexus
select_newest_project
12,144
LDU_FT/Azure/azure-cli-extensions/_validate_pos_args_syntax
LDU_FT
[ "<BEGIN>\n## `_retry`", "A function which determines whether and how to retry.", " :param ~azure.storage.models.RetryContext context: \n The retry context. This contains the request, response, and other data \n which can be used to determine whether or not to retry.\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_pos_args_syntax 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_pos_args_syntax 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 if the positional argument syntax is valid in alias name and alias command. Args: alias_name: The name of the alias to validate. alias_command: The command to validate.
"Check if the positional argument syntax is valid in alias name and alias command.\n\n Args:\n alias_name: The name of the alias to validate.\n alias_command: The command to validate."
472
false
Azure/azure-cli-extensions
_validate_pos_args_syntax
12,145
LDU_FT/isogeo/isogeo-api-py-minsdk/check_is_uuid
LDU_FT
[ "<BEGIN>\n## `set_base_url`", "Set Isogeo base URLs according to platform.", " :param str platform: platform to use. Options:", " * prod [DEFAULT]\n * qa\n * int\n<END>", "<BEGIN>\n## `convert_uuid`", "Convert a metadata UUID to its URI equivalent. And conversely.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_is_uuid API. 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 check_is_uuid API. 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...
Check if it's an Isogeo UUID handling specific form. :param str uuid_str: UUID string to check
"Check if it's an Isogeo UUID handling specific form.\n\n :param str uuid_str: UUID string to check"
154
false
isogeo/isogeo-api-py-minsdk
check_is_uuid
12,146
LDU_FT/CyberReboot/vent/connections
LDU_FT
[ "<BEGIN>\n## `gpu_queue`", "Queued up containers waiting for GPU resources\n<END>", "<BEGIN>\n## `file_queue`", "Processes files that have been added from the rq-worker, starts plugins\n that match the mime type for the new file.\n<END>", "<BEGIN>\n## `inventory`", "Return a dictionary of the inventory...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connections API. 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 connections API. 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...
wait for connections to both rabbitmq and elasticsearch to be made before binding a routing key to a channel and sending messages to elasticsearch
"wait for connections to both rabbitmq and elasticsearch to be made\n before binding a routing key to a channel and sending messages to\n elasticsearch"
141
false
CyberReboot/vent
connections
12,147
LDU_FT/spyder-ide/pywinpty/write
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 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 string data to current process input stream.
"Write string data to current process input stream."
30
false
spyder-ide/pywinpty
write
12,148
LDU_FT/PyCQA/pydocstyle/_get_config_file_in_folder
LDU_FT
[ "<BEGIN>\n## `error_lineno`", "Get the line number with which to report violations.\n<END>", "<BEGIN>\n## `source`", "Return the source code for the definition.\n<END>", "<BEGIN>\n## `is_public`", "Return True iff this function should be considered public.\n<END>", "<BEGIN>\n## `is_magic`", "Return Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_config_file_in_folder 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 _get_config_file_in_folder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Look for a configuration file in `path`. If exists return its full path, otherwise None.
"Look for a configuration file in `path`.\n\n If exists return its full path, otherwise None."
183
false
PyCQA/pydocstyle
_get_config_file_in_folder
12,149
LDU_FT/latchset/jwcrypto/get_curve
LDU_FT
[ "<BEGIN>\n## `encrypt`", "Encrypt according to the selected encryption and hashing\n functions.", " :param k: Encryption key (optional)\n :param a: Additional Authentication Data\n :param m: Plaintext", " Returns a dictionary with the computed data.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_curve API. 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_curve API. 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...
Gets the Elliptic Curve associated with the key. :param arg: an optional curve name :raises InvalidJWKType: the key is not an EC or OKP key. :raises InvalidJWKValue: if the curve names is invalid.
"Gets the Elliptic Curve associated with the key.\n\n :param arg: an optional curve name\n\n :raises InvalidJWKType: the key is not an EC or OKP key.\n :raises InvalidJWKValue: if the curve names is invalid."
101
false
latchset/jwcrypto
get_curve
12,150
LDU_FT/cyrus-/cypy/add_to_parent
LDU_FT
[ "<BEGIN>\n## `packed`", "each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>", "<BEGIN>\n## `reversed`", "Create a connectivity ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_to_parent API. 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 add_to_parent API. 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...
Adds this node to the parent's ``children`` collection if it exists.
"Adds this node to the parent's ``children`` collection if it exists."
209
false
cyrus-/cypy
add_to_parent
12,151
LDU_FT/ContextLab/quail/recall_matrix
LDU_FT
[ "<BEGIN>\n## `analyze`", "General analysis function that groups data by subject/list number and performs analysis.", " Parameters\n ----------\n egg : Egg data object\n The data to be analyzed", " subjgroup : list of strings or ints\n String/int variables indicating how to group over...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recall_matrix API. 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 recall_matrix API. 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...
Computes recall matrix given list of presented and list of recalled words Parameters ---------- egg : quail.Egg Data to analyze match : str (exact, best or smooth) Matching approach to compute recall matrix. If exact, the presented and recalled items must be identical (default...
"Computes recall matrix given list of presented and list of recalled words\n\n Parameters\n ----------\n egg : quail.Egg\n Data to analyze\n\n match : str (exact, best or smooth)\n Matching approach to compute recall matrix. If exact, the presented and\n recalled items must be identica...
201
false
ContextLab/quail
recall_matrix
12,152
LDU_FT/googlefonts/fontbakery/com_google_fonts_check_family_control_chars
LDU_FT
[ "<BEGIN>\n## `get_module_profile`", "Get or create a profile from a module and return it.", " If the name `module.profile` is present the value of that is returned.\n Otherwise, if the name `module.profile_factory` is present, a new profile\n is created using `module.profile_factory` and then `profile.auto_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_family_control_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_family_control_chars API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
Does font file include unacceptable control character glyphs?
"Does font file include unacceptable control character glyphs?"
381
false
googlefonts/fontbakery
com_google_fonts_check_family_control_chars
12,153
LDU_FT/chimpler/pyhocon/postParse
LDU_FT
[ "<BEGIN>\n## `to_json`", "Convert HOCON input into a JSON output", " :return: JSON string representation\n :type return: basestring\n<END>", "<BEGIN>\n## `to_hocon`", "Convert HOCON input into a HOCON output", " :return: JSON string representation\n :type return: basestring\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postParse API. 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 postParse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create a list from the tokens :param instring: :param loc: :param token_list: :return:
"Create a list from the tokens\n\n :param instring:\n :param loc:\n :param token_list:\n :return:"
80
false
chimpler/pyhocon
postParse
12,154
LDU_FT/log2timeline/dfwinreg/_GetKeyFromRegistry
LDU_FT
[ "<BEGIN>\n## `_CheckKeyPath`", "Checks the key path find specification.", " Args:\n registry_key (WinRegistryKey): Windows Registry key.\n search_depth (int): number of key path segments to compare.", " Returns:\n bool: True if the Windows Registry key matches the find specification,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetKeyFromRegistry 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 _GetKeyFromRegistry 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...
Determines the key from the Windows Registry.
"Determines the key from the Windows Registry."
199
false
log2timeline/dfwinreg
_GetKeyFromRegistry
12,155
LDU_FT/pjuren/pyokit/sequence_to_alignment_coords
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 sequence_to_alignment_coords API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sequence_to_alignment_coords API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
convert an interval in one of the sequences into an interval in the alignment. Alignment intervals are inclusive of start, but not end. They are one-based. Hence the full alignment has coords [1, N+1), where N is the length of the alignment (number of columns). Sequence coords follow the same convention...
"convert an interval in one of the sequences into an interval in the\n alignment. Alignment intervals are inclusive of start, but not end. They\n are one-based. Hence the full alignment has coords [1, N+1), where N is the\n length of the alignment (number of columns). Sequence coords follow the\n same conve...
519
false
pjuren/pyokit
sequence_to_alignment_coords
12,156
LDU_FT/tox-dev/tox-travis/travis_after
LDU_FT
[ "<BEGIN>\n## `travis_after`", "Wait for all jobs to finish, then exit successfully.\n<END>", "<BEGIN>\n## `after_config_matches`", "Determine if this job should wait for the others.\n<END>", "<BEGIN>\n## `get_job_statuses`", "Wait for all the travis jobs to complete.", " Once the other jobs are compl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the travis_after API. 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 travis_after API. 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...
Wait for all jobs to finish, then exit successfully.
"Wait for all jobs to finish, then exit successfully."
51
false
tox-dev/tox-travis
travis_after
12,157
LDU_FT/hellosign/hellosign-python-sdk/add_team_member
LDU_FT
[ "<BEGIN>\n## `create_account`", "Create a new account.", " If the account is created via an app, then Account.oauth will contain the\n OAuth data that can be used to execute actions on behalf of the newly created account.", " Args:\n email_address (str): Email addres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_team_member API. 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 add_team_member API. 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...
Add or invite a user to your Team Args: account_id (str): The id of the account of the user to invite to your team. email_address (str): The email address of the account to invite to your team. The account id prevails if both account_id and email_address are provided. ...
"Add or invite a user to your Team\n\n Args:\n\n account_id (str): The id of the account of the user to invite to your team.\n\n email_address (str): The email address of the account to invite to your team. The account id prevails if both account_id and email_address are provided.\...
416
false
hellosign/hellosign-python-sdk
add_team_member
12,158
LDU_FT/thespacedoctor/rockAtlas/_get_orbfit_positions
LDU_FT
[ "<BEGIN>\n## `main`", "*The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl*\n<END>", "<BEGIN>\n## `_extract_phot_from_exposure`", "* extract phot from exposure*", " **Key Arguments:**\n - ``expIdIndex`` -- index of the exposure to extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_orbfit_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_orbfit_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. ...
* get orbfit positions* **Key Arguments:** - ``expsoureObjects`` -- a dictionary with exposure names as keys and a dictionary of exposure ra, dec and moving object names/mpc number as values - ``astorbString`` -- as string of the object orbital elements to be used with orbfit *...
"* get orbfit positions*\n\n **Key Arguments:**\n - ``expsoureObjects`` -- a dictionary with exposure names as keys and a dictionary of exposure ra, dec and moving object names/mpc number as values\n - ``astorbString`` -- as string of the object orbital elements to be used with orbfit\n\n ...
125
false
thespacedoctor/rockAtlas
_get_orbfit_positions
12,159
LDU_FT/Dynatrace/OneAgent-SDK-for-Python/all_original_children
LDU_FT
[ "<BEGIN>\n## `end`", "Ends the tracer.", " May be called in any state. Transitions the state to ended and releases\n any SDK resources owned by this tracer (this includes only internal\n resources, things like passed-in\n :class:`oneagent.common.DbInfoHandle` need to be released manu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_original_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_original_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. ...
Yields all (direct and indirect) children with LINK_CHILD.
"Yields all (direct and indirect) children with LINK_CHILD."
85
false
Dynatrace/OneAgent-SDK-for-Python
all_original_children
12,160
LDU_FT/liampauling/betfair/list_market_profit_and_loss
LDU_FT
[ "<BEGIN>\n## `streaming_market_filter`", ":param list market_ids: filter market data to data pertaining to specific marketIds.\n :param list event_type_ids: filter market data to data pertaining to specific event_type ids.\n :param list event_ids: filter market data to data pertaining to specific event ids....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_market_profit_and_loss 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 list_market_profit_and_loss API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Retrieve profit and loss for a given list of OPEN markets. :param list market_ids: List of markets to calculate profit and loss :param bool include_settled_bets: Option to include settled bets (partially settled markets only) :param bool include_bsp_bets: Option to include BSP bets :par...
"Retrieve profit and loss for a given list of OPEN markets.\n\n :param list market_ids: List of markets to calculate profit and loss\n :param bool include_settled_bets: Option to include settled bets (partially settled markets only)\n :param bool include_bsp_bets: Option to include BSP bets\n ...
224
false
liampauling/betfair
list_market_profit_and_loss
12,161
LDU_FT/openwisp/django-freeradius/validate
LDU_FT
[ "<BEGIN>\n## `set_default`", "ensures there's only 1 default group\n (logic overridable via custom models)\n<END>", "<BEGIN>\n## `get_default_queryset`", "looks for default groups excluding the current one\n overridable by openwisp-radius and other 3rd party apps\n<END>", "<BEGIN>\n## `authent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. 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 validate API. 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...
We need to set some timestamps according to the accounting packet type * update_time: set everytime a Interim-Update / Stop packet is received * stop_time: set everytime a Stop packet is received * session_time: calculated if not present in the accounting packet :param data: accounting p...
"We need to set some timestamps according to the accounting packet type\n * update_time: set everytime a Interim-Update / Stop packet is received\n * stop_time: set everytime a Stop packet is received\n * session_time: calculated if not present in the accounting packet\n :param data: account...
24
false
openwisp/django-freeradius
validate
12,162
LDU_FT/OnroerendErfgoed/oe_utils/get_one_for_update
LDU_FT
[ "<BEGIN>\n## `after_commit_listener`", "Processing the changes.\n All new or changed items are now indexed. All deleted items are now removed from the index.\n<END>", "<BEGIN>\n## `_queue_job`", "creates a new job on the queue\n :param redis: redis\n :param delegate: method to be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_one_for_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_one_for_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Retrieve an object by its object_id Does a select for update on the row, results in row level lock for the duration of the transaction :param object_id: the objects id. :return: the requested object :raises: :class: NoResultFound when the object could not be found
"Retrieve an object by its object_id\n Does a select for update on the row, results in row level lock for the duration of the transaction\n\n :param object_id: the objects id.\n :return: the requested object\n :raises: :class: NoResultFound when the object could not be found"
100
false
OnroerendErfgoed/oe_utils
get_one_for_update
12,163
LDU_FT/CodyKochmann/strict_functions/get_frame_src
LDU_FT
[ "<BEGIN>\n## `has_args`", "returns true if the decorator invocation\n had arguments passed to it before being\n sent a function to decorate\n<END>", "<BEGIN>\n## `identify`", "returns a tuple that is used to match\n functions to their neighbors in their\n resident n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frame_src API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frame_src API. 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...
inspects a frame and returns a string with the following <src-path>:<src-line> -> <function-name> <source-code>
"inspects a frame and returns a string with the following\n\n <src-path>:<src-line> -> <function-name>\n <source-code>"
48
false
CodyKochmann/strict_functions
get_frame_src
12,164
LDU_FT/umutbozkurt/django-rest-framework-mongoengine/get_field_kwargs
LDU_FT
[ "<BEGIN>\n## `to_representation`", "convert value to representation.", " DRF ModelField uses ``value_to_string`` for this purpose. Mongoengine fields do not have such method.", " This implementation uses ``django.utils.encoding.smart_text`` to convert everything to text, while keeping json-safe ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_kwargs API. 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_field_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Creating a default instance of a basic non-relational field.
"Creating a default instance of a basic non-relational field."
36
false
umutbozkurt/django-rest-framework-mongoengine
get_field_kwargs
12,165
LDU_FT/contentful/contentful-management.py/create
LDU_FT
[ "<BEGIN>\n## `create`", "Creates an entry with a given ID (optional) and attributes.\n<END>", "<BEGIN>\n## `create`", "Creates a webhook with given attributes.\n<END>", "<BEGIN>\n## `camel_case`", "Returns a camel-cased version of a string.", " :param a_string: any :class:`str` object.", " Usage...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Creates an entry with a given ID (optional) and attributes.
"Creates an entry with a given ID (optional) and attributes."
161
false
contentful/contentful-management.py
create
12,166
LDU_FT/asaskevich/binario/write_long
LDU_FT
[ "<BEGIN>\n## `write`", "Writes a byte buffer to the underlying output file.\n Raise exception when file is already closed.\n<END>", "<BEGIN>\n## `write_bool`", "Writes a boolean to the underlying output file as a 1-byte value.\n<END>", "<BEGIN>\n## `write_short`", "Writes a short integer to the und...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
Writes a long integer to the underlying output file as a 8-byte value.
"Writes a long integer to the underlying output file as a 8-byte value."
23
false
asaskevich/binario
write_long
12,167
LDU_FT/meng89/ipodshuffle/get_filename
LDU_FT
[ "<BEGIN>\n## `create_track`", ":param path_in_ipod: the path of audio file in the iPod base\n :param checksum: CHECKSUM of the audio file in member audiodb\n :return: a new Track, you may want append it to the playlist.tracks\n<END>", "<BEGIN>\n## `add`", "store an audio file to storage dir", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_filename API. 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_filename API. 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...
:param checksum: checksum :return: filename no storage base part
":param checksum: checksum\n :return: filename no storage base part"
13
false
meng89/ipodshuffle
get_filename
12,168
LDU_FT/Deathnerd/pyterp/_decrement_current_byte
LDU_FT
[ "<BEGIN>\n## `_run`", "This is the logic to run it all.\n Heavily influenced by this post: http://nickdesaulniers.github.io/blog/2015/05/25/interpreter-compiler-jit/\n :return:\n<END>", "<BEGIN>\n## `_increment_pointer`", "Increments the internal tape counter by 1\n :raises PointerOutOfPr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decrement_current_byte 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 _decrement_current_byte API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Decrements the value of the current byte at the pointer. If the result is below 0, then it will overflow to 255
"Decrements the value of the current byte at the pointer. If the result is below 0,\n then it will overflow to 255"
14
false
Deathnerd/pyterp
_decrement_current_byte
12,169
LDU_FT/kolypto/py-good/sub_compile
LDU_FT
[ "<BEGIN>\n## `message`", "Convenience decorator that applies [`Msg()`](#msg) to a callable.", " ```python\n from good import Schema, message", " @message(u'Need a number')\n def intify(v):\n return int(v)\n ```", " :param message: Error message to use instead\n :type message: uni...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sub_compile API. 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 sub_compile API. 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...
Compile a sub-schema :param schema: Validation schema :type schema: * :param path: Path to this schema, if any :type path: list|None :param matcher: Compile a matcher? :type matcher: bool :rtype: CompiledSchema
"Compile a sub-schema\n\n :param schema: Validation schema\n :type schema: *\n :param path: Path to this schema, if any\n :type path: list|None\n :param matcher: Compile a matcher?\n :type matcher: bool\n :rtype: CompiledSchema"
118
false
kolypto/py-good
sub_compile
12,170
LDU_FT/googleapis/google-auth-library-python/verify_signature
LDU_FT
[ "<BEGIN>\n## `_convert_oauth2_credentials`", "Converts to :class:`google.oauth2.credentials.Credentials`.", " Args:\n credentials (Union[oauth2client.client.OAuth2Credentials,\n oauth2client.client.GoogleCredentials]): The credentials to\n convert.", " Returns:\n goog...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_signature API. 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 verify_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Verify an RSA cryptographic signature. Checks that the provided ``signature`` was generated from ``bytes`` using the private key associated with the ``cert``. Args: message (Union[str, bytes]): The plaintext message. signature (Union[str, bytes]): The cryptographic signature to check. ...
"Verify an RSA cryptographic signature.\n\n Checks that the provided ``signature`` was generated from ``bytes`` using\n the private key associated with the ``cert``.\n\n Args:\n message (Union[str, bytes]): The plaintext message.\n signature (Union[str, bytes]): The cryptographic signature to che...
311
false
googleapis/google-auth-library-python
verify_signature
12,171
LDU_FT/python-wink/python-wink/set_vacation_mode
LDU_FT
[ "<BEGIN>\n## `set_mode`", ":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>", "<BEGIN>\n## `set_privacy`", ":param state: True or False\n :return: nothing\n<END>", "<BEGIN>\n## `_update_state_from_response`", ":param response_json: the json obj returned from query\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_vacation_mode API. 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 set_vacation_mode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
:param state: a boolean of ture (on) or false ('off') :return: nothing
":param state: a boolean of ture (on) or false ('off')\r\n :return: nothing"
133
false
python-wink/python-wink
set_vacation_mode
12,172