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/jbarlow83/OCRmyPDF/extract_images_generic
LDU_FT
[ "<BEGIN>\n## `re_symlink`", "Helper function: relinks soft symbolic link if necessary\n<END>", "<BEGIN>\n## `is_file_writable`", "Intentionally racy test if target is writable.", " We intend to write to the output file if and only if we succeed and\n can replace it atomically. Before doing the OCR wor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_images_generic 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 extract_images_generic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Extract any >=2bpp image we think we can improve
"Extract any >=2bpp image we think we can improve"
195
false
jbarlow83/OCRmyPDF
extract_images_generic
13,173
LDU_FT/ymoch/apyori/dump_as_two_item_tsv
LDU_FT
[ "<BEGIN>\n## `create_next_candidates`", "Returns the apriori candidates as a list.", " Arguments:\n prev_candidates -- Previous candidates as a list.\n length -- The lengths of the next candidates.\n<END>", "<BEGIN>\n## `gen_support_records`", "Returns a generator of support records with gi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_as_two_item_tsv 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 dump_as_two_item_tsv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Dump a relation record as TSV only for 2 item relations. Arguments: record -- A RelationRecord instance to dump. output_file -- A file to output.
"Dump a relation record as TSV only for 2 item relations.\n\n Arguments:\n record -- A RelationRecord instance to dump.\n output_file -- A file to output."
39
false
ymoch/apyori
dump_as_two_item_tsv
13,174
LDU_FT/budacom/trading-bots/spread_money
LDU_FT
[ "<BEGIN>\n## `fetch_deposits`", "Fetch latest deposits, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_deposits_since`", "Fetch all deposits since the given timestamp.\n<END>", "<BEGIN>\n## `fetch_withdrawals`", "Fetch latest withdrawals, must provide a limit.\n<END>", "<BEGIN>\n## `fetch_withdrawal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spread_money API. 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 spread_money API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns a lower and upper money amount separated by a spread percentage
"Returns a lower and upper money amount separated by a spread percentage"
62
false
budacom/trading-bots
spread_money
13,175
LDU_FT/fhamborg/news-please/clean
LDU_FT
[ "<BEGIN>\n## `rss_parse`", "Extracts all article links and initiates crawling them.", " :param obj response: The scrapy response\n<END>", "<BEGIN>\n## `article_parse`", "Checks any given response on being an article and if positiv,\n passes the response to the pipeline.", " :param obj...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. 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 clean API. 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...
Iterates over each article_candidate and cleans every extracted data. :param list_article_candidates: A list, the list of ArticleCandidate-Objects which have been extracted :return: A list, the list with the cleaned ArticleCandidate-Objects
"Iterates over each article_candidate and cleans every extracted data.\n\n :param list_article_candidates: A list, the list of ArticleCandidate-Objects which have been extracted\n :return: A list, the list with the cleaned ArticleCandidate-Objects"
277
false
fhamborg/news-please
clean
13,176
LDU_FT/gdestuynder/simple_bugzilla/put_bug
LDU_FT
[ "<BEGIN>\n## `quick_search`", "Wrapper for search_bugs, for simple string searches\n<END>", "<BEGIN>\n## `search_bugs`", "http://bugzilla.readthedocs.org/en/latest/api/core/v1/bug.html#search-bugs\n terms = [{'product': 'Infrastructure & Operations'}, {'status': 'NEW'}]\n<END>", "<BEGIN>\n## `put_att...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_bug API. 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 put_bug API. 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...
http://bugzilla.readthedocs.org/en/latest/api/core/v1/bug.html#update-bug
"http://bugzilla.readthedocs.org/en/latest/api/core/v1/bug.html#update-bug"
18
false
gdestuynder/simple_bugzilla
put_bug
13,177
LDU_FT/sporsh/carnifex/connectSession
LDU_FT
[ "<BEGIN>\n## `attr_string`", "Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:", " @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connectSession API. 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 connectSession API. 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...
Open a SSHSession channel and connect a Protocol to it @param connection: the SSH Connection to open the session channel on @param protocol: the Protocol instance to connect to the session @param sessionFactory: factory method to generate a SSHSession instance @note: :args: and :kwargs: are passed to t...
"Open a SSHSession channel and connect a Protocol to it\n\n @param connection: the SSH Connection to open the session channel on\n @param protocol: the Protocol instance to connect to the session\n @param sessionFactory: factory method to generate a SSHSession instance\n @note: :args: and :kwargs: are passe...
61
false
sporsh/carnifex
connectSession
13,178
LDU_FT/mnick/scikit-tensor/is_number
LDU_FT
[ "<BEGIN>\n## `asalsan`", "ASALSAN algorithm to compute the three-way DEDICOM decomposition\n of a tensor", " See\n ---\n .. [1] Brett W. Bader, Richard A. Harshman, Tamara G. Kolda\n \"Temporal analysis of semantic graphs using ASALSAN\"\n 7th International Conference on Data Mining, 200...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_number API. 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 is_number API. 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...
Helper function to determine numbers across Python 2.x and 3.x
"Helper function to determine numbers\n across Python 2.x and 3.x"
114
false
mnick/scikit-tensor
is_number
13,179
LDU_FT/aws/aws-iot-device-sdk-python/loop_forever
LDU_FT
[ "<BEGIN>\n## `shadowGet`", "**Description**", " Retrieve the device shadow JSON document from AWS IoT by publishing an empty JSON document to the \n corresponding shadow topics. Shadow response topics will be subscribed to receive responses from \n AWS IoT regarding the result of the get op...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loop_forever API. 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 loop_forever API. 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...
This function call loop() for you in an infinite blocking loop. It is useful for the case where you only want to run the MQTT client loop in your program. loop_forever() will handle reconnecting for you. If you call disconnect() in a callback it will return. timeout: The time ...
"This function call loop() for you in an infinite blocking loop. It\n is useful for the case where you only want to run the MQTT client loop\n in your program.\n\n loop_forever() will handle reconnecting for you. If you call\n disconnect() in a callback it will return.\n\n\n timeout: ...
420
false
aws/aws-iot-device-sdk-python
loop_forever
13,180
LDU_FT/Chilipp/model-organization/rel_paths
LDU_FT
[ "<BEGIN>\n## `dir_contains`", "Check if a file of directory is contained in another.", " Parameters\n ----------\n dirname: str\n The base directory that should contain `path`\n path: str\n The name of a directory or file that should be in `dirname`\n exists: bool\n If True, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rel_paths API. 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 rel_paths API. 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...
Fix the paths in the given dictionary to get relative paths Parameters ---------- %(ExperimentsConfig.rel_paths.parameters)s Returns ------- %(ExperimentsConfig.rel_paths.returns)s Notes ----- d is modified in place!
"Fix the paths in the given dictionary to get relative paths\n\n Parameters\n ----------\n %(ExperimentsConfig.rel_paths.parameters)s\n\n Returns\n -------\n %(ExperimentsConfig.rel_paths.returns)s\n\n Notes\n -----\n d is modified in place!"
161
false
Chilipp/model-organization
rel_paths
13,181
LDU_FT/CellProfiler/centrosome/running_variance
LDU_FT
[ "<BEGIN>\n## `fill_labeled_holes`", "Fill all background pixels that are holes inside the foreground", " A pixel is a hole inside a foreground object if", " * there is no path from the pixel to the edge AND", " * there is no path from the pixel to any other non-hole\n pixel AND", " * ther...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the running_variance API. 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 running_variance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Given a vector x, compute the variance for x[0:i] Thank you http://www.johndcook.com/standard_deviation.html S[i] = S[i-1]+(x[i]-mean[i-1])*(x[i]-mean[i]) var(i) = S[i] / (i-1)
"Given a vector x, compute the variance for x[0:i]\n \n Thank you http://www.johndcook.com/standard_deviation.html\n S[i] = S[i-1]+(x[i]-mean[i-1])*(x[i]-mean[i])\n var(i) = S[i] / (i-1)"
668
false
CellProfiler/centrosome
running_variance
13,182
LDU_FT/vijayvarma392/surfinBH/_load_fits
LDU_FT
[ "<BEGIN>\n## `multiplyQuats`", "q1, q2 must be [scalar, x, y, z] but those may be arrays or scalars\n<END>", "<BEGIN>\n## `alignVec_quat`", "Returns a unit quaternion that will align vec with the z-axis\n<END>", "<BEGIN>\n## `transformTimeDependentVector`", "Given (for example) a minimal rotation frame qu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_fits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_fits API. 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...
Loads fits from h5file and returns a dictionary of fits.
"Loads fits from h5file and returns a dictionary of fits."
46
false
vijayvarma392/surfinBH
_load_fits
13,183
LDU_FT/carljm/django-adminfiles/editPhotos
LDU_FT
[ "<BEGIN>\n## `get_uploads`", "Return a generator yielding uploads referenced in the given text.\n<END>", "<BEGIN>\n## `parse_match`", "Accept an re match object resulting from an ``UPLOAD_RE`` match\n and return a two-tuple where the first element is the\n corresponding ``FileUpload`` and the second is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the editPhotos API. 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 editPhotos API. 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...
Edit the photos in this set. photos - photos for set primary - primary photo (if None will used current)
"Edit the photos in this set.\n\n photos - photos for set\n primary - primary photo (if None will used current)"
67
false
carljm/django-adminfiles
editPhotos
13,184
LDU_FT/wavycloud/pyboto3/create_qualification_type
LDU_FT
[ "<BEGIN>\n## `create_endpoint`", "Creates an endpoint using the provided settings.\n See also: AWS API Documentation", " :example: response = client.create_endpoint(\n EndpointIdentifier='string',\n EndpointType='source'|'target',\n EngineName='string',\n Username='string',\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_qualification_type 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 create_qualification_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
The CreateQualificationType operation creates a new Qualification type, which is represented by a QualificationType data structure. See also: AWS API Documentation :example: response = client.create_qualification_type( Name='string', Keywords='string', Description='string', ...
"The CreateQualificationType operation creates a new Qualification type, which is represented by a QualificationType data structure.\n See also: AWS API Documentation\n \n \n :example: response = client.create_qualification_type(\n Name='string',\n Keywords='string',\n Description='stri...
3,657
true
wavycloud/pyboto3
create_qualification_type
13,185
LDU_FT/websauna/pyramid_notebook/create_named_notebook
LDU_FT
[ "<BEGIN>\n## `handshake_headers`", "List of headers appropriate for the upgrade\n handshake.\n<END>", "<BEGIN>\n## `run`", "Combine async uwsgi message loop with ws4py message loop.", " TODO: This could do some serious optimizations and behave asynchronously correct instead of just sleep().\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_named_notebook 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 create_named_notebook API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Create a named notebook if one doesn't exist.
"Create a named notebook if one doesn't exist."
78
false
websauna/pyramid_notebook
create_named_notebook
13,186
LDU_FT/pyhys/minimalmodbus/_checkMode
LDU_FT
[ "<BEGIN>\n## `_checkSetpointValue`", "Check that the given setpointvalue is valid.", " Args:\n * setpointvalue (numerical): The setpoint value to be checked. Must be positive.\n * maxvalue (numerical): Upper limit for setpoint value. Must be positive.", " Raises:\n TypeError, ValueE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _checkMode API. 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 _checkMode API. 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...
Check that the Modbus mode is valie. Args: mode (string): The Modbus mode (MODE_RTU or MODE_ASCII) Raises: TypeError, ValueError
"Check that the Modbus mode is valie.\n\n Args:\n mode (string): The Modbus mode (MODE_RTU or MODE_ASCII)\n\n Raises:\n TypeError, ValueError"
357
false
pyhys/minimalmodbus
_checkMode
13,187
LDU_FT/carta/ldap_tools/by_user
LDU_FT
[ "<BEGIN>\n## `create`", "Create an LDAP Group.", " Raises:\n ldap3.core.exceptions.LDAPNoSuchObjectResult:\n an object involved with the request is missing", " ldap3.core.exceptions.LDAPEntryAlreadyExistsResult:\n the entity being created already exis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_user API. 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 by_user API. 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 group membership sorted by group. Returns: Array with a dictionary of group membership. For example: {'test.user': ['testgroup', 'testgroup2']}
"Display group membership sorted by group.\n\n Returns:\n Array with a dictionary of group membership.\n For example: {'test.user': ['testgroup', 'testgroup2']}"
65
false
carta/ldap_tools
by_user
13,188
LDU_FT/EUDAT-B2SAFE/B2HANDLE/generate_PID_name
LDU_FT
[ "<BEGIN>\n## `add_missing_optional_args_with_value_none`", "Adds key-value pairs to the passed dictionary, so that\n afterwards, the dictionary can be used without needing\n to check for KeyErrors.", " If the keys passed as a second argument are not present,\n they are added with None as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_PID_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_PID_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...
Generate a unique random Handle name (random UUID). The Handle is not registered. If a prefix is specified, the PID name has the syntax <prefix>/<generatedname>, otherwise it just returns the generated random name (suffix for the Handle). :param prefix: Optional. The prefix to be used f...
"Generate a unique random Handle name (random UUID). The Handle is not\n registered. If a prefix is specified, the PID name has the syntax\n <prefix>/<generatedname>, otherwise it just returns the generated\n random name (suffix for the Handle).\n\n :param prefix: Optional. The prefix to be ...
168
false
EUDAT-B2SAFE/B2HANDLE
generate_PID_name
13,189
LDU_FT/rkargon/pixelsorter/horizontal_path
LDU_FT
[ "<BEGIN>\n## `hue`", "Returns the saturation of a pixel.\n Gray pixels have saturation 0.\n :param p: A tuple of (R,G,B) values\n :return: A saturation value between 0 and 360\n<END>", "<BEGIN>\n## `saturation`", "Returns the saturation of a pixel, defined as the ratio of chroma to value.\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the horizontal_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the horizontal_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Creates a generator for progressing horizontally through an image. :param size: A tuple (width, height) of the image size :return: A generator that yields a set of rows through the image. Each row is a generator that yields pixel coordinates.
"Creates a generator for progressing horizontally through an image.\n :param size: A tuple (width, height) of the image size\n :return: A generator that yields a set of rows through the image.\n Each row is a generator that yields pixel coordinates."
79
false
rkargon/pixelsorter
horizontal_path
13,190
LDU_FT/tensorflow/cleverhans/generate
LDU_FT
[ "<BEGIN>\n## `model_loss`", "Define loss of TF graph\n :param y: correct labels\n :param model: output of the model\n :param mean: boolean indicating whether should return mean of loss\n or vector of losses for each input of the batch\n :return: return mean of loss if True, otherwise return vect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. 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 generate API. 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...
Generate symbolic graph for adversarial examples and return. :param x: The model's symbolic inputs. :param kwargs: Keyword arguments for the base attacker
"Generate symbolic graph for adversarial examples and return.\n\n :param x: The model's symbolic inputs.\n :param kwargs: Keyword arguments for the base attacker"
1,050
true
tensorflow/cleverhans
generate
13,191
LDU_FT/jcushman/pdfquery/obj_to_string
LDU_FT
[ "<BEGIN>\n## `_append_sorted`", "Add el as a child of root, or as a child of one of root's children.\r\n Comparator is a function(a, b) returning > 0 if a is a child of b, < 0 if\r\n b is a child of a, 0 if neither.\n<END>", "<BEGIN>\n## `_box_in_box`", "Return True if child is contained within el.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the obj_to_string API. 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 obj_to_string API. 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...
Turn an arbitrary object into a unicode string. If complex (dict/list/tuple), will be json-encoded.
"Turn an arbitrary object into a unicode string. If complex (dict/list/tuple), will be json-encoded."
37
false
jcushman/pdfquery
obj_to_string
13,192
LDU_FT/panzarino/mlbgame/player_stats
LDU_FT
[ "<BEGIN>\n## `setobjattr`", "Sets an object attribute with the correct data type.\n<END>", "<BEGIN>\n## `get_scoreboard`", "Return the game file for a certain day matching certain criteria.\n<END>", "<BEGIN>\n## `get_box_score`", "Return the box score file of a game with matching id.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the player_stats API. 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 player_stats API. 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...
Return dictionary of individual stats of a game with matching id. The additional pitching/batting is mostly the same stats, except it contains some useful stats such as groundouts/flyouts per pitcher (go/ao). MLB decided to have two box score files, thus we return the data from both.
"Return dictionary of individual stats of a game with matching id.\n\n The additional pitching/batting is mostly the same stats, except it\n contains some useful stats such as groundouts/flyouts per pitcher\n (go/ao). MLB decided to have two box score files, thus we return the\n data from both."
66
false
panzarino/mlbgame
player_stats
13,193
LDU_FT/major/supernova/password_set
LDU_FT
[ "<BEGIN>\n## `get_user_password`", "Allows the user to print the credential for a particular keyring entry\n to the screen\n<END>", "<BEGIN>\n## `pull_env_credential`", "Dissects a keyring credential lookup string from the supernova config file\n and returns the username/password combo\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the password_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the password_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Stores a password in a keychain for a particular environment and configuration parameter pair.
"Stores a password in a keychain for a particular environment and\n configuration parameter pair."
66
false
major/supernova
password_set
13,194
LDU_FT/google/prettytensor/regularizer
LDU_FT
[ "<BEGIN>\n## `_remove_non_methods`", "Removes any object in dict that is not a registered method.\n<END>", "<BEGIN>\n## `regularizer`", "Wraps a regularizer in a parameter-function.", " Args:\n name: The name scope for this regularizer.\n regularization_fn: A function with signature:\n fn(variab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regularizer API. 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 regularizer API. 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...
Wraps a regularizer in a parameter-function. Args: name: The name scope for this regularizer. regularization_fn: A function with signature: fn(variable) -> loss `Tensor` or `None`. name_filter: A regex that will be used to filter variables by name. Returns: A parameter modification function ...
"Wraps a regularizer in a parameter-function.\n\n Args:\n name: The name scope for this regularizer.\n regularization_fn: A function with signature:\n fn(variable) -> loss `Tensor` or `None`.\n name_filter: A regex that will be used to filter variables by name.\n\n Returns:\n A parameter modification...
551
false
google/prettytensor
regularizer
13,195
LDU_FT/Synerty/pytmpdir/createHiddenFolder
LDU_FT
[ "<BEGIN>\n## `pathNames`", "Path Names", " @return: A list of path + name of each file, relative to the root\n directory.\n<END>", "<BEGIN>\n## `paths`", "Paths", " @return: A list of the paths, effectively a list of relative\n directory names.\n<END>", "<BEGIN>\n## `getFile`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createHiddenFolder 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 createHiddenFolder 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...
Create Hidden Folder Create a hidden folder. Raise exception if auto delete isn't True. @return: Created folder.
"Create Hidden Folder\n\n Create a hidden folder. Raise exception if auto delete isn't True.\n\n @return: Created folder."
76
false
Synerty/pytmpdir
createHiddenFolder
13,196
LDU_FT/iblancasa/GitHubCity/__getTemplate
LDU_FT
[ "<BEGIN>\n## `export`", "Export all attributes of the user to a dict.", " :return: attributes of the user.\n :rtype: dict.\n<END>", "<BEGIN>\n## `__getContributions`", "Scrap the contributions from a GitHub profile.", " :param web: parsed web.\n :type web: BeautifulSoup node.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __getTemplate API. 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 __getTemplate API. 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...
Get temaplte to save the ranking. :param template_file_name: path to the template. :type template_file_name: str. :return: template for the file. :rtype: pystache's template.
"Get temaplte to save the ranking.\n\n :param template_file_name: path to the template.\n :type template_file_name: str.\n\n :return: template for the file.\n :rtype: pystache's template."
97
false
iblancasa/GitHubCity
__getTemplate
13,197
LDU_FT/Phylliade/ikpy/from_urdf_file
LDU_FT
[ "<BEGIN>\n## `plot_basis`", "Plot le repère adapté à la taille du robot\n<END>", "<BEGIN>\n## `plot_target_trajectory`", "Ajoute la trajectoire (liste des targets) au plot\n<END>", "<BEGIN>\n## `symbolic_Rz_matrix`", "Matrice symbolique de rotation autour de l'axe Z\n<END>", "<BEGIN>\n## `rotation_matri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_urdf_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_urdf_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 ex...
Creates a chain from an URDF file Parameters ---------- urdf_file: str The path of the URDF file base_elements: list of strings List of the links beginning the chain last_link_vector: numpy.array Optional : The translation vector of the tip. ...
"Creates a chain from an URDF file\n\n Parameters\n ----------\n urdf_file: str\n The path of the URDF file\n base_elements: list of strings\n List of the links beginning the chain\n last_link_vector: numpy.array\n Optional : The translation vector of ...
88
false
Phylliade/ikpy
from_urdf_file
13,198
LDU_FT/LeKono/pyhgnc/enzyme
LDU_FT
[ "<BEGIN>\n## `get_many2many_table`", "Creates a many-to-many table that links the given tables table1 and table2.", " :param str table1: Tablename of left hand table without TABLE_PREFIX.\n :param str table2: Tablename of right hand table without TABLE_PREFIX.\n :return:\n<END>", "<BEGIN>\n## `_limit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enzyme API. 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 enzyme API. 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 list of Enzyme Commission numbers by query paramaters --- tags: - Query functions parameters: - name: ec_number in: query type: string required: false description: 'Enzyme Commission number' default: '1.1.1.1' - name: hgnc_symbol ...
"Returns list of Enzyme Commission numbers by query paramaters\n ---\n\n tags:\n\n - Query functions\n\n parameters:\n\n - name: ec_number\n in: query\n type: string\n required: false\n description: 'Enzyme Commission number'\n default: '1.1.1.1'\n\n - name: hg...
248
false
LeKono/pyhgnc
enzyme
13,199
LDU_FT/Julian/jsonschema/conforms
LDU_FT
[ "<BEGIN>\n## `load_schema`", "Load a schema from ./schemas/``name``.json and return it.\n<END>", "<BEGIN>\n## `find_additional_properties`", "Return the set of additional properties for the given ``instance``.", " Weeds out properties that should have been validated by ``properties`` and\n / or ``patt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conforms API. 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 conforms API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Check whether the instance conforms to the given format. Arguments: instance (*any primitive type*, i.e. str, number, bool): The instance to check format (str): The format that instance should conform to Returns: bool: whether it...
"Check whether the instance conforms to the given format.\n\n Arguments:\n\n instance (*any primitive type*, i.e. str, number, bool):\n\n The instance to check\n\n format (str):\n\n The format that instance should conform to\n\n Returns:\n\n b...
181
false
Julian/jsonschema
conforms
13,200
LDU_FT/pycontribs/jira/worklogs
LDU_FT
[ "<BEGIN>\n## `translate_resource_args`", "Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>", "<BEGIN>\n## `_check_update_`", "Check if the current version of the library is outdated.\n<END>", "<BEGIN>\n## `_fetch_pages`", "Fetch pages.", " :param it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the worklogs API. 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 worklogs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Get a list of worklog Resources from the server for an issue. :param issue: ID or key of the issue to get worklogs from :rtype: List[Worklog]
"Get a list of worklog Resources from the server for an issue.\n\n :param issue: ID or key of the issue to get worklogs from\n :rtype: List[Worklog]"
468
false
pycontribs/jira
worklogs
13,201
LDU_FT/lablup/backend.ai-client-py/download
LDU_FT
[ "<BEGIN>\n## `generate_signature`", "Generates the API request signature from the given parameters.\n<END>", "<BEGIN>\n## `list_with_limit`", "Fetches the list of agents with the given status with limit and offset for\n pagination.", " :param limit: number of agents to get\n :param offs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Downloads the given list of files from the compute session. :param files: The list of file paths in the compute session. If they are relative paths, the path is calculated from ``/home/work`` in the compute session container. :param dest: The destination directory in the client-...
"Downloads the given list of files from the compute session.\n\n :param files: The list of file paths in the compute session.\n If they are relative paths, the path is calculated from\n ``/home/work`` in the compute session container.\n :param dest: The destination directory in the c...
207
false
lablup/backend.ai-client-py
download
13,202
LDU_FT/Celeo/Pycord/_query
LDU_FT
[ "<BEGIN>\n## `parse`", "Gets the enum for the op code", " Args:\n op: value of the op code (will be casted to int)", " Returns:\n The enum that matches the op code\n<END>", "<BEGIN>\n## `run`", "Runs the thread", " This method handles sending the heartbeat to t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Make an HTTP request Args: path: the URI path (not including the base url, start with the first uri segment, like 'users/...') method: the HTTP method to use (GET, POST, PATCH, ...) data: the data to send as JSON data expected_status: expected HTT...
"Make an HTTP request\n\n Args:\n path: the URI path (not including the base url, start with\n the first uri segment, like 'users/...')\n method: the HTTP method to use (GET, POST, PATCH, ...)\n data: the data to send as JSON data\n expected_status: expe...
108
false
Celeo/Pycord
_query
13,203
LDU_FT/all-umass/graphs/add_self_edges
LDU_FT
[ "<BEGIN>\n## `random_graph`", "Random graph generator. Does not generate self-edges.\n out_degree : array-like of ints, controlling the out degree of each vertex.\n<END>", "<BEGIN>\n## `urquhart_graph`", "Urquhart graph: made from the 2 shortest edges of each Delaunay triangle.\n<END>", "<BEGIN>\n## `isoma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_self_edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_self_edges API. 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...
Adds all i->i edges. weight may be a scalar or 1d array.
"Adds all i->i edges. weight may be a scalar or 1d array."
167
false
all-umass/graphs
add_self_edges
13,204
LDU_FT/konstantint/PassportEye/evaluate_mrz
LDU_FT
[ "<BEGIN>\n## `_guess_type`", "Guesses the type of the MRZ from given lines. Returns 'TD1', 'TD2', 'TD3', 'MRVA', 'MRVB' or None.\n The algorithm is basically just counting lines, looking at their length and checking whether the first character is a 'V'", " >>> MRZ._guess_type([]) is None\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate_mrz API. 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 evaluate_mrz API. 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...
A script for evaluating the current MRZ recognition pipeline by applying it to a list of files in a directory and reporting how well it went.
"A script for evaluating the current MRZ recognition pipeline by applying it to a list of files in a directory and reporting how well it went."
67
false
konstantint/PassportEye
evaluate_mrz
13,205
LDU_FT/tonybaloney/wily/finish
LDU_FT
[ "<BEGIN>\n## `revisions`", "Get the list of revisions.", " :param path: the path to target.\n :type path: ``str``", " :param max_revisions: the maximum number of revisions.\n :type max_revisions: ``int``", " :return: A list of revisions.\n :rtype: ``list`` of :cla...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Clean up any state if processing completed/failed. For git, will checkout HEAD on the original branch when finishing
"Clean up any state if processing completed/failed.\n\n For git, will checkout HEAD on the original branch when finishing"
174
false
tonybaloney/wily
finish
13,206
LDU_FT/f3at/feat/getLevelName
LDU_FT
[ "<BEGIN>\n## `parse_incoming_query`", "Effect factory parsing the query value from params and merging in\n the static_conditions specified.", " @param factory: IQueryView\n @param static_conditions: effect to be called to build up static\n conditions of the query\n @par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getLevelName API. 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 getLevelName API. 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...
Return the name of a log level. @param level: The level we want to know the name @type level: int @return: The name of the level @rtype: str
"Return the name of a log level.\n @param level: The level we want to know the name\n @type level: int\n @return: The name of the level\n @rtype: str"
658
false
f3at/feat
getLevelName
13,207
LDU_FT/darkfeline/mir.anidb/httpapi_request
LDU_FT
[ "<BEGIN>\n## `httpapi_request`", "Send a request to AniDB HTTP API.", " https://wiki.anidb.net/w/HTTP_API_Definition\n<END>", "<BEGIN>\n## `_check_for_errors`", "Check AniDB response XML tree for errors.\n<END>", "<BEGIN>\n## `get_episode_number`", "Get the episode number.", " The episode number...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the httpapi_request API. 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 httpapi_request API. 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...
Send a request to AniDB HTTP API. https://wiki.anidb.net/w/HTTP_API_Definition
"Send a request to AniDB HTTP API.\n\n https://wiki.anidb.net/w/HTTP_API_Definition"
21
false
darkfeline/mir.anidb
httpapi_request
13,208
LDU_FT/kronenthaler/mod-pbxproj/remove_run_script
LDU_FT
[ "<BEGIN>\n## `has_child`", "Checks if the given child id\n :param child: The id to check if it's a child of the group\n :return: True if the given id it's a child of this group, False otherwise\n<END>", "<BEGIN>\n## `add_file`", "Adds a file to the project, taking care of the type of the file an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_run_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_run_script API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Removes the given script string from the given target :param script: The script string to be removed from the target :param target_name: Target name or list of target names to remove the run script from or None for every target :return:
"Removes the given script string from the given target\n :param script: The script string to be removed from the target\n :param target_name: Target name or list of target names to remove the run script from or None for every target\n :return:"
71
false
kronenthaler/mod-pbxproj
remove_run_script
13,209
LDU_FT/openthread/openthread/getParentAddress
LDU_FT
[ "<BEGIN>\n## `wait_until`", "Wait until `what` return True", " Args:\n what (Callable[bool]): Call `wait()` again and again until it returns True\n times (int): Maximum times of trials before giving up", " Returns:\n True if success, False if times threshold reached\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getParentAddress API. 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 getParentAddress API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
get Thread device's parent extended address and rloc16 short address Returns: The extended address of parent in hex format
"get Thread device's parent extended address and rloc16 short address\n\n Returns:\n The extended address of parent in hex format"
403
false
openthread/openthread
getParentAddress
13,210
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/find_transport
LDU_FT
[ "<BEGIN>\n## `find_location`", "find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>", "<BEGIN>\n## `json_2_location`", "transform JSON obj coming f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_transport API. 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_transport API. 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 transport according to transport ID. :param tid: transport id :return: the transport if found or None if not found
"find transport according to transport ID.\n :param tid: transport id\n :return: the transport if found or None if not found"
303
false
echinopsii/net.echinopsii.ariane.community.cli.python3
find_transport
13,211
LDU_FT/vecnet/vecnet.openmalaria/get_schema_version_from_xml
LDU_FT
[ "<BEGIN>\n## `get_percentage_from_prob`", "Converted probability of being treated to total percentage of clinical cases treated\n<END>", "<BEGIN>\n## `get_schema_version_from_xml`", "Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_version_from_xml 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 get_schema_version_from_xml API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Get schemaVersion attribute from OpenMalaria scenario file xml - open file or content of xml document to be processed
"Get schemaVersion attribute from OpenMalaria scenario file\n xml - open file or content of xml document to be processed"
42
false
vecnet/vecnet.openmalaria
get_schema_version_from_xml
13,212
LDU_FT/westurner/pyrpo/remote_urls
LDU_FT
[ "<BEGIN>\n## `itersplit`", "Split a string by ``sep`` and yield chunks", " Args:\n s (str-type): string to split\n sep (str-type): delimiter to split by", " Yields:\n generator of strings: chunks of string s\n<END>", "<BEGIN>\n## `itersplit_to_fields`", "Itersplit a string into ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_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 extra...
Get all configured remote urls for this Repository Returns: str: primary remote url for this Repository (``git config -l | grep "url"``)
"Get all configured remote urls for this Repository\n\n Returns:\n str: primary remote url for this Repository\n (``git config -l | grep \"url\"``)"
149
false
westurner/pyrpo
remote_urls
13,213
LDU_FT/neo4j-drivers/neotime/replace
LDU_FT
[ "<BEGIN>\n## `_normalize_day`", "Coerce the day of the month to an internal value that may or\n may not match the \"public\" value.", " With the exception of the last three days of every month, all\n days are stored as-is. The last three days are instead stored\n as -1 (the last), -2 (first from las...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. 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 replace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return a :class:`.Date` with one or more components replaced with new values.
"Return a :class:`.Date` with one or more components replaced\n with new values."
31
false
neo4j-drivers/neotime
replace
13,214
LDU_FT/amelchio/pysonos/_restore_volume
LDU_FT
[ "<BEGIN>\n## `iter_actions`", "Yield the service's actions with their arguments.", " Yields:\n `Action`: the next action.", " Each action is an Action namedtuple, consisting of action_name\n (a string), in_args (a list of Argument namedtuples consisting of name\n and arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _restore_volume API. 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 _restore_volume API. 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...
Reinstate volume. Args: fade (bool): Whether volume should be faded up on restore.
"Reinstate volume.\n\n Args:\n fade (bool): Whether volume should be faded up on restore."
60
false
amelchio/pysonos
_restore_volume
13,215
LDU_FT/Scoppio/RagnarokEngine3/angle
LDU_FT
[ "<BEGIN>\n## `set_default_pos`", "Set the default starting location of our character.\n<END>", "<BEGIN>\n## `__generate_location`", "Reset the location of the cloud once it has left the viewable area of the screen.\n<END>", "<BEGIN>\n## `load_character`", "Create an instance of the main character and retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the angle API. 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 angle API. 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...
Calculate the angle between two Vector2's
"Calculate the angle between two Vector2's"
165
false
Scoppio/RagnarokEngine3
angle
13,216
LDU_FT/pypa/warehouse/run_migrations_offline
LDU_FT
[ "<BEGIN>\n## `user_projects`", "Return all the projects for which the user is a sole owner\n<END>", "<BEGIN>\n## `merge`", "Merge one or more revisions.", " Takes one or more revisions or \"heads\" for all heads and merges them into\n a single revision.\n<END>", "<BEGIN>\n## `column_windows`", "Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_migrations_offline 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 run_migrations_offline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as well. By skipping the Engine creation we don't even need a DBAPI to be available. Calls to context.execute() here emit the given string to the script output.
"Run migrations in 'offline' mode.\n\n This configures the context with just a URL\n and not an Engine, though an Engine is acceptable\n here as well. By skipping the Engine creation\n we don't even need a DBAPI to be available.\n\n Calls to context.execute() here emit the given string to the\n scrip...
47
false
pypa/warehouse
run_migrations_offline
13,217
LDU_FT/joytunes/JTLocalize/add_string_pairs_from_text_field_element
LDU_FT
[ "<BEGIN>\n## `handle_duplications`", "Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.", " Args:\n file_path (str): The path to the strings file.\n<END>", "<BEGIN>\n## `add_comments`", "Add comm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_string_pairs_from_text_field_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_string_pairs_from_text_field_element API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
Adds string pairs from a textfield element. Args: xib_file (str): Path to the xib file. results (list): The list to add the results to. text_field(element): The textfield element from the xib, to extract the string pairs from. special_ui_components_prefix (str): If not N...
"Adds string pairs from a textfield element.\n\n Args:\n xib_file (str): Path to the xib file.\n results (list): The list to add the results to.\n text_field(element): The textfield element from the xib, to extract the string pairs from.\n special_ui_components_prefix (str):\n ...
104
false
joytunes/JTLocalize
add_string_pairs_from_text_field_element
13,218
LDU_FT/GemHQ/round-py/create
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new Device object.", " Devices tie Users and Applications together. For your Application to\n access and act on behalf of a User, the User must authorize a Device\n created by your Application.", " This function will return a `device_token` which y...
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 Wallet object and add it to this Wallets collection. This is only available in this library for Application wallets. Users must add additional wallets in their User Console Args: name (str): wallet name passphrase (str, optional): A passphrase with which to encr...
"Create a new Wallet object and add it to this Wallets collection.\n This is only available in this library for Application wallets. Users\n must add additional wallets in their User Console\n\n Args:\n name (str): wallet name\n passphrase (str, optional): A passphrase with which ...
136
false
GemHQ/round-py
create
13,219
LDU_FT/Rediker-Software/doac/request_error_header
LDU_FT
[ "<BEGIN>\n## `access_token`", "Try to get the `AccessToken` associated with the provided token.", " *The provided value must pass `BearerHandler.validate()`*\n<END>", "<BEGIN>\n## `validate`", "Try to get the `AccessToken` associated with the given token.", " The return value is determined b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_error_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_error_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generates the error header for a request using a Bearer token based on a given OAuth exception.
"Generates the error header for a request using a Bearer token based on a given OAuth exception."
46
false
Rediker-Software/doac
request_error_header
13,220
LDU_FT/learningequality/iceqube/wait_for_job_update
LDU_FT
[ "<BEGIN>\n## `wait_for_job_update`", "Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.)\n if timeout is not None, then this function raises iceqube.exceptions.TimeoutError.", " :param job_id: the job's job_id to monitor for changes.\n :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_job_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_job_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. T...
Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.) if timeout is not None, then this function raises iceqube.exceptions.TimeoutError. :param job_id: the job's job_id to monitor for changes. :param timeout: if None, wait forever for a job updat...
"Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.)\n if timeout is not None, then this function raises iceqube.exceptions.TimeoutError.\n\n :param job_id: the job's job_id to monitor for changes.\n :param timeout: if None, wait forever for a job ...
93
false
learningequality/iceqube
wait_for_job_update
13,221
LDU_FT/ray-project/ray/try_to_create_directory
LDU_FT
[ "<BEGIN>\n## `_agent_import_failed`", "Returns dummy agent class for if PyTorch etc. is not installed.\n<END>", "<BEGIN>\n## `run`", "Executes training.", " Args:\n run_or_experiment (function|class|str|Experiment): If\n function|class|str, this is the algorithm or model to train.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the try_to_create_directory 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 try_to_create_directory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Attempt to create a directory that is globally readable/writable. Args: directory_path: The path of the directory to create.
"Attempt to create a directory that is globally readable/writable.\n\n Args:\n directory_path: The path of the directory to create."
1,706
true
ray-project/ray
try_to_create_directory
13,222
LDU_FT/viniciuschiele/flask-io/match
LDU_FT
[ "<BEGIN>\n## `render`", "Serializes a Python object into a byte array containing a JSON document.\n :param data: A Python object.\n :param mimetype: The mimetype to render the data.\n :return: A byte array containing a JSON document.\n<END>", "<BEGIN>\n## `__get_indent`", "Gets the indent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Checks if the given rule matches with the filter. :param rule: The Flask rule to be matched. :return: True if the filter matches.
"Checks if the given rule matches with the filter.\n\n :param rule: The Flask rule to be matched.\n :return: True if the filter matches."
77
false
viniciuschiele/flask-io
match
13,223
LDU_FT/log2timeline/plaso/UpdateNumberOfEventReports
LDU_FT
[ "<BEGIN>\n## `_GetStatus`", "Retrieves status information.", " Returns:\n dict[str, object]: status attributes, indexed by name.\n<END>", "<BEGIN>\n## `_ProcessEvent`", "Processes an event.", " Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the UpdateNumberOfEventReports 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 UpdateNumberOfEventReports API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Updates the number of event reports. Args: number_of_consumed_reports (int): total number of event reports consumed by the process. number_of_produced_reports (int): total number of event reports produced by the process. Returns: bool: True if either number of event repor...
"Updates the number of event reports.\n\n Args:\n number_of_consumed_reports (int): total number of event reports consumed\n by the process.\n number_of_produced_reports (int): total number of event reports produced\n by the process.\n\n Returns:\n bool: True if either number of e...
5,157
true
log2timeline/plaso
UpdateNumberOfEventReports
13,224
LDU_FT/cisco-sas/kitty/add
LDU_FT
[ "<BEGIN>\n## `update`", "update db entry", " :param field_dict: dictionary of fields and values\n :param where_clause: where clause for the update\n<END>", "<BEGIN>\n## `insert`", "insert new db entry", " :param fields: list of fields to insert\n :param values: list of values t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Add an entry to the report :param key: entry's key :param value: the actual value :example: :: my_report.add('retry count', 3)
"Add an entry to the report\n\n :param key: entry's key\n :param value: the actual value\n\n :example:\n\n ::\n\n my_report.add('retry count', 3)"
331
false
cisco-sas/kitty
add
13,225
LDU_FT/linkedin/pyexchange/move_to
LDU_FT
[ "<BEGIN>\n## `add_attendees`", "Adds new attendees to the event.", " *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>", "<BEGIN>\n## `remove_attendees`", "Removes attendees from the event.", " *attendees* can be a list of email addresses or :class:`Excha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to API. 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 move_to API. 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...
:param str folder_id: The Calendar ID to where you want to move the event to. Moves an event to a different folder (calendar). :: event = service.calendar().get_event(id='KEY HERE') event.move_to(folder_id='NEW CALENDAR KEY HERE')
":param str folder_id: The Calendar ID to where you want to move the event to.\n Moves an event to a different folder (calendar). ::\n\n event = service.calendar().get_event(id='KEY HERE')\n event.move_to(folder_id='NEW CALENDAR KEY HERE')"
102
false
linkedin/pyexchange
move_to
13,226
LDU_FT/cloudtools/stacker/get_or_create_hosted_zone
LDU_FT
[ "<BEGIN>\n## `handle`", "Returns the value of a key for a given hook in hook_data.", " Format of value:", " <hook_name>::<key>\n<END>", "<BEGIN>\n## `resolve_variables`", "Given a list of variables, resolve all of them.", " Args:\n variables (list of :class:`stacker.variables...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_create_hosted_zone 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 get_or_create_hosted_zone API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get the Id of an existing zone, or create it. Args: client (:class:`botocore.client.Route53`): The connection used to interact with Route53's API. zone_name (string): The name of the DNS hosted zone to create. Returns: string: The Id of the Hosted Zone.
"Get the Id of an existing zone, or create it.\n\n Args:\n client (:class:`botocore.client.Route53`): The connection used to\n interact with Route53's API.\n zone_name (string): The name of the DNS hosted zone to create.\n\n Returns:\n string: The Id of the Hosted Zone."
733
false
cloudtools/stacker
get_or_create_hosted_zone
13,227
LDU_FT/sbuss/pypercube/ge
LDU_FT
[ "<BEGIN>\n## `eq`", "An equals filter chain.", " >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.eq('path', '/')\n >>> print(filtered)\n request(elapsed_ms).eq(path, \"/\")\n<END>", "<BEGIN>\n## `ne`", "A not-equal filter chain.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ge API. 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ge API. 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 docu...
A greater-than-or-equal-to filter chain. >>> request_time = EventExpression('request', 'elapsed_ms') >>> filtered = request_time.ge('elapsed_ms', 500) >>> print(filtered) request(elapsed_ms).ge(elapsed_ms, 500)
"A greater-than-or-equal-to filter chain.\n\n >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.ge('elapsed_ms', 500)\n >>> print(filtered)\n request(elapsed_ms).ge(elapsed_ms, 500)"
35
false
sbuss/pypercube
ge
13,228
LDU_FT/marrow/mongo/pop
LDU_FT
[ "<BEGIN>\n## `process_fields`", "Process a list of simple string field definitions and assign their order based on prefix.\n<END>", "<BEGIN>\n## `create`", "Create this index in the specified collection; keyword arguments are passed to PyMongo.", "\t\thttp://api.mongodb.com/python/current/api/pymongo/collec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop API. 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 pop API. 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...
Retrieve and remove a value from the backing store, optionally with a default.
"Retrieve and remove a value from the backing store, optionally with a default."
175
false
marrow/mongo
pop
13,229
LDU_FT/volafiled/python-volapi/on_message
LDU_FT
[ "<BEGIN>\n## `register_callback`", "Register callback that we will have to wait for\n<END>", "<BEGIN>\n## `_handle_callback`", "Handle lain's callback. Only used with getFileinfo so far\n<END>", "<BEGIN>\n## `_handle_config`", "Handle initial config push and config changes\n<END>", "<BEGIN>\n## `find_ve...
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...
Processes incoming messages according to engine-io rules
"Processes incoming messages according to engine-io rules"
78
false
volafiled/python-volapi
on_message
13,230
LDU_FT/ml31415/numpy-groupies/_array
LDU_FT
[ "<BEGIN>\n## `aggregate_group_loop`", "wraps func in lambda which prevents aggregate_numpy from\n recognising and optimising it. Instead it groups and loops.\n<END>", "<BEGIN>\n## `step_count`", "Return the amount of index changes within group_idx.\n<END>", "<BEGIN>\n## `step_indices`", "Return the edg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _array API. 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 _array API. 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 ...
groups a into separate arrays, keeping the order intact.
"groups a into separate arrays, keeping the order intact."
56
false
ml31415/numpy-groupies
_array
13,231
LDU_FT/aroberge/experimental/extract_transformers_from_source
LDU_FT
[ "<BEGIN>\n## `start_console`", "Starts a console; modified from code.interact\n<END>", "<BEGIN>\n## `push`", "Transform and push a line to the interpreter.", " The line should not have a trailing newline; it may have\n internal newlines. The line is appended to a buffer and the\n inter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_transformers_from_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_transformers_from_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Scan a source for lines of the form from __experimental__ import transformer1 [,...] identifying transformers to be used. Such line is passed to the add_transformer function, after which it is removed from the code to be executed.
"Scan a source for lines of the form\n from __experimental__ import transformer1 [,...]\n identifying transformers to be used. Such line is passed to the\n add_transformer function, after which it is removed from the\n code to be executed."
54
false
aroberge/experimental
extract_transformers_from_source
13,232
LDU_FT/bradmontgomery/django-redis-metrics/delete_gauge
LDU_FT
[ "<BEGIN>\n## `categorize_metrics`", "Called only on a valid form, this method will place the chosen\n metrics in the given catgory.\n<END>", "<BEGIN>\n## `dedupe`", "Remove duplicates from a sequence (of hashable items) while maintaining\n order. NOTE: This only works if items in the list are hashab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_gauge API. 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 delete_gauge API. 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...
Removes all gauges with the given ``slug``.
"Removes all gauges with the given ``slug``."
122
false
bradmontgomery/django-redis-metrics
delete_gauge
13,233
LDU_FT/Kronuz/pyScss/collect
LDU_FT
[ "<BEGIN>\n## `mix`", "Mixes together two colors. Specifically, takes the average of each of the\n RGB components, optionally weighted by the given percentage.\n The opacity of the colors is also considered when weighting the components.", " Specifically, takes the average of each of the RGB components,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect API. 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 collect API. 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...
Clear cache of results which have timed out
"Clear cache of results which have timed out"
205
false
Kronuz/pyScss
collect
13,234
LDU_FT/log2timeline/dfwinreg/_GetCurrentControlSet
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 _GetCurrentControlSet 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 _GetCurrentControlSet API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Virtual key callback to determine the current control set. Args: key_path_suffix (str): current control set Windows Registry key path suffix with leading path separator. Returns: WinRegistryKey: the current control set Windows Registry key or None if not available.
"Virtual key callback to determine the current control set.\n\n Args:\n key_path_suffix (str): current control set Windows Registry key path\n suffix with leading path separator.\n\n Returns:\n WinRegistryKey: the current control set Windows Registry key or None\n if not available."
199
false
log2timeline/dfwinreg
_GetCurrentControlSet
13,235
LDU_FT/carpedm20/fbchat/graphql_queries_to_json
LDU_FT
[ "<BEGIN>\n## `_generatePayload`", "Adds the following defaults to the payload:\n __rev, __user, __a, ttstamp, fb_dtsg, __req\n<END>", "<BEGIN>\n## `_fix_fb_errors`", "This fixes \"Please try closing and re-opening your browser window\" errors (1357004)\n This error usually happens after 1-2 da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graphql_queries_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graphql_queries_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Queries should be a list of GraphQL objects
"Queries should be a list of GraphQL objects"
337
false
carpedm20/fbchat
graphql_queries_to_json
13,236
LDU_FT/agile-geoscience/welly/count_mnemonic
LDU_FT
[ "<BEGIN>\n## `sharey`", "Shared axes limits without shared locators, ticks, etc.", " By Joe Kington\n<END>", "<BEGIN>\n## `fix_ticks`", "Center ticklabels and hide any outside axes limits.", " By Joe Kington\n<END>", "<BEGIN>\n## `flatten_list`", "Unpacks lists in a list:", " [1, 2, [3,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_mnemonic API. 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 count_mnemonic API. 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...
Counts the wells that have a given curve, given the mnemonic and an alias dict.
"Counts the wells that have a given curve, given the mnemonic and an\n alias dict."
325
false
agile-geoscience/welly
count_mnemonic
13,237
LDU_FT/pycontribs/pyrax/_api_request
LDU_FT
[ "<BEGIN>\n## `resize`", "Resize the volume to the specified size (in GB).\n<END>", "<BEGIN>\n## `get`", "This additional code is necessary to properly return the 'volume'\n attribute of the instance as a CloudDatabaseVolume object instead of\n a raw dict.\n<END>", "<BEGIN>\n## `_create_body`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_request API. 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 _api_request API. 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...
Manages the request by adding any auth information, and retries the request after authenticating if the initial request returned and Unauthorized exception.
"Manages the request by adding any auth information, and retries\n the request after authenticating if the initial request returned\n and Unauthorized exception."
1,326
true
pycontribs/pyrax
_api_request
13,238
LDU_FT/ucfopen/canvasapi/get_calendar_events
LDU_FT
[ "<BEGIN>\n## `request`", "Make a request to the Canvas API and return the response.", " :param method: The HTTP method for the request.\n :type method: str\n :param endpoint: The endpoint to call.\n :type endpoint: str\n :param headers: Optional HTTP headers to be sent with th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_calendar_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_calendar_events 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...
List calendar events. :calls: `GET /api/v1/calendar_events \ <https://canvas.instructure.com/doc/api/calendar_events.html#method.calendar_events_api.index>`_ :rtype: :class:`canvasapi.paginated_list.PaginatedList` of :class:`canvasapi.calendar_event.CalendarEvent`
"List calendar events.\n\n :calls: `GET /api/v1/calendar_events \\\n <https://canvas.instructure.com/doc/api/calendar_events.html#method.calendar_events_api.index>`_\n\n :rtype: :class:`canvasapi.paginated_list.PaginatedList` of\n :class:`canvasapi.calendar_event.CalendarEvent`"
219
false
ucfopen/canvasapi
get_calendar_events
13,239
LDU_FT/seequent/properties/terms
LDU_FT
[ "<BEGIN>\n## `serialize`", "Serialize Singleton instance to a dictionary.", " This behaves identically to HasProperties.serialize, except it also\n saves the identifying name in the dictionary as well.\n<END>", "<BEGIN>\n## `deserialize`", "Create a Singleton instance from a serialized diction...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the terms API. 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 terms API. 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...
Initialization terms and options for Property
"Initialization terms and options for Property"
252
false
seequent/properties
terms
13,240
LDU_FT/nschloe/matplotlib2tikz/draw_line2d
LDU_FT
[ "<BEGIN>\n## `_get_ticks`", "Gets a {'x','y'}, a number of ticks and ticks labels, and returns the\n necessary axis options for the given configuration.\n<END>", "<BEGIN>\n## `_is_colorbar_heuristic`", "Find out if the object is in fact a color bar.\n<END>", "<BEGIN>\n## `_mpl_cmap2pgf_cmap`", "Convert...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_line2d API. 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 draw_line2d API. 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 the PGFPlots code for an Line2D environment.
"Returns the PGFPlots code for an Line2D environment."
81
false
nschloe/matplotlib2tikz
draw_line2d
13,241
LDU_FT/jedie/PyHardLinkBackup/human_filesize
LDU_FT
[ "<BEGIN>\n## `human_filesize`", "'human-readable' file size (i.e. 13 KB, 4.1 MB, 102 bytes, etc).\n<END>", "<BEGIN>\n## `dt2naturaltimesince`", "datetime to a human readable representation with how old this entry is information\n e.g.:\n Jan. 27, 2016, 9:04 p.m. (31 minutes ago)\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the human_filesize API. 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 human_filesize API. 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...
'human-readable' file size (i.e. 13 KB, 4.1 MB, 102 bytes, etc).
"'human-readable' file size (i.e. 13 KB, 4.1 MB, 102 bytes, etc)."
44
false
jedie/PyHardLinkBackup
human_filesize
13,242
LDU_FT/inspirehep/inspire-dojson/keywords
LDU_FT
[ "<BEGIN>\n## `normalize_rank`", "Normalize a rank in order to be schema-compliant.\n<END>", "<BEGIN>\n## `get_recid_from_ref`", "Retrieve recid from jsonref reference object.", " If no recid can be parsed, returns None.\n<END>", "<BEGIN>\n## `absolute_url`", "Returns an absolute URL from a URL relati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keywords API. 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 keywords API. 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...
Populate the ``keywords`` key. Also populates the ``energy_ranges`` key through side effects.
"Populate the ``keywords`` key.\n\n Also populates the ``energy_ranges`` key through side effects."
163
false
inspirehep/inspire-dojson
keywords
13,243
LDU_FT/yunojuno/elasticsearch-django/handle
LDU_FT
[ "<BEGIN>\n## `execute_search`", "Create a new SearchQuery instance and execute a search against ES.", " Args:\n search: elasticsearch.search.Search object, that internally contains\n the connection and query; this is the query that is executed. All\n we are doing is logging the i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. 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 ...
Run do_index_command on each specified index and log the output.
"Run do_index_command on each specified index and log the output."
124
false
yunojuno/elasticsearch-django
handle
13,244
LDU_FT/Othernet-Project/hwd/devices_by_subsystem
LDU_FT
[ "<BEGIN>\n## `devices_by_subsystem`", "Iterator that yields devices that belong to specified subsystem. Returned\n values are ``pydev.Device`` instances.", " The ``only`` argument can be used to further filter devices. It should be\n a function that takes a ``pyudev.Device`` object, and returns ``True`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices_by_subsystem 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 devices_by_subsystem API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Iterator that yields devices that belong to specified subsystem. Returned values are ``pydev.Device`` instances. The ``only`` argument can be used to further filter devices. It should be a function that takes a ``pyudev.Device`` object, and returns ``True`` or ``False`` to indicate whether device shoul...
"Iterator that yields devices that belong to specified subsystem. Returned\n values are ``pydev.Device`` instances.\n\n The ``only`` argument can be used to further filter devices. It should be\n a function that takes a ``pyudev.Device`` object, and returns ``True`` or\n ``False`` to indicate whether device...
27
false
Othernet-Project/hwd
devices_by_subsystem
13,245
LDU_FT/tilde-lab/tilde/system_model
LDU_FT
[ "<BEGIN>\n## `wrap_cell`", "Cell wrappers\n for customizing the GUI data table", " TODO : must coincide with hierarchy!\n TODO : simplify this!\n<END>", "<BEGIN>\n## `meminfo`", "Get the amount of memory and swap, Mebibytes\n<END>", "<BEGIN>\n## `serial_number`", "Get the serial number. Require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the system_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the system_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Get manufacturer and model number. On older Linux kernel versions without /sys/class/dmi/id this requires root access.
"Get manufacturer and model number.\n\n On older Linux kernel versions without /sys/class/dmi/id this\n requires root access."
68
false
tilde-lab/tilde
system_model
13,246
LDU_FT/secure-systems-lab/securesystemslib/paths_are_consistent_with_hash_prefixes
LDU_FT
[ "<BEGIN>\n## `get_password`", "<Purpose>\n Return the password entered by the user. If 'confirm' is True, the user is\n asked to enter the previously entered password once again. If they match,\n the password is returned to the caller.", " <Arguments>\n prompt:\n The text of the password pro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paths_are_consistent_with_hash_prefixes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paths_are_consistent_with_hash_prefixes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate...
<Purpose> Determine whether a list of paths are consistent with their alleged path hash prefixes. By default, the SHA256 hash function is used. <Arguments> paths: A list of paths for which their hashes will be checked. path_hash_prefixes: The list of path hash prefixes with which to chec...
"<Purpose>\n Determine whether a list of paths are consistent with their alleged path\n hash prefixes. By default, the SHA256 hash function is used.\n\n <Arguments>\n paths:\n A list of paths for which their hashes will be checked.\n\n path_hash_prefixes:\n The list of path hash prefixes with whi...
663
false
secure-systems-lab/securesystemslib
paths_are_consistent_with_hash_prefixes
13,247
LDU_FT/alerta/python-alerta-client/cli
LDU_FT
[ "<BEGIN>\n## `cli`", "Suppress alerts for specified duration based on alert attributes.\n<END>", "<BEGIN>\n## `cli`", "Add group/org/domain/role-to-customer or delete lookup entry.\n<END>", "<BEGIN>\n## `cli`", "Create user or update user details, including password reset.\n<END>", "<BEGIN>\n## `cli`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. 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 cli API. 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...
Display API server uptime in days, hours.
"Display API server uptime in days, hours."
30
false
alerta/python-alerta-client
cli
13,248
LDU_FT/sander76/aio-powerview-api/refresh
LDU_FT
[ "<BEGIN>\n## `sanitize_resources`", "Cleans up incoming scene data", " :param resource: The dict with scene data to be sanitized.\n :returns: Cleaned up dict.\n<END>", "<BEGIN>\n## `create_scene`", "Creates am empty scene.", " Scenemembers need to be added after the scene has been cre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API. 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 refresh API. 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...
Query the hub and the actual shade to get the most recent shade data. Including current shade position.
"Query the hub and the actual shade to get the most recent shade\n data. Including current shade position."
58
false
sander76/aio-powerview-api
refresh
13,249
LDU_FT/honeynet/beeswarm/start
LDU_FT
[ "<BEGIN>\n## `setup_db`", "Sets up the database schema and adds defaults.\n :param connection_string: Database URL. e.g: sqlite:///filename.db\n This is usually taken from the config file.\n<END>", "<BEGIN>\n## `start_pty_request`", "Start a PTY - intended to run it a (green)th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. 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 start API. 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...
Launches a new Telnet client session on the server taken from the `self.options` dict. This session always fails. :param my_ip: IP of this Client itself
"Launches a new Telnet client session on the server taken from the `self.options` dict.\n This session always fails.\n\n :param my_ip: IP of this Client itself"
112
false
honeynet/beeswarm
start
13,250
LDU_FT/jasonrollins/shareplum/List
LDU_FT
[ "<BEGIN>\n## `GetSecurityToken`", "Grabs a security Token to authenticate to Office 365 services\n<END>", "<BEGIN>\n## `GetCookies`", "Grabs the cookies form your Office Sharepoint site\n and uses it as Authentication for the rest of the calls\n<END>", "<BEGIN>\n## `AddList`", "Create a new List\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the List API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the List API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Sharepoint Lists Web Service Microsoft Developer Network: The Lists Web service provides methods for working with SharePoint lists, content types, list items, and files.
"Sharepoint Lists Web Service\n Microsoft Developer Network:\n The Lists Web service provides methods for working\n with SharePoint lists, content types, list items, and files."
33
false
jasonrollins/shareplum
List
13,251
LDU_FT/PyFilesystem/pyfilesystem2/make_stream
LDU_FT
[ "<BEGIN>\n## `install`", "Install an opener.", " Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.", " Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Take a Python 2.x binary file and return an IO Stream.
"Take a Python 2.x binary file and return an IO Stream."
320
false
PyFilesystem/pyfilesystem2
make_stream
13,252
LDU_FT/jacebrowning/comparable/similarity
LDU_FT
[ "<BEGIN>\n## `match_similar`", "Get the most similar matching item from a list of items.", " @param base: base item to locate best match\n @param items: list of items for comparison\n @return: most similar matching item or None\n<END>", "<BEGIN>\n## `duplicates`", "Get an iterator of items similar ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similarity API. 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 similarity API. 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...
Get similarity as a discrete ratio (1.0 or 0.0).
"Get similarity as a discrete ratio (1.0 or 0.0)."
44
false
jacebrowning/comparable
similarity
13,253
LDU_FT/shimpe/pyvectortween/linexp
LDU_FT
[ "<BEGIN>\n## `make_frame`", ":param frame: current frame \n :param birthframe: frame where this animation starts returning something other than None\n :param startframe: frame where animation starts to evolve\n :param stopframe: frame where animation is completed\n :param deathframe: f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linexp API. 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 linexp API. 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 ...
maps value \in linear range [in_min,in_max] corresponding value \in exponential range [out_min, out_max] (extrapolating if needed) :param value: value to be mapped :param in_min: input range minimum :param in_max: input range maximum :param out_min: what input range minimum is ...
"maps value \\in linear range [in_min,in_max] corresponding value \\in exponential range [out_min, out_max]\n (extrapolating if needed)\n\n :param value: value to be mapped \n :param in_min: input range minimum\n :param in_max: input range maximum\n :param out_min: what input range mi...
37
false
shimpe/pyvectortween
linexp
13,254
LDU_FT/ksbg/sparklanes/__run_spark_submit
LDU_FT
[ "<BEGIN>\n## `build_lane_from_yaml`", "Builds a `sparklanes.Lane` object from a YAML definition file.", " Parameters\n ----------\n path: str\n Path to the YAML definition file", " Returns\n -------\n Lane\n Lane, built according to definition in YAML file\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __run_spark_submit 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 __run_spark_submit 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...
Submits the packaged application to spark using a `spark-submit` subprocess Parameters ---------- lane_yaml (str): Path to the YAML lane definition file dist_dir (str): Path to the directory where the packaged code is located spark_args (str): String of any additional spark config args to be passed...
"Submits the packaged application to spark using a `spark-submit` subprocess\n\n Parameters\n ----------\n lane_yaml (str): Path to the YAML lane definition file\n dist_dir (str): Path to the directory where the packaged code is located\n spark_args (str): String of any additional spark config args to be...
62
false
ksbg/sparklanes
__run_spark_submit
13,255
LDU_FT/mohamedattahri/PyXMLi/duplicate
LDU_FT
[ "<BEGIN>\n## `c14n`", "Applies c14n to the xml input\n @param xml: str\n @return: str\n<END>", "<BEGIN>\n## `sign`", "Return xmldsig XML string from xml_string of XML.\n @param xml: str of bytestring xml to sign\n @param private: publicKey Private key\n @param public: publicKey Public key\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the duplicate API. 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 duplicate API. 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 a copy of the current Line, including its taxes and discounts @returns: Line.
"Returns a copy of the current Line, including its taxes and discounts\n @returns: Line."
102
false
mohamedattahri/PyXMLi
duplicate
13,256
LDU_FT/bruth/django-preserialize/serialize
LDU_FT
[ "<BEGIN>\n## `parse_selectors`", "Validates fields are valid and maps pseudo-fields to actual fields\n for a given model class.\n<END>", "<BEGIN>\n## `_get_local_fields`", "Return the names of all locally defined fields on the model class.\n<END>", "<BEGIN>\n## `_get_related_fields`", "Returns the name...
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...
Recursively attempts to find ``Model`` and ``QuerySet`` instances to convert them into their representative datastructure per their ``Resource`` (if one exists).
"Recursively attempts to find ``Model`` and ``QuerySet`` instances\n to convert them into their representative datastructure per their\n ``Resource`` (if one exists)."
10
false
bruth/django-preserialize
serialize
13,257
LDU_FT/hyde/fswrap/ancestors
LDU_FT
[ "<BEGIN>\n## `fully_expanded_path`", "Returns the absolutely absolute path. Calls os.(\n normpath, normcase, expandvars and expanduser).\n<END>", "<BEGIN>\n## `depth`", "Returns the number of ancestors of this directory.\n<END>", "<BEGIN>\n## `ancestors`", "Generates the parents until stop or the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ancestors API. 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 ancestors API. 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...
Generates the parents until stop or the absolute root directory is reached.
"Generates the parents until stop or the absolute\n root directory is reached."
43
false
hyde/fswrap
ancestors
13,258
LDU_FT/revelc/pyaccumulo/createBatchScanner
LDU_FT
[ "<BEGIN>\n## `following_key`", "Returns the key immediately following the input key - based on the Java implementation found in\n org.apache.accumulo.core.data.Key, function followingKey(PartialKey part)\n :param key: the key to be followed\n :return: a key that immediately follows the input key\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createBatchScanner 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 createBatchScanner 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...
Parameters: - login - tableName - options
"Parameters:\n - login\n - tableName\n - options"
110
false
revelc/pyaccumulo
createBatchScanner
13,259
LDU_FT/projectatomic/osbs-client/adjust_for_scratch
LDU_FT
[ "<BEGIN>\n## `get_openshift_base_uri`", "https://<host>[:<port>]/", " :return: str\n<END>", "<BEGIN>\n## `get_builder_openshift_url`", "url of OpenShift where builder will connect\n<END>", "<BEGIN>\n## `generate_nodeselector_dict`", "helper method for generating nodeselector dict\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_for_scratch 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 adjust_for_scratch 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...
Remove certain plugins in order to handle the "scratch build" scenario. Scratch builds must not affect subsequent builds, and should not be imported into Koji.
"Remove certain plugins in order to handle the \"scratch build\"\n scenario. Scratch builds must not affect subsequent builds,\n and should not be imported into Koji."
268
false
projectatomic/osbs-client
adjust_for_scratch
13,260
LDU_FT/WimpyAnalytics/django-andablog/author_display
LDU_FT
[ "<BEGIN>\n## `_get_userinfo`", "Get a dictionary that pulls together information about the poster\n safely for both authenticated and non-authenticated comments.", " This dict will have ``name``, ``email``, and ``url`` fields.\n<END>", "<BEGIN>\n## `get_as_text`", "Return this comment as plain...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the author_display API. 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 author_display API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns either the linked or not-linked profile name.
"Returns either the linked or not-linked profile name."
16
false
WimpyAnalytics/django-andablog
author_display
13,261
LDU_FT/coopernurse/barrister/validate_response
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_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Validates that the response matches the return type for the function Returns two element tuple: (bool, string) - `bool` - True if valid, False if not - `string` - Description of validation error, or None if valid :Parameters: iface_name Name of interface ...
"Validates that the response matches the return type for the function \n\n Returns two element tuple: (bool, string)\n\n - `bool` - True if valid, False if not\n - `string` - Description of validation error, or None if valid\n\n :Parameters:\n iface_name\n Name of interf...
126
false
coopernurse/barrister
validate_response
13,262
LDU_FT/kubernauts/pyk/create_rc
LDU_FT
[ "<BEGIN>\n## `execute_operation`", "Executes a Kubernetes operation using the specified method against a path.\n This is part of the low-level API.", " :Parameters:\n - `method`: The HTTP method to use, defaults to `GET`\n - `ops_path`: The path of the operation, for example, `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_rc API. 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 create_rc API. 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...
Creates an RC based on a manifest. :Parameters: - `manifest_filename`: The manifest file containing the ReplicationController definition, for example: `manifest/nginx-webserver-rc.yaml` - `namespace`: In which namespace the RC should be created, defaults to, well, `default`
"Creates an RC based on a manifest.\n\n :Parameters:\n - `manifest_filename`: The manifest file containing the ReplicationController definition, for example: `manifest/nginx-webserver-rc.yaml`\n - `namespace`: In which namespace the RC should be created, defaults to, well, `default`"
20
false
kubernauts/pyk
create_rc
13,263
LDU_FT/etingof/pyasn1/_componentSortKey
LDU_FT
[ "<BEGIN>\n## `isSameTypeWith`", "Examine |ASN.1| type for equality with other ASN.1 type.", " ASN.1 tags (:py:mod:`~pyasn1.type.tag`) and constraints\n (:py:mod:`~pyasn1.type.constraint`) are examined when carrying\n out ASN.1 types comparison.", " Python class inheritance relation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _componentSortKey API. 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 _componentSortKey API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sort SET components by tag Sort regardless of the Choice value (static sort)
"Sort SET components by tag\n\n Sort regardless of the Choice value (static sort)"
239
false
etingof/pyasn1
_componentSortKey
13,264
LDU_FT/secnot/rectpack/_find_best_fit
LDU_FT
[ "<BEGIN>\n## `_add_section`", "Adds a new section to the free section list, but before that and if \n section merge is enabled, tries to join the rectangle with all existing \n sections, if successful the resulting section is again merged with the \n remaining sections until the operation fai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_best_fit API. 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_best_fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return best fitness rectangle from rectangles packing _sorted_rect list Arguments: pbin (PackingAlgorithm): Packing bin Returns: key of the rectangle with best fitness
"Return best fitness rectangle from rectangles packing _sorted_rect list\n\n Arguments:\n pbin (PackingAlgorithm): Packing bin\n\n Returns:\n key of the rectangle with best fitness"
103
false
secnot/rectpack
_find_best_fit
13,265
LDU_FT/veeti/decent/Eq
LDU_FT
[ "<BEGIN>\n## `as_dict`", "Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>", "<BEGIN>\n## `as_dict`", "Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Eq API. 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Eq API. 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 docu...
Creates a validator that compares the equality of the given value to ``value``. A custom message can be specified with ``message``. It will be formatted with ``value``.
"Creates a validator that compares the equality of the given value to\n ``value``.\n\n A custom message can be specified with ``message``. It will be formatted\n with ``value``."
47
false
veeti/decent
Eq
13,266
LDU_FT/django-crispy-forms/django-crispy-forms/crispy_addon
LDU_FT
[ "<BEGIN>\n## `do_uni_form`", "You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.", " helper (optional): A `crispy_forms.helper.FormHelper` object.", " Usage::", " {% load crispy_tags %}\n {% crispy form f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crispy_addon API. 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 crispy_addon API. 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...
Renders a form field using bootstrap's prepended or appended text:: {% crispy_addon form.my_field prepend="$" append=".00" %} You can also just prepend or append like so {% crispy_addon form.my_field prepend="$" %} {% crispy_addon form.my_field append=".00" %}
"Renders a form field using bootstrap's prepended or appended text::\n\n {% crispy_addon form.my_field prepend=\"$\" append=\".00\" %}\n\n You can also just prepend or append like so\n\n {% crispy_addon form.my_field prepend=\"$\" %}\n {% crispy_addon form.my_field append=\".00\" %}"
89
false
django-crispy-forms/django-crispy-forms
crispy_addon
13,267
LDU_FT/StanfordBioinformatics/loom/_stream_docker_logs
LDU_FT
[ "<BEGIN>\n## `get_by_value`", "Converts a value into a corresponding data object.\n For files, this looks up a file DataObject by name, uuid, and/or md5.\n For other types, it creates a new DataObject.\n<END>", "<BEGIN>\n## `_get_file_by_value`", "Look up a file DataObject by name, uuid, and/or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _stream_docker_logs 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 _stream_docker_logs 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...
Stream stdout and stderr from the task container to this process's stdout and stderr, respectively.
"Stream stdout and stderr from the task container to this\n process's stdout and stderr, respectively."
93
false
StanfordBioinformatics/loom
_stream_docker_logs
13,268
LDU_FT/limodou/ido/import_
LDU_FT
[ "<BEGIN>\n## `get_input`", "If option_value is not None, then return it. Otherwise get the result from \n input.\n<END>", "<BEGIN>\n## `run_from_argv`", "Set up any environment changes requested, then run this command.\n<END>", "<BEGIN>\n## `print_help_info`", "Returns the script's main help text, as a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_ API. 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 import_ API. 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...
Import string format module, e.g. 'uliweb.orm' or an object return module object and object
"Import string format module, e.g. 'uliweb.orm' or an object\n return module object and object"
14
false
limodou/ido
import_
13,269
LDU_FT/eternnoir/pyTelegramBotAPI/send_voice
LDU_FT
[ "<BEGIN>\n## `split_string`", "Splits one string into multiple strings, with a maximum amount of `chars_per_string` characters per string.\n This is very useful for splitting one giant message into multiples.", " :param text: The text to split\n :param chars_per_string: The number of characters per lin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_voice API. 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 send_voice API. 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...
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. :param chat_id:Unique identifier for the message recipient. :param voice: :param duration:Duration of sent audio in seconds :param reply_to_message_id: :param reply_...
"Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.\n :param chat_id:Unique identifier for the message recipient.\n :param voice:\n :param duration:Duration of sent audio in seconds\n :param reply_to_message_id:\n :param ...
187
false
eternnoir/pyTelegramBotAPI
send_voice
13,270
LDU_FT/rocioar/flake8-django/capture_url_missing_namespace
LDU_FT
[ "<BEGIN>\n## `capture_url_missing_namespace`", "Capture missing namespace in url include.\n<END>", "<BEGIN>\n## `run`", "Captures the use of locals() in render function.\n<END>", "<BEGIN>\n## `is_string_dunder_all`", "Return True if element is ast.Str or ast.Bytes and equals \"__all__\"\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_url_missing_namespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_url_missing_namespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Capture missing namespace in url include.
"Capture missing namespace in url include."
12
false
rocioar/flake8-django
capture_url_missing_namespace
13,271
LDU_FT/emlazzarin/acrylic/reorder
LDU_FT
[ "<BEGIN>\n## `change_sheet`", "Calling this method changes the sheet in anticipation for the\n next time you create an iterator.", " If you change the active sheet while iterating on a UnicodeReader\n instance, it will continue to iterate correctly until completion.\n The next time y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reorder API. 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 reorder API. 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...
Pass in field names in the order you wish them to be swapped.
"Pass in field names in the order you wish them to be swapped."
94
false
emlazzarin/acrylic
reorder
13,272