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/lrq3000/pyFileFixity/fast_comp
LDU_FT
[ "<BEGIN>\n## `discard`", "Remove the first occurrence of *val*.", " If *val* is not a member, does nothing.\n<END>", "<BEGIN>\n## `remove`", "Remove first occurrence of *val*.", " Raises ValueError if *val* is not present.\n<END>", "<BEGIN>\n## `_delete`", "Delete the item at the given (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fast_comp API. 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 fast_comp API. 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...
Compute the distance between the two sequences `seq1` and `seq2` up to a maximum of 2 included, and return it. If the edit distance between the two sequences is higher than that, -1 is returned. If `transpositions` is `True`, transpositions will be taken into account for the computation of the distance. This can ...
"Compute the distance between the two sequences `seq1` and `seq2` up to a\n\tmaximum of 2 included, and return it. If the edit distance between the two\n\tsequences is higher than that, -1 is returned.\n\t\n\tIf `transpositions` is `True`, transpositions will be taken into account for\n\tthe computation of the distance...
1,045
true
lrq3000/pyFileFixity
fast_comp
3,673
LDU_FT/AirtestProject/Poco/getRoot
LDU_FT
[ "<BEGIN>\n## `jsonrpc_map`", "Map of json-rpc available calls.", " :return str:\n<END>", "<BEGIN>\n## `command`", "通过hunter调用gm指令,可调用hunter指令库中定义的所有指令,也可以调用text类型的gm指令\n gm指令相关功能请参考safaia GM指令扩展模块", " :param cmd: 指令\n :param type: 语言,默认text\n :return: None\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getRoot API. 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 getRoot API. 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...
Dump a hierarchy immediately from target runtime and store into a Node (subclass of :py:class:`AbstractNode <poco.sdk.AbstractNode>`) object. Returns: :py:class:`inherit from AbstractNode <Node>`: Each time a new node instance is created by latest hierarchy data.
"Dump a hierarchy immediately from target runtime and store into a Node (subclass of :py:class:`AbstractNode \n <poco.sdk.AbstractNode>`) object.\n\n Returns:\n :py:class:`inherit from AbstractNode <Node>`: Each time a new node instance is created by latest hierarchy \n data."
191
false
AirtestProject/Poco
getRoot
3,674
LDU_FT/Erotemic/utool/byte_str2
LDU_FT
[ "<BEGIN>\n## `comparison`", "r\"\"\"\n CommandLine:\n python -m utool.experimental.dynamic_connectivity comparison --profile\n python -m utool.experimental.dynamic_connectivity comparison\n<END>", "<BEGIN>\n## `join`", "r\"\"\"\n Args:\n other (?):", " CommandLine:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the byte_str2 API. 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 byte_str2 API. 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...
Automatically chooses relevant unit (KB, MB, or GB) for displaying some number of bytes. Args: nBytes (int): Returns: str: CommandLine: python -m utool.util_str --exec-byte_str2 Example: >>> # ENABLE_DOCTEST >>> from utool.util_str import * # NOQA ...
"Automatically chooses relevant unit (KB, MB, or GB) for displaying some\n number of bytes.\n\n Args:\n nBytes (int):\n\n Returns:\n str:\n\n CommandLine:\n python -m utool.util_str --exec-byte_str2\n\n Example:\n >>> # ENABLE_DOCTEST\n >>> from utool.util_str import * ...
3,376
true
Erotemic/utool
byte_str2
3,675
LDU_FT/kata198/NamedAtomicLock/acquire
LDU_FT
[ "<BEGIN>\n## `acquire`", "acquire - Acquire given lock. Can be blocking or nonblocking by providing a timeout.\n Returns \"True\" if you got the lock, otherwise \"False\"", " @param timeout <None/float> - Max number of seconds to wait, or None to block until we can acquire it.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire API. 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 acquire API. 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...
acquire - Acquire given lock. Can be blocking or nonblocking by providing a timeout. Returns "True" if you got the lock, otherwise "False" @param timeout <None/float> - Max number of seconds to wait, or None to block until we can acquire it. @return <bool> - True if you got the ...
"acquire - Acquire given lock. Can be blocking or nonblocking by providing a timeout.\n Returns \"True\" if you got the lock, otherwise \"False\"\n\n @param timeout <None/float> - Max number of seconds to wait, or None to block until we can acquire it.\n\n @return <bool> - True if yo...
18
false
kata198/NamedAtomicLock
acquire
3,676
LDU_FT/ska-sa/kittens/_load
LDU_FT
[ "<BEGIN>\n## `load_icons`", "load all icons found in path, subdirs '<package>/icons/<appname>'.\n Package is optional.\n<END>", "<BEGIN>\n## `assign`", "Reassign pixmap or xpm string array to wrapper\n<END>", "<BEGIN>\n## `_load`", "load all icons found in path, subdirs 'icons/appname\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
load all icons found in path, subdirs 'icons/appname
"load all icons found in path, subdirs 'icons/appname"
16
false
ska-sa/kittens
_load
3,677
LDU_FT/JukeboxPipeline/jukebox-core/setup_ui
LDU_FT
[ "<BEGIN>\n## `restrictable`", "Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.", " :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_ui API. 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 setup_ui API. 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...
Setup the general ui :returns: None :rtype: None :raises: None
"Setup the general ui\n\n :returns: None\n :rtype: None\n :raises: None"
1,529
true
JukeboxPipeline/jukebox-core
setup_ui
3,678
LDU_FT/Azure/msrestazure-for-python/_raise_if_bad_http_status_and_method
LDU_FT
[ "<BEGIN>\n## `get_msi_token`", "Get MSI token if MSI_ENDPOINT is set.", " IF MSI_ENDPOINT is not set, will try legacy access through 'http://localhost:{}/oauth2/token'.format(port).", " If msi_conf is used, must be a dict of one key in [\"client_id\", \"object_id\", \"msi_res_id\"]", " :param str r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_if_bad_http_status_and_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_if_bad_http_status_and_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i...
Check response status code is valid for a Put or Patch request. Must be 200, 201, 202, or 204. :raises: BadStatus if invalid status.
"Check response status code is valid for a Put or Patch\n request. Must be 200, 201, 202, or 204.\n\n :raises: BadStatus if invalid status."
167
false
Azure/msrestazure-for-python
_raise_if_bad_http_status_and_method
3,679
LDU_FT/rjdkmr/do_x3dna/getLocalElasticityByTime
LDU_FT
[ "<BEGIN>\n## `checkParametersInputFile`", "Check the do_x3dna output file and return list of parameters present in the file.\n<END>", "<BEGIN>\n## `setParametersFromFile`", "Read a specific parameter from the do_x3dna output file.\n It automatically load the input parameter from a file to dna object or HDF...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getLocalElasticityByTime 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 getLocalElasticityByTime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
r"""Calculate local elastic properties as a function of time for convergence check It can be used to obtained elastic properties as a function of time. .. note:: Elastic properties cannot be calculated using a single frame because fluctuations are required. Therefore, here time means...
"r\"\"\"Calculate local elastic properties as a function of time for convergence check\n\n It can be used to obtained elastic properties as a function of time.\n\n .. note:: Elastic properties cannot be calculated using a single frame because fluctuations are required.\n Therefore, here t...
391
false
rjdkmr/do_x3dna
getLocalElasticityByTime
3,680
LDU_FT/foxx/python-helpful/iter_ensure_instance
LDU_FT
[ "<BEGIN>\n## `unique_iter`", "See http://www.peterbe.com/plog/uniqifiers-benchmark\n Originally f8 written by Dave Kirby\n<END>", "<BEGIN>\n## `ensure_subclass`", "Ensure value is a subclass of types", " >>> class Hello(object): pass\n >>> ensure_subclass(Hello, Hello)\n >>> ensure_subclass(obje...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_ensure_instance 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 iter_ensure_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Iterate over object and check each item type >>> iter_ensure_instance([1,2,3], [str]) Traceback (most recent call last): TypeError: >>> iter_ensure_instance([1,2,3], int) >>> iter_ensure_instance(1, int) Traceback (most recent call last): TypeError:
"Iterate over object and check each item type\n\n >>> iter_ensure_instance([1,2,3], [str])\n Traceback (most recent call last):\n TypeError:\n >>> iter_ensure_instance([1,2,3], int)\n >>> iter_ensure_instance(1, int)\n Traceback (most recent call last):\n TypeError:"
57
false
foxx/python-helpful
iter_ensure_instance
3,681
LDU_FT/pip-services3-python/pip-services3-components-python/_read_object
LDU_FT
[ "<BEGIN>\n## `configure`", "Configures component by passing configuration parameters.", " :param config: configuration parameters to be set.\n<END>", "<BEGIN>\n## `can_create`", "Checks if this factory is able to create component by given locator.", " This method searches for all registered ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_object API. 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 _read_object API. 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...
Reads configuration file, parameterizes its content and converts it into JSON object. :param correlation_id: (optional) transaction id to trace execution through call chain. :param parameters: values to parameters the configuration. :return: a JSON object with configuration.
"Reads configuration file, parameterizes its content and converts it into JSON object.\n\n :param correlation_id: (optional) transaction id to trace execution through call chain.\n\n :param parameters: values to parameters the configuration.\n\n :return: a JSON object with configuration."
272
false
pip-services3-python/pip-services3-components-python
_read_object
3,682
LDU_FT/xtream1101/cutil/timeit
LDU_FT
[ "<BEGIN>\n## `cprint`", "Clear line, then reprint on same line\n :param cstr: string to print on current line\n<END>", "<BEGIN>\n## `_check_values`", "Check if values need to be converted before they get mogrify'd\n<END>", "<BEGIN>\n## `insert`", "Create a bulk insert statement which is much faster...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeit API. 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 timeit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Pass in a function and the name of the stat Will time the function that this is a decorator to and send the `name` as well as the value (in seconds) to `stat_tracker_func` `stat_tracker_func` can be used to either print out the data or save it
"Pass in a function and the name of the stat\n Will time the function that this is a decorator to and send\n the `name` as well as the value (in seconds) to `stat_tracker_func`\n\n `stat_tracker_func` can be used to either print out the data or save it"
45
false
xtream1101/cutil
timeit
3,683
LDU_FT/binarydud/pyres/retry
LDU_FT
[ "<BEGIN>\n## `perform`", "This method converts payload into args and calls the ``perform``\n method on the payload class.", " Before calling ``perform``, a ``before_perform`` class method\n is called, if it exists. It takes a dictionary as an argument;\n currently the only things st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retry API. 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 retry API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
This method provides a way to retry a job after a failure. If the jobclass defined by the payload containes a ``retry_every`` attribute then pyres will attempt to retry the job until successful or until timeout defined by ``retry_timeout`` on the payload class.
"This method provides a way to retry a job after a failure.\n If the jobclass defined by the payload containes a ``retry_every`` attribute then pyres\n will attempt to retry the job until successful or until timeout defined by ``retry_timeout`` on the payload class."
35
false
binarydud/pyres
retry
3,684
LDU_FT/openeventdata/mordecai/_feature_most_population
LDU_FT
[ "<BEGIN>\n## `country_list_maker`", "Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>", "<BEGIN>\n## `make_skip_list`", "Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _feature_most_population 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 _feature_most_population API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Find the placename with the largest population and return its country. More population is a rough measure of importance. Paramaters ---------- results: dict output of `query_geonames` Returns ------- most_pop: str ISO code of country of p...
"Find the placename with the largest population and return its country.\n More population is a rough measure of importance.\n\n Paramaters\n ----------\n results: dict\n output of `query_geonames`\n\n Returns\n -------\n most_pop: str\n ISO code of ...
110
false
openeventdata/mordecai
_feature_most_population
3,685
LDU_FT/jahuth/litus/generate
LDU_FT
[ "<BEGIN>\n## `create_timing_signals`", "Creates a linear list/np.array of timestamps and a list of integers, specifying the sequence \n and number of levels.", " The levels are first rotated on the first dimension, then the second and so on. If the \n last dimension is -1, the number of lev...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Creates an iterator over one of the index dimensions of the object. Example for a discrete variable:: for l in s.generate('layer',remove_dimensions=False,resolution=2): # taking two layers at a time print l Example for two continuous variables:: ...
"Creates an iterator over one of the index dimensions of the object.\n\n Example for a discrete variable::\n\n for l in s.generate('layer',remove_dimensions=False,resolution=2):\n # taking two layers at a time\n print l\n\n Example for two continuous variables::\n\...
190
false
jahuth/litus
generate
3,686
LDU_FT/adamreeve/npTDMS/_new_segment_data
LDU_FT
[ "<BEGIN>\n## `to_file`", "Wrapper around ndarray.tofile to support any file-like object\n<END>", "<BEGIN>\n## `write_segment`", "Write a segment of data to a TDMS file", " :param objects: A list of TdmsObject instances to write\n<END>", "<BEGIN>\n## `fromfile`", "Wrapper around np.fromfile to sup...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _new_segment_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _new_segment_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return a new array to read the data of the current section into
"Return a new array to read the data of the current section into"
65
false
adamreeve/npTDMS
_new_segment_data
3,687
LDU_FT/JDongian/python-jamo/_hangul_char_to_jamo
LDU_FT
[ "<BEGIN>\n## `_hangul_char_to_jamo`", "Return a 3-tuple of lead, vowel, and tail jamo characters.\n Note: Non-Hangul characters are echoed back.\n<END>", "<BEGIN>\n## `_jamo_to_hangul_char`", "Return the Hangul character for the given jamo characters.\n<END>", "<BEGIN>\n## `_get_unicode_name`", "Fetch ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hangul_char_to_jamo 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 _hangul_char_to_jamo API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a 3-tuple of lead, vowel, and tail jamo characters. Note: Non-Hangul characters are echoed back.
"Return a 3-tuple of lead, vowel, and tail jamo characters.\n Note: Non-Hangul characters are echoed back."
34
false
JDongian/python-jamo
_hangul_char_to_jamo
3,688
LDU_FT/rstoneback/pysatMagVect/step_until_intersect
LDU_FT
[ "<BEGIN>\n## `add_mag_drift_unit_vectors_ecef`", "Adds unit vectors expressing the ion drift coordinate system\n organized by the geomagnetic field. Unit vectors are expressed\n in ECEF coordinates.", " Parameters\n ----------\n inst : pysat.Instrument\n Instrument object that will get uni...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_until_intersect 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 step_until_intersect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Starting at pos, method steps along magnetic unit vector direction towards the supplied field line trace. Determines the distance of closest approach to field line. Routine is used when calculting the mapping of electric fields along magnetic field lines. Voltage remains constant along the field...
"Starting at pos, method steps along magnetic unit vector direction \n towards the supplied field line trace. Determines the distance of \n closest approach to field line.\n \n Routine is used when calculting the mapping of electric fields along \n magnetic field lines. Voltage remains constant along the...
108
false
rstoneback/pysatMagVect
step_until_intersect
3,689
LDU_FT/QUANTAXIS/QUANTAXIS/QA_fetch_get_option_contract_time_to_market
LDU_FT
[ "<BEGIN>\n## `start_market`", "start the market thread and register backtest broker thread\n QAMarket 继承QATrader, QATrader 中有 trade_engine属性 , trade_engine类型是QA_Engine从 QA_Thread继承\n<END>", "<BEGIN>\n## `message`", "the standard message which can be transfer\n<END>", "<BEGIN>\n## `init_hold_with_acco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the QA_fetch_get_option_contract_time_to_market API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the QA_fetch_get_option_contract_time_to_market API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
#🛠todo 获取期权合约的上市日期 ? 暂时没有。 :return: list Series
"#🛠todo 获取期权合约的上市日期 ? 暂时没有。\n :return: list Series"
835
false
QUANTAXIS/QUANTAXIS
QA_fetch_get_option_contract_time_to_market
3,690
LDU_FT/OCHA-DAP/hdx-python-utilities/write_list_to_csv
LDU_FT
[ "<BEGIN>\n## `raisefrom`", "Call Python 3 raise from or emulate it for Python 2", " Args:\n exc_type (Any): Type of Exception\n message (str): Error message to display\n exc (BaseException): original exception", " Returns:\n None\n<END>", "<BEGIN>\n## `get_session`", "Set...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_list_to_csv API. 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 write_list_to_csv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Write a list of rows in dict or list form to a csv. (The headers argument is either a row number or list of row numbers (in case of multi-line headers) to be considered as headers (rows start counting at 1), or the actual headers defined a list of strings. If not set, all rows will be treated as co...
"Write a list of rows in dict or list form to a csv. (The headers argument is either a row\n number or list of row numbers (in case of multi-line headers) to be considered as headers\n (rows start counting at 1), or the actual headers defined a list of strings. If not set,\n all rows will be treated a...
232
false
OCHA-DAP/hdx-python-utilities
write_list_to_csv
3,691
LDU_FT/thombashi/SimpleSQLite/validate_sqlite_attr_name
LDU_FT
[ "<BEGIN>\n## `set_log_level`", "Set logging level of this module. Using\n `logbook <https://logbook.readthedocs.io/en/stable/>`__ module for logging.", " :param int log_level:\n One of the log level of\n `logbook <https://logbook.readthedocs.io/en/stable/api/base.html>`__.\n Disabled ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_sqlite_attr_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_sqlite_attr_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
:param str name: Name to validate. :raises pathvalidate.NullNameError: If the ``name`` is empty. :raises pathvalidate.InvalidCharError: If the ``name`` includes unprintable character(s). :raises pathvalidate.InvalidReservedNameError: |raises_sqlite_keywords| And invalid as an attribu...
":param str name: Name to validate.\n :raises pathvalidate.NullNameError: If the ``name`` is empty.\n :raises pathvalidate.InvalidCharError:\n If the ``name`` includes unprintable character(s).\n :raises pathvalidate.InvalidReservedNameError:\n |raises_sqlite_keywords|\n And invalid as an ...
185
false
thombashi/SimpleSQLite
validate_sqlite_attr_name
3,692
LDU_FT/tableau/document-api-python/name
LDU_FT
[ "<BEGIN>\n## `xml_open`", "Opens the provided 'filename'. Handles detecting if the file is an archive,\n detecting the document version, and validating the root tag.\n<END>", "<BEGIN>\n## `find_file_in_zip`", "Returns the twb/tds file from a Tableau packaged file format. Packaged\n files can contain cac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Provides a nice name for the field which is derived from the alias, caption, or the id. The name resolves as either the alias if it's defined, or the caption if alias is not defined, and finally the id which is the underlying name if neither of the fields exist.
"Provides a nice name for the field which is derived from the alias, caption, or the id.\n\n The name resolves as either the alias if it's defined, or the caption if alias is not defined,\n and finally the id which is the underlying name if neither of the fields exist."
55
false
tableau/document-api-python
name
3,693
LDU_FT/rikrd/inspire/evaluate
LDU_FT
[ "<BEGIN>\n## `load_parameter`", "Load HTK parameter/feature file.", " :param input_filename:\n :param only_header: only load the metadata\n :return: a named tuple representing the HTK parmeter file\n<END>", "<BEGIN>\n## `create_parameter`", "Create a HTK Parameter object from an array of samples an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API. 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 evaluate API. 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...
Evaluates the development set. The passwords is sent as plain text. :return: the evaluation results.
"Evaluates the development set.\n\n The passwords is sent as plain text.\n\n :return: the evaluation results."
91
false
rikrd/inspire
evaluate
3,694
LDU_FT/SergeySatskiy/cdm-pythonparser/_onDecorator
LDU_FT
[ "<BEGIN>\n## `trim_docstring`", "Taken from http://www.python.org/dev/peps/pep-0257/\n<END>", "<BEGIN>\n## `getBriefModuleInfoFromMemory`", "Builds the brief module info from memory\n<END>", "<BEGIN>\n## `getDisplayName`", "Provides a name for display purpose respecting the alias\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _onDecorator API. 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 _onDecorator API. 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...
Memorizes a function or a class decorator
"Memorizes a function or a class decorator"
22
false
SergeySatskiy/cdm-pythonparser
_onDecorator
3,695
LDU_FT/nlsdfnbch/Pysher/_generate_presence_token
LDU_FT
[ "<BEGIN>\n## `bind`", "Bind an event to a callback", " :param event_name: The name of the event to bind to.\n :type event_name: str", " :param callback: The callback to notify of this event.\n<END>", "<BEGIN>\n## `send_event`", "Send an event to the Pusher server.", " :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_presence_token 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 _generate_presence_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generate a presence token. :param str channel_name: Name of the channel to generate a signature for. :rtype: str
"Generate a presence token.\n\n :param str channel_name: Name of the channel to generate a signature for.\n :rtype: str"
26
false
nlsdfnbch/Pysher
_generate_presence_token
3,696
LDU_FT/wtsi-hgi/python-git-subrepo/run
LDU_FT
[ "<BEGIN>\n## `requires_subrepo`", "Decorator that requires the `git subrepo` command to be accessible before calling the given function.\n :param func: the function to wrap\n :return: the wrapped function\n<END>", "<BEGIN>\n## `clone`", "Clones the repository at the given location as a subrepo in the gi...
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...
Runs the given arguments from the given directory (if given, else resorts to the (undefined) current directory). :param arguments: the CLI arguments to run :param execution_directory: the directory to execute the arguments in :param execution_environment: the environment to execute in :return: what is w...
"Runs the given arguments from the given directory (if given, else resorts to the (undefined) current directory).\n :param arguments: the CLI arguments to run\n :param execution_directory: the directory to execute the arguments in\n :param execution_environment: the environment to execute in\n :return: what...
17
false
wtsi-hgi/python-git-subrepo
run
3,697
LDU_FT/pyvisa/pyvisa-py/_return_handler
LDU_FT
[ "<BEGIN>\n## `get_debug_info`", "Return a list of lines with backend info.\n<END>", "<BEGIN>\n## `_register`", "Creates a random but unique session handle for a session object,\n register it in the sessions dictionary and return the value", " :param obj: a session object.\n :return: ses...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _return_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _return_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Check return values for errors and warnings. TODO: THIS IS JUST COPIED PASTED FROM NIVisaLibrary. Needs to be adapted.
"Check return values for errors and warnings.\n\n TODO: THIS IS JUST COPIED PASTED FROM NIVisaLibrary.\n Needs to be adapted."
71
false
pyvisa/pyvisa-py
_return_handler
3,698
LDU_FT/Antidote1911/cryptoshop/encry_decry_chunk
LDU_FT
[ "<BEGIN>\n## `encry_decry_cascade`", "When bool_encry is True, encrypt the data with master key. When it is False, the function extract the three nonce\n from the encrypted data (first 3*21 bytes), and decrypt the data.\n :param data: the data to encrypt or decrypt.\n :param masterkey: a 32 bytes key in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encry_decry_chunk API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encry_decry_chunk API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
When bool_encry is True, encrypt a chunk of the file with the key and a randomly generated nonce. When it is False, the function extract the nonce from the cipherchunk (first 16 bytes), and decrypt the rest of the chunk. :param chunk: a chunk in bytes to encrypt or decrypt. :param key: a 32 bytes key in byt...
"When bool_encry is True, encrypt a chunk of the file with the key and a randomly generated nonce. When it is False,\n the function extract the nonce from the cipherchunk (first 16 bytes), and decrypt the rest of the chunk.\n :param chunk: a chunk in bytes to encrypt or decrypt.\n :param key: a 32 bytes key in...
13
false
Antidote1911/cryptoshop
encry_decry_chunk
3,699
LDU_FT/ishepard/pydriller/get_commit_from_gitpython
LDU_FT
[ "<BEGIN>\n## `get_head`", "Get the head commit.", " :return: Commit of the head commit\n<END>", "<BEGIN>\n## `get_list_commits`", "Return a generator of commits of all the commits in the repo.", " :return: Generator[Commit], the generator of all the commits in the\n repo\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commit_from_gitpython API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_commit_from_gitpython API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Build a PyDriller commit object from a GitPython commit object. This is internal of PyDriller, I don't think users generally will need it. :param GitCommit commit: GitPython commit :return: Commit commit: PyDriller commit
"Build a PyDriller commit object from a GitPython commit object.\n This is internal of PyDriller, I don't think users generally will need\n it.\n\n :param GitCommit commit: GitPython commit\n :return: Commit commit: PyDriller commit"
62
false
ishepard/pydriller
get_commit_from_gitpython
3,700
LDU_FT/workforce-data-initiative/skills-utils/zero_downtime_index
LDU_FT
[ "<BEGIN>\n## `quarter_boundaries`", "Returns first and last day of a quarter", " Args:\n quarter (str) quarter, in format '2015Q1'", " Returns: (tuple) datetime.dates for the first and last days of the quarter\n<END>", "<BEGIN>\n## `metta_config`", "Returns metta metadata for a quarter's SOC ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zero_downtime_index 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 zero_downtime_index 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...
Context manager to create a new index based on a given alias, allow the caller to index it, and then point the alias to the new index Args: index_name (str) Name of an alias that should point to the new index index_config (dict) Configuration for the new index Yields: (name) The full name ...
"Context manager to create a new index based on a given alias,\n allow the caller to index it, and then point the alias to the new index\n\n Args:\n index_name (str) Name of an alias that should point to the new index\n index_config (dict) Configuration for the new index\n\n Yields: (name) The fu...
63
false
workforce-data-initiative/skills-utils
zero_downtime_index
3,701
LDU_FT/yunpian/yunpian-python-sdk/conf
LDU_FT
[ "<BEGIN>\n## `update_voice_notify`", "修改语音通知模版", " 注意:模板成功修改之后需要重新审核才能使用!同时提醒您如果修改了变量,务必重新测试,以免替换出错!\n 参数:\n 参数名 类型 是否必须 描述 示例\n apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526\n tpl_id Long 是 模板id,64位长整形。指定id时返回id对应的模板。未指定时返回所有模板 95...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conf API. 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 conf API. 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 YunpianConf if key=None, else return value in YunpianConf
"return YunpianConf if key=None, else return value in YunpianConf"
62
false
yunpian/yunpian-python-sdk
conf
3,702
LDU_FT/Seeed-Studio/wio-cli/cli
LDU_FT
[ "<BEGIN>\n## `cli`", "Delete a device.", " \\b\n DOES:\n Delete a device.\n sn: device_sn\n wio delete <device_sn>", " \\b\n EXAMPLE:\n wio delete 2885b2cab8abc5fb8e229e4a77bf5e4d\n<END>", "<BEGIN>\n## `cli`", "Displays a list of your devices.", " \\b\n DOES...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Request api, return json. \b DOES: Call a api on your devices. token: device_token method: GET or POST endpoint: device_path, such as: /v1/node/GroveTempHumProD0/temperature wio call <device_token> <request_method> <device_path> \b EXAMPLE: wio call 98dd...
"Request api, return json.\n\n \\b\n DOES:\n Call a api on your devices.\n token: device_token\n method: GET or POST\n endpoint: device_path, such as: /v1/node/GroveTempHumProD0/temperature\n wio call <device_token> <request_method> <device_path>\n\n \\b\n EXAMPLE:\n ...
35
false
Seeed-Studio/wio-cli
cli
3,703
LDU_FT/fabric-bolt/fabric-bolt/get_configurations
LDU_FT
[ "<BEGIN>\n## `form_valid`", "After the form is valid lets let people know\n<END>", "<BEGIN>\n## `form_valid`", "First call the parent's form valid then let the user know it worked.\n<END>", "<BEGIN>\n## `post`", "Create the SSH file & then return the normal get method...\n<END>", "<BEGIN>\n## `web_hooks...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configurations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configurations 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...
Generates a dictionary that's made up of the configurations on the project. Any configurations on a project that are duplicated on a stage, the stage configuration will take precedence.
"Generates a dictionary that's made up of the configurations on the project.\n Any configurations on a project that are duplicated on a stage, the stage configuration will take precedence."
65
false
fabric-bolt/fabric-bolt
get_configurations
3,704
LDU_FT/aetros/aetros-cli/add_file
LDU_FT
[ "<BEGIN>\n## `Popen`", "Executes a command using subprocess.Popen and redirects output to AETROS and stdout.\n Parses stdout as well for stdout API calls.", " Use read_line argument to read stdout of command's stdout line by line.\n Use returned process stdin to communicate with the command.", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Add a new file as blob in the storage and add its tree entry into the index. :param git_path: str :param content: str
"Add a new file as blob in the storage and add its tree entry into the index.\n \n :param git_path: str\n :param content: str"
183
false
aetros/aetros-cli
add_file
3,705
LDU_FT/angr/claripy/bitwise_xor
LDU_FT
[ "<BEGIN>\n## `_align_ast`", "Aligns the AST so that the argument with the highest cardinality is on the left.", " :return: a new AST.\n<END>", "<BEGIN>\n## `_doit`", "This function processes the list of truisms and finds bounds for ASTs.\n<END>", "<BEGIN>\n## `_handleable_truism`", "Checks whethe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bitwise_xor API. 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 bitwise_xor API. 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...
Operation xor :param t: The other operand.
"Operation xor\n\n :param t: The other operand."
453
false
angr/claripy
bitwise_xor
3,706
LDU_FT/nirum/tableprint/dataframe
LDU_FT
[ "<BEGIN>\n## `humantime`", "Converts a time in seconds to a reasonable human readable time", " Parameters\n ----------\n t : float\n The number of seconds", " Returns\n -------\n time : string\n The human readable formatted value of the given time\n<END>", "<BEGIN>\n## `ansi_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dataframe API. 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 dataframe API. 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...
Print table with data from the given pandas DataFrame Parameters ---------- df : DataFrame A pandas DataFrame with the table to print
"Print table with data from the given pandas DataFrame\n\n Parameters\n ----------\n df : DataFrame\n A pandas DataFrame with the table to print"
49
false
nirum/tableprint
dataframe
3,707
LDU_FT/portfoliome/foil/snake_to_camel
LDU_FT
[ "<BEGIN>\n## `_`", "ISO 8601 format. Interprets naive datetime as UTC with zulu suffix.\n<END>", "<BEGIN>\n## `create_key_filter`", "Generate combinations of key, value pairs for each key in properties.", " Examples\n --------\n properties = {'ent': ['geo_rev', 'supply_chain'], 'own', 'fi'}\n >>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snake_to_camel API. 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 snake_to_camel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Convert string from snake case to camel case.
"Convert string from snake case to camel case."
89
false
portfoliome/foil
snake_to_camel
3,708
LDU_FT/ckoepp/TwitterSearch/create_search_url
LDU_FT
[ "<BEGIN>\n## `set_source_filter`", "Only search for tweets entered via given source", " :param source: String. Name of the source to search for. An example \\\n would be ``source=twitterfeed`` for tweets submitted via TwitterFeed\n :raises: TwitterSearchException\n<END>", "<BEGIN>\n## `ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_search_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_search_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Generates (urlencoded) query string from stored key-values tuples :returns: A string containing all arguments in a url-encoded format
"Generates (urlencoded) query string from stored key-values tuples\n\n :returns: A string containing all arguments in a url-encoded format"
91
false
ckoepp/TwitterSearch
create_search_url
3,709
LDU_FT/adaptive-learning/proso-apps/show_one
LDU_FT
[ "<BEGIN>\n## `process_answer`", "This method is used during the answer streaming and is called after the\n predictive model for each answer.", " Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_one API. 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 show_one API. 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...
Return object of the given type with the specified identifier. GET parameters: user: identifier of the current user stats: turn on the enrichment of the objects by some statistics html turn on the HTML version of the API
"Return object of the given type with the specified identifier.\n\n GET parameters:\n user:\n identifier of the current user\n stats:\n turn on the enrichment of the objects by some statistics\n html\n turn on the HTML version of the API"
276
false
adaptive-learning/proso-apps
show_one
3,710
LDU_FT/mozilla/build-mar/get_signature_data
LDU_FT
[ "<BEGIN>\n## `add_signature_block`", "Add a signature block to marfile, a MarReader object.", " Productversion and channel are preserved, but any existing signatures are overwritten.", " Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_signature_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_signature_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Read data from MAR file that is required for MAR signatures. Args: fileboj (file-like object): file-like object to read the MAR data from filesize (int): the total size of the file Yields: blocks of bytes representing the data required to generate or validate signatures.
"Read data from MAR file that is required for MAR signatures.\n\n Args:\n fileboj (file-like object): file-like object to read the MAR data from\n filesize (int): the total size of the file\n\n Yields:\n blocks of bytes representing the data required to generate or validate\n signature...
146
false
mozilla/build-mar
get_signature_data
3,711
LDU_FT/kurtbrose/faststat/lag_avgs
LDU_FT
[ "<BEGIN>\n## `_sigfigs`", "helper function to round a number to significant figures\n<END>", "<BEGIN>\n## `merge_moments`", "Merge moments of two samples A and B.\r\n parameters are \r\n m_a, ..., m_a4 = first through fourth moment of sample A\r\n n_a = size of sample A\r\n m_b, ..., m_b4 = first ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lag_avgs API. 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 lag_avgs API. 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...
same data as expo_avgs, but with keys as the average age of the data -- assuming evenly spaced data points -- rather than decay rates
"same data as expo_avgs, but with keys as the average age\r\n of the data -- assuming evenly spaced data points -- rather\r\n than decay rates"
14
false
kurtbrose/faststat
lag_avgs
3,712
LDU_FT/garenchan/policy/xgetattr
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Allow loading of rule data from a dictionary.\n<END>", "<BEGIN>\n## `_set_rules`", "Created a new Rules object based on the provided dict of rules.\n<END>", "<BEGIN>\n## `enforce`", "Checks authorization of a rule against the target and credentials.\n<END>", "<BEGIN>\n## `rea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xgetattr API. 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 xgetattr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Get attribute value from object. :param obj: object :param name: attribute or key name :param default: when attribute or key missing, return default; if obj is a dict and use getitem, default will not be used. :param getitem: when object is a dict, use getitem or get :return: attribute or k...
"Get attribute value from object.\n\n :param obj: object\n :param name: attribute or key name\n :param default: when attribute or key missing, return default; if obj is a\n dict and use getitem, default will not be used.\n :param getitem: when object is a dict, use getitem or get\n :return: attrib...
35
false
garenchan/policy
xgetattr
3,713
LDU_FT/fredRos/pypmc/plot_responsibility
LDU_FT
[ "<BEGIN>\n## `r_value`", "Calculate the Gelman-Rubin R value (Chapter 2.2 in [GR92]_).", " The R value can be used to quantify mixing of \"multiple iterative\n simulations\" (e.g. Markov Chains) in parameter space. An R value\n \"close to one\" indicates that all chains explored the same region\n o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_responsibility 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 plot_responsibility 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...
Classify the 2D ``data`` according to the ``responsibility`` and make a scatter plot of each data point with the color of the component it is most likely from. The ``responsibility`` is normalized internally such that each row sums to unity. :param data: matrix-like; one row = one 2D sample ...
"Classify the 2D ``data`` according to the ``responsibility`` and\n make a scatter plot of each data point with the color of the\n component it is most likely from. The ``responsibility`` is\n normalized internally such that each row sums to unity.\n\n :param data:\n\n matrix-like; one row = one 2D s...
279
false
fredRos/pypmc
plot_responsibility
3,714
LDU_FT/liminspace/dju-common/change_url_query_params
LDU_FT
[ "<BEGIN>\n## `is_in`", "{% if tag|is_in:'div|p|span' %}is block tag{% endif %}\n {% if tag|is_in:tags_list %}is block tag{% endif %}\n<END>", "<BEGIN>\n## `captureas`", "example: {% captureas myvar 1 %}content...{% endcaptureas %} - {{ myvar }}\n result: content... - content...", " example: {% capt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_url_query_params 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 change_url_query_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Add GET-parameters to URL. If parameters are exist then they will be changed. url - URL, string value params - dict {'GET-parameter name': 'value'}
"Add GET-parameters to URL. If parameters are exist then they will be changed.\n url - URL, string value\n params - dict {'GET-parameter name': 'value'}"
60
false
liminspace/dju-common
change_url_query_params
3,715
LDU_FT/carpedm20/fbchat/onInbox
LDU_FT
[ "<BEGIN>\n## `_generatePayload`", "Adds the following defaults to the payload:\n __rev, __user, __a, ttstamp, fb_dtsg, __req\n<END>", "<BEGIN>\n## `_fix_fb_errors`", "This fixes \"Please try closing and re-opening your browser window\" errors (1357004)\n This error usually happens after 1-2 da...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the onInbox API. 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 onInbox API. 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...
.. todo:: Documenting this :param unseen: -- :param unread: -- :param recent_unread: -- :param msg: A full set of the data recieved
".. todo::\n Documenting this\n\n :param unseen: --\n :param unread: --\n :param recent_unread: --\n :param msg: A full set of the data recieved"
337
false
carpedm20/fbchat
onInbox
3,716
LDU_FT/pytroll/posttroll/remove
LDU_FT
[ "<BEGIN>\n## `restart_listener`", "Restart listener after configuration update.\n<END>", "<BEGIN>\n## `create_subscriber`", "Create a subscriber instance using specified addresses and\n message types.\n<END>", "<BEGIN>\n## `heartbeat`", "Send a heartbeat ... but only if *min_interval* seconds has p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. 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 remove API. 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 ...
Remove *address* from the subscribing list for *topics*.
"Remove *address* from the subscribing list for *topics*."
46
false
pytroll/posttroll
remove
3,717
LDU_FT/Miserlou/Zappa/remove_event_source
LDU_FT
[ "<BEGIN>\n## `route_sns_task`", "Gets SNS Message, deserialises the message,\n imports the function, calls the function with args\n<END>", "<BEGIN>\n## `run_message`", "Runs a function defined by a message object with keys:\n 'task_path', 'args', and 'kwargs' used by lambda routing\n and a 'command' ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_event_source 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 remove_event_source 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...
Given an event_source dictionary, create the object and remove the event source.
"Given an event_source dictionary, create the object and remove the event source."
312
false
Miserlou/Zappa
remove_event_source
3,718
LDU_FT/python-hyper/wsproto/wsproto_demo
LDU_FT
[ "<BEGIN>\n## `validate`", "Incrementally validate a chunk of bytes provided as string.\n Will return a quad ``(valid?, endsOnCodePoint?, currentIndex, totalIndex)``.\n As soon as an octet is encountered which renders the octet sequence\n invalid, a quad with ``valid? == False`` is returned. `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wsproto_demo API. 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 wsproto_demo API. 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...
Demonstrate wsproto: 0) Open TCP connection 1) Negotiate WebSocket opening handshake 2) Send a message and display response 3) Send ping and display pong 4) Negotiate WebSocket closing handshake :param stream: a socket stream
"Demonstrate wsproto:\n\n 0) Open TCP connection\n 1) Negotiate WebSocket opening handshake\n 2) Send a message and display response\n 3) Send ping and display pong\n 4) Negotiate WebSocket closing handshake\n\n :param stream: a socket stream"
34
false
python-hyper/wsproto
wsproto_demo
3,719
LDU_FT/jaumebonet/libconfig/_get_repo
LDU_FT
[ "<BEGIN>\n## `_get_repo`", "Identify the path to the repository origin.\n<END>", "<BEGIN>\n## `_entry_must_exist`", "Evaluate key-subkey existence.", " Checks that the key-subkey combo exists in the\n configuration options.\n<END>", "<BEGIN>\n## `_entry_must_not_exist`", "Evaluate key-subkey non-e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_repo API. 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_repo API. 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...
Identify the path to the repository origin.
"Identify the path to the repository origin."
104
false
jaumebonet/libconfig
_get_repo
3,720
LDU_FT/Rediker-Software/doac/scope_required
LDU_FT
[ "<BEGIN>\n## `access_token`", "Try to get the `AccessToken` associated with the provided token.", " *The provided value must pass `BearerHandler.validate()`*\n<END>", "<BEGIN>\n## `validate`", "Try to get the `AccessToken` associated with the given token.", " The return value is determined b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scope_required API. 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 scope_required API. 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...
Test for specific scopes that the access token has been authenticated for before processing the request and eventual response. The scopes that are passed in determine how the decorator will respond to incoming requests: - If no scopes are passed in the arguments, the decorator will test for any availa...
"Test for specific scopes that the access token has been authenticated for before\n processing the request and eventual response.\n\n The scopes that are passed in determine how the decorator will respond to incoming\n requests:\n\n - If no scopes are passed in the arguments, the decorator will test for any...
46
false
Rediker-Software/doac
scope_required
3,721
LDU_FT/Yelp/detect-secrets/analyze_string_content
LDU_FT
[ "<BEGIN>\n## `determine_file_type`", ":param filename: str", " :rtype: FileType\n<END>", "<BEGIN>\n## `write_baseline_to_file`", ":type filename: str\n :type data: dict\n :rtype: None\n<END>", "<BEGIN>\n## `load_baseline_from_string`", "Initializes a SecretsCollection object from string.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze_string_content 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 analyze_string_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Searches string for custom pattern, and captures all high entropy strings that match self.regex, with a limit defined as self.entropy_limit.
"Searches string for custom pattern, and captures all high entropy strings that\n match self.regex, with a limit defined as self.entropy_limit."
194
false
Yelp/detect-secrets
analyze_string_content
3,722
LDU_FT/timknip/pyswf/readBUTTONRECORDs
LDU_FT
[ "<BEGIN>\n## `export`", "Export this SWF using the specified exporter. \n When no exporter is passed in the default exporter used \n is swf.export.SVGExporter.", " Exporters should extend the swf.export.BaseExporter class.", " @param exporter : the exporter to use\n @param f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readBUTTONRECORDs API. 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 readBUTTONRECORDs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Read zero or more button records (zero-terminated)
"Read zero or more button records (zero-terminated)"
43
false
timknip/pyswf
readBUTTONRECORDs
3,723
LDU_FT/nickjj/ansigenome/graph_dot
LDU_FT
[ "<BEGIN>\n## `epilogue`", "Return the epilogue for the help command.\n<END>", "<BEGIN>\n## `command_name`", "Return a snippet of help text for this command.\n<END>", "<BEGIN>\n## `has_colors`", "Determine if the terminal supports ansi colors.\n<END>", "<BEGIN>\n## `file_to_string`", "Return the conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph_dot API. 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 graph_dot API. 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...
Export a graph of the data in dot format.
"Export a graph of the data in dot format."
58
false
nickjj/ansigenome
graph_dot
3,724
LDU_FT/webrecorder/pywb/get_upstream_paths
LDU_FT
[ "<BEGIN>\n## `read_last_line`", "Read last line from a seekable file. Start reading\n from buff before end of file, and double backwards seek\n until line break is found. If reached beginning of file\n (no lines), just return whole file\n<END>", "<BEGIN>\n## `load`", "Load a file-like reader from the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_upstream_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_upstream_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. Th...
Retrieve a dictionary containing the full URLs of the upstream apps :param int port: The port used by the replay and cdx servers :return: A dictionary containing the upstream paths (replay, cdx-server, record [if enabled]) :rtype: dict[str, str]
"Retrieve a dictionary containing the full URLs of the upstream apps\n\n :param int port: The port used by the replay and cdx servers\n :return: A dictionary containing the upstream paths (replay, cdx-server, record [if enabled])\n :rtype: dict[str, str]"
227
false
webrecorder/pywb
get_upstream_paths
3,725
LDU_FT/pythongssapi/python-gssapi/from_sasl_name
LDU_FT
[ "<BEGIN>\n## `name`", "Get the name associated with these credentials\n<END>", "<BEGIN>\n## `acquire`", "Acquire GSSAPI credentials", " This method acquires credentials. If the `store` argument is\n used, the credentials will be acquired from the given\n credential store (if supported)...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_sasl_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_sasl_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create a Mechanism from its SASL name Args: name (str): SASL name of the desired mechanism Returns: Mechanism: the desired mechanism Raises: GSSError :requires-ext:`rfc5801`
"Create a Mechanism from its SASL name\n\n Args:\n name (str): SASL name of the desired mechanism\n\n Returns:\n Mechanism: the desired mechanism\n\n Raises:\n GSSError\n\n :requires-ext:`rfc5801`"
97
false
pythongssapi/python-gssapi
from_sasl_name
3,726
LDU_FT/inspirehep/refextract/add_tagged_report_number
LDU_FT
[ "<BEGIN>\n## `process_reference_line`", "After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_tagged_report_number 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 add_tagged_report_number API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
In rebuilding the line, add an identified institutional REPORT-NUMBER (standardised and tagged) into the line. @param reading_line: (string) The reference line before capitalization was performed, and before REPORT-NUMBERs and TITLEs were stipped out. @param len_reportnum: (integer) the len...
"In rebuilding the line, add an identified institutional REPORT-NUMBER\n (standardised and tagged) into the line.\n @param reading_line: (string) The reference line before capitalization\n was performed, and before REPORT-NUMBERs and TITLEs were stipped out.\n @param len_reportnum: (integer) th...
301
false
inspirehep/refextract
add_tagged_report_number
3,727
LDU_FT/python-bugzilla/python-bugzilla/build_createbug
LDU_FT
[ "<BEGIN>\n## `_request_helper`", "A helper method to assist in making a request and provide a parsed\n response.\n<END>", "<BEGIN>\n## `open_without_clobber`", "Try to open the given file with the given mode; if that filename exists,\n try \"name.1\", \"name.2\", etc. until we find an unused filenam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_createbug API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_createbug API. 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 python dict() with properly formatted parameters to pass to createbug(). See bugzilla documentation for the format of the individual fields: https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#update-bug
"Returns a python dict() with properly formatted parameters to\n pass to createbug(). See bugzilla documentation for the format\n of the individual fields:\n\n https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#update-bug"
184
false
python-bugzilla/python-bugzilla
build_createbug
3,728
LDU_FT/jpoullet2000/atlasclient/version_tuple
LDU_FT
[ "<BEGIN>\n## `handle_response`", "Given a requests.Response object, throw the appropriate exception, if applicable.\n<END>", "<BEGIN>\n## `create`", "Create a new instance of this resource type.", " As a general rule, the identifier should have been provided, but in\n some subclasses the ident...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_tuple API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_tuple API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Convert a version string or tuple to a tuple. Should be returned in the form: (major, minor, release).
"Convert a version string or tuple to a tuple.\n\n Should be returned in the form: (major, minor, release)."
66
false
jpoullet2000/atlasclient
version_tuple
3,729
LDU_FT/cgearhart/Resound/main
LDU_FT
[ "<BEGIN>\n## `main`", "Calculate the fingerprint hashses of the referenced audio file and save\n to disk as a pickle file\n<END>", "<BEGIN>\n## `hashes`", "Generator function for successive hashes calculated from a mono-channel\n time-domain audio signal as a set of tuples, (<long>, <int>). The <long>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. 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 main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Calculate the fingerprint hashses of the referenced audio file and save to disk as a pickle file
"Calculate the fingerprint hashses of the referenced audio file and save\n to disk as a pickle file"
15
false
cgearhart/Resound
main
3,730
LDU_FT/geopy/geopy/geocode
LDU_FT
[ "<BEGIN>\n## `_construct_url`", "Construct geocoding request url. Overridden.", " :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.", " :param dict params: Geocoding params.", " :return: string URL.\n<END>", "<BEGIN>\n## `geocode`", "R...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API. 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 geocode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return a location point by address. :param str query: The address or query you wish to geocode. :param bool exactly_one: Return one result or a list of results, if available. :param int timeout: Time, in seconds, to wait for the geocoding service to respond before rais...
"Return a location point by address.\n\n :param str query: The address or query you wish to geocode.\n\n :param bool exactly_one: Return one result or a list of results, if\n available.\n\n :param int timeout: Time, in seconds, to wait for the geocoding service\n to respond be...
405
false
geopy/geopy
geocode
3,731
LDU_FT/konstantinstadler/pymrio/set_block
LDU_FT
[ "<BEGIN>\n## `load_all`", "Loads a full IO system with all extension in path", " Parameters\n ----------\n path : pathlib.Path or string\n Path or path with para file name for the data to load.\n This must either point to the directory containing the uncompressed\n data or the loca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_block API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_block API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Sets the diagonal blocks of an array to an given array Parameters ---------- arr : numpy ndarray the original array block_arr : numpy ndarray the block array for the new diagonal Returns ------- numpy ndarray (the modified array)
"Sets the diagonal blocks of an array to an given array\n\n Parameters\n ----------\n arr : numpy ndarray\n the original array\n block_arr : numpy ndarray\n the block array for the new diagonal\n\n Returns\n -------\n numpy ndarray (the modified array)"
433
false
konstantinstadler/pymrio
set_block
3,732
LDU_FT/google/pyringe/_Recv
LDU_FT
[ "<BEGIN>\n## `StartExecServer`", "Opens a socket in /tmp, execs data from it and writes results back.\n<END>", "<BEGIN>\n## `ThreadsWithRunningExecServers`", "Returns a list of tids of inferior threads with open exec servers.\n<END>", "<BEGIN>\n## `Backtrace`", "Get a backtrace of the current position.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Recv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Recv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Receive output from gdb. This reads gdb's stdout and stderr streams, returns a single line of gdb's stdout or rethrows any exceptions thrown from within gdb as well as it can. Args: timeout: floating point number of seconds after which to abort. A value of None or TIMEOUT_FOREVER means "th...
"Receive output from gdb.\n\n This reads gdb's stdout and stderr streams, returns a single line of gdb's\n stdout or rethrows any exceptions thrown from within gdb as well as it can.\n\n Args:\n timeout: floating point number of seconds after which to abort.\n A value of None or TIMEOUT_FOREVER m...
142
false
google/pyringe
_Recv
3,733
LDU_FT/svenevs/exhale/generateAPIRootBody
LDU_FT
[ "<BEGIN>\n## `apply_sphinx_configurations`", "This method applies the various configurations users place in their ``conf.py``, in\n the dictionary ``exhale_args``. The error checking seems to be robust, and\n borderline obsessive, but there may very well be some glaring flaws.", " When the user reques...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generateAPIRootBody 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 generateAPIRootBody 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...
Generates the root library api file's body text. The method calls :func:`~exhale.graph.ExhaleRoot.gerrymanderNodeFilenames` first to enable proper internal linkage between reStructuredText documents. Afterward, it calls :func:`~exhale.graph.ExhaleRoot.generateViewHierarchies` followed by ...
"Generates the root library api file's body text. The method calls\n :func:`~exhale.graph.ExhaleRoot.gerrymanderNodeFilenames` first to enable proper\n internal linkage between reStructuredText documents. Afterward, it calls\n :func:`~exhale.graph.ExhaleRoot.generateViewHierarchies` followed by\n...
239
false
svenevs/exhale
generateAPIRootBody
3,734
LDU_FT/bukun/TorCMS/__query_with_label
LDU_FT
[ "<BEGIN>\n## `view_or_add`", "To judge if there is a post of the title.\n Then, to show, or to add.\n<END>", "<BEGIN>\n## `gen_array_crud`", "Return the dictionay of the switcher form XLXS file.\n if valud of the column of the row is `1`, it will be added to the array.\n<END>", "<BEGIN>\n## `__ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __query_with_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __query_with_label API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
:param cat_id_arr: list of categories. ['0101', '0102']
":param cat_id_arr: list of categories. ['0101', '0102']"
189
false
bukun/TorCMS
__query_with_label
3,735
LDU_FT/splunk/splunk-sdk-python/results
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 results API. 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 results API. 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 streaming handle to this job's search results. To get a nice, Pythonic iterator, pass the handle to :class:`splunklib.results.ResultsReader`, as in:: import splunklib.client as client import splunklib.results as results from time import sleep se...
"Returns a streaming handle to this job's search results. To get a\n nice, Pythonic iterator, pass the handle to :class:`splunklib.results.ResultsReader`,\n as in::\n\n import splunklib.client as client\n import splunklib.results as results\n from time import sleep\n ...
747
false
splunk/splunk-sdk-python
results
3,736
LDU_FT/Fizzadar/pyinfra/config
LDU_FT
[ "<BEGIN>\n## `agent`", "Run puppet agent", " + server: master server URL\n + port: puppet master port\n<END>", "<BEGIN>\n## `load_deploy_config`", "Loads any local config overrides in the deploy file.\n<END>", "<BEGIN>\n## `_parse_mode`", "Converts ls mode output (rwxrwxrwx) -> integer (755).\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ...
Manage git config for a repository or globally. + key: the key of the config to ensure + value: the value this key should have + repo: specify the git repo path to edit local config (defaults to global)
"Manage git config for a repository or globally.\n\n + key: the key of the config to ensure\n + value: the value this key should have\n + repo: specify the git repo path to edit local config (defaults to global)"
336
false
Fizzadar/pyinfra
config
3,737
LDU_FT/kivy/python-for-android/require_prebuilt_dist
LDU_FT
[ "<BEGIN>\n## `dist_dir`", "The dist dir at which to place the finished distribution.\n<END>", "<BEGIN>\n## `check_recipe_choices`", "Checks what recipes are being built to see which of the alternative\n and optional dependencies are being used,\n and returns a list of these.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_prebuilt_dist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_prebuilt_dist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Decorator for ToolchainCL methods. If present, the method will automatically make sure a dist has been built before continuing or, if no dists are present or can be obtained, will raise an error.
"Decorator for ToolchainCL methods. If present, the method will\n automatically make sure a dist has been built before continuing\n or, if no dists are present or can be obtained, will raise an\n error."
404
false
kivy/python-for-android
require_prebuilt_dist
3,738
LDU_FT/n8henrie/pycookiecheat/clean
LDU_FT
[ "<BEGIN>\n## `clean`", "r\"\"\"Strip padding from decrypted value.", " Remove number indicated by padding\n e.g. if last is '\\x0e' then ord('\\x0e') == 14, so take off 14.", " Args:\n decrypted: decrypted value\n Returns:\n Decrypted stripped of junk padding\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
r"""Strip padding from decrypted value. Remove number indicated by padding e.g. if last is '\x0e' then ord('\x0e') == 14, so take off 14. Args: decrypted: decrypted value Returns: Decrypted stripped of junk padding
"r\"\"\"Strip padding from decrypted value.\n\n Remove number indicated by padding\n e.g. if last is '\\x0e' then ord('\\x0e') == 14, so take off 14.\n\n Args:\n decrypted: decrypted value\n Returns:\n Decrypted stripped of junk padding"
20
false
n8henrie/pycookiecheat
clean
3,739
LDU_FT/wright-group/WrightTools/_on_constants_updated
LDU_FT
[ "<BEGIN>\n## `flatten_list`", "Flatten an irregular sequence.", " Works generally but may be slower than it could\n be if you can make assumptions about your list.", " `Source`__", " __ https://stackoverflow.com/a/10824086", " Parameters\n ----------\n items : iterable\n The ir...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_constants_updated 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 _on_constants_updated API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Method to run when constants are changed in any way. Propagates updated constants properly.
"Method to run when constants are changed in any way.\n\n Propagates updated constants properly."
603
false
wright-group/WrightTools
_on_constants_updated
3,740
LDU_FT/iblancasa/GitHubCity/__addUser
LDU_FT
[ "<BEGIN>\n## `export`", "Export all attributes of the user to a dict.", " :return: attributes of the user.\n :rtype: dict.\n<END>", "<BEGIN>\n## `__getContributions`", "Scrap the contributions from a GitHub profile.", " :param web: parsed web.\n :type web: BeautifulSoup node.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __addUser API. 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 __addUser API. 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...
Add new users to the list. :param new_user: name of a GitHub user to include in the ranking :type new_user: str.
"Add new users to the list.\n\n :param new_user: name of a GitHub user to include in\n the ranking\n :type new_user: str."
97
false
iblancasa/GitHubCity
__addUser
3,741
LDU_FT/edx/edx-drf-extensions/jwt_decode_handler
LDU_FT
[ "<BEGIN>\n## `authenticate_credentials`", "Validate the bearer token against the OAuth provider.", " Arguments:\n token (str): Access token to validate", " Returns:\n (tuple): tuple containing:", " user (User): User associated with the access token\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jwt_decode_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jwt_decode_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Decodes a JSON Web Token (JWT). Notes: * Requires "exp" and "iat" claims to be present in the token's payload. * Aids debugging by logging InvalidTokenError log entries when decoding fails. Examples: Use with `djangorestframework-jwt <https://getblimp.github.io/django-rest-framework-jw...
"Decodes a JSON Web Token (JWT).\n\n Notes:\n * Requires \"exp\" and \"iat\" claims to be present in the token's payload.\n * Aids debugging by logging InvalidTokenError log entries when decoding fails.\n\n Examples:\n Use with `djangorestframework-jwt <https://getblimp.github.io/django-rest-...
76
false
edx/edx-drf-extensions
jwt_decode_handler
3,742
LDU_FT/materialsproject/pymatgen-db/get_items
LDU_FT
[ "<BEGIN>\n## `contains_vasp_input`", "Checks if a directory contains valid VASP input.", " Args:\n dir_name:\n Directory name to check.", " Returns:\n True if directory contains all four VASP input files (INCAR, POSCAR,\n KPOINTS and POTCAR).\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API. 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_items API. 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...
Copy records from source to target collection. :param source: Input collection :type source: QueryEngine :param target: Output collection :type target: QueryEngine :param crit: Filter criteria, e.g. "{ 'flag': True }". :type crit: dict
"Copy records from source to target collection.\n\n :param source: Input collection\n :type source: QueryEngine\n :param target: Output collection\n :type target: QueryEngine\n :param crit: Filter criteria, e.g. \"{ 'flag': True }\".\n :type crit: dict"
262
false
materialsproject/pymatgen-db
get_items
3,743
LDU_FT/jic-dtool/dtool-irods/put_item
LDU_FT
[ "<BEGIN>\n## `_put_obj`", "Put python object into iRODS as JSON text.\n<END>", "<BEGIN>\n## `list_dataset_uris`", "Return list containing URIs in base_uri.\n<END>", "<BEGIN>\n## `get_item_abspath`", "Return absolute path at which item content can be accessed.", " :param identifier: item identifie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Put item with content from fpath at relpath in dataset. Missing directories in relpath are created on the fly. :param fpath: path to the item on local disk :param relpath: relative path name given to the item in the dataset as a handle
"Put item with content from fpath at relpath in dataset.\n\n Missing directories in relpath are created on the fly.\n\n :param fpath: path to the item on local disk\n :param relpath: relative path name given to the item in the dataset as\n a handle"
23
false
jic-dtool/dtool-irods
put_item
3,744
LDU_FT/redcap-tools/PyCap/names_labels
LDU_FT
[ "<BEGIN>\n## `validate`", "Checks that at least required params exist\n<END>", "<BEGIN>\n## `execute`", "Execute the API request and return data", " Parameters\n ----------\n kwargs :\n passed to requests.post()", " Returns\n -------\n response : list, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the names_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the names_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 extr...
Simple helper function to get all field names and labels
"Simple helper function to get all field names and labels"
79
false
redcap-tools/PyCap
names_labels
3,745
LDU_FT/tox-dev/tox-travis/get_declared_envs
LDU_FT
[ "<BEGIN>\n## `travis_after`", "Wait for all jobs to finish, then exit successfully.\n<END>", "<BEGIN>\n## `after_config_matches`", "Determine if this job should wait for the others.\n<END>", "<BEGIN>\n## `get_job_statuses`", "Wait for all the travis jobs to complete.", " Once the other jobs are compl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_declared_envs API. 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_declared_envs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get the full list of envs from the tox ini. This notably also includes envs that aren't in the envlist, but are declared by having their own testenv:envname section. The envs are expected in a particular order. First the ones declared in the envlist, then the other testenvs in order.
"Get the full list of envs from the tox ini.\n\n This notably also includes envs that aren't in the envlist,\n but are declared by having their own testenv:envname section.\n\n The envs are expected in a particular order. First the ones\n declared in the envlist, then the other testenvs in order."
51
false
tox-dev/tox-travis
get_declared_envs
3,746
LDU_FT/darvid/biome/get_dict
LDU_FT
[ "<BEGIN>\n## `get_environ`", "Retrieves environment variables from a namespace.", " Args:\n prefix (str): The prefix, without a trailing underscore.", " Returns:\n list: A list of environment variable keys and values.\n<END>", "<BEGIN>\n## `get_bool`", "Retrieves an env...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Retrieves an environment variable value as a dictionary. Args: name (str): The case-insensitive, unprefixed variable name. default: If provided, a default value will be returned instead of throwing ``EnvironmentError``. Returns: dict: The environment...
"Retrieves an environment variable value as a dictionary.\n\n Args:\n name (str): The case-insensitive, unprefixed variable name.\n default: If provided, a default value will be returned\n instead of throwing ``EnvironmentError``.\n\n Returns:\n dict: The en...
36
false
darvid/biome
get_dict
3,747
LDU_FT/yunojuno/elasticsearch-django/_validate_model
LDU_FT
[ "<BEGIN>\n## `execute_search`", "Create a new SearchQuery instance and execute a search against ES.", " Args:\n search: elasticsearch.search.Search object, that internally contains\n the connection and query; this is the query that is executed. All\n we are doing is logging the i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Check that a model configured for an index subclasses the required classes.
"Check that a model configured for an index subclasses the required classes."
124
false
yunojuno/elasticsearch-django
_validate_model
3,748
LDU_FT/inveniosoftware/invenio-records-rest/transform_search_hit
LDU_FT
[ "<BEGIN>\n## `build_default_endpoint_prefixes`", "Build the default_endpoint_prefixes map.\n<END>", "<BEGIN>\n## `obj_or_import_string`", "Import string or return object.", " :params value: Import path or class object to instantiate.\n :params default: Default object to return if the import fails.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_search_hit 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 transform_search_hit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Transform search result hit into an intermediate representation.
"Transform search result hit into an intermediate representation."
165
false
inveniosoftware/invenio-records-rest
transform_search_hit
3,749
LDU_FT/timmahrt/ProMo/morphAveragePitch
LDU_FT
[ "<BEGIN>\n## `plotF0`", "Plots the original data in a graph above the plot of the dtw'ed data\n<END>", "<BEGIN>\n## `f0Morph`", "Resynthesizes the pitch track from a source to a target wav file", " fromPitchData and toPitchData should be segmented according to the\n portions that you want to morph. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the morphAveragePitch API. 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 morphAveragePitch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Adjusts the values in fromPitchList to have the same average as toPitchList Because other manipulations can alter the average pitch, morphing the pitch is the last pitch manipulation that should be done After the morphing, the code removes any values below zero, thus the final average might no...
"Adjusts the values in fromPitchList to have the same average as toPitchList\n \n Because other manipulations can alter the average pitch, morphing the pitch\n is the last pitch manipulation that should be done\n \n After the morphing, the code removes any values below zero, thus the\n final average m...
75
false
timmahrt/ProMo
morphAveragePitch
3,750
LDU_FT/UpCloudLtd/upcloud-python-api/_create_ip_address_objs
LDU_FT
[ "<BEGIN>\n## `get_storages`", "Return a list of Storage objects from the API.", " Storage types: public, private, normal, backup, cdrom, template, favorite\n<END>", "<BEGIN>\n## `create_storage`", "Create a Storage object. Returns an object based on the API's response.\n<END>", "<BEGIN>\n## `modify...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_ip_address_objs 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_ip_address_objs 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 IPAddress objects from API response data. Also associates CloudManager with the objects.
"Create IPAddress objects from API response data.\n Also associates CloudManager with the objects."
153
false
UpCloudLtd/upcloud-python-api
_create_ip_address_objs
3,751
LDU_FT/bcbio/bcbio-nextgen/_check_copy_number_changes
LDU_FT
[ "<BEGIN>\n## `groom`", "Grooms a FASTQ file from Illumina 1.3/1.5 quality scores into\n sanger format, if it is not already in that format.\n<END>", "<BEGIN>\n## `filter_single_reads_by_length`", "removes reads from a fastq file which are shorter than a minimum\n length\n<END>", "<BEGIN>\n## `filter_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_copy_number_changes 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 _check_copy_number_changes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Check if copy number changes match the expected svtype.
"Check if copy number changes match the expected svtype."
3,670
true
bcbio/bcbio-nextgen
_check_copy_number_changes
3,752
LDU_FT/jasonfharris/sysexecute/flatten
LDU_FT
[ "<BEGIN>\n## `filterKWArgsForFunc`", "Yield a reduced set of kwargs of only the valid keyword arguments for the function / constructor f\n<END>", "<BEGIN>\n## `prettyPrintDictionary`", "Pretty print a dictionary as simple keys and values\n<END>", "<BEGIN>\n## `flatten`", "flatten([[\"a\",\"btr\"],\"b\", [...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten API. 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 flatten API. 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...
flatten([["a","btr"],"b", [],["c",["d",["e"], []]]]) will return ['a', 'btr', 'b', 'c', 'd', 'e']
"flatten([[\"a\",\"btr\"],\"b\", [],[\"c\",[\"d\",[\"e\"], []]]]) will return ['a', 'btr', 'b', 'c', 'd', 'e']"
10
false
jasonfharris/sysexecute
flatten
3,753
LDU_FT/symengine/symengine.py/symbols
LDU_FT
[ "<BEGIN>\n## `with_metaclass`", "Create a base class with a metaclass.", " For example, if you have the metaclass", " >>> class Meta(type):\n ... pass", " Use this as the metaclass by doing", " >>> from symengine.compatibility import with_metaclass\n >>> class MyClass(with_metaclass(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbols API. 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 symbols API. 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...
Transform strings into instances of :class:`Symbol` class. :func:`symbols` function returns a sequence of symbols with names taken from ``names`` argument, which can be a comma or whitespace delimited string, or a sequence of strings:: >>> from symengine import symbols >>> x, y, z = symbols(...
"Transform strings into instances of :class:`Symbol` class.\n :func:`symbols` function returns a sequence of symbols with names taken\n from ``names`` argument, which can be a comma or whitespace delimited\n string, or a sequence of strings::\n >>> from symengine import symbols\n >>> x, y, z = sy...
94
false
symengine/symengine.py
symbols
3,754
LDU_FT/signaturit/python-sdk/send_signature_reminder
LDU_FT
[ "<BEGIN>\n## `get_signature`", "Get a concrete Signature\n @return Signature data\n<END>", "<BEGIN>\n## `download_audit_trail`", "Get the audit trail of concrete document\n @signature_id: Id of signature\n @document_id: Id of document\n<END>", "<BEGIN>\n## `download_signed_document`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_signature_reminder 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 send_signature_reminder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Send a reminder email @signature_id: Id of signature @document_id: Id of document
"Send a reminder email\n @signature_id: Id of signature\n @document_id: Id of document"
52
false
signaturit/python-sdk
send_signature_reminder
3,755
LDU_FT/inveniosoftware-attic/invenio-comments/perform_display_your_comments
LDU_FT
[ "<BEGIN>\n## `perform_request_display_comments_or_remarks`", "Returns all the comments (reviews) of a specific internal record or external basket record.\n :param recID: record id where (internal record IDs > 0) or (external basket record IDs < -100)\n :param display_order: hh = highest helpful score...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_display_your_comments 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 perform_display_your_comments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Display all comments submitted by the user. :TODO: support reviews too :param user_info: standard user info object. :param comments: ordered list of tuples (id_bibrec, comid, date_creation, body, status, in_reply_to_id_cmtRECORDCOMMENT) :param page_number: page on which the user is. :type page_num...
"Display all comments submitted by the user.\n\n :TODO: support reviews too\n\n :param user_info: standard user info object.\n :param comments: ordered list of tuples (id_bibrec, comid, date_creation, body, status, in_reply_to_id_cmtRECORDCOMMENT)\n :param page_number: page on which the user is.\n :type ...
123
false
inveniosoftware-attic/invenio-comments
perform_display_your_comments
3,756
LDU_FT/UDST/orca/table_preview
LDU_FT
[ "<BEGIN>\n## `import_file`", "Import a file that will trigger the population of Orca.", " Parameters\n ----------\n filename : str\n<END>", "<BEGIN>\n## `check_is_table`", "Decorator that will check whether the \"table_name\" keyword argument\n to the wrapped function matches a registered Orca t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the table_preview API. 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 table_preview API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns the first five rows of a table as JSON. Inlcudes all columns. Uses Pandas' "split" JSON format.
"Returns the first five rows of a table as JSON. Inlcudes all columns.\n Uses Pandas' \"split\" JSON format."
223
false
UDST/orca
table_preview
3,757
LDU_FT/phac-nml/sistr_cmd/run_cgmlst
LDU_FT
[ "<BEGIN>\n## `parse_cgmlst_alleles`", "Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"", " Args:\n cgmlst_fasta (str): cgMLST fasta file path", " Returns:\n dict of list: Marker name to list of allele sequences\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cgmlst API. 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 run_cgmlst API. 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...
Perform in silico cgMLST on an input genome Args: blast_runner (sistr.src.blast_wrapper.BlastRunner): blastn runner object with genome fasta initialized Returns: dict: cgMLST ref genome match, distance to closest ref genome, subspecies and serovar predictions dict: marker allele match ...
"Perform in silico cgMLST on an input genome\n\n Args:\n blast_runner (sistr.src.blast_wrapper.BlastRunner): blastn runner object with genome fasta initialized\n\n Returns:\n dict: cgMLST ref genome match, distance to closest ref genome, subspecies and serovar predictions\n dict: marker allel...
148
false
phac-nml/sistr_cmd
run_cgmlst
3,758
LDU_FT/wesleyfr/boxpython/create_folder
LDU_FT
[ "<BEGIN>\n## `get_access_tokens`", "From the authorization code, get the \"access token\" and the \"refresh token\" from Box.", " Args:\n authorization_code (str). Authorisation code emitted by Box at the url provided by the function :func:`get_authorization_url`.", " Returns:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_folder API. 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 create_folder API. 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...
Create a folder If the folder exists, a BoxError will be raised. Args: folder_id (int): Name of the folder. parent_folder_id (int): ID of the folder where to create the new one. Returns: dict. Response from Box. Raises: BoxError: An er...
"Create a folder\n\n If the folder exists, a BoxError will be raised.\n\n Args:\n folder_id (int): Name of the folder.\n\n parent_folder_id (int): ID of the folder where to create the new one.\n\n Returns:\n dict. Response from Box.\n\n Raises:\n B...
104
false
wesleyfr/boxpython
create_folder
3,759
LDU_FT/bwohlberg/sporco/patch_module
LDU_FT
[ "<BEGIN>\n## `pyfftw_byte_aligned`", "Construct a byte-aligned array for efficient use by :mod:`pyfftw`.\n This function is a wrapper for :func:`pyfftw.byte_align`", " Parameters\n ----------\n array : ndarray\n Input array\n dtype : dtype, optional (default None)\n Output array dtype\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_module API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_module API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Create a patched copy of the named module and register it in ``sys.modules``. Parameters ---------- name : string Name of source module pname : string Name of patched copy of module pfile : string or None, optional (default None) Value to assign as source file name of patched ...
"Create a patched copy of the named module and register it in\n ``sys.modules``.\n\n Parameters\n ----------\n name : string\n Name of source module\n pname : string\n Name of patched copy of module\n pfile : string or None, optional (default None)\n Value to assign as source file name ...
1,237
true
bwohlberg/sporco
patch_module
3,760
LDU_FT/PureStorage-OpenConnect/rest-client/send_pgroup_snapshot
LDU_FT
[ "<BEGIN>\n## `_check_rest_version`", "Validate a REST API version is supported by the library and target array.\n<END>", "<BEGIN>\n## `_choose_rest_version`", "Return the newest REST API version supported by target array.\n<END>", "<BEGIN>\n## `_list_available_rest_versions`", "Return a list of the REST A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_pgroup_snapshot 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 send_pgroup_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Send an existing pgroup snapshot to target(s) :param source: Name of pgroup snapshot to send. :type source: str :param \*\*kwargs: See the REST API Guide on your array for the documentation on the request: **POST pgroup** :type \*\*k...
"Send an existing pgroup snapshot to target(s)\n\n :param source: Name of pgroup snapshot to send.\n :type source: str\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n documentation on the request:\n **POST pgroup**\n :...
166
false
PureStorage-OpenConnect/rest-client
send_pgroup_snapshot
3,761
LDU_FT/yoavaviram/python-amazon-simple-product-api/price_and_currency
LDU_FT
[ "<BEGIN>\n## `lookup_bulk`", "Lookup Amazon Products in bulk.", " Returns all products matching requested ASINs, ignoring invalid\n entries.", " :return:\n A list of :class:`~.AmazonProduct` instances.\n<END>", "<BEGIN>\n## `similarity_lookup`", "Similarty Lookup.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the price_and_currency 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 price_and_currency 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...
Get Offer Price and Currency. Return price according to the following process: * If product has a sale return Sales Price, otherwise, * Return Price, otherwise, * Return lowest offer price, otherwise, * Return None. :return: A tuple containing: ...
"Get Offer Price and Currency.\n\n Return price according to the following process:\n\n * If product has a sale return Sales Price, otherwise,\n * Return Price, otherwise,\n * Return lowest offer price, otherwise,\n * Return None.\n\n :return:\n A tuple containing:\n...
112
false
yoavaviram/python-amazon-simple-product-api
price_and_currency
3,762
LDU_FT/bitprophet/ssh/rmdir
LDU_FT
[ "<BEGIN>\n## `start_client`", "Negotiate a new SSH2 session as a client. This is the first step after\n creating a new L{Transport}. A separate thread is created for protocol\n negotiation.", " If an event is passed in, this method returns immediately. When\n negotiation is done (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rmdir API. 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 rmdir API. 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...
Remove the folder named C{path}. @param path: name of the folder to remove @type path: str
"Remove the folder named C{path}.\n\n @param path: name of the folder to remove\n @type path: str"
272
false
bitprophet/ssh
rmdir
3,763
LDU_FT/sixty-north/asq/count
LDU_FT
[ "<BEGIN>\n## `add_method`", "Add an existing function to a class as a method.\r", " Note: Consider using the extend decorator as a more readable alternative\r\n to using this function directly.\r", " Args:\r\n function: The function to be added to the class klass.\r", " klass: The...
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...
Return the number of elements (which match an optional predicate). Note: This method uses immediate execution. Args: predicate: An optional unary predicate function used to identify elements which will be counted. The single positional argument of the functi...
"Return the number of elements (which match an optional predicate).\n\n Note: This method uses immediate execution.\n\n Args:\n predicate: An optional unary predicate function used to identify\n elements which will be counted. The single positional argument\n of th...
407
false
sixty-north/asq
count
3,764
LDU_FT/twisted/vertex/_sign
LDU_FT
[ "<BEGIN>\n## `enregister`", "Register a new account and return a Deferred that fires if it worked.", " @param svc: a Q2QService", " @param newAddress: a Q2QAddress object", " @param password: a shared secret (str)\n<END>", "<BEGIN>\n## `connectCached`", "See module docstring", " @param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sign API. 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 _sign API. 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...
Respond to a request to sign a CSR for a user or agent located within our domain.
"Respond to a request to sign a CSR for a user or agent located within\n our domain."
191
false
twisted/vertex
_sign
3,765
LDU_FT/Robpol86/appveyor-artifacts/query_artifacts
LDU_FT
[ "<BEGIN>\n## `setup_logging`", "Setup console logging. Info and below go to stdout, others go to stderr.", " :param bool verbose: Print debug statements.\n :param str logger: Which logger to set handlers to. Used for testing.\n<END>", "<BEGIN>\n## `with_log`", "Automatically adds a named logger to a f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_artifacts API. 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 query_artifacts API. 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...
Query API again for artifacts. :param iter job_ids: List of AppVeyor jobIDs. :param logging.Logger log: Logger for this function. Populated by with_log() decorator. :return: List of tuples: (job ID, artifact file name, artifact file size). :rtype: list
"Query API again for artifacts.\n\n :param iter job_ids: List of AppVeyor jobIDs.\n :param logging.Logger log: Logger for this function. Populated by with_log() decorator.\n\n :return: List of tuples: (job ID, artifact file name, artifact file size).\n :rtype: list"
54
false
Robpol86/appveyor-artifacts
query_artifacts
3,766
LDU_FT/unfoldingWord-dev/tx-shared-tools/add_file_to_zip
LDU_FT
[ "<BEGIN>\n## `print_with_header`", "Use one of the functions below for printing, not this one.\n<END>", "<BEGIN>\n## `get_url`", ":param str|unicode url: URL to open\n :param bool catch_exception: If <True> catches all exceptions and returns <False>\n<END>", "<BEGIN>\n## `join_url_parts`", "Joins a lis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_file_to_zip API. 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_file_to_zip API. 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...
Zip <filename> into <zip_file> as <archname>. :param str|unicode zip_file: The file name of the zip file :param str|unicode filename: The name of the file to add, including the path :param str|unicode archname: The new name, with directories, of the file, the same as filename if not given :param str|uni...
"Zip <filename> into <zip_file> as <archname>.\n :param str|unicode zip_file: The file name of the zip file\n :param str|unicode filename: The name of the file to add, including the path\n :param str|unicode archname: The new name, with directories, of the file, the same as filename if not given\n :param st...
20
false
unfoldingWord-dev/tx-shared-tools
add_file_to_zip
3,767
LDU_FT/Clinical-Genomics/trailblazer/name_file
LDU_FT
[ "<BEGIN>\n## `parse_mip_analysis`", "Parse the output analysis files from MIP for adding info\n to trend database", " Args:\n mip_config_raw (dict): raw YAML input from MIP analysis config file\n qcmetrics_raw (dict): raw YAML input from MIP analysis qc metric file\n sampleinfo_raw (d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Name a FASTQ file following MIP conventions.
"Name a FASTQ file following MIP conventions."
44
false
Clinical-Genomics/trailblazer
name_file
3,768
LDU_FT/RusticiSoftware/TinCanPython/addmember
LDU_FT
[ "<BEGIN>\n## `_make_cls`", "If value is not instance of self._cls, converts and returns\n it. Otherwise, returns value.", " :param value: the thing to make a self._cls from\n :rtype self._cls\n<END>", "<BEGIN>\n## `_send_request`", "Establishes connection and returns http response based...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addmember API. 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 addmember API. 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...
Adds a single member to this group's list of members. Tries to convert to :class:`tincan.Agent` :param value: The member to add to this group :type value: :class:`tincan.Agent`
"Adds a single member to this group's list of members.\n Tries to convert to :class:`tincan.Agent`\n\n :param value: The member to add to this group\n :type value: :class:`tincan.Agent`"
121
false
RusticiSoftware/TinCanPython
addmember
3,769
LDU_FT/mrstephenneal/dirutility/_backup_compresslevel
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 _backup_compresslevel 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 _backup_compresslevel 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 backup file with a compresslevel parameter.
"Create a backup file with a compresslevel parameter."
92
false
mrstephenneal/dirutility
_backup_compresslevel
3,770
LDU_FT/linkedin/Zopkio/_send_signal
LDU_FT
[ "<BEGIN>\n## `make_machine_mapping`", "Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_signal API. 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 _send_signal API. 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...
Issues a signal for the specified process :Parameter unique_id: the name of the process
"Issues a signal for the specified process\n\n :Parameter unique_id: the name of the process"
85
false
linkedin/Zopkio
_send_signal
3,771
LDU_FT/moonso/loqusdb/get_clusters
LDU_FT
[ "<BEGIN>\n## `update_database`", "Update a case in the database", " Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_clusters API. 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_clusters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Search what clusters a variant belongs to Args: variant_id(str): From ID column in vcf Returns: clusters()
"Search what clusters a variant belongs to\n \n Args:\n variant_id(str): From ID column in vcf\n \n Returns:\n clusters()"
216
false
moonso/loqusdb
get_clusters
3,772