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/sorrowless/battery_systray/set_refresh
LDU_FT
[ "<BEGIN>\n## `set_refresh`", "It is just stub for simplify setting timeout.\n Args:\n timeout (int): timeout in milliseconds, after which callback will be called\n callback (callable): usually, just a function that will be called each time after timeout\n *callback_args (any type...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extra...
It is just stub for simplify setting timeout. Args: timeout (int): timeout in milliseconds, after which callback will be called callback (callable): usually, just a function that will be called each time after timeout *callback_args (any type): arguments that will be passed to call...
"It is just stub for simplify setting timeout.\n Args:\n timeout (int): timeout in milliseconds, after which callback will be called\n callback (callable): usually, just a function that will be called each time after timeout\n *callback_args (any type): arguments that will be passed to...
12
false
sorrowless/battery_systray
set_refresh
31,673
LDU_FT/mrstephenneal/dirutility/get
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect and login to an FTP server and return ftplib.FTP object.\n<END>", "<BEGIN>\n## `get`", "Download a remote file on the fto sever to a local directory.", " :param remote: File path of remote source file\n :param local: Directory of local destination directory\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. 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 get API. 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...
Download a remote file on the fto sever to a local directory. :param remote: File path of remote source file :param local: Directory of local destination directory :param keep_dir_structure: If True, replicates the remote files folder structure
"Download a remote file on the fto sever to a local directory.\n\n :param remote: File path of remote source file\n :param local: Directory of local destination directory\n :param keep_dir_structure: If True, replicates the remote files folder structure"
92
false
mrstephenneal/dirutility
get
31,674
LDU_FT/sk-/git-lint/lint
LDU_FT
[ "<BEGIN>\n## `find_invalid_filenames`", "Find files that does not exist, are not in the repo or are directories.", " Args:\n filenames: list of filenames to check\n repository_root: the absolute path of the repository's root.", " Returns: A list of errors.\n<END>", "<BEGIN>\n## `get_config`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lint API. 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 lint API. 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...
Lints an INI file, returning 0 in case of success.
"Lints an INI file, returning 0 in case of success."
68
false
sk-/git-lint
lint
31,675
LDU_FT/aiven/pghoard/get_backup_end_segment_and_time
LDU_FT
[ "<BEGIN>\n## `atomic_create_file`", "Open a temporary file for writing, rename to final name when done\n<END>", "<BEGIN>\n## `_stream_blob`", "Streams contents of given key to given fileobj. Data is read sequentially in chunks\n without any seeks. This requires duplicating some functionality of the Azu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backup_end_segment_and_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backup_end_segment_and_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Grab a timestamp and WAL segment name after the end of the backup: this is a point in time to which we must be able to recover to, and the last WAL segment that is required for the backup to be consistent. Note that pg_switch_xlog()/pg_switch_wal() is a superuser-only function, but since pg_sta...
"Grab a timestamp and WAL segment name after the end of the backup: this is a point in time to which\n we must be able to recover to, and the last WAL segment that is required for the backup to be\n consistent.\n\n Note that pg_switch_xlog()/pg_switch_wal() is a superuser-only function, but since p...
66
false
aiven/pghoard
get_backup_end_segment_and_time
31,676
LDU_FT/python-escpos/python-escpos/get_profile_class
LDU_FT
[ "<BEGIN>\n## `get_profile`", "Get the profile by name; if no name is given, return the\n default profile.\n<END>", "<BEGIN>\n## `get_profile_class`", "For the given profile name, load the data from the external\n database, then generate dynamically a class.\n<END>", "<BEGIN>\n## `get_font`", "Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profile_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profile_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
For the given profile name, load the data from the external database, then generate dynamically a class.
"For the given profile name, load the data from the external\n database, then generate dynamically a class."
74
false
python-escpos/python-escpos
get_profile_class
31,677
LDU_FT/pmorissette/ffn/to_drawdown_series
LDU_FT
[ "<BEGIN>\n## `memoize`", "Memoize decorator. The refresh keyword is the keyword\n used to bypass the cache (in the function call).\n<END>", "<BEGIN>\n## `parse_arg`", "Parses arguments for convenience. Argument can be a\n csv list ('a,b,c'), a string, a list, a tuple.", " Returns a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_drawdown_series API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_drawdown_series 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...
Calculates the `drawdown <https://www.investopedia.com/terms/d/drawdown.asp>`_ series. This returns a series representing a drawdown. When the price is at all time highs, the drawdown is 0. However, when prices are below high water marks, the drawdown series = current / hwm - 1 The max drawdown ca...
"Calculates the `drawdown <https://www.investopedia.com/terms/d/drawdown.asp>`_ series.\n\n This returns a series representing a drawdown.\n When the price is at all time highs, the drawdown\n is 0. However, when prices are below high water marks,\n the drawdown series = current / hwm - 1\n\n The max dra...
176
false
pmorissette/ffn
to_drawdown_series
31,678
LDU_FT/cnobile2012/pololu-motors/_setSerialTimeout
LDU_FT
[ "<BEGIN>\n## `getError`", "Get the error message or value stored in the Qik 2s9v1 hardware.", " :Keywords:\n device : `int`\n The device is the integer number of the hardware devices ID and\n is only used with the Pololu Protocol. Defaults to the hardware's\n def...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setSerialTimeout API. 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 _setSerialTimeout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Set the serial timeout on the hardware device. :Parameters: timeout : `float` or `int` The timeout value as defined by the hardware manual. device : `int` The device is the integer number of the hardware devices ID and is only used with the Pololu Protoco...
"Set the serial timeout on the hardware device.\n\n :Parameters:\n timeout : `float` or `int`\n The timeout value as defined by the hardware manual.\n device : `int`\n The device is the integer number of the hardware devices ID and\n is only used with the Pololu...
97
false
cnobile2012/pololu-motors
_setSerialTimeout
31,679
LDU_FT/clalancette/pycdlib/write_fp
LDU_FT
[ "<BEGIN>\n## `parse`", "A method to parse an ISO9660 Path Table Record out of a string.", " Parameters:\n data - The string to parse.\n Returns:\n Nothing.\n<END>", "<BEGIN>\n## `_record`", "An internal method to generate a string representing this Path Table Record.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_fp API. 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 write_fp API. 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...
Write a properly formatted ISO out to the file object passed in. This also goes by the name of 'mastering'. Parameters: outfp - The file object to write the data to. blocksize - The blocksize to use when copying data; set to 32768 by default. progress_cb - If not None, a fun...
"Write a properly formatted ISO out to the file object passed in. This\n also goes by the name of 'mastering'.\n\n Parameters:\n outfp - The file object to write the data to.\n blocksize - The blocksize to use when copying data; set to 32768 by default.\n progress_cb - If not None...
1,112
true
clalancette/pycdlib
write_fp
31,680
LDU_FT/maxfischer2781/chainlet/send
LDU_FT
[ "<BEGIN>\n## `skip_pickle_inject`", "skip global wrapper._raw_slave names used only for pickle support\n<END>", "<BEGIN>\n## `wraplet_signature`", "have wrapplets use the signature of the slave\n<END>", "<BEGIN>\n## `_chain_forks`", "Detect whether a sequence of elements leads to a fork of streams\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send a single value to this element for processing
"Send a single value to this element for processing"
95
false
maxfischer2781/chainlet
send
31,681
LDU_FT/pyusb/pyusb/_try_lookup
LDU_FT
[ "<BEGIN>\n## `_try_get_string`", "try to get a string, but return a string no matter what\n<END>", "<BEGIN>\n## `_try_lookup`", "try to get a string from the lookup table, return \"\" instead of key\n error\n<END>", "<BEGIN>\n## `find`", "r\"\"\"Find an USB device and return it.", " find() is the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _try_lookup API. 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 _try_lookup API. 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...
try to get a string from the lookup table, return "" instead of key error
"try to get a string from the lookup table, return \"\" instead of key\n error"
229
false
pyusb/pyusb
_try_lookup
31,682
LDU_FT/Parallels/artifactory/deploy
LDU_FT
[ "<BEGIN>\n## `encode_properties`", "Performs encoding of url parameters from dictionary to a string. It does\n not escape backslash because it is not needed.", " See: http://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-SetItemProperties\n<END>", "<BEGIN>\n## `splitroot`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy API. 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 deploy API. 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 ...
Uploads a given file-like object HTTP chunked encoding will be attempted
"Uploads a given file-like object\n HTTP chunked encoding will be attempted"
27
false
Parallels/artifactory
deploy
31,683
LDU_FT/yougov/pmxbot/repair_duplicate_names
LDU_FT
[ "<BEGIN>\n## `attach`", "Given a function and a namespace of possible parameters,\n\tbind any params matching the signature of the function\n\tto that function.\n<END>", "<BEGIN>\n## `init_config`", "Install the config dict as pmxbot.config, setting overrides,\n\tand return the result.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repair_duplicate_names 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 repair_duplicate_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Prior to 1101.1.1, pmxbot would incorrectly create new karma records for individuals with multiple names. This routine corrects those records.
"Prior to 1101.1.1, pmxbot would incorrectly create new karma records\n\t\tfor individuals with multiple names.\n\t\tThis routine corrects those records."
128
false
yougov/pmxbot
repair_duplicate_names
31,684
LDU_FT/ciena/afkak/_coerce_consumer_group
LDU_FT
[ "<BEGIN>\n## `_coerce_topic`", "Ensure that the topic name is text string of a valid length.", " :param topic: Kafka topic name. Valid characters are in the set ``[a-zA-Z0-9._-]``.\n :raises ValueError: when the topic name exceeds 249 bytes\n :raises TypeError: when the topic is not :class:`unicode` or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _coerce_consumer_group 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 _coerce_consumer_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Ensure that the consumer group is a text string. :param consumer_group: :class:`bytes` or :class:`str` instance :raises TypeError: when `consumer_group` is not :class:`bytes` or :class:`str`
"Ensure that the consumer group is a text string.\n\n :param consumer_group: :class:`bytes` or :class:`str` instance\n :raises TypeError: when `consumer_group` is not :class:`bytes`\n or :class:`str`"
326
false
ciena/afkak
_coerce_consumer_group
31,685
LDU_FT/vtkiorg/vtki/_spawn_background_rendering
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spawn_background_rendering 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 _spawn_background_rendering API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Spawns a thread that updates the render window. Sometimes directly modifiying object data doesn't trigger Modified() and upstream objects won't be updated. This ensures the render window stays updated without consuming too many resources.
"Spawns a thread that updates the render window.\n\n Sometimes directly modifiying object data doesn't trigger\n Modified() and upstream objects won't be updated. This\n ensures the render window stays updated without consuming too\n many resources."
1,121
true
vtkiorg/vtki
_spawn_background_rendering
31,686
LDU_FT/quodlibet/mutagen/__update_offset_table
LDU_FT
[ "<BEGIN>\n## `_parse_sv8_int`", "Reads (max limit) bytes from fileobj until the MSB is zero.\n All 7 LSB will be merged to a big endian uint.", " Raises ValueError in case not MSB is zero, or EOFError in\n case the file ended before limit is reached.", " Returns (parsed number, number of bytes rea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __update_offset_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __update_offset_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Update offset table in the specified atom.
"Update offset table in the specified atom."
518
false
quodlibet/mutagen
__update_offset_table
31,687
LDU_FT/django-treebeard/django-treebeard/get_siblings
LDU_FT
[ "<BEGIN>\n## `get_foreign_keys`", "Get foreign keys and models they refer to, so we can pre-process\n the data for load_bulk\n<END>", "<BEGIN>\n## `_process_foreign_keys`", "For each foreign key try to load the actual object so load_bulk\n doesn't fail trying to load an int where django expects ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_siblings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_siblings API. 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 queryset of all the node's siblings, including the node itself.
":returns: A queryset of all the node's siblings, including the node\n itself."
194
false
django-treebeard/django-treebeard
get_siblings
31,688
LDU_FT/lappis-unb/salic-ml/total_receipts
LDU_FT
[ "<BEGIN>\n## `approved_funds`", "Verifica se o valor total de um projeto é um\n outlier em relação\n aos projetos do mesmo seguimento cultural\n Dataframes: planilha_orcamentaria\n<END>", "<BEGIN>\n## `complexidade`", "Returns a value that indicates project health, currently FinancialIndicator\n i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the total_receipts API. 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 total_receipts API. 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...
This metric calculates the project total of receipts and compare it to projects in the same segment output: is_outlier: True if projects receipts is not compatible to others projects in the same segment total_receipts: absolute number of receipts maxim...
"This metric calculates the project total of receipts\n and compare it to projects in the same segment\n output:\n is_outlier: True if projects receipts is not compatible\n to others projects in the same segment\n total_receipts: absolute number of receipts\n ...
102
false
lappis-unb/salic-ml
total_receipts
31,689
LDU_FT/codenerix/django-codenerix/lock
LDU_FT
[ "<BEGIN>\n## `get_groups`", "<--------------------------------------- 12 columns ------------------------------------>\n <--- 6 columns ---> <--- 6 columns --->\n ------------------------------------------ ------------------------------------------\n |...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lock API. 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 lock API. 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...
Try to get locked the file - the function will wait until the file is unlocked if 'wait' was defined as locktype - the funciton will raise AlreadyLocked exception if 'lock' was defined as locktype
"Try to get locked the file\n - the function will wait until the file is unlocked if 'wait' was defined as locktype\n - the funciton will raise AlreadyLocked exception if 'lock' was defined as locktype"
82
false
codenerix/django-codenerix
lock
31,690
LDU_FT/nickstenning/honcho/expand_processes
LDU_FT
[ "<BEGIN>\n## `add_process`", "Add a process to this manager instance. The process will not be started\n until :func:`~honcho.manager.Manager.loop` is called.\n<END>", "<BEGIN>\n## `loop`", "Start all the added processes and multiplex their output onto the bound\n printer (which by default will p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_processes API. 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 expand_processes API. 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 a list of the processes that need to be started given the specified list of process types, concurrency, environment, quietness, and base port number. Returns a list of ProcessParams objects, which have `name`, `cmd`, `env`, and `quiet` attributes, corresponding to the parameters to the constructor ...
"Get a list of the processes that need to be started given the specified\n list of process types, concurrency, environment, quietness, and base port\n number.\n\n Returns a list of ProcessParams objects, which have `name`, `cmd`, `env`,\n and `quiet` attributes, corresponding to the parameters to the constr...
15
false
nickstenning/honcho
expand_processes
31,691
LDU_FT/vsoch/helpme/run
LDU_FT
[ "<BEGIN>\n## `main`", "the main entry point for the HelpMe Command line application. Currently,\n the user can request help or set config values for a particular helper.\n<END>", "<BEGIN>\n## `write_config`", "use configparser to write a config object to filename\n<END>", "<BEGIN>\n## `generate_tempor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
run the entire helper procedure, including: - start: initialize the helper, collection preferences - record: record any relevant features for the environment / session - interact: interact with the user for additional informatoin - submit: submit the completed reques...
"run the entire helper procedure, including:\n\n - start: initialize the helper, collection preferences\n - record: record any relevant features for the environment / session\n - interact: interact with the user for additional informatoin\n - submit: submit the completed ...
121
false
vsoch/helpme
run
31,692
LDU_FT/notanumber/xapian-haystack/_multi_value_field
LDU_FT
[ "<BEGIN>\n## `_term_to_xapian_value`", "Converts a term to a serialized\n Xapian value based on the field_type.\n<END>", "<BEGIN>\n## `_from_xapian_value`", "Converts a serialized Xapian value\n to Python equivalent based on the field_type.", " Doesn't accept multivalued fields.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _multi_value_field 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 _multi_value_field 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...
Private method that returns `True` if a field is multi-valued, else `False`. Required arguemnts: `field` -- The field to lookup Returns a boolean value indicating whether the field is multi-valued.
"Private method that returns `True` if a field is multi-valued, else\n `False`.\n\n Required arguemnts:\n `field` -- The field to lookup\n\n Returns a boolean value indicating whether the field is multi-valued."
127
false
notanumber/xapian-haystack
_multi_value_field
31,693
LDU_FT/sods/ods/ceres
LDU_FT
[ "<BEGIN>\n## `display_url`", "Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>", "<BEGIN>\n## `iframe_url`", "Produce an if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ceres API. 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 ceres API. 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...
Twenty two observations of the Dwarf planet Ceres as observed by Giueseppe Piazzi and published in the September edition of Monatlicher Correspondenz in 1801. These were the measurements used by Gauss to fit a model of the planets orbit through which the planet was recovered three months later.
"Twenty two observations of the Dwarf planet Ceres as observed by Giueseppe Piazzi and published in the September edition of Monatlicher Correspondenz in 1801. These were the measurements used by Gauss to fit a model of the planets orbit through which the planet was recovered three months later."
67
false
sods/ods
ceres
31,694
LDU_FT/marrow/util/pipe
LDU_FT
[ "<BEGIN>\n## `pcwd`", "A decorator to provide the functionality of the\n PreserveWorkingDirectory context manager for functions and methods.\n<END>", "<BEGIN>\n## `cd`", "Change the current working directory within this context.", " Preserves the previous working directory and can be applied to remote...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pipe API. 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 pipe API. 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...
Return the optimum pipe implementation for the capabilities of the active system.
"Return the optimum pipe implementation for the capabilities of the active system."
73
false
marrow/util
pipe
31,695
LDU_FT/pyparsing/pyparsing/program_end_action
LDU_FT
[ "<BEGIN>\n## `parse`", "Accepts an input string containing an LA equation, e.g.,\r\n \"M3_mymatrix = M3_anothermatrix^-1\" returns C code function\r\n calls that implement the expression.\n<END>", "<BEGIN>\n## `fprocess`", "Scans an input file for LA equations between double square brackets,\r\n e.g. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the program_end_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the program_end_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Checks if there is a 'main' function and the type of 'main' function
"Checks if there is a 'main' function and the type of 'main' function"
132
false
pyparsing/pyparsing
program_end_action
31,696
LDU_FT/twisted/txmongo/get_version
LDU_FT
[ "<BEGIN>\n## `configure`", "Configures the protocol using the information gathered from the\n remote Mongo instance. Such information may contain the max\n BSON document size, replica set configuration, and the master\n status of the instance.\n<END>", "<BEGIN>\n## `notifyReady`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version API. 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 a file from GridFS by ``"filename"``. Returns a version of the file in GridFS whose filename matches `filename` and whose metadata fields match the supplied keyword arguments, as an instance of :class:`~gridfs.grid_file.GridOut`. Version numbering is a convenience atop the GridFS API...
"Get a file from GridFS by ``\"filename\"``.\n Returns a version of the file in GridFS whose filename matches\n `filename` and whose metadata fields match the supplied keyword\n arguments, as an instance of :class:`~gridfs.grid_file.GridOut`.\n Version numbering is a convenience atop the Gri...
64
false
twisted/txmongo
get_version
31,697
LDU_FT/IBM/ibm-cos-sdk-python-s3transfer/stop
LDU_FT
[ "<BEGIN>\n## `store`", "store a config value in a dictionary, these values are used to populate a trasnfer spec\n validation -- check type, check allowed values and rename if required\n<END>", "<BEGIN>\n## `multi_session`", "convert the multi_session param a number\n<END>", "<BEGIN>\n## `_raw_asp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. 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 stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
send a stop transfer request to the Aspera sdk, can be done for: cancel - stop an in progress transfer free_resource - request to the Aspera sdk free resouces related to trasnfer_id
"send a stop transfer request to the Aspera sdk, can be done for:\n cancel - stop an in progress transfer\n free_resource - request to the Aspera sdk free resouces related to trasnfer_id"
89
false
IBM/ibm-cos-sdk-python-s3transfer
stop
31,698
LDU_FT/isogeo/isogeo-api-py-minsdk/share_extender
LDU_FT
[ "<BEGIN>\n## `set_base_url`", "Set Isogeo base URLs according to platform.", " :param str platform: platform to use. Options:", " * prod [DEFAULT]\n * qa\n * int\n<END>", "<BEGIN>\n## `convert_uuid`", "Convert a metadata UUID to its URI equivalent. And conversely.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the share_extender API. 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 share_extender API. 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...
Extend share model with additional informations. :param dict share: share returned by API :param dict results_filtered: filtered search result
"Extend share model with additional informations.\n\n :param dict share: share returned by API\n :param dict results_filtered: filtered search result"
154
false
isogeo/isogeo-api-py-minsdk
share_extender
31,699
LDU_FT/qiniu/python-sdk/disable_ap_port
LDU_FT
[ "<BEGIN>\n## `execute`", "执行持久化处理:", " Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关", " Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_ap_port API. 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 disable_ap_port API. 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...
临时关闭接入点端口 临时关闭接入点端口,仅对公网域名,公网ip有效。 Args: - apid: 接入点ID - port: 要设置的端口号 Returns: 返回一个tuple对象,其格式为(<result>, <ResponseInfo>) - result 成功返回空dict{},失败返回{"error": "<errMsg string>"} - ResponseInfo 请求的Response信息
"临时关闭接入点端口\n\n 临时关闭接入点端口,仅对公网域名,公网ip有效。\n\n Args:\n - apid: 接入点ID\n - port: 要设置的端口号\n\n Returns:\n 返回一个tuple对象,其格式为(<result>, <ResponseInfo>)\n - result 成功返回空dict{},失败返回{\"error\": \"<errMsg string>\"}\n - ResponseInfo 请求的Response信息...
337
false
qiniu/python-sdk
disable_ap_port
31,700
LDU_FT/persandstrom/python-verisure/capture_image
LDU_FT
[ "<BEGIN>\n## `login`", "Login to verisure app api", " Login before calling any read or write commands\n<END>", "<BEGIN>\n## `set_smartplug_state`", "Turn on or off smartplug", " Args:\n device_label (str): Smartplug device label\n state (boolean): new status, 'True' or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_image API. 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 capture_image API. 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...
Capture smartcam image Args: device_label (str): device label of camera
"Capture smartcam image\n\n Args:\n device_label (str): device label of camera"
36
false
persandstrom/python-verisure
capture_image
31,701
LDU_FT/Gorialis/jishaku/vc_check
LDU_FT
[ "<BEGIN>\n## `get_var_dict_from_ctx`", "Returns the dict to be used in REPL for a given Context.\n<END>", "<BEGIN>\n## `background_reader`", "Reads a stream and forwards each line to an async callback.\n<END>", "<BEGIN>\n## `make_reader_task`", "Create a reader executor task for a stream.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vc_check API. 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 vc_check API. 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 for whether VC is available in this bot.
"Check for whether VC is available in this bot."
161
false
Gorialis/jishaku
vc_check
31,702
LDU_FT/sdss/tree/check_paths
LDU_FT
[ "<BEGIN>\n## `set_roots`", "Set the roots of the tree in the os environment", " Parameters:\n uproot_with (str):\n A new TREE_DIR path used to override an existing TREE_DIR environment variable\n<END>", "<BEGIN>\n## `load_config`", "loads a config file", " Parameter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_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 extra...
Check if the path is in the os environ, and if not add it Paramters: paths (OrderedDict): An ordered dict containing all of the paths from the a given section, as key:val = name:path update (bool): If True, overwrites existing tree environ...
"Check if the path is in the os environ, and if not add it\n\n Paramters:\n paths (OrderedDict):\n An ordered dict containing all of the paths from the\n a given section, as key:val = name:path\n update (bool):\n If True, overwrites existing tree...
70
false
sdss/tree
check_paths
31,703
LDU_FT/joytunes/JTLocalize/__generate_localization_dictionary_from_file
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 __generate_localization_dictionary_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __generate_localization_dictionary_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> ind...
Generates a dictionary mapping between keys (defined by the given attribute name) and localization entries. Args: file_path (str): The strings file path. localization_entry_attribute_name_for_key: The name of the attribute of LocalizationEntry to use as key. Returns: dict: A dictionary...
"Generates a dictionary mapping between keys (defined by the given attribute name) and localization entries.\n\n Args:\n file_path (str): The strings file path.\n localization_entry_attribute_name_for_key: The name of the attribute of LocalizationEntry to use as key.\n\n Returns:\n dict: A di...
104
false
joytunes/JTLocalize
__generate_localization_dictionary_from_file
31,704
LDU_FT/HttpRunner/har2case/convert_x_www_form_urlencoded_to_dict
LDU_FT
[ "<BEGIN>\n## `__make_request_url`", "parse HAR entry request url and queryString, and make teststep url and params", " Args:\n entry_json (dict):\n {\n \"request\": {\n \"url\": \"https://httprunner.top/home?v=1&w=2\",\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_x_www_form_urlencoded_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_x_www_form_urlencoded_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
convert x_www_form_urlencoded data to dict Args: post_data (str): a=1&b=2 Returns: dict: {"a":1, "b":2}
"convert x_www_form_urlencoded data to dict\n\n Args:\n post_data (str): a=1&b=2\n\n Returns:\n dict: {\"a\":1, \"b\":2}"
32
false
HttpRunner/har2case
convert_x_www_form_urlencoded_to_dict
31,705
LDU_FT/davidfokkema/artist/set_ytick_labels
LDU_FT
[ "<BEGIN>\n## `render`", "Render the plot using a template.", " Once the plot is complete, it needs to be rendered. Artist uses\n the Jinja2 templating engine. The default template results in a\n LaTeX file which can be included in your document.", " :param template: a user-suppli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ytick_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ytick_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Manually specify the y-axis tick labels. :param row,column: specify the subplot. :param labels: list of tick labels.
"Manually specify the y-axis tick labels.\n\n :param row,column: specify the subplot.\n :param labels: list of tick labels."
278
false
davidfokkema/artist
set_ytick_labels
31,706
LDU_FT/robotools/extractor/_makeScriptOrder
LDU_FT
[ "<BEGIN>\n## `_makeScriptOrder`", "Run therough GPOS and make an alphabetically\n ordered list of scripts. If DFLT is in the list,\n move it to the front.\n<END>", "<BEGIN>\n## `_gatherDataFromLookups`", "Gather kerning and classes from the applicable lookups\n and return them in script order.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _makeScriptOrder API. 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 _makeScriptOrder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Run therough GPOS and make an alphabetically ordered list of scripts. If DFLT is in the list, move it to the front.
"Run therough GPOS and make an alphabetically\n ordered list of scripts. If DFLT is in the list,\n move it to the front."
26
false
robotools/extractor
_makeScriptOrder
31,707
LDU_FT/LogicalDash/LiSE/_fun_names_iter
LDU_FT
[ "<BEGIN>\n## `on_touch_down`", "If hit, record my starting position, that I may return to it in\n ``on_touch_up`` after creating a real :class:`board.Spot` or\n :class:`board.Pawn` instance.\n<END>", "<BEGIN>\n## `on_touch_up`", "Return to ``pos_start``, but first, save my current ``pos`` into\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fun_names_iter API. 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 _fun_names_iter API. 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...
Iterate over the names of the functions in ``val``, adding them to ``funcstore`` if they are missing; or if the items in ``val`` are already the names of functions in ``funcstore``, iterate over those.
"Iterate over the names of the functions in ``val``,\n adding them to ``funcstore`` if they are missing;\n or if the items in ``val`` are already the names of functions\n in ``funcstore``, iterate over those."
660
false
LogicalDash/LiSE
_fun_names_iter
31,708
LDU_FT/plandes/actioncli/_map
LDU_FT
[ "<BEGIN>\n## `populate`", "Set attributes in ``obj`` with ``setattr`` from the all values in\n ``section``.\n<END>", "<BEGIN>\n## `_get_calling_module`", "Get the last module in the call stack that is not this module or ``None`` if\n the call originated from this module.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map API. 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 _map API. 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...
Map ``data_item`` separately in each thread.
"Map ``data_item`` separately in each thread."
67
false
plandes/actioncli
_map
31,709
LDU_FT/limix/limix-core/XanyKX
LDU_FT
[ "<BEGIN>\n## `addFixedEffect`", "set sample and trait designs\n F: NxK sample design\n A: LxP sample design\n REML: REML for this term?\n index: index of which fixed effect to replace. If None, just append.\n<END>", "<BEGIN>\n## `removeFixedEffect`", "set sample and tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the XanyKX API. 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 XanyKX API. 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 ...
compute cross covariance for any and rest
"compute cross covariance for any and rest"
61
false
limix/limix-core
XanyKX
31,710
LDU_FT/hozn/stravalib/stats
LDU_FT
[ "<BEGIN>\n## `logged_in`", "Method called by Strava (redirect) that includes parameters.\n - state\n - code\n - error\n<END>", "<BEGIN>\n## `unmarshal`", "Convert the value from parsed JSON structure to native python representation.", " By default this will leave the value as-is since the JS...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
:return: Associated :class:`stravalib.model.AthleteStats`
":return: Associated :class:`stravalib.model.AthleteStats`"
367
false
hozn/stravalib
stats
31,711
LDU_FT/datakortet/dkfileutils/read_skipfile
LDU_FT
[ "<BEGIN>\n## `touch`", "Create this file with the given access mode, if it doesn't exist.\n Based on:", " https://github.com/python/cpython/blob/master/Lib/pathlib.py)\n<END>", "<BEGIN>\n## `glob`", "`pat` can be an extended glob pattern, e.g. `'**/*.less'`\n This code handl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_skipfile API. 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 read_skipfile API. 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...
The .skipfile should contain one entry per line, listing files/directories that should be skipped by :func:`list_files`.
"The .skipfile should contain one entry per line,\n listing files/directories that should be skipped by\n :func:`list_files`."
38
false
datakortet/dkfileutils
read_skipfile
31,712
LDU_FT/ECRL/ecabc/minimize
LDU_FT
[ "<BEGIN>\n## `add_argument`", "Add an additional argument to be passed to the fitness function\n via additional arguments dictionary; this argument/value is not tuned", " Args:\n arg_name (string): name/dictionary key of argument\n arg_value (any): dictionary value of argumen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize API. 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 minimize API. 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...
Configures the ABC to minimize fitness function return value or derived score Args: minimize (bool): if True, minimizes fitness function return value; if False, minimizes derived score
"Configures the ABC to minimize fitness function return value or\n derived score\n\n Args:\n minimize (bool): if True, minimizes fitness function return value;\n if False, minimizes derived score"
67
false
ECRL/ecabc
minimize
31,713
LDU_FT/pycontribs/jira/create_temp_user_avatar
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 create_temp_user_avatar 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_temp_user_avatar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Register an image file as a user avatar. The avatar created is temporary and must be confirmed before it can be used. Avatar images are specified by a filename, size, and file object. By default, the client will attempt to autodetect the picture's content type: this mechanism relies on...
"Register an image file as a user avatar.\n\n The avatar created is temporary and must be confirmed before it can\n be used.\n\n Avatar images are specified by a filename, size, and file object. By default, the client will attempt to\n autodetect the picture's content type: this mechanism re...
468
false
pycontribs/jira
create_temp_user_avatar
31,714
LDU_FT/OnroerendErfgoed/crabpy/check_lazy_load_terreinobject
LDU_FT
[ "<BEGIN>\n## `crab_gateway_request`", "Utility function that helps making requests to the CRAB service.", " This is a specialised version of :func:`crabpy.client.crab_request` that\n allows adding extra functionality for the calls made by the gateway.", " :param client: A :class:`suds.client.Client` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_lazy_load_terreinobject 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 check_lazy_load_terreinobject API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Decorator function to lazy load a :class:`Terreinobject`.
"Decorator function to lazy load a :class:`Terreinobject`."
196
false
OnroerendErfgoed/crabpy
check_lazy_load_terreinobject
31,715
LDU_FT/alfredodeza/notario/integer
LDU_FT
[ "<BEGIN>\n## `create_store`", "A helper for setting the _proxy and slapping the store\n object for us.", " :return: A thread-local storage as a dictionary\n<END>", "<BEGIN>\n## `string`", "Validates a given input is of type string.", " Example usage::", " data = {'a' : 21}\n schem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the integer API. 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 integer API. 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...
Validates a given input is of type int.. Example usage:: data = {'a' : 21} schema = ('a', integer) You can also use this as a decorator, as a way to check for the input before it even hits a validator you may be writing. .. note:: If the argument is a callable, the decorating...
"Validates a given input is of type int..\n\n Example usage::\n\n data = {'a' : 21}\n schema = ('a', integer)\n\n You can also use this as a decorator, as a way to check for the\n input before it even hits a validator you may be writing.\n\n .. note::\n If the argument is a callable, th...
86
false
alfredodeza/notario
integer
31,716
LDU_FT/pandeylab/pythomics/has_snp
LDU_FT
[ "<BEGIN>\n## `add_header`", "Parses the VCF Header field and returns the number of samples in the VCF file\n<END>", "<BEGIN>\n## `parse_entry`", "Parse an individual VCF entry and return a VCFEntry which contains information about\n the call (such as alternative allele, zygosity, etc.)\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_snp API. 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 has_snp API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns a boolean list of SNP status, ordered by samples
"Returns a boolean list of SNP status, ordered by samples"
49
false
pandeylab/pythomics
has_snp
31,717
LDU_FT/pydsigner/pygu/load_sound
LDU_FT
[ "<BEGIN>\n## `draw`", "Draw all widgets and sub-containers to @surf.\n<END>", "<BEGIN>\n## `kill`", "Remove the class from its container, contained items and sub-widgets. \n Runs automatically when the class is garbage collected.\n<END>", "<BEGIN>\n## `add`", "Place @widgets under the blitting hand...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_sound API. 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_sound API. 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...
Used internally when loading sounds. You should probably use load_objects().
"Used internally when loading sounds. You should probably use \n load_objects()."
68
false
pydsigner/pygu
load_sound
31,718
LDU_FT/bradrf/configstruct/save
LDU_FT
[ "<BEGIN>\n## `configure_basic_logging`", "Use common logging options to configure all logging.", " Basic logging configuration is used to set levels for all logs from the main module and to\n filter out logs from other modules unless they are of one level in priority higher.", " :param ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save all options in memory to the `config_file`. Options are read once more from the file (to allow other writers to save configuration), keys in conflict are resolved, and the final results are written back to the file. :param conflict_resolver: a simple lambda or function to choose when an o...
"Save all options in memory to the `config_file`.\n\n Options are read once more from the file (to allow other writers to save configuration),\n keys in conflict are resolved, and the final results are written back to the file.\n\n :param conflict_resolver: a simple lambda or function to choose whe...
14
false
bradrf/configstruct
save
31,719
LDU_FT/pgjones/quart/get_flashed_messages
LDU_FT
[ "<BEGIN>\n## `get_command`", "Return the relevant command given the context and name.", " .. warning::", " This differs substaintially from Flask in that it allows\n for the inbuilt commands to be overridden.\n<END>", "<BEGIN>\n## `render_template`", "Render the template with ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flashed_messages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_flashed_messages API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Retrieve the flashed messages stored in the session. This is mostly useful in templates where it is exposed as a global function, for example .. code-block:: html+jinja <ul> {% for message in get_flashed_messages() %} <li>{{ message }}</li> {% endfor %} </ul> ...
"Retrieve the flashed messages stored in the session.\n\n This is mostly useful in templates where it is exposed as a global\n function, for example\n\n .. code-block:: html+jinja\n\n <ul>\n {% for message in get_flashed_messages() %}\n <li>{{ message }}</li>\n {% endfor %}\n ...
611
false
pgjones/quart
get_flashed_messages
31,720
LDU_FT/thelabnyc/wagtail_blog/limit_author_choices
LDU_FT
[ "<BEGIN>\n## `create_images_from_urls_in_content`", "create Image objects and transfer image files to media root\n<END>", "<BEGIN>\n## `lookup_comment_by_wordpress_id`", "Returns Django comment object with this wordpress id\n<END>", "<BEGIN>\n## `create_blog_pages`", "create Blog post entries from wordpre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limit_author_choices 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 limit_author_choices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Limit choices in blog author field based on config settings
"Limit choices in blog author field based on config settings"
36
false
thelabnyc/wagtail_blog
limit_author_choices
31,721
LDU_FT/JohnVinyard/featureflow/_finalized
LDU_FT
[ "<BEGIN>\n## `copy`", "Use self as a template to build a new feature, replacing\n values in kwargs\n<END>", "<BEGIN>\n## `_can_compute`", "Return true if this feature stored, or is unstored, but can be computed\n from stored dependencies\n<END>", "<BEGIN>\n## `_partial`", "TODO: _partial is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finalized API. 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 _finalized API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return true if all dependencies have informed this node that they'll be sending no more data (by calling _finalize()), and that they have sent at least one batch of data (by calling enqueue())
"Return true if all dependencies have informed this node that they'll\n be sending no more data (by calling _finalize()), and that they have\n sent at least one batch of data (by calling enqueue())"
10
false
JohnVinyard/featureflow
_finalized
31,722
LDU_FT/davenquinn/Attitude/angular_errors
LDU_FT
[ "<BEGIN>\n## `bingham_pdf`", "From the *Encyclopedia of Paleomagnetism*", " From Onstott, 1980:\n Vector resultant: R is analogous to eigenvectors\n of T.\n Eigenvalues are analogous to |R|/N.\n<END>", "<BEGIN>\n## `report`", "Outputs a standalone HTML 'report card' for a\n measurement (or se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the angular_errors API. 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 angular_errors API. 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...
Minimum and maximum angular errors corresponding to 1st and 2nd axes of PCA distribution.
"Minimum and maximum angular errors\n corresponding to 1st and 2nd axes\n of PCA distribution."
138
false
davenquinn/Attitude
angular_errors
31,723
LDU_FT/6809/MC6809/calc_new_count
LDU_FT
[ "<BEGIN>\n## `instruction_RTS`", "Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.", " source code forms: RTS", " CC bits \"HNZVC\": -----\n<END>", "<BEGIN>\n## `instruction_BSR_JSR`", "Program control is transferre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_new_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_new_count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
change 'value' between 'min_value' and 'max_value' so that 'trigger' will be match 'target' >>> calc_new_count(min_value=0, value=100, max_value=200, trigger=30, target=30) 100 >>> calc_new_count(min_value=0, value=100, max_value=200, trigger=50, target=5) 55 >>> calc_new_count(min_value=6...
"change 'value' between 'min_value' and 'max_value'\n so that 'trigger' will be match 'target'\n \n >>> calc_new_count(min_value=0, value=100, max_value=200, trigger=30, target=30)\n 100\n\n >>> calc_new_count(min_value=0, value=100, max_value=200, trigger=50, target=5)\n 55\n >>> calc_new_count(mi...
224
false
6809/MC6809
calc_new_count
31,724
LDU_FT/AmesCornish/buttersink/_analyzeDontMeasure
LDU_FT
[ "<BEGIN>\n## `update`", "Update self and parent with intermediate progress.\n<END>", "<BEGIN>\n## `close`", "Stop overwriting display, or update parent.\n<END>", "<BEGIN>\n## `transfer`", "Transfer (large) data from sender to receiver.\n<END>", "<BEGIN>\n## `display`", "Friendly string for volume, usi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _analyzeDontMeasure 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 _analyzeDontMeasure 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...
Figure out the best diffs to use to reach all our required volumes.
"Figure out the best diffs to use to reach all our required volumes."
148
false
AmesCornish/buttersink
_analyzeDontMeasure
31,725
LDU_FT/davisd50/sparc.apps.cache/getScriptArgumentParser
LDU_FT
[ "<BEGIN>\n## `getScriptArgumentParser`", "Return ArgumentParser object", " Kwargs:\n args (list): list of arguments that will be parsed. The default\n is the sys.argv list, and should be correct for most\n use cases.\n components (li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getScriptArgumentParser 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 getScriptArgumentParser API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Return ArgumentParser object Kwargs: args (list): list of arguments that will be parsed. The default is the sys.argv list, and should be correct for most use cases. components (list) Returns: ArgumentParser obje...
"Return ArgumentParser object\n \n Kwargs:\n args (list): list of arguments that will be parsed. The default\n is the sys.argv list, and should be correct for most\n use cases.\n components (list) \n \n Returns:\n ArgumentP...
21
false
davisd50/sparc.apps.cache
getScriptArgumentParser
31,726
LDU_FT/gusutabopb/aioinflux/serialize
LDU_FT
[ "<BEGIN>\n## `lineprotocol`", "Adds ``to_lineprotocol`` method to arbitrary user-defined classes", " :param cls: Class to monkey-patch\n :param schema: Schema dictionary (attr/type pairs).\n :param rm_none: Whether apply a regex to remove ``None`` values.\n If ``False``, passing ``None`` values ...
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...
Converts input data into line protocol format
"Converts input data into line protocol format"
41
false
gusutabopb/aioinflux
serialize
31,727
LDU_FT/bdcht/grandalf/_crossings
LDU_FT
[ "<BEGIN>\n## `_meanvalueattr`", "find new position of vertex v according to adjacency in prevlayer.\n position is given by the mean value of adjacent positions.\n experiments show that meanvalue heuristic performs better than median.\n<END>", "<BEGIN>\n## `_medianindex`", "find new position of v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _crossings API. 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 _crossings API. 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...
counts (inefficently but at least accurately) the number of crossing edges between layer l and l+dirv. P[i][j] counts the number of crossings from j-th edge of vertex i. The total count of crossings is the sum of flattened P: x = sum(sum(P,[]))
"counts (inefficently but at least accurately) the number of\n crossing edges between layer l and l+dirv.\n P[i][j] counts the number of crossings from j-th edge of vertex i.\n The total count of crossings is the sum of flattened P:\n x = sum(sum(P,[]))"
41
false
bdcht/grandalf
_crossings
31,728
LDU_FT/brentp/cruzdb/find
LDU_FT
[ "<BEGIN>\n## `relate`", "Produce a relationship between this mapped table and another\n one. ", " This makes usage of SQLAlchemy's :func:`sqlalchemy.orm.relationship`\n construct.\n<END>", "<BEGIN>\n## `execute`", "Execute a SQL statement.", " The statement may be a string SQL ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a object of all stored intervals intersecting between (start, end) inclusive.
"Return a object of all stored intervals intersecting between (start, end) inclusive."
169
false
brentp/cruzdb
find
31,729
LDU_FT/05bit/peewee-async/count
LDU_FT
[ "<BEGIN>\n## `execute`", "Execute *SELECT*, *INSERT*, *UPDATE* or *DELETE* query asyncronously.", " :param query: peewee query instance created with ``Model.select()``,\n ``Model.update()`` etc.\n :return: result depends on query type, it's the same as for sync\n ``query.execute()`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Perform *COUNT* aggregated query asynchronously. :return: number of objects in ``select()`` query
"Perform *COUNT* aggregated query asynchronously.\n\n :return: number of objects in ``select()`` query"
92
false
05bit/peewee-async
count
31,730
LDU_FT/viveksck/changepoint/detect_mean_shift
LDU_FT
[ "<BEGIN>\n## `estimate_cp`", "Estimate changepoints in a time series by using R.\n<END>", "<BEGIN>\n## `estimate_cp_pval`", "Estimate changepoints in a time series by using R.\n<END>", "<BEGIN>\n## `get_ts_stats_significance`", "Returns the statistics, pvalues and the actual number of bootstrap\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_mean_shift API. 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 detect_mean_shift API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Detect mean shift in a time series. B is number of bootstrapped samples to draw.
"Detect mean shift in a time series. B is number of bootstrapped\n samples to draw."
28
false
viveksck/changepoint
detect_mean_shift
31,731
LDU_FT/atlassian-api/atlassian-python-api/user_deactivate
LDU_FT
[ "<BEGIN>\n## `clean_draft_pages_from_space`", "Remove draft pages from space using datetime.now\n :param confluence:\n :param space_key:\n :param count:\n :param date_now:\n :return: int counter\n<END>", "<BEGIN>\n## `clean_all_draft_pages_from_all_spaces`", "Remove all draft pages for all spac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_deactivate API. 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 user_deactivate API. 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...
Disable user :param username: :return:
"Disable user\n :param username:\n :return:"
414
false
atlassian-api/atlassian-python-api
user_deactivate
31,732
LDU_FT/EliotBerriot/django-dynamic-preferences/validate_value
LDU_FT
[ "<BEGIN>\n## `by_name`", "Return a dictionary with preferences identifiers and values, but without the section name in the identifier\n<END>", "<BEGIN>\n## `get_cache_key`", "Return the cache key corresponding to a given preference\n<END>", "<BEGIN>\n## `from_cache`", "Return a preference raw_value from c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
We call validation from the underlying form field
"We call validation from the underlying form field"
64
false
EliotBerriot/django-dynamic-preferences
validate_value
31,733
LDU_FT/moonso/ped_parser/get_phenotype
LDU_FT
[ "<BEGIN>\n## `get_individual`", "Return a individual object based on the indata.", " Arguments:\n family_id (str): The id for this family\n sample_id (str): The id for this sample\n father_id (str): The id for this samples father\n mother_id (str): The id for t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_phenotype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_phenotype API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return the phenotype of an individual If individual does not exist return 0 Arguments: individual_id (str): Represents the individual id Returns: int : Integer that represents the phenotype
"Return the phenotype of an individual\n \n If individual does not exist return 0\n \n Arguments:\n individual_id (str): Represents the individual id\n \n Returns:\n int : Integer that represents the phenotype"
79
false
moonso/ped_parser
get_phenotype
31,734
LDU_FT/MKLab-ITI/reveal-user-annotation/separate_camel_case
LDU_FT
[ "<BEGIN>\n## `safe_twitter_request_handler`", "This is a safe function handler for any twitter request.", " Inputs: - twitter_api_func: The twython function object to be safely called.\n - call_rate_limit: THe call rate limit for this specific Twitter API function.\n - call_counter: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the separate_camel_case API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the separate_camel_case API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
What it says on the tin. Input: - word: A string that may be in camelCase. Output: - separated_word: A list of strings with camel case separated.
"What it says on the tin.\n\n Input: - word: A string that may be in camelCase.\n\n Output: - separated_word: A list of strings with camel case separated."
192
false
MKLab-ITI/reveal-user-annotation
separate_camel_case
31,735
LDU_FT/APSL/transmanager/index_queryset
LDU_FT
[ "<BEGIN>\n## `create_translation_tasks`", "Creates the translations tasks from the instance and its translatable children", " :param instance:\n :return:\n<END>", "<BEGIN>\n## `update_task`", "Updates a task as done if we have a new value for this alternative language", " :param diffe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_queryset API. 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 index_queryset API. 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...
Used when the entire index for model is updated.
"Used when the entire index for model is updated."
92
false
APSL/transmanager
index_queryset
31,736
LDU_FT/doconix/django-mako-plus/get_template_loader
LDU_FT
[ "<BEGIN>\n## `run_command`", "Runs a command, piping all output to the DMP log.\n The args should be separate arguments so paths and subcommands can have spaces in them:", " ret = run_command('ls', '-l', '/Users/me/My Documents')\n print(ret.code)\n print(ret.stdout)\n print(ret.s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template_loader 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_template_loader API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns a template loader object for the given app name in the given subdir. For example, get_template_loader('homepage', 'styles') will return a loader for the styles/ directory in the homepage app. The app parameter can be either an app name or an AppConfig instance. The subdir parame...
"Returns a template loader object for the given app name in the given subdir.\n For example, get_template_loader('homepage', 'styles') will return\n a loader for the styles/ directory in the homepage app.\n\n The app parameter can be either an app name or an AppConfig instance.\n The subdir ...
207
false
doconix/django-mako-plus
get_template_loader
31,737
LDU_FT/pypa/pipenv/do_unique
LDU_FT
[ "<BEGIN>\n## `site_data_dir`", "r\"\"\"Return full path to the user-shared data dir for this application.", " \"appname\" is the name of application.\n If None, just the system directory is returned.\n \"appauthor\" (only used on Windows) is the name of the\n appauthor or dis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_unique API. 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 do_unique API. 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 list of unique items from the the given iterable. .. sourcecode:: jinja {{ ['foo', 'bar', 'foobar', 'FooBar']|unique }} -> ['foo', 'bar', 'foobar'] The unique items are yielded in the same order as their first occurrence in the iterable passed to the filter. :param case...
"Returns a list of unique items from the the given iterable.\n\n .. sourcecode:: jinja\n\n {{ ['foo', 'bar', 'foobar', 'FooBar']|unique }}\n -> ['foo', 'bar', 'foobar']\n\n The unique items are yielded in the same order as their first occurrence in\n the iterable passed to the filter.\n\n ...
4,833
true
pypa/pipenv
do_unique
31,738
LDU_FT/titusjan/argos/_drawContents
LDU_FT
[ "<BEGIN>\n## `nDims`", "The number of dimensions of the index. Will always be 1.\n<END>", "<BEGIN>\n## `elementTypeName`", "String representation of the element type.\n<END>", "<BEGIN>\n## `_createIndexRti`", "Auxiliary method that creates a PandasIndexRti.\n<END>", "<BEGIN>\n## `_fetchAllChildren`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _drawContents API. 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 _drawContents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Converts the (zero-dimensional) sliced array to string and puts it in the text editor. The reason and initiator parameters are ignored. See AbstractInspector.updateContents for their description.
"Converts the (zero-dimensional) sliced array to string and puts it in the text editor.\n\n The reason and initiator parameters are ignored.\n See AbstractInspector.updateContents for their description."
893
false
titusjan/argos
_drawContents
31,739
LDU_FT/venmo/slouch/_send_api_message
LDU_FT
[ "<BEGIN>\n## `_dual_decorator`", "This is a decorator that converts a paramaterized decorator for\n no-param use.", " source: http://stackoverflow.com/questions/3888158\n<END>", "<BEGIN>\n## `help`", "Usage: help [<command>]", " With no arguments, print the form of all supported commands.\n Wi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_api_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_api_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...
Send a Slack message via the chat.postMessage api. :param message: a dict of kwargs to be passed to slacker.
"Send a Slack message via the chat.postMessage api.\n\n :param message: a dict of kwargs to be passed to slacker."
39
false
venmo/slouch
_send_api_message
31,740
LDU_FT/lobocv/anonymoususage/get_first
LDU_FT
[ "<BEGIN>\n## `get_average`", "Return the statistic's count divided by the number of rows in the table. If it cannot be calculated return\n `default`.\n :return: The average count value (count / table rows) or `default` if it cannot be calculated.\n<END>", "<BEGIN>\n## `elapsed_time_s`", "Return ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first API. 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...
Retrieve the first n rows from the table :param n: number of rows to return :return: list of rows
"Retrieve the first n rows from the table\n :param n: number of rows to return\n :return: list of rows"
60
false
lobocv/anonymoususage
get_first
31,741
LDU_FT/MacHu-GWU/pyknackhq-project/delete
LDU_FT
[ "<BEGIN>\n## `get_field_key`", "Given a field key or name, return it's field key.\n<END>", "<BEGIN>\n## `get_object_key`", "Given a object key or name, return it's object key.\n<END>", "<BEGIN>\n## `install`", "Install your package to all Python version you have installed on Windows.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. 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 delete API. 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 delete method wrapper, to support delete.
"Http delete method wrapper, to support delete."
122
false
MacHu-GWU/pyknackhq-project
delete
31,742
LDU_FT/google/openhtf/take_at_least_n_seconds
LDU_FT
[ "<BEGIN>\n## `short_repr`", "Returns a short, term-friendly string representation of the object.", " Args:\n obj: An object for which to return a string representation.\n max_len: Maximum length of the returned string. Longer reprs will be turned\n into a brief descriptive string giving the type a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the take_at_least_n_seconds 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 take_at_least_n_seconds API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
A context manager which ensures it takes at least time_s to execute. Example: with take_at_least_n_seconds(5): do.Something() do.SomethingElse() # if Something and SomethingElse took 3 seconds, the with block with sleep # for 2 seconds before exiting. Args: time_s: The number of seconds...
"A context manager which ensures it takes at least time_s to execute.\n\n Example:\n with take_at_least_n_seconds(5):\n do.Something()\n do.SomethingElse()\n # if Something and SomethingElse took 3 seconds, the with block with sleep\n # for 2 seconds before exiting.\n Args:\n time_s: The number ...
700
false
google/openhtf
take_at_least_n_seconds
31,743
LDU_FT/fastavro/fastavro/schemaless_reader
LDU_FT
[ "<BEGIN>\n## `_read_decimal`", "based on https://github.com/apache/avro/pull/82/\n<END>", "<BEGIN>\n## `read_long`", "int and long values are written using variable-length, zig-zag\n coding.\n<END>", "<BEGIN>\n## `read_bytes`", "Bytes are encoded as a long followed by that many bytes of data.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schemaless_reader API. 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 schemaless_reader API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Reads a single record writen using the :meth:`~fastavro._write_py.schemaless_writer` Parameters ---------- fo: file-like Input stream writer_schema: dict Schema used when calling schemaless_writer reader_schema: dict, optional If the schema has changed since being writte...
"Reads a single record writen using the\n :meth:`~fastavro._write_py.schemaless_writer`\n\n Parameters\n ----------\n fo: file-like\n Input stream\n writer_schema: dict\n Schema used when calling schemaless_writer\n reader_schema: dict, optional\n If the schema has changed since b...
136
false
fastavro/fastavro
schemaless_reader
31,744
LDU_FT/tchellomello/python-amcrest/str2bool
LDU_FT
[ "<BEGIN>\n## `record_config`", "rec_opt is the Record options listed as example below:", " +----------------------+--------+------------------------------------+\n | ParamName | Value | Description |\n +----------------------+--------+---------------------...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2bool API. 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 str2bool API. 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...
Args: value - text to be converted to boolean True values: y, yes, true, t, on, 1 False values: n, no, false, off, 0
"Args:\n value - text to be converted to boolean\n True values: y, yes, true, t, on, 1\n False values: n, no, false, off, 0"
105
false
tchellomello/python-amcrest
str2bool
31,745
LDU_FT/arteria/django-openinghours/post
LDU_FT
[ "<BEGIN>\n## `time_choices`", "Return digital time choices every half hour from 00:00 to 23:30.\n<END>", "<BEGIN>\n## `get_premises_model`", "Support for custom company premises model\n with developer friendly validation.\n<END>", "<BEGIN>\n## `get_now`", "Allows to access global request and read a tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API. 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 post API. 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...
Clean the data and save opening hours in the database. Old opening hours are purged before new ones are saved.
"Clean the data and save opening hours in the database.\n Old opening hours are purged before new ones are saved."
23
false
arteria/django-openinghours
post
31,746
LDU_FT/mrcagney/kml2geojson/rm_paths
LDU_FT
[ "<BEGIN>\n## `k2g`", "Given a path to a KML file, convert it to a a GeoJSON FeatureCollection file and save it to the given output directory.", " If ``--separate_folders``, then create several GeoJSON files, one for each folder in the KML file that contains geodata or that has a descendant node that contains...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rm_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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rm_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 extracte...
Delete the given file paths/directory paths, if they exists.
"Delete the given file paths/directory paths, if they exists."
41
false
mrcagney/kml2geojson
rm_paths
31,747
LDU_FT/swisscom/cleanerversion/clone
LDU_FT
[ "<BEGIN>\n## `get_readonly_fields`", "This is required a subclass of VersionedAdmin has readonly_fields\n ours won't be undone\n<END>", "<BEGIN>\n## `get_list_display`", "This method determines which fields go in the changelist\n<END>", "<BEGIN>\n## `get_list_filter`", "Adds versionable custom filt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API. 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 clone API. 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...
Clones a Versionable and returns a fresh copy of the original object. Original source: ClonableMixin snippet (http://djangosnippets.org/snippets/1271), with the pk/id change suggested in the comments :param forced_version_date: a timestamp including tzinfo; this value is usu...
"Clones a Versionable and returns a fresh copy of the original object.\n Original source: ClonableMixin snippet\n (http://djangosnippets.org/snippets/1271), with the pk/id change\n suggested in the comments\n\n :param forced_version_date: a timestamp including tzinfo; this value\n ...
149
false
swisscom/cleanerversion
clone
31,748
LDU_FT/openvax/isovar/greedy_merge_helper
LDU_FT
[ "<BEGIN>\n## `initial_variant_sequences_from_reads`", "Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>", "<BEGIN>\n## `trim_variant_sequences`", "Trim VariantSequence...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the greedy_merge_helper 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 greedy_merge_helper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Returns a list of merged VariantSequence objects, and True if any were successfully merged.
"Returns a list of merged VariantSequence objects, and True if any\n were successfully merged."
333
false
openvax/isovar
greedy_merge_helper
31,749
LDU_FT/niklasb/webkit-server/render
LDU_FT
[ "<BEGIN>\n## `xpath`", "Finds another node by XPath originating at the current node.\n<END>", "<BEGIN>\n## `css`", "Finds another node by a CSS selector relative to the current node.\n<END>", "<BEGIN>\n## `get_bool_attr`", "Returns the value of a boolean HTML attribute like `checked` or `disabled`\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. 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 render API. 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 ...
Renders the current page to a PNG file (viewport size in pixels).
"Renders the current page to a PNG file (viewport size in pixels)."
30
false
niklasb/webkit-server
render
31,750
LDU_FT/dacut/meterer/resource_to_bucket_and_key
LDU_FT
[ "<BEGIN>\n## `resource_to_bucket_and_key`", "S3Meterer.resource_to_bucket_and_key(resource_name) -> (str, str)", " Convert an S3 resource name in the form 's3://bucket/key' to a tuple\n of ('bucket', 'key').\n<END>", "<BEGIN>\n## `allow_resource_access`", "meterer.allow_resource_access(resourc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resource_to_bucket_and_key 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 resource_to_bucket_and_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
S3Meterer.resource_to_bucket_and_key(resource_name) -> (str, str) Convert an S3 resource name in the form 's3://bucket/key' to a tuple of ('bucket', 'key').
"S3Meterer.resource_to_bucket_and_key(resource_name) -> (str, str)\n\n Convert an S3 resource name in the form 's3://bucket/key' to a tuple\n of ('bucket', 'key')."
26
false
dacut/meterer
resource_to_bucket_and_key
31,751
LDU_FT/blockcypher/blockcypher-python/get_transactions_details
LDU_FT
[ "<BEGIN>\n## `script_to_address`", "Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236\n<END>", "<BEGIN>\n## `get_address_details`", "Takes an address and coin_symbol...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_transactions_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_transactions_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Takes a list of tx_hashes, coin_symbol, and limit and returns the transaction details Limit applies to both num inputs and num outputs. TODO: add offsetting once supported
"Takes a list of tx_hashes, coin_symbol, and limit and returns the transaction details\n\n Limit applies to both num inputs and num outputs.\n TODO: add offsetting once supported"
163
false
blockcypher/blockcypher-python
get_transactions_details
31,752
LDU_FT/Guake/guake/_add_search_box
LDU_FT
[ "<BEGIN>\n## `mk_tab_context_menu`", "Create the context menu for a notebook tab\n<END>", "<BEGIN>\n## `mk_notebook_context_menu`", "Create the context menu for the notebook\n<END>", "<BEGIN>\n## `trayicon_toggled`", "If the gconf var use_trayicon be changed, this method will\n be called and will s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_search_box API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_search_box API. 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...
--------------------------------------| | Revealer | | |-----------------------------------| | | Frame | | | |---------------------------------| | | | HBox | | | | |-...
"--------------------------------------|\n | Revealer |\n | |-----------------------------------|\n | | Frame |\n | | |---------------------------------|\n | | | HBox |\n |...
184
false
Guake/guake
_add_search_box
31,753
LDU_FT/etcher-be/elib_config/friendly_type_name
LDU_FT
[ "<BEGIN>\n## `check`", "Verifies that all necessary values for the package to be used have been provided", " :raises: `elib_config._exc.IncompleteSetupError`\n<END>", "<BEGIN>\n## `setup`", "Configures elib_config in one fell swoop", " :param app_version: version of the application\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the friendly_type_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the friendly_type_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. Th...
:return: friendly type name for the end-user :rtype: str
":return: friendly type name for the end-user\n :rtype: str"
35
false
etcher-be/elib_config
friendly_type_name
31,754
LDU_FT/255BITS/hyperchamber/xavier_init
LDU_FT
[ "<BEGIN>\n## `conv_cond_concat`", "Concatenate conditioning vector on feature map axis.\n<END>", "<BEGIN>\n## `avg_grads`", "Calculate the average gradient for each shared variable across all towers.", " Note that this function provides a synchronization point across all towers.", " Args:\n tower_gra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xavier_init API. 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 xavier_init API. 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...
Xavier initialization of network weights
"Xavier initialization of network weights"
61
false
255BITS/hyperchamber
xavier_init
31,755
LDU_FT/KnightHawk3/Hummingbird/remove_entry
LDU_FT
[ "<BEGIN>\n## `_query_`", "Used internally for requests.", " :param str path: The path to hit.\n :param str method: The method to use, either `'GET'` or `'POST.`\n :param dict data:\n The optional paramters to the `GET` or the data to `POST`.", " :returns:\n Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_entry API. 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 remove_entry API. 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 an entry from the user's library. :param anime_id: The Anime ID or slug.
"Removes an entry from the user's library.\n\n :param anime_id: The Anime ID or slug."
35
false
KnightHawk3/Hummingbird
remove_entry
31,756
LDU_FT/tophatmonocle/ims_lti_py/roles
LDU_FT
[ "<BEGIN>\n## `has_role`", "Check whether the Launch Paramters set the role.\n<END>", "<BEGIN>\n## `username`", "Return the full, given, or family name if set.\n<END>", "<BEGIN>\n## `post_replace_result`", "POSTs the given score to the Tool Consumer with a replaceResult.", " Returns OutcomeRespons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roles API. 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 roles API. 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...
Set the roles for the current launch. Full list of roles can be found here: http://www.imsglobal.org/LTI/v1p1/ltiIMGv1p1.html#_Toc319560479 LIS roles include: * Student * Faculty * Member * Learner * Instructor * Mentor * Staff * ...
"Set the roles for the current launch.\n\n Full list of roles can be found here:\n http://www.imsglobal.org/LTI/v1p1/ltiIMGv1p1.html#_Toc319560479\n\n LIS roles include:\n * Student\n * Faculty\n * Member\n * Learner\n * Instructor\n * Mentor\n * Sta...
46
false
tophatmonocle/ims_lti_py
roles
31,757
LDU_FT/dwwkelly/note/Handle_Receive
LDU_FT
[ "<BEGIN>\n## `check_auth`", "This function is called to check if a username /\n password combination is valid.\n<END>", "<BEGIN>\n## `scrubID`", ":param ID: An ID that can be of various types, this is very kludgy\n :returns: An integer ID\n<END>", "<BEGIN>\n## `which`", ":param bin_name: the nam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Handle_Receive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Handle_Receive API. 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...
Handle a received message. :param msg: the received message :type msg: str :returns: The message to reply with :rtype: str
"Handle a received message.\n\n :param msg: the received message\n :type msg: str\n :returns: The message to reply with\n :rtype: str"
46
false
dwwkelly/note
Handle_Receive
31,758
LDU_FT/camsci/meteor-pi/search_obsgroups
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>", "<BEGIN>\n## `waiting`", "Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_obsgroups API. 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 search_obsgroups API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Search for :class:`meteorpi_model.ObservationGroup` entities :param search: an instance of :class:`meteorpi_model.ObservationGroupSearch` used to constrain the observations returned from the DB :return: a structure of {count:int total rows of an unrestricted search, ...
"Search for :class:`meteorpi_model.ObservationGroup` entities\n\n :param search:\n an instance of :class:`meteorpi_model.ObservationGroupSearch` used to constrain the observations returned\n from the DB\n :return:\n a structure of {count:int total rows of an unrestricted s...
210
false
camsci/meteor-pi
search_obsgroups
31,759
LDU_FT/Stranger6667/postmarker/update_kwargs
LDU_FT
[ "<BEGIN>\n## `create`", "Creates a template.", " :param Name: Name of template\n :param Subject: The content to use for the Subject when this template is used to send email.\n :param HtmlBody: The content to use for the HtmlBody when this template is used to send email.\n :param Text...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_kwargs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Helper to support handy dictionaries merging on all Python versions.
"Helper to support handy dictionaries merging on all Python versions."
74
false
Stranger6667/postmarker
update_kwargs
31,760
LDU_FT/splunk/splunk-sdk-python/login
LDU_FT
[ "<BEGIN>\n## `dispatch`", "Instantiates and executes a search command class", " This function implements a `conditional script stanza <https://docs.python.org/2/library/__main__.html>`_ based on the value of\n :code:`module_name`::", " if module_name is None or module_name == '__main__':\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API. 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 login API. 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...
Logs into the Splunk instance referred to by the :class:`Context` object. Unless a ``Context`` is created with an explicit authentication token (probably obtained by logging in from a different ``Context`` object) you must call :meth:`login` before you can issue requests. The au...
"Logs into the Splunk instance referred to by the :class:`Context`\n object.\n\n Unless a ``Context`` is created with an explicit authentication token\n (probably obtained by logging in from a different ``Context`` object)\n you must call :meth:`login` before you can issue requests.\n ...
747
false
splunk/splunk-sdk-python
login
31,761
LDU_FT/useblocks/groundwork/get
LDU_FT
[ "<BEGIN>\n## `set`", "Sets a new value for a given configuration parameter.", " If it already exists, an Exception is thrown.\n To overwrite an existing value, set overwrite to True.", " :param name: Unique name of the parameter\n :param value: Value of the configuration parameter\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. 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 get API. 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...
Returns a single signal or a dictionary of signals for this plugin.
"Returns a single signal or a dictionary of signals for this plugin."
198
false
useblocks/groundwork
get
31,762
LDU_FT/disqus/nexus/get_request
LDU_FT
[ "<BEGIN>\n## `get_request`", "Get the HTTPRequest object from thread storage or from a callee by searching\n each frame in the call stack.\n<END>", "<BEGIN>\n## `has_permission`", "Returns True if the given HttpRequest has permission to view\n *at least one* page in the admin site.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extra...
Get the HTTPRequest object from thread storage or from a callee by searching each frame in the call stack.
"Get the HTTPRequest object from thread storage or from a callee by searching\n each frame in the call stack."
16
false
disqus/nexus
get_request
31,763
LDU_FT/buguroo/pyknow/declare
LDU_FT
[ "<BEGIN>\n## `changes`", "Pass the given changes to the root_node.\n<END>", "<BEGIN>\n## `build_alpha_part`", "Given a set of already adapted rules, build the alpha part of\n the RETE network starting at `root_node`.\n<END>", "<BEGIN>\n## `build_beta_part`", "Given a set of already adapted rules, a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declare API. 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 declare API. 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...
Assert (in clips terminology) a fact. This keeps insertion order. .. warning:: This will reject any object that not descend from the Fact class. :param fact: The fact to declare, **must** be derived from :obj:`pyknow.fact.Fact`. :return: (int)...
"Assert (in clips terminology) a fact.\n\n This keeps insertion order.\n\n .. warning:: This will reject any object that not descend\n from the Fact class.\n\n :param fact: The fact to declare, **must** be derived from\n :obj:`pyknow.fact.Fact`.\n :ret...
78
false
buguroo/pyknow
declare
31,764
LDU_FT/GearPlug/payu-python/get_subscription
LDU_FT
[ "<BEGIN>\n## `create_single_token`", "Using this feature you can register a customer’s credit card data and get a token sequential number.", " Args:\n payer_id:\n name:\n identification_number:\n payment_method:\n number:\n expiration_date...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subscription API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_subscription API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Check the basic information associated with the specified subscription. Args: subscription_id: Identification of the subscription. Returns:
"Check the basic information associated with the specified subscription.\n\n Args:\n subscription_id: Identification of the subscription.\n\n Returns:"
153
false
GearPlug/payu-python
get_subscription
31,765
LDU_FT/HPENetworking/PYHPEIMC/add_perf_task
LDU_FT
[ "<BEGIN>\n## `get_real_time_locate`", "function takes the ipAddress of a specific host and issues a RESTFUL call to get the device and interface that the\n target host is currently connected to. Note: Although intended to return a single location, Multiple locations may\n be returned for a single host due t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_perf_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_perf_task API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
function takes the a python dict containing all necessary fields for a performance tasks, transforms the dict into JSON and issues a RESTFUL call to create the performance task. device. :param task: dictionary containing all required fields for performance tasks :param auth: requests auth object #usually ...
"function takes the a python dict containing all necessary fields for a performance tasks,\n transforms the dict into JSON and issues a RESTFUL call to create the performance task. device.\n\n :param task: dictionary containing all required fields for performance tasks\n\n :param auth: requests auth object #us...
1,448
true
HPENetworking/PYHPEIMC
add_perf_task
31,766
LDU_FT/burnash/gspread/get_all_records
LDU_FT
[ "<BEGIN>\n## `authorize`", "Login to Google API using OAuth2 credentials.\n This is a shortcut function which\n instantiates :class:`gspread.client.Client`\n and performs login right away.", " :returns: :class:`gspread.Client` instance.\n<END>", "<BEGIN>\n## `batch_update`", "Lower-level method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_records API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_records API. 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...
Returns a list of dictionaries, all of them having the contents of the spreadsheet with the head row as keys and each of these dictionaries holding the contents of subsequent rows of cells as values. Cell values are numericised (strings that can be read as ints ...
"Returns a list of dictionaries, all of them having the contents\n of the spreadsheet with the head row as keys and each of these\n dictionaries holding the contents of subsequent rows of cells\n as values.\n\n Cell values are numericised (strings that can be read as ints\n ...
226
false
burnash/gspread
get_all_records
31,767
LDU_FT/kislyuk/aegea/create_pull_from_issue
LDU_FT
[ "<BEGIN>\n## `update`", "Update this authorization.", " :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_pull_from_issue 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_pull_from_issue 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 pull request from issue #``issue``. :param int issue: (required), issue number :param str base: (required), e.g., 'master' :param str head: (required), e.g., 'username:branch' :returns: :class:`PullRequest <github3.pulls.PullRequest>` if successful, else None
"Create a pull request from issue #``issue``.\n\n :param int issue: (required), issue number\n :param str base: (required), e.g., 'master'\n :param str head: (required), e.g., 'username:branch'\n :returns: :class:`PullRequest <github3.pulls.PullRequest>` if\n successful, else None...
834
false
kislyuk/aegea
create_pull_from_issue
31,768
LDU_FT/zrong/rookout/list_dir
LDU_FT
[ "<BEGIN>\n## `copy_from_dict`", "从一个已经存在的 dict 中复制所有的值。", " :param adict: 被复制的 dict。\n :type adict: dict\n :param parent: 复制到哪个父对象。\n 若为 None 则复制到 self 。\n :type parent: rookout.PYConf\n<END>", "<BEGIN>\n## `dump`", "将自身内容打印成字符串", " :param bool hu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_dir API. 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 list_dir API. 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...
与 :func:`os.listdir()` 类似,但提供一些筛选功能,且返回生成器对象。 :param str sourceDir: 待处理的文件夹。 :param bool include_source: 遍历结果中是否包含源文件夹的路径。 :param bool include_file: 是否包含文件。True 表示返回的内容中既包含文件,又 包含文件夹;Flase 代表仅包含文件夹。 :return: 一个生成器对象。
"与 :func:`os.listdir()` 类似,但提供一些筛选功能,且返回生成器对象。\n\n :param str sourceDir: 待处理的文件夹。\n :param bool include_source: 遍历结果中是否包含源文件夹的路径。\n :param bool include_file: 是否包含文件。True 表示返回的内容中既包含文件,又\n 包含文件夹;Flase 代表仅包含文件夹。\n :return: 一个生成器对象。"
77
false
zrong/rookout
list_dir
31,769
LDU_FT/napalm-automation/napalm-eos/compare_config
LDU_FT
[ "<BEGIN>\n## `compare_config`", "Implementation of NAPALM method compare_config.\n<END>", "<BEGIN>\n## `commit_config`", "Implementation of NAPALM method commit_config.\n<END>", "<BEGIN>\n## `discard_config`", "Implementation of NAPALM method discard_config.\n<END>", "<BEGIN>\n## `rollback`", "Impleme...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_config API. 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 compare_config API. 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...
Implementation of NAPALM method compare_config.
"Implementation of NAPALM method compare_config."
16
false
napalm-automation/napalm-eos
compare_config
31,770
LDU_FT/jrigden/pyPodcastParser/set_itunes_explicit
LDU_FT
[ "<BEGIN>\n## `set_is_valid_rss`", "Check to if this is actually a valid RSS feed\n<END>", "<BEGIN>\n## `set_optional_elements`", "Sets elements considered option by RSS spec\n<END>", "<BEGIN>\n## `count_items`", "Counts Items in full_soup and soup. For debugging\n<END>", "<BEGIN>\n## `set_creative_commo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_itunes_explicit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_itunes_explicit 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...
Parses explicit from itunes tags and sets value
"Parses explicit from itunes tags and sets value"
38
false
jrigden/pyPodcastParser
set_itunes_explicit
31,771
LDU_FT/henzk/django-productline/inject_context
LDU_FT
[ "<BEGIN>\n## `requires_product_environment`", "task decorator that makes sure that the product environment\n of django_productline is activated:\n -context is bound\n -features have been composed\n<END>", "<BEGIN>\n## `set_site`", "This method is part of the prepare_data helper.\n Sets the site. D...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Updates context.json with data from JSON-string given as param. :param context: :return:
"Updates context.json with data from JSON-string given as param.\n :param context:\n :return:"
57
false
henzk/django-productline
inject_context
31,772