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/cozy/python_cozy_management/acme_sign_certificate
LDU_FT
[ "<BEGIN>\n## `rebuild_app`", "Rebuild cozy apps with deletion of npm directory & new npm build\n<END>", "<BEGIN>\n## `rebuild_all_apps`", "Get all cozy apps & rebuild npm repository\n<END>", "<BEGIN>\n## `restore`", "Restore a Cozy\n backup_file: path to .tar.gz\n<END>", "<BEGIN>\n## `generate_ce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acme_sign_certificate 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 acme_sign_certificate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Sign certificate with acme_tiny for let's encrypt
"Sign certificate with acme_tiny for let's encrypt"
24
false
cozy/python_cozy_management
acme_sign_certificate
22,573
LDU_FT/materialsproject/pymatgen/project_and_to2dim
LDU_FT
[ "<BEGIN>\n## `ion_or_solid_comp_object`", "Returns either an ion object or composition object given\n a formula.", " Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O", " Returns:\n Composition/Ion object\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_and_to2dim 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 project_and_to2dim 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...
Projects the list of points pps to the plane and changes the basis from 3D to the 2D basis of the plane :param pps: List of points to be projected :return: :raise:
"Projects the list of points pps to the plane and changes the basis from 3D to the 2D basis of the plane\n :param pps: List of points to be projected\n :return: :raise:"
6,523
true
materialsproject/pymatgen
project_and_to2dim
22,574
LDU_FT/eallik/spinoff/callMultipleInGreenlet
LDU_FT
[ "<BEGIN>\n## `deferToGreenletPool`", "Call function using a greenlet from the given pool and return the result as a Deferred\n<END>", "<BEGIN>\n## `deferToGreenlet`", "Call function using a greenlet and return the result as a Deferred\n<END>", "<BEGIN>\n## `callMultipleInGreenlet`", "Call a list of functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the callMultipleInGreenlet 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 callMultipleInGreenlet API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Call a list of functions in the same thread
"Call a list of functions in the same thread"
60
false
eallik/spinoff
callMultipleInGreenlet
22,575
LDU_FT/ECESeniorDesign/lazy_record/does_not_mutate
LDU_FT
[ "<BEGIN>\n## `does_not_mutate`", "Prevents methods from mutating the receiver\n<END>", "<BEGIN>\n## `find_by`", "Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists.\n<END>", "<BEGIN>\n## `first`", "Returns the first record in the query (sorting ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the does_not_mutate API. 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 does_not_mutate API. 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...
Prevents methods from mutating the receiver
"Prevents methods from mutating the receiver"
78
false
ECESeniorDesign/lazy_record
does_not_mutate
22,576
LDU_FT/uberVU/mongo-pool/set_timeout
LDU_FT
[ "<BEGIN>\n## `get_cluster`", "Returns a connection to a mongo-clusters.", " Args:\n label (string): the label of a cluster.", " Returns:\n A connection to the cluster labeld with label.", " Raises:\n AttributeError: there is no cluster with the given lab...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_timeout API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_timeout API. 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...
Set the timeout for existing and future Clients. Close all current connections. This will cause future operations to create new Clients with the network_timeout passed through socketTimeoutMS optional parameter. Args: network_timeout: The new value in milliseconds for the t...
"Set the timeout for existing and future Clients.\n\n Close all current connections. This will cause future operations to\n create new Clients with the network_timeout passed through\n socketTimeoutMS optional parameter.\n\n Args:\n network_timeout: The new value in milliseconds f...
37
false
uberVU/mongo-pool
set_timeout
22,577
LDU_FT/dsoprea/PySchedules/endElement
LDU_FT
[ "<BEGIN>\n## `_startXTVDNode`", "Process the start of the top-level xtvd node\n<END>", "<BEGIN>\n## `_startStationsNode`", "Process the start of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_endStationsNode`", "Process the end of a node under xtvd/stations\n<END>", "<BEGIN>\n## `_startLineupsNode`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endElement API. 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 endElement API. 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...
Callback run at the end of each XML element
"Callback run at the end of each XML element"
50
false
dsoprea/PySchedules
endElement
22,578
LDU_FT/intake/intake/plot
LDU_FT
[ "<BEGIN>\n## `expand_defaults`", "Compile env, client_env, shell and client_shell commands\n<END>", "<BEGIN>\n## `get`", "Instantiate the DataSource for the given parameters\n<END>", "<BEGIN>\n## `_load`", "Load text of fcatalog file and pass to parse", " Will do nothing if autoreload is off and ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns a hvPlot object to provide a high-level plotting API. To display in a notebook, be sure to run ``intake.output_notebook()`` first.
"Returns a hvPlot object to provide a high-level plotting API.\n\n To display in a notebook, be sure to run ``intake.output_notebook()``\n first."
280
false
intake/intake
plot
22,579
LDU_FT/thombashi/pytablereader/load
LDU_FT
[ "<BEGIN>\n## `load`", "Extract tabular data as |TableData| instances from a CSV file.\n |load_source_desc_file|", " :return:\n Loaded table data.\n |load_table_name_desc|", " =================== ========================================\n Format specif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Extract tabular data as |TableData| instances from a JSON file. |load_source_desc_file| This method can be loading four types of JSON formats: **(1)** Single table data in a file: .. code-block:: json :caption: Acceptable JSON Schema (1): single table ...
"Extract tabular data as |TableData| instances from a JSON file.\n |load_source_desc_file|\n\n This method can be loading four types of JSON formats:\n\n **(1)** Single table data in a file:\n\n .. code-block:: json\n :caption: Acceptable JSON Schema (1): single table\n\n ...
140
false
thombashi/pytablereader
load
22,580
LDU_FT/lightning-viz/lightning-python/check_size
LDU_FT
[ "<BEGIN>\n## `enable_ipython`", "Enable plotting in the iPython notebook.", " Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>", "<BEGIN>\n## `disable_i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Check and parse size specs as either a single [s] or a list of [s,s,s,...]
"Check and parse size specs as either a single [s] or a list of [s,s,s,...]"
55
false
lightning-viz/lightning-python
check_size
22,581
LDU_FT/redhat-cip/python-dciclient/delete
LDU_FT
[ "<BEGIN>\n## `list`", "list(context, verbose)", " List all tags.", " >>> dcictl tag-list", " :param boolean verbose: Display verbose output\n<END>", "<BEGIN>\n## `create`", "create(context, name)", " Create a tag.", " >>> dcictl tag-create [OPTIONS]", " :param string name: Name o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Delete jobs events from a given sequence
"Delete jobs events from a given sequence"
310
false
redhat-cip/python-dciclient
delete
22,582
LDU_FT/mozilla/django-tidings/multi_raw
LDU_FT
[ "<BEGIN>\n## `multi_raw`", "Scoop multiple model instances out of the DB at once, given a query that\n returns all fields of each.", " Return an iterable of sequences of model instances parallel to the\n ``models`` sequence of classes. For example::", " [(<User such-and-such>, <Watch such-and-...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_raw API. 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 multi_raw API. 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...
Scoop multiple model instances out of the DB at once, given a query that returns all fields of each. Return an iterable of sequences of model instances parallel to the ``models`` sequence of classes. For example:: [(<User such-and-such>, <Watch such-and-such>), ...]
"Scoop multiple model instances out of the DB at once, given a query that\n returns all fields of each.\n\n Return an iterable of sequences of model instances parallel to the\n ``models`` sequence of classes. For example::\n\n [(<User such-and-such>, <Watch such-and-such>), ...]"
73
false
mozilla/django-tidings
multi_raw
22,583
LDU_FT/thieman/dagobah/local_not_complete
LDU_FT
[ "<BEGIN>\n## `run`", "Continually monitors Jobs of the parent Dagobah.\n<END>", "<BEGIN>\n## `set_backend`", "Manually set backend after construction.\n<END>", "<BEGIN>\n## `from_backend`", "Reconstruct this Dagobah instance from the backend.\n<END>", "<BEGIN>\n## `_construct_from_json`", "Construct t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the local_not_complete 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 local_not_complete 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...
Returns True if task is local and not completed
"Returns True if task is local and not completed"
120
false
thieman/dagobah
local_not_complete
22,584
LDU_FT/pygobject/pgi/_fixup_cdef_enums
LDU_FT
[ "<BEGIN>\n## `get_backend`", "Returns the backend by name or raises KeyError\n<END>", "<BEGIN>\n## `set_backend`", "Set a prefered ffi backend (cffi, ctypes).", " set_backend() -- default\n set_backend(\"cffi\") -- cffi first, others as fallback\n set_backend(\"ctypes\") -- ctypes first, others as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fixup_cdef_enums API. 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 _fixup_cdef_enums API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Converts some common enum expressions to constants
"Converts some common enum expressions to constants"
363
false
pygobject/pgi
_fixup_cdef_enums
22,585
LDU_FT/agusmakmun/django-markdown-editor/markdown_imgur_uploader
LDU_FT
[ "<BEGIN>\n## `markdown_imgur_uploader`", "Makdown image upload for uploading to imgur.com\n and represent as json to markdown editor.\n<END>", "<BEGIN>\n## `markdown_search_user`", "Json usernames of the users registered & actived.", " url(method=get):\n /martor/search-user/?username={username}...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the markdown_imgur_uploader 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 markdown_imgur_uploader API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Makdown image upload for uploading to imgur.com and represent as json to markdown editor.
"Makdown image upload for uploading to imgur.com\n and represent as json to markdown editor."
14
false
agusmakmun/django-markdown-editor
markdown_imgur_uploader
22,586
LDU_FT/Holzhaus/python-cmuclmtk/wngram2idngram
LDU_FT
[ "<BEGIN>\n## `text2wfreq`", "List of every word which occurred in the text, along with its number of occurrences.\n Notes : Uses a hash-table to provide an efficient method of counting word occurrences. Output list is not sorted (due to \"randomness\" of the hash-table), but can be easily sorted into the u...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wngram2idngram API. 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 wngram2idngram API. 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...
Takes a word N-gram file and a vocabulary file and lists every id n-gram which occurred in the text, along with its number of occurrences, in either ASCII or binary format. Note : It is important that the vocabulary file is in alphabetical order. If you are using vocabularies generated by wfreq2vocab then this...
"Takes a word N-gram file and a vocabulary file and lists every id n-gram which occurred in the text, along with its number of occurrences, in either ASCII or binary format.\n\n Note : It is important that the vocabulary file is in alphabetical order. If you are using vocabularies generated by wfreq2vocab then t...
25
false
Holzhaus/python-cmuclmtk
wngram2idngram
22,587
LDU_FT/StanfordBioinformatics/loom/disable_insecure_request_warning
LDU_FT
[ "<BEGIN>\n## `get_by_value`", "Converts a value into a corresponding data object.\n For files, this looks up a file DataObject by name, uuid, and/or md5.\n For other types, it creates a new DataObject.\n<END>", "<BEGIN>\n## `_get_file_by_value`", "Look up a file DataObject by name, uuid, and/or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_insecure_request_warning API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_insecure_request_warning API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Suppress warning about untrusted SSL certificate.
"Suppress warning about untrusted SSL certificate."
93
false
StanfordBioinformatics/loom
disable_insecure_request_warning
22,588
LDU_FT/materialsproject/pymatgen-db/mongo_get
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 mongo_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mongo_get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get value from dict using MongoDB dot-separated path semantics. For example: >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'a.b') == 1 >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'x') == 2 >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'a.b.c') is None :param rec: mongodb document :param key:...
"Get value from dict using MongoDB dot-separated path semantics.\n For example:\n\n >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'a.b') == 1\n >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'x') == 2\n >>> assert mongo_get({'a': {'b': 1}, 'x': 2}, 'a.b.c') is None\n\n :param rec: mongodb document\n :p...
262
false
materialsproject/pymatgen-db
mongo_get
22,589
LDU_FT/brian-rose/climlab/lifting_condensation_level
LDU_FT
[ "<BEGIN>\n## `default_absorbers`", "Initialize a dictionary of well-mixed radiatively active gases\n All values are volumetric mixing ratios.", " Ozone is set to a climatology.", " All other gases are assumed well-mixed:", " - CO2\n - CH4\n - N2O\n - O2\n - CFC11\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lifting_condensation_level 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 lifting_condensation_level API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Compute the Lifiting Condensation Level (LCL) for a given temperature and relative humidity Inputs: T is temperature in Kelvin RH is relative humidity (dimensionless) Output: LCL in meters This is height (relative to parcel height) at which the parcel would become saturated during adiabatic ...
"Compute the Lifiting Condensation Level (LCL) for a given temperature and relative humidity\n\n Inputs: T is temperature in Kelvin\n RH is relative humidity (dimensionless)\n\n Output: LCL in meters\n\n This is height (relative to parcel height) at which the parcel would become saturated during ad...
571
false
brian-rose/climlab
lifting_condensation_level
22,590
LDU_FT/edaniszewski/pylint-quotes/_process_for_docstring
LDU_FT
[ "<BEGIN>\n## `leave_module`", "Leave module and check remaining triple quotes.", " Args:\n node: the module node we are leaving.\n<END>", "<BEGIN>\n## `_process_for_docstring`", "Check for docstring quote consistency.", " Args:\n node: the AST node being visited.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_for_docstring 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 _process_for_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Check for docstring quote consistency. Args: node: the AST node being visited. node_type: the type of node being operated on.
"Check for docstring quote consistency.\n\n Args:\n node: the AST node being visited.\n node_type: the type of node being operated on."
38
false
edaniszewski/pylint-quotes
_process_for_docstring
22,591
LDU_FT/daknuett/py_register_machine2/bytes_to_int
LDU_FT
[ "<BEGIN>\n## `int_to_bytes`", ".. _int_to_bytes:", "\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.", "\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.", "\tSee also: bytes_to_int_\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bytes_to_int API. 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 bytes_to_int API. 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...
.. _bytes_to_int: Converts the ``bytes`` object ``bytes_`` to an ``int``. If ``width`` is none, ``width = len(byte_) * 8`` is choosen. See also: int_to_bytes_ *Example* >>> from py_register_machine2.engine_tools.conversions import * >>> i = 4012 >>> int_to_bytes(i) b'\xac\x0f' >>> bytes_to_int(int_to_bytes...
".. _bytes_to_int:\n\n\tConverts the ``bytes`` object ``bytes_`` to an ``int``.\n\tIf ``width`` is none, ``width = len(byte_) * 8`` is choosen.\n\n\tSee also: int_to_bytes_\n\n\t*Example*\n\n\t>>> from py_register_machine2.engine_tools.conversions import *\n\t>>> i = 4012\n\t>>> int_to_bytes(i)\n\tb'\\xac\\x0f'\n\t>>> ...
154
false
daknuett/py_register_machine2
bytes_to_int
22,592
LDU_FT/saltstack/salt/MX
LDU_FT
[ "<BEGIN>\n## `_config`", "Return a value for 'name' from command line args then config file options.\n Specify 'key' if the config file option is not the same as 'name'.\n<END>", "<BEGIN>\n## `add_host`", "Add, replace, or update the A and PTR (reverse) records for a host.", " CLI Example:", " .....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MX API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MX API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Return a list of lists for the MX of ``domain``. If the ``resolve`` argument is True, resolve IPs for the servers. It's limited to one IP, because although in practice it's very rarely a round robin, it is an acceptable configuration and pulling just one IP lets the data be similar to the non-resolved...
"Return a list of lists for the MX of ``domain``.\n\n If the ``resolve`` argument is True, resolve IPs for the servers.\n\n It's limited to one IP, because although in practice it's very rarely a\n round robin, it is an acceptable configuration and pulling just one IP lets\n the data be similar to the non-r...
61,937
true
saltstack/salt
MX
22,593
LDU_FT/albertz/py_better_exchook/fold_text_ctx
LDU_FT
[ "<BEGIN>\n## `parse_pkg_info`", ":param str fn:\n :rtype: dict[str,str]\n<END>", "<BEGIN>\n## `parse_py_statement`", ":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>", "<BEGIN>\n## `grep_full_py_identifiers`", ":param typing.Iterable[(str,s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fold_text_ctx API. 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 fold_text_ctx API. 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...
Folds text, via :class:`DomTerm`, if available. Notes that this temporarily overwrites self.lines. :param str line: always visible
"Folds text, via :class:`DomTerm`, if available.\n Notes that this temporarily overwrites self.lines.\n\n :param str line: always visible"
75
false
albertz/py_better_exchook
fold_text_ctx
22,594
LDU_FT/tensorflow/datasets/iter_archive
LDU_FT
[ "<BEGIN>\n## `_decode_image`", "Reads and decodes an image from a file object as a Numpy array.", " The SUN dataset contains images in several formats (despite the fact that\n all of them have .jpg extension). Some of them are:\n - BMP (RGB)\n - PNG (grayscale, RGBA, RGB interlaced)\n - JPEG (RGB)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_archive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_archive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns iterator over files within archive. **Important Note**: caller should read files as they are yielded. Reading out of order is slow. Args: resource: path to archive or `tfds.download.Resource`. Returns: Generator yielding tuple (path_within_archive, file_obj).
"Returns iterator over files within archive.\n\n **Important Note**: caller should read files as they are yielded.\n Reading out of order is slow.\n\n Args:\n resource: path to archive or `tfds.download.Resource`.\n\n Returns:\n Generator yielding tuple (path_within_archive, file_obj)."
609
false
tensorflow/datasets
iter_archive
22,595
LDU_FT/google/python_portpicker/_parse_port_ranges
LDU_FT
[ "<BEGIN>\n## `_should_allocate_port`", "Determine if we should allocate a port for use by the given process id.\n<END>", "<BEGIN>\n## `_parse_command_line`", "Configure and parse our command line flags.\n<END>", "<BEGIN>\n## `_parse_port_ranges`", "Given a 'N-P,X-Y' description of port ranges, return a se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_port_ranges 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 _parse_port_ranges 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...
Given a 'N-P,X-Y' description of port ranges, return a set of ints.
"Given a 'N-P,X-Y' description of port ranges, return a set of ints."
42
false
google/python_portpicker
_parse_port_ranges
22,596
LDU_FT/kapadia/usgs/download
LDU_FT
[ "<BEGIN>\n## `datasets`", "This method is used to find datasets available for searching.\n By passing no parameters except node, all available datasets\n are returned. Additional parameters such as temporal range\n and spatial bounding box can be used to find datasets that \n provide more specific dat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
The use of this request will be to obtain valid data download URLs. :param dataset: :param entityIds: list :param products: list :param node: :param api_key: API key is required.
"The use of this request will be to obtain valid data download URLs.\n \n :param dataset:\n \n :param entityIds:\n list\n \n :param products:\n list\n \n :param node:\n \n :param api_key:\n API key is required."
62
false
kapadia/usgs
download
22,597
LDU_FT/roboogle/gtkmvc3/remove_adapter
LDU_FT
[ "<BEGIN>\n## `__create_log_props`", "Creates all the logical property.", " The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.", " This method resolves also wildcards in names, and perform...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_adapter API. 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 remove_adapter API. 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...
Removes the given widget class information from the default set of adapters. If widget_class had been previously added by using add_adapter, the added adapter will be removed, restoring possibly previusly existing adapter(s). Notice that this function will remove only *one* adapter about given wige...
"Removes the given widget class information from the default set\n of adapters.\n\n If widget_class had been previously added by using add_adapter,\n the added adapter will be removed, restoring possibly previusly\n existing adapter(s). Notice that this function will remove only\n *one* adapter about giv...
300
false
roboogle/gtkmvc3
remove_adapter
22,598
LDU_FT/glamp/bashplotlib/calc_bins
LDU_FT
[ "<BEGIN>\n## `drange`", "Generate between 2 numbers w/ optional step, optionally include upper bound\n<END>", "<BEGIN>\n## `abbreviate`", "Abbreviate labels without introducing ambiguities.\n<END>", "<BEGIN>\n## `calc_bins`", "Calculate number of bins for the histogram\n<END>", "<BEGIN>\n## `read_number...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_bins API. 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 calc_bins API. 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...
Calculate number of bins for the histogram
"Calculate number of bins for the histogram"
14
false
glamp/bashplotlib
calc_bins
22,599
LDU_FT/edx/i18n-tools/retag_string
LDU_FT
[ "<BEGIN>\n## `default_config_filename`", "Returns the default name of the configuration file.\n<END>", "<BEGIN>\n## `read_config`", "Returns data found in config file (as dict), or raises exception if file not found\n<END>", "<BEGIN>\n## `rtl_langs`", "Returns the set of translated RTL language codes pres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retag_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retag_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
substitutes each tag back into string, into occurrences of <0>, <1> etc
"substitutes each tag back into string, into occurrences of <0>, <1> etc"
117
false
edx/i18n-tools
retag_string
22,600
LDU_FT/libvips/pyvips/to_enum
LDU_FT
[ "<BEGIN>\n## `print_all`", "Print all objects.", " Print a table of all active libvips objects. Handy for debugging.\n<END>", "<BEGIN>\n## `get_typeof`", "Get the GType of a GObject property.", " This function returns 0 if the property does not exist.\n<END>", "<BEGIN>\n## `get`", "Get a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_enum API. 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 to_enum API. 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...
Turn a string into an enum value ready to be passed into libvips.
"Turn a string into an enum value ready to be passed into libvips."
73
false
libvips/pyvips
to_enum
22,601
LDU_FT/mbj4668/pyang/p_abbrev_rel_loc_path
LDU_FT
[ "<BEGIN>\n## `emit`", "Main control function.", " Set up the top-level parts of the stylesheet, then process\n recursively all nodes in all data trees, and finally emit the\n serialized stylesheet.\n<END>", "<BEGIN>\n## `process_module`", "Process data nodes, RPCs and notifications in a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_abbrev_rel_loc_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_abbrev_rel_loc_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
AbbreviatedRelativeLocationPath : RelativeLocationPath DOUBLESLASH Step
"AbbreviatedRelativeLocationPath : RelativeLocationPath DOUBLESLASH Step"
291
false
mbj4668/pyang
p_abbrev_rel_loc_path
22,602
LDU_FT/tBaxter/python-card-me/getLogicalLines
LDU_FT
[ "<BEGIN>\n## `dateTimeToString`", "Ignore tzinfo unless convertToUTC. Output string.\n<END>", "<BEGIN>\n## `getrruleset`", "Get an rruleset created from self.", " If addRDate is True, add an RDATE for dtstart if it's not included in\n an RRULE, and count is decremented if it exists.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getLogicalLines API. 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 getLogicalLines API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Iterate through a stream, yielding one logical line at a time. Because many applications still use vCard 2.1, we have to deal with the quoted-printable encoding for long lines, as well as the vCard 3.0 and vCalendar line folding technique, a whitespace character at the start of the line. Quoted-pr...
"Iterate through a stream, yielding one logical line at a time.\n\n Because many applications still use vCard 2.1, we have to deal with the\n quoted-printable encoding for long lines, as well as the vCard 3.0 and\n vCalendar line folding technique, a whitespace character at the start\n of the line.\n\n Q...
30
false
tBaxter/python-card-me
getLogicalLines
22,603
LDU_FT/marvin-ai/marvin-python-toolbox/get
LDU_FT
[ "<BEGIN>\n## `get_logger`", "Build a logger that outputs to a file and to the console,\n<END>", "<BEGIN>\n## `get`", "Retrieves a config value from dict.\n If not found twrows an InvalidScanbooconfigException.\n<END>", "<BEGIN>\n## `_get_version`", "Return the project version from VERSION file.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Retrieves a config value from dict. If not found twrows an InvalidScanbooconfigException.
"Retrieves a config value from dict.\n If not found twrows an InvalidScanbooconfigException."
37
false
marvin-ai/marvin-python-toolbox
get
22,604
LDU_FT/unfoldingWord-dev/tx-shared-tools/unzip
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 unzip API. 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 unzip API. 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...
Unzips <source_file> into <destination_dir>. :param str|unicode source_file: The name of the file to read :param str|unicode destination_dir: The name of the directory to write the unzipped files
"Unzips <source_file> into <destination_dir>.\n :param str|unicode source_file: The name of the file to read\n :param str|unicode destination_dir: The name of the directory to write the unzipped files"
20
false
unfoldingWord-dev/tx-shared-tools
unzip
22,605
LDU_FT/azogue/i2csense/_take_forced_measurement
LDU_FT
[ "<BEGIN>\n## `_compensate_temperature`", "Compensate temperature.", " Formula from datasheet Bosch BME280 Environmental sensor.\n 8.1 Compensation formulas in double precision floating point\n Edition BST-BME280-DS001-10 | Revision 1.1 | May 2015\n<END>", "<BEGIN>\n## `_compensate_pressur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _take_forced_measurement 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 _take_forced_measurement API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Take a forced measurement. In forced mode, the BME sensor goes back to sleep after each measurement and we need to set it to forced mode once at this point, so it will take the next measurement and then return to sleep again. In normal mode simply does new measurements periodically.
"Take a forced measurement.\n\n In forced mode, the BME sensor goes back to sleep after each\n measurement and we need to set it to forced mode once at this point,\n so it will take the next measurement and then return to sleep again.\n In normal mode simply does new measurements periodicall...
35
false
azogue/i2csense
_take_forced_measurement
22,606
LDU_FT/gdestuynder/simple_bugzilla/_get
LDU_FT
[ "<BEGIN>\n## `quick_search`", "Wrapper for search_bugs, for simple string searches\n<END>", "<BEGIN>\n## `search_bugs`", "http://bugzilla.readthedocs.org/en/latest/api/core/v1/bug.html#search-bugs\n terms = [{'product': 'Infrastructure & Operations'}, {'status': 'NEW'}]\n<END>", "<BEGIN>\n## `put_att...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Generic GET wrapper including the api_key
"Generic GET wrapper including the api_key"
18
false
gdestuynder/simple_bugzilla
_get
22,607
LDU_FT/cocaine/cocaine-tools/access_storage_rm
LDU_FT
[ "<BEGIN>\n## `reelect_app`", "tries to connect to the same app on differnet host from dist-info\n<END>", "<BEGIN>\n## `expr`", "expr ::= term ((AND | OR) term)*\n term ::= factor ((EQ | NE) factor)*\n factor ::= func | const | LPAREN expr RPAREN\n func ::= lit LPAREN expr (,expr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access_storage_rm API. 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 access_storage_rm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Remove ACL for the specified collection. If none is specified - removes ACL for all collections.
"Remove ACL for the specified collection.\n\n If none is specified - removes ACL for all collections."
127
false
cocaine/cocaine-tools
access_storage_rm
22,608
LDU_FT/astropy/astropy-healpix/interpolate_bilinear_lonlat
LDU_FT
[ "<BEGIN>\n## `healpix_to_lonlat`", "Convert HEALPix indices (optionally with offsets) to longitudes/latitudes", " Parameters\n ----------\n healpix_index : `~numpy.ndarray`\n 1-D array of HEALPix indices\n dx, dy : `~numpy.ndarray`, optional\n 1-D arrays of offs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate_bilinear_lonlat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate_bilinear_lonlat API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Interpolate values at specific longitudes/latitudes using bilinear interpolation If a position does not have four neighbours, this currently returns NaN. Parameters ---------- lon, lat : :class:`~astropy.units.Quantity` The longitude and latitude values as :class:`~astropy....
"Interpolate values at specific longitudes/latitudes using bilinear interpolation\n\n If a position does not have four neighbours, this currently returns NaN.\n\n Parameters\n ----------\n lon, lat : :class:`~astropy.units.Quantity`\n The longitude and latitude values as :class:`~...
177
false
astropy/astropy-healpix
interpolate_bilinear_lonlat
22,609
LDU_FT/tensorflow/cleverhans/_extract_submission
LDU_FT
[ "<BEGIN>\n## `model_loss`", "Define loss of TF graph\n :param y: correct labels\n :param model: output of the model\n :param mean: boolean indicating whether should return mean of loss\n or vector of losses for each input of the batch\n :return: return mean of loss if True, otherwise return vect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_submission 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 _extract_submission 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...
Extracts submission and moves it into self._extracted_submission_dir.
"Extracts submission and moves it into self._extracted_submission_dir."
1,050
true
tensorflow/cleverhans
_extract_submission
22,610
LDU_FT/csaez/wishlib/auto_update
LDU_FT
[ "<BEGIN>\n## `inside_softimage`", "Returns a boolean indicating if the code is executed inside softimage.\n<END>", "<BEGIN>\n## `auto_update`", "This class method could be used as decorator on subclasses, it ensures\n update method is called after function execution.\n<END>", "<BEGIN>\n## `update`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
This class method could be used as decorator on subclasses, it ensures update method is called after function execution.
"This class method could be used as decorator on subclasses, it ensures\n update method is called after function execution."
22
false
csaez/wishlib
auto_update
22,611
LDU_FT/escalant3/pyblueprints/createManualIndex
LDU_FT
[ "<BEGIN>\n## `addVertex`", "Add param declared for compability with the API. Neo4j\n creates the id automatically\n @params _id: Node unique identifier", " @returns The created Vertex or None\n<END>", "<BEGIN>\n## `getVertex`", "Retrieves an existing vertex from the graph\n @para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createManualIndex API. 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 createManualIndex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Creates an index manually managed @params name: The index name @params indexClass: vertex or edge @returns The created Index
"Creates an index manually managed\n @params name: The index name\n @params indexClass: vertex or edge\n\n @returns The created Index"
36
false
escalant3/pyblueprints
createManualIndex
22,612
LDU_FT/KelSolaar/Oncilla/main
LDU_FT
[ "<BEGIN>\n## `reStructuredText_to_html`", "Outputs a reStructuredText file to html.", " :param input: Input reStructuredText file to convert.\n :type input: unicode\n :param output: Output html file.\n :type output: unicode\n :param css_file: Css file.\n :type css_file: unicode\n :return: D...
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...
Starts the Application. :return: Definition success. :rtype: bool
"Starts the Application.\n\n :return: Definition success.\n :rtype: bool"
33
false
KelSolaar/Oncilla
main
22,613
LDU_FT/KrzyHonk/bpmn-python/export_xml_file_no_di
LDU_FT
[ "<BEGIN>\n## `load_diagram_from_csv`", "Reads an CSV file from given filepath and maps it into inner representation of BPMN diagram.\n Returns an instance of BPMNDiagramGraph class.", " :param filepath: string with output filepath,\n :param bpmn_diagram: an instance of BpmnDiagramGraph clas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_xml_file_no_di 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 export_xml_file_no_di API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Exports diagram inner graph to BPMN 2.0 XML file (without Diagram Interchange data). :param directory: string representing output directory, :param filename: string representing output file name, :param bpmn_diagram: BPMNDiagramGraph class instance representing a BPMN process diagram.
"Exports diagram inner graph to BPMN 2.0 XML file (without Diagram Interchange data).\n\n :param directory: string representing output directory,\n :param filename: string representing output file name,\n :param bpmn_diagram: BPMNDiagramGraph class instance representing a BPMN process diagram."
368
false
KrzyHonk/bpmn-python
export_xml_file_no_di
22,614
LDU_FT/harmsm/PyCmdMessenger/send
LDU_FT
[ "<BEGIN>\n## `send`", "Send a command (which may or may not have associated arguments) to an \n arduino using the CmdMessage protocol. The command and any parameters\n should be passed as direct arguments to send. ", " arg_formats is an optional string that specifies the formats to use fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send a command (which may or may not have associated arguments) to an arduino using the CmdMessage protocol. The command and any parameters should be passed as direct arguments to send. arg_formats is an optional string that specifies the formats to use for each argument when passed...
"Send a command (which may or may not have associated arguments) to an \n arduino using the CmdMessage protocol. The command and any parameters\n should be passed as direct arguments to send. \n\n arg_formats is an optional string that specifies the formats to use for\n each argument when ...
33
false
harmsm/PyCmdMessenger
send
22,615
LDU_FT/locationlabs/mockredis/_import_lua_dependencies
LDU_FT
[ "<BEGIN>\n## `_execute_lua`", "Sets KEYS and ARGV alongwith redis.call() function in lua globals\n and executes the lua redis script\n<END>", "<BEGIN>\n## `_import_lua`", "Import lua and dependencies.", " :param load_dependencies: should Lua library dependencies be loaded?\n :raises: Ru...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _import_lua_dependencies 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 _import_lua_dependencies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Imports lua dependencies that are supported by redis lua scripts. The current implementation is fragile to the target platform and lua version and may be disabled if these imports are not needed. Included: - cjson lib. Pending: - base lib. - table li...
"Imports lua dependencies that are supported by redis lua scripts.\n\n The current implementation is fragile to the target platform and lua version\n and may be disabled if these imports are not needed.\n\n Included:\n - cjson lib.\n Pending:\n - base lib.\n ...
76
false
locationlabs/mockredis
_import_lua_dependencies
22,616
LDU_FT/simpleenergy/env-excavator/env_int
LDU_FT
[ "<BEGIN>\n## `env_int`", "Pulls an environment variable out of the environment and casts it to an\n integer. If the name is not present in the environment and no default is\n specified then a ``ValueError`` will be raised. Similarly, if the\n environment value is not castable to an integer, a ``ValueErro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_int API. 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 env_int API. 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...
Pulls an environment variable out of the environment and casts it to an integer. If the name is not present in the environment and no default is specified then a ``ValueError`` will be raised. Similarly, if the environment value is not castable to an integer, a ``ValueError`` will be raised. :param...
"Pulls an environment variable out of the environment and casts it to an\n integer. If the name is not present in the environment and no default is\n specified then a ``ValueError`` will be raised. Similarly, if the\n environment value is not castable to an integer, a ``ValueError`` will be\n raised.\n\n ...
45
false
simpleenergy/env-excavator
env_int
22,617
LDU_FT/pygobject/pgi/child_set
LDU_FT
[ "<BEGIN>\n## `get_backend`", "Returns the backend by name or raises KeyError\n<END>", "<BEGIN>\n## `set_backend`", "Set a prefered ffi backend (cffi, ctypes).", " set_backend() -- default\n set_backend(\"cffi\") -- cffi first, others as fallback\n set_backend(\"ctypes\") -- ctypes first, others as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Set a child properties on the given child to key/value pairs.
"Set a child properties on the given child to key/value pairs."
363
false
pygobject/pgi
child_set
22,618
LDU_FT/T-002/pycast/flatten
LDU_FT
[ "<BEGIN>\n## `local_error`", "Calculates the error between the two given values.", " :param list originalValue: List containing the values of the original data.\n :param list calculatedValue: List containing the values of the calculated TimeSeries that\n corresponds to originalVal...
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...
If the current Matrix consists of Blockmatrixes as elementes method flattens the Matrix into one Matrix only consisting of the 2nd level elements [[[1 2] [[3 4] to [[1 2 3 4] [5 6]] [7 8]]] [5 6 7 8]]
"If the current Matrix consists of Blockmatrixes as elementes method\n flattens the Matrix into one Matrix only consisting of the 2nd level\n elements\n\n [[[1 2] [[3 4] to [[1 2 3 4]\n [5 6]] [7 8]]] [5 6 7 8]]"
338
false
T-002/pycast
flatten
22,619
LDU_FT/shaypal5/utilp/mro
LDU_FT
[ "<BEGIN>\n## `is_pathname_valid`", "Checks if the given path name is valid.", " Returns\n -------\n `True` if the passed pathname is a valid pathname for the current OS;\n `False` otherwise.\n<END>", "<BEGIN>\n## `is_path_creatable`", "Checks whether the given path is creatable.", " Returns...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mro API. 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 mro API. 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...
Calculate the Method Resolution Order of bases using the C3 algorithm. Suppose you intended creating a class K with the given base classes. This function returns the MRO which K would have, *excluding* K itself (since it doesn't yet exist), as if you had actually created the class. Another way of look...
"Calculate the Method Resolution Order of bases using the C3 algorithm.\n\n Suppose you intended creating a class K with the given base classes. This\n function returns the MRO which K would have, *excluding* K itself (since\n it doesn't yet exist), as if you had actually created the class.\n\n Another way ...
30
false
shaypal5/utilp
mro
22,620
LDU_FT/hvac/hvac/generate_data_key
LDU_FT
[ "<BEGIN>\n## `read_init_status`", "Read the initialization status of Vault.", " Supported methods:\n GET: /sys/init. Produces: 200 application/json", " :return: The JSON response of the request.\n :rtype: dict\n<END>", "<BEGIN>\n## `initialize`", "Initialize a new Vault.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_data_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_data_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Generates a new high-entropy key and the value encrypted with the named key. Optionally return the plaintext of the key as well. Whether plaintext is returned depends on the path; as a result, you can use Vault ACL policies to control whether a user is allowed to retrieve the plaintext value of a ...
"Generates a new high-entropy key and the value encrypted with the named key.\n\n Optionally return the plaintext of the key as well. Whether plaintext is returned depends on the path; as a\n result, you can use Vault ACL policies to control whether a user is allowed to retrieve the plaintext value of a\n...
856
false
hvac/hvac
generate_data_key
22,621
LDU_FT/fulfilio/fulfil-python-api/filter_by_domain
LDU_FT
[ "<BEGIN>\n## `refresh_context`", "Get the default context of the user and save it\n<END>", "<BEGIN>\n## `login`", "Attempts a login to the remote server\n and on success returns user id and session\n or None", " Warning: Do not depend on this. This will be deprecated\n with SSO."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_domain API. 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 filter_by_domain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Apply the given domain to a copy of this query
"Apply the given domain to a copy of this query"
79
false
fulfilio/fulfil-python-api
filter_by_domain
22,622
LDU_FT/ArabellaTech/django-basic-cms/validate_pages_json_data
LDU_FT
[ "<BEGIN>\n## `move_page`", "Move the page to the requested target, at the given\n position.\n<END>", "<BEGIN>\n## `sub_menu`", "Render the children of the requested page with the sub_menu\n template.\n<END>", "<BEGIN>\n## `parse_placeholder`", "Parse the `PlaceholderNode` parameters.", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_pages_json_data 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 validate_pages_json_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Check if an import of d will succeed, and return errors. errors is a list of strings. The import should proceed only if errors is empty.
"Check if an import of d will succeed, and return errors.\n\n errors is a list of strings. The import should proceed only if errors\n is empty."
91
false
ArabellaTech/django-basic-cms
validate_pages_json_data
22,623
LDU_FT/mediawiki-utilities/python-mwreverts/initialize
LDU_FT
[ "<BEGIN>\n## `revdocs2reverts`", "Converts a sequence of page-partitioned revision documents into a sequence\n of reverts.", " :Params:\n rev_docs : `iterable` ( `dict` )\n a page-partitioned sequence of revision documents\n radius : `int`\n The maximum number of revisi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API. 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 initialize API. 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...
size specifies the maximum amount of history to keep
"size specifies the maximum amount of history to keep"
47
false
mediawiki-utilities/python-mwreverts
initialize
22,624
LDU_FT/shi-cong/PYSTUDY/log
LDU_FT
[ "<BEGIN>\n## `add_view`", "增加handler\n :param view_name: 路由\n :param handler: 处理类\n :return:\n<END>", "<BEGIN>\n## `start`", "启动服务器\n :param port: 端口号\n :return:\n<END>", "<BEGIN>\n## `create_process`", "创建进程\n :param daemon: True主进程关闭而关闭, False主进程必须等待子进程结束\n :para...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API. 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 log API. 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...
打印或写日志 :params message: 要打印或要写的日志
"打印或写日志\n :params message: 要打印或要写的日志"
91
false
shi-cong/PYSTUDY
log
22,625
LDU_FT/shaunduncan/helga-facts/term_regex
LDU_FT
[ "<BEGIN>\n## `term_regex`", "Returns a case-insensitive regex for searching terms\n<END>", "<BEGIN>\n## `show_fact`", "Shows a fact stored for a given term, using a case-insensitive search.\n If a fact has an author, it will be shown. If it has a timestamp, that will\n also be shown.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the term_regex API. 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 term_regex API. 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...
Returns a case-insensitive regex for searching terms
"Returns a case-insensitive regex for searching terms"
21
false
shaunduncan/helga-facts
term_regex
22,626
LDU_FT/nchopin/particles/_twofilter_smoothing_ON2
LDU_FT
[ "<BEGIN>\n## `all_distinct`", "Returns the list [l[i] for i in idx] \n When needed, objects l[i] are replaced by a copy, to make sure that\n the elements of the list are all distinct", " Parameters\n ---------\n l: iterable\n idx: iterable that generates ints (e.g. ndarray of ints)", " Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _twofilter_smoothing_ON2 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 _twofilter_smoothing_ON2 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
O(N^2) version of two-filter smoothing. This method should not be called directly, see twofilter_smoothing.
"O(N^2) version of two-filter smoothing. \n\n This method should not be called directly, see twofilter_smoothing."
249
false
nchopin/particles
_twofilter_smoothing_ON2
22,627
LDU_FT/yahoo/TensorFlowOnSpark/start_cluster_server
LDU_FT
[ "<BEGIN>\n## `start`", "Create a new multiprocess.Manager (or return existing one).", " Args:\n :authkey: string authorization key\n :queues: *INTERNAL_USE*\n :mode: 'local' indicates that the manager will only be accessible from the same host, otherwise remotely accessible.", " Returns:\n A TFM...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_cluster_server 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 start_cluster_server API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Function that wraps the creation of TensorFlow ``tf.train.Server`` for a node in a distributed TensorFlow cluster. This is intended to be invoked from within the TF ``map_fun``, replacing explicit code to instantiate ``tf.train.ClusterSpec`` and ``tf.train.Server`` objects. Args: :ctx: TFNodeContext contain...
"Function that wraps the creation of TensorFlow ``tf.train.Server`` for a node in a distributed TensorFlow cluster.\n\n This is intended to be invoked from within the TF ``map_fun``, replacing explicit code to instantiate ``tf.train.ClusterSpec``\n and ``tf.train.Server`` objects.\n\n Args:\n :ctx: TFNodeContext ...
483
false
yahoo/TensorFlowOnSpark
start_cluster_server
22,628
LDU_FT/genepattern/genepattern-python/validate
LDU_FT
[ "<BEGIN>\n## `GCT`", "Create a Dataframe with the contents of the GCT file\n<END>", "<BEGIN>\n## `ODF`", "Create a Dataframe with the contents of the ODF file", " For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide", " :o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Validates an LSID with the LSID authority. :param lsid: :return: boolean - is the LSID valid with this authority?
"Validates an LSID with the LSID authority.\n :param lsid:\n :return: boolean - is the LSID valid with this authority?"
156
false
genepattern/genepattern-python
validate
22,629
LDU_FT/Cymmetria/honeycomb/register_integration
LDU_FT
[ "<BEGIN>\n## `config_field_type`", "Validate a config field against a type.", " Similar functionality to :func:`validate_field_matches_type` but returns :obj:`honeycomb.defs.ConfigField`\n<END>", "<BEGIN>\n## `validate_config`", "Validate a JSON file configuration against list of :obj:`honeycomb.defs.Con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_integration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_integration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Register a honeycomb integration. :param package_folder: Path to folder with integration to load :returns: Validated integration object :rtype: :func:`honeycomb.utils.defs.Integration`
"Register a honeycomb integration.\n\n :param package_folder: Path to folder with integration to load\n :returns: Validated integration object\n :rtype: :func:`honeycomb.utils.defs.Integration`"
90
false
Cymmetria/honeycomb
register_integration
22,630
LDU_FT/MoseleyBioinformaticsLab/ctfile/read_files
LDU_FT
[ "<BEGIN>\n## `tokenizer`", "A lexical analyzer for the `CTfile` formatted files.", " :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>", "<BEGIN>\n## `_molfile`", "Process ``Molfile``.", " :param stream: Queue containing li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_files API. 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 read_files API. 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...
Read multiple ``CTfile`` formatted files. :param str path: Path to ``CTfile``. :return: Subclass of :class:`~ctfile.ctfile.CTfile`. :rtype: :class:`~ctfile.ctfile.CTfile`
"Read multiple ``CTfile`` formatted files.\n \n :param str path: Path to ``CTfile``. \n :return: Subclass of :class:`~ctfile.ctfile.CTfile`.\n :rtype: :class:`~ctfile.ctfile.CTfile`"
93
false
MoseleyBioinformaticsLab/ctfile
read_files
22,631
LDU_FT/defunkt/pystache/_find_path
LDU_FT
[ "<BEGIN>\n## `render`", "Return the given template string rendered using the given context.\n<END>", "<BEGIN>\n## `_get_value`", "Retrieve a key's value from a context item.", " Returns _NOT_FOUND if the key does not exist.", " The ContextStack.get() docstring documents this function's intended beha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Search for the given file, and return the path. Returns None if the file is not found.
"Search for the given file, and return the path.\n\n Returns None if the file is not found."
177
false
defunkt/pystache
_find_path
22,632
LDU_FT/ensime/ensime-vim/tick_clients
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tick_clients API. 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 tick_clients API. 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...
Trigger the periodic tick function in the client.
"Trigger the periodic tick function in the client."
150
false
ensime/ensime-vim
tick_clients
22,633
LDU_FT/storax/jinjaapidoc/recurse_tree
LDU_FT
[ "<BEGIN>\n## `prepare_dir`", "Create apidoc dir, delete contents if delete is True.", " :param app: the sphinx app\n :type app: :class:`sphinx.application.Sphinx`\n :param directory: the apidoc directory. you can use relative paths here\n :type directory: str\n :param delete: if True, deletes the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recurse_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recurse_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Look for every file in the directory tree and create the corresponding ReST files. :param app: the sphinx app :type app: :class:`sphinx.application.Sphinx` :param env: the jinja environment :type env: :class:`jinja2.Environment` :param src: the path to the python source files :type src: :cl...
"Look for every file in the directory tree and create the corresponding\n ReST files.\n\n :param app: the sphinx app\n :type app: :class:`sphinx.application.Sphinx`\n :param env: the jinja environment\n :type env: :class:`jinja2.Environment`\n :param src: the path to the python source files\n :type...
58
false
storax/jinjaapidoc
recurse_tree
22,634
LDU_FT/mrstephenneal/dirutility/sprinter
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 sprinter API. 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 sprinter API. 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...
Called when parallelize is True. This function will generate the file names in a directory tree by adding directories to a Queue and continuously exploring directories in the Queue until Queue is emptied. Significantly faster than crawler method for larger directory trees.
"Called when parallelize is True.\n This function will generate the file names in a directory tree by adding directories to a Queue and\n continuously exploring directories in the Queue until Queue is emptied.\n Significantly faster than crawler method for larger directory trees."
92
false
mrstephenneal/dirutility
sprinter
22,635
LDU_FT/pmacosta/pexdoc/_process_exlist
LDU_FT
[ "<BEGIN>\n## `func`", "r\"\"\"\n Print your name.", " :param name: Name to print\n :type name: string", " .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>", "<BEGIN>\n## `get_function_args`", "Return tuple of the function argument names in the order of the fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_exlist API. 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 _process_exlist API. 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...
Remove raised info from exception message and create separate list for it.
"Remove raised info from exception message and create separate list for it."
220
false
pmacosta/pexdoc
_process_exlist
22,636
LDU_FT/romanorac/discomll/random_init_map
LDU_FT
[ "<BEGIN>\n## `random_init_map`", "Assign datapoint `e` randomly to one of the `k` clusters.\n<END>", "<BEGIN>\n## `estimate_map`", "Find the cluster `i` that is closest to the datapoint `e`.\n<END>", "<BEGIN>\n## `estimate_reduce`", "Estimate the cluster centers for each cluster.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_init_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_init_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Assign datapoint `e` randomly to one of the `k` clusters.
"Assign datapoint `e` randomly to one of the `k` clusters."
77
false
romanorac/discomll
random_init_map
22,637
LDU_FT/jacobtomlinson/datapoint-python/get_forecast_sites
LDU_FT
[ "<BEGIN>\n## `connection`", "Connect to DataPoint with the given API key profile name.\n<END>", "<BEGIN>\n## `elements`", "Return a list of the elements which are not None\n<END>", "<BEGIN>\n## `__retry_session`", "Retry the connection using requests if it fails. Use this as a wrapper\n to request ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_forecast_sites 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_forecast_sites 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...
This function returns a list of Site object.
"This function returns a list of Site object."
39
false
jacobtomlinson/datapoint-python
get_forecast_sites
22,638
LDU_FT/etobella/python-xmlsig/canonicalization
LDU_FT
[ "<BEGIN>\n## `sign`", "Signs a Signature node\n :param node: Signature node \n :type node: lxml.etree.Element\n :return: None\n<END>", "<BEGIN>\n## `fill_key_info`", "Fills the KeyInfo node\n :param key_info: KeyInfo node \n :type key_info: lxml.etree.Element\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonicalization API. 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 canonicalization API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Canonicalizes a node following the method :param method: Method identification :type method: str :param node: object to canonicalize :type node: str :return: Canonicalized node in a String
"Canonicalizes a node following the method\n :param method: Method identification\n :type method: str\n :param node: object to canonicalize\n :type node: str\n :return: Canonicalized node in a String"
36
false
etobella/python-xmlsig
canonicalization
22,639
LDU_FT/aiven/pghoard/fetch_timeline_history_files
LDU_FT
[ "<BEGIN>\n## `atomic_create_file`", "Open a temporary file for writing, rename to final name when done\n<END>", "<BEGIN>\n## `_stream_blob`", "Streams contents of given key to given fileobj. Data is read sequentially in chunks\n without any seeks. This requires duplicating some functionality of the Azu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_timeline_history_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_timeline_history_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Copy all timeline history files found on the server without checking if we have them or not. The history files are very small so reuploading them should not matter.
"Copy all timeline history files found on the server without\n checking if we have them or not. The history files are very small\n so reuploading them should not matter."
66
false
aiven/pghoard
fetch_timeline_history_files
22,640
LDU_FT/Mxit/python-mxit/get_avatar
LDU_FT
[ "<BEGIN>\n## `send_message`", "Send a message (from a Mxit app) to a list of Mxit users\n<END>", "<BEGIN>\n## `send_user_to_user_message`", "Send a message (from a Mxit user) to a list of Mxit users\n<END>", "<BEGIN>\n## `get_user_id`", "Retrieve the Mxit user's internal \"user ID\"\n No user authe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_avatar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_avatar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Retrieve the Mxit user's avatar No user authentication required
"Retrieve the Mxit user's avatar\n No user authentication required"
58
false
Mxit/python-mxit
get_avatar
22,641
LDU_FT/conchoecia/gloTK/add_openmp
LDU_FT
[ "<BEGIN>\n## `meraculous_runner`", "Check to make sure that the allAssembliesDir has been created, if not,\n make it. This will only execute for the first time an assembly has been\n run in this directory.", " Run the directory from allAssembliesDir. The self.callString instance\n at...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_openmp API. 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 add_openmp API. 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...
Indicates that this wrapper should use OpenMP by setting the $OMP_NUM_THREADS environment variable equal to the number of threads specified in the BioLite configuration file.
"Indicates that this wrapper should use OpenMP by setting the\n\t\t$OMP_NUM_THREADS environment variable equal to the number of threads\n\t\tspecified in the BioLite configuration file."
73
false
conchoecia/gloTK
add_openmp
22,642
LDU_FT/Robpol86/terminaltables/build_row
LDU_FT
[ "<BEGIN>\n## `combine`", "Zip borders between items in `line`.", " e.g. ('l', '1', 'c', '2', 'c', '3', 'r')", " :param iter line: List to iterate.\n :param left: Left border.\n :param intersect: Column separator.\n :param right: Right border.", " :return: Yields combined objects.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_row API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_row API. 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...
Combine single or multi-lined cells into a single row of list of lists including borders. Row must already be padded and extended so each cell has the same number of lines. Example return value: [ ['>', 'Left ', '|', 'Center', '|', 'Right', '<'], ['>', 'Cell1', '|', 'Cell2 ', '|', 'Cell3',...
"Combine single or multi-lined cells into a single row of list of lists including borders.\n\n Row must already be padded and extended so each cell has the same number of lines.\n\n Example return value:\n [\n ['>', 'Left ', '|', 'Center', '|', 'Right', '<'],\n ['>', 'Cell1', '|', 'Cell2 ', '|', ...
88
false
Robpol86/terminaltables
build_row
22,643
LDU_FT/Aula13/poloniex/returnTradeHistoryPublic
LDU_FT
[ "<BEGIN>\n## `clear`", "Release the semaphore of all of its bounds, setting the internal\n counter back to its original bind limit. Notify an equivalent amount\n of threads that they can run.\n<END>", "<BEGIN>\n## `_api_wrapper`", "API function decorator that performs rate limiting and error che...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the returnTradeHistoryPublic 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 returnTradeHistoryPublic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns the past 200 trades for a given market, or up to 50,000 trades between a range specified in UNIX timestamps by the "start" and "end" GET parameters.
"Returns the past 200 trades for a given market, or up to 50,000\n trades between a range specified in UNIX timestamps by the \"start\"\n and \"end\" GET parameters."
37
false
Aula13/poloniex
returnTradeHistoryPublic
22,644
LDU_FT/grabbles/grabbit/build_path
LDU_FT
[ "<BEGIN>\n## `merge_layouts`", "Utility function for merging multiple layouts.", " Args:\n layouts (list): A list of BIDSLayout instances to merge.\n Returns:\n A BIDSLayout containing merged files and entities.\n Notes:\n Layouts will be merged in the order of the elements in the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Constructs a path given a set of entities and a list of potential filename patterns to use. Args: entities (dict): A dictionary mapping entity names to entity values. path_patterns (str, list): One or more filename patterns to write the file to. Entities should be represented by the...
"Constructs a path given a set of entities and a list of potential\n filename patterns to use.\n\n Args:\n entities (dict): A dictionary mapping entity names to entity values.\n path_patterns (str, list): One or more filename patterns to write\n the file to. Entities should be represented...
60
false
grabbles/grabbit
build_path
22,645
LDU_FT/mapillary/mapillary_tools/verify_mapillary_tag
LDU_FT
[ "<BEGIN>\n## `convert_from_gps_time`", "Convert gps time in ticks to standard time.\n<END>", "<BEGIN>\n## `upload`", "Upload local images to Mapillary\n Args:\n import_path: Directory path to where the images are stored.\n verbose: Print extra warnings and errors.\n skip_subfolders: Sk...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_mapillary_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_mapillary_tag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Check that image file has the required Mapillary tag
"Check that image file has the required Mapillary tag"
96
false
mapillary/mapillary_tools
verify_mapillary_tag
22,646
LDU_FT/mromanello/hucitlib/add_abbreviation
LDU_FT
[ "<BEGIN>\n## `fetch_text_structure`", "Fetches the text structure of a given work from a CTS endpoint.", " :param urn: the work's CTS URN (at the work-level!,\n e.g.\"urn:cts:greekLit:tlg0012.tlg001\")\n :type urn: string\n :param endpoint: the URL of the CTS endpoint to use (defaults to Perseid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_abbreviation API. 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 add_abbreviation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Adds a new name variant to an author. :param new_abbreviation: the abbreviation to be added :return: `True` if the abbreviation is added, `False` otherwise (the abbreviation is a duplicate)
"Adds a new name variant to an author.\n\n :param new_abbreviation: the abbreviation to be added\n :return: `True` if the abbreviation is added, `False` otherwise (the abbreviation is a duplicate)"
73
false
mromanello/hucitlib
add_abbreviation
22,647
LDU_FT/PureStorage-OpenConnect/rest-client/eradicate_pgroup
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 eradicate_pgroup API. 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 eradicate_pgroup API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Eradicate a destroyed pgroup. :param pgroup: Name of pgroup to be eradicated. :type pgroup: str :param \*\*kwargs: See the REST API Guide on your array for the documentation on the request: **DELETE pgroup/:pgroup** :type \*\*kwargs:...
"Eradicate a destroyed pgroup.\n\n :param pgroup: Name of pgroup to be eradicated.\n :type pgroup: str\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n documentation on the request:\n **DELETE pgroup/:pgroup**\n :type \...
166
false
PureStorage-OpenConnect/rest-client
eradicate_pgroup
22,648
LDU_FT/fhcrc/nestly/write_summary
LDU_FT
[ "<BEGIN>\n## `_delim_accum`", "Accumulator for delimited files", " Combines each file with values from JSON dictionary in same directory", " :param iterable control_files: Iterable of control files\n :param filename_template: A template for the file to nest_map\n :param keys: List of keys to selec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_summary API. 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 write_summary API. 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...
Write a summary of all run processes to summary_file in tab-delimited format.
"Write a summary of all run processes to summary_file in tab-delimited\n format."
73
false
fhcrc/nestly
write_summary
22,649
LDU_FT/ionelmc/python-hunter/Q
LDU_FT
[ "<BEGIN>\n## `trace`", "Starts tracing with the given callable.", " Args:\n predicate (callable that accepts a single :obj:`hunter.Event` argument):\n Return:\n self\n<END>", "<BEGIN>\n## `stop`", "Stop tracing. Reinstalls the :ref:`hunter.Tracer.previous` tracer.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Q API. 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 docum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Q API. 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 docum...
Handles situations where :class:`hunter.Query` objects (or other callables) are passed in as positional arguments. Conveniently converts that to an :class:`hunter.And` predicate.
"Handles situations where :class:`hunter.Query` objects (or other callables) are passed in as positional arguments.\n Conveniently converts that to an :class:`hunter.And` predicate."
45
false
ionelmc/python-hunter
Q
22,650
LDU_FT/jleinonen/pytmatrix/radar_xsect
LDU_FT
[ "<BEGIN>\n## `get_SZ`", "Compute the scattering matrices for the given PSD and geometries.", " Returns:\n The new amplitude (S) and phase (Z) matrices.\n<END>", "<BEGIN>\n## `init_scatter_table`", "Initialize the scattering lookup tables.", " Initialize the scattering lookup table...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the radar_xsect API. 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 radar_xsect API. 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...
Radar cross section for the current setup. Args: scatterer: a Scatterer instance. h_pol: If True (default), use horizontal polarization. If False, use vertical polarization. Returns: The radar cross section.
"Radar cross section for the current setup. \n\n Args:\n scatterer: a Scatterer instance.\n h_pol: If True (default), use horizontal polarization.\n If False, use vertical polarization.\n\n Returns:\n The radar cross section."
115
false
jleinonen/pytmatrix
radar_xsect
22,651
LDU_FT/LIVVkit/LIVVkit/image
LDU_FT
[ "<BEGIN>\n## `run_suite`", "Run the full suite of verification tests\n<END>", "<BEGIN>\n## `_analyze_case`", "Runs all of the verification checks on a particular case\n<END>", "<BEGIN>\n## `_summarize_result`", "Trim out some data to return for the index page\n<END>", "<BEGIN>\n## `bit_for_bit`", "Che...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Builds an image element. Image elements are primarily created and then wrapped into an image gallery element. This is not required behavior, however and it's independent usage should be allowed depending on the behavior required. The Javascript will search for the `image_name` in the component's ...
"Builds an image element. Image elements are primarily created\n and then wrapped into an image gallery element. This is not required\n behavior, however and it's independent usage should be allowed depending\n on the behavior required.\n\n The Javascript will search for the `image_name` in the component'...
107
false
LIVVkit/LIVVkit
image
22,652
LDU_FT/heuer/segno/apply_mask
LDU_FT
[ "<BEGIN>\n## `make`", "\\\n Creates a (Micro) QR Code.", " This is main entry point to create QR Codes and Micro QR Codes.", " Aside from `content`, all parameters are optional and an optimal (minimal)\n (Micro) QR Code with a maximal error correction level (minimum \"M\") is\n generated.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_mask API. 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 apply_mask API. 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...
\ Applies the provided mask pattern on the `matrix`. ISO/IEC 18004:2015(E) -- 7.8.2 Data mask patterns (page 50) :param tuple matrix: A tuple of bytearrays :param mask_pattern: A mask pattern (a function) :param int matrix_size: width or height of the matrix :param is_encoding_region: A functi...
"\\\n Applies the provided mask pattern on the `matrix`.\n\n ISO/IEC 18004:2015(E) -- 7.8.2 Data mask patterns (page 50)\n\n :param tuple matrix: A tuple of bytearrays\n :param mask_pattern: A mask pattern (a function)\n :param int matrix_size: width or height of the matrix\n :param is_encoding_region...
436
false
heuer/segno
apply_mask
22,653
LDU_FT/cni/MRS/baseline_correct
LDU_FT
[ "<BEGIN>\n## `fetch_data`", "Downloads files to folder and checks their md5 checksums", " Parameters\n ----------\n files : dictionary\n For each file in `files` the value should be (url, md5). The file will\n be downloaded from url if the file does not already exist or if the\n fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the baseline_correct API. 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 baseline_correct API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This function zeroes the baseline from 2.5ppm upwards
"This function zeroes the baseline from 2.5ppm upwards"
328
false
cni/MRS
baseline_correct
22,654
LDU_FT/persephone-tools/persephone/make_data_splits
LDU_FT
[ "<BEGIN>\n## `handle_unhandled_exception`", "Handler for unhandled exceptions that will write to the logs\n<END>", "<BEGIN>\n## `write_transcriptions`", "Write the utterance transcriptions to files in the tgt_dir. Is lazy and\n checks if the file already exists.", " Args:\n utterances: A list o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_data_splits API. 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 make_data_splits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Splits the utterances into training, validation and test sets.
"Splits the utterances into training, validation and test sets."
219
false
persephone-tools/persephone
make_data_splits
22,655
LDU_FT/softwarefactory-project/rdopkg/get_patches_ignore_regex
LDU_FT
[ "<BEGIN>\n## `rdopkg_runner`", "default rdopkg action runner including rdopkg action modules\n<END>", "<BEGIN>\n## `rdopkg`", "rdopkg CLI interface", " Execute rdopkg action with specified arguments and return\n shell friendly exit code.", " This is the default high level way to interact with rdo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_patches_ignore_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_patches_ignore_regex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns a string representing a regex for filtering out patches This string is parsed from a comment in the specfile that contains the word filter-out followed by an equal sign. For example, a comment as such: # patches_ignore=(regex) would mean this method returns the str...
"Returns a string representing a regex for filtering out patches\n\n This string is parsed from a comment in the specfile that contains the\n word filter-out followed by an equal sign.\n\n For example, a comment as such:\n # patches_ignore=(regex)\n\n would mean this method return...
60
false
softwarefactory-project/rdopkg
get_patches_ignore_regex
22,656
LDU_FT/inveniosoftware/invenio-oauthclient/update_token
LDU_FT
[ "<BEGIN>\n## `response_token_setter`", "Extract token from response and set it for the user.", " :param remote: The remote application.\n :param resp: The response.\n :raises invenio_oauthclient.errors.OAuthClientError: If authorization with\n remote service failed.\n :raises invenio_oauthcli...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_token API. 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 update_token API. 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...
Update token with new values. :param token: The token value. :param secret: The secret key.
"Update token with new values.\n\n :param token: The token value.\n :param secret: The secret key."
147
false
inveniosoftware/invenio-oauthclient
update_token
22,657
LDU_FT/plizonczyk/noiseprotocol/split
LDU_FT
[ "<BEGIN>\n## `initialize_key`", ":param key: Key to set within CipherState\n<END>", "<BEGIN>\n## `encrypt_with_ad`", "If k is non-empty returns ENCRYPT(k, n++, ad, plaintext). Otherwise returns plaintext.\r", " :param ad: bytes sequence\r\n :param plaintext: bytes sequence\r\n :return: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API. 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 split API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns a pair of CipherState objects for encrypting/decrypting transport messages. :return: tuple (CipherState, CipherState)
"Returns a pair of CipherState objects for encrypting/decrypting transport messages.\r\n\r\n :return: tuple (CipherState, CipherState)"
35
false
plizonczyk/noiseprotocol
split
22,658
LDU_FT/mandiant/ioc_writer/parse
LDU_FT
[ "<BEGIN>\n## `get_embedded_yara`", "Extract YARA signatures embedded in Yara/Yara indicatorItem nodes.\n This is done regardless of logic structure in the OpenIOC.\n<END>", "<BEGIN>\n## `get_yara_condition_string`", "get_yara_condition_string", " input\n indicator_node: this is the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Parses a file into a lxml.etree structure with namespaces remove. This tree is added to self.iocs. :param fn: File to parse. :return:
"Parses a file into a lxml.etree structure with namespaces remove. This tree is added to self.iocs.\n\n :param fn: File to parse.\n :return:"
320
false
mandiant/ioc_writer
parse
22,659
LDU_FT/osrg/ryu/serialize_hdr
LDU_FT
[ "<BEGIN>\n## `update`", "Updates global configuration settings with given values.", " First checks if given configuration values differ from current values.\n If any of the configuration values changed, generates a change event.\n Currently we generate change event for any configuration cha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_hdr API. 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 serialize_hdr API. 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...
Serialization function for common part of authentication section.
"Serialization function for common part of authentication section."
1,172
true
osrg/ryu
serialize_hdr
22,660
LDU_FT/goldmann/docker-squash/_move_layers
LDU_FT
[ "<BEGIN>\n## `_validate_number_of_layers`", "Makes sure that the specified number of layers to squash\n is a valid number\n<END>", "<BEGIN>\n## `_prepare_tmp_directory`", "Creates temporary directory that is used to work on layers\n<END>", "<BEGIN>\n## `_layers_to_squash`", "Prepares a list of laye...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _move_layers API. 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 _move_layers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
This moves all the layers that should be copied as-is. In other words - all layers that are not meant to be squashed will be moved from the old image to the new image untouched.
"This moves all the layers that should be copied as-is.\n In other words - all layers that are not meant to be squashed will be\n moved from the old image to the new image untouched."
34
false
goldmann/docker-squash
_move_layers
22,661
LDU_FT/eugene-eeo/graphlite/traverse
LDU_FT
[ "<BEGIN>\n## `gen_query`", "Generate an SQL query for the edge object.\n<END>", "<BEGIN>\n## `derived`", "Returns a new query object set up correctly with\n the *statement* and *params* appended to the end\n of the new instance's internal query and params,\n along with the current instanc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traverse API. 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 traverse API. 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...
Traverse the graph, and selecting the destination nodes for a particular relation that the selected nodes are a source of, i.e. select the friends of my friends. You can traverse indefinitely. :param edge: The edge query. If the edge's destination node is specified then the ...
"Traverse the graph, and selecting the destination\n nodes for a particular relation that the selected\n nodes are a source of, i.e. select the friends of\n my friends. You can traverse indefinitely.\n\n :param edge: The edge query. If the edge's\n destination node is specified th...
19
false
eugene-eeo/graphlite
traverse
22,662
LDU_FT/SandstoneHPC/sandstone-ide/get
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to the server.\n :param str url: server URL.\n<END>", "<BEGIN>\n## `send`", "Send message to the server\n :param str data: message.\n<END>", "<BEGIN>\n## `initialize`", "Only try to parse as JSON if the JSON content type\n header is set.\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return details for the filesystem, including configured volumes.
"Return details for the filesystem, including configured volumes."
36
false
SandstoneHPC/sandstone-ide
get
22,663
LDU_FT/enkore/i3pystatus/open_browser
LDU_FT
[ "<BEGIN>\n## `init`", "Creates context, when context is ready context_notify_cb is called\n<END>", "<BEGIN>\n## `request_update`", "Requests a sink info update (sink_info_cb is called)\n<END>", "<BEGIN>\n## `server_info_cb`", "Retrieves the default sink and calls request_update\n<END>", "<BEGIN>\n## `co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_browser API. 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 open_browser API. 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...
Open the URL of SABnzbd inside a browser.
"Open the URL of SABnzbd inside a browser."
181
false
enkore/i3pystatus
open_browser
22,664
LDU_FT/3ll3d00d/vibe/completeMeasurement
LDU_FT
[ "<BEGIN>\n## `get`", "Analyses the measurement with the given parameters\n :param measurementId:\n :return:\n<END>", "<BEGIN>\n## `start`", "Initialises the device if required then enters a read loop taking data from the provider and passing it to the\n handler. It will continue until ei...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the completeMeasurement 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 completeMeasurement 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...
Completes the measurement session. :param deviceId: the device id. :param measurementId: the measurement id. :return: true if it was completed.
"Completes the measurement session.\n :param deviceId: the device id.\n :param measurementId: the measurement id.\n :return: true if it was completed."
240
false
3ll3d00d/vibe
completeMeasurement
22,665
LDU_FT/vovanec/httputil/read_body_stream
LDU_FT
[ "<BEGIN>\n## `_request`", "Perform asynchronous request.", " :param str url: request URL.\n :param str method: request method.\n :param dict headers: request headers.\n :param object data: JSON-encodable object.\n :param object -> object result_callback: result callback.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_body_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_body_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Read HTTP body stream, yielding blocks of bytes. De-chunk and de-compress data if needed. :param file stream: readable stream. :param bool chunked: whether stream is chunked. :param str|None compression: compression type is stream is compressed, otherwise None. :rtype: __generator[bytes...
"Read HTTP body stream, yielding blocks of bytes. De-chunk and\n de-compress data if needed.\n\n :param file stream: readable stream.\n :param bool chunked: whether stream is chunked.\n :param str|None compression: compression type is stream is\n compressed, otherwise None.\n\n :rtype: __genera...
49
false
vovanec/httputil
read_body_stream
22,666
LDU_FT/UUDigitalHumanitieslab/tei_reader/tostring
LDU_FT
[ "<BEGIN>\n## `tostring`", "Convert an element to a single string and allow the passed inject method to place content before any\n element.\n<END>", "<BEGIN>\n## `attributes`", "Contain attributes applicable to this element\n<END>", "<BEGIN>\n## `divisions`", "Recursively get all the text divisions ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tostring API. 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 tostring API. 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...
Convert an element to a single string and allow the passed inject method to place content before any element.
"Convert an element to a single string and allow the passed inject method to place content before any\n element."
14
false
UUDigitalHumanitieslab/tei_reader
tostring
22,667
LDU_FT/MartinThoma/mpu/s3_upload
LDU_FT
[ "<BEGIN>\n## `timing`", "Measure the execution time of a function call and print the result.\n<END>", "<BEGIN>\n## `deprecated`", "Mark functions as deprecated.", " It will result in a warning being emitted when the function is used.\n<END>", "<BEGIN>\n## `get_currency`", "Convert an identifier for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the s3_upload API. 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 s3_upload API. 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 a file from a local source to an S3 destination. Parameters ---------- source : str destination : str Path starting with s3://, e.g. 's3://bucket-name/key/foo.bar' profile_name : str, optional AWS profile
"Copy a file from a local source to an S3 destination.\n\n Parameters\n ----------\n source : str\n destination : str\n Path starting with s3://, e.g. 's3://bucket-name/key/foo.bar'\n profile_name : str, optional\n AWS profile"
255
false
MartinThoma/mpu
s3_upload
22,668
LDU_FT/RLBot/RLBot/update_rigid_body_tick
LDU_FT
[ "<BEGIN>\n## `configure_processes`", "This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.", " :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_rigid_body_tick API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_rigid_body_tick API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Get the most recent state of the physics engine.
"Get the most recent state of the physics engine."
181
false
RLBot/RLBot
update_rigid_body_tick
22,669
LDU_FT/boazmohar/pySparkUtils/executor_ips
LDU_FT
[ "<BEGIN>\n## `executor_ips`", "gets the unique ip addresses of the executors of the current application\r\n This uses the REST API of the status web UI on the driver (http://spark.apache.org/docs/latest/monitoring.html)\r", " :param sc: Spark context\r\n :return: set of ip addresses\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the executor_ips API. 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 executor_ips API. 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...
gets the unique ip addresses of the executors of the current application This uses the REST API of the status web UI on the driver (http://spark.apache.org/docs/latest/monitoring.html) :param sc: Spark context :return: set of ip addresses
"gets the unique ip addresses of the executors of the current application\r\n This uses the REST API of the status web UI on the driver (http://spark.apache.org/docs/latest/monitoring.html)\r\n\r\n :param sc: Spark context\r\n :return: set of ip addresses"
32
false
boazmohar/pySparkUtils
executor_ips
22,670
LDU_FT/priestc/giotto/LoginView
LDU_FT
[ "<BEGIN>\n## `get_response`", "High level function for getting a response. This is what the concrete\n controller should call. Returns a controller specific response.\n<END>", "<BEGIN>\n## `get_data_response`", "Execute the model and view, and handle the cache.\n Returns controller-agnostic resp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LoginView API. 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 LoginView API. 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...
After logging in, redirect the user to the ``http_redirect`` program. This is a meta program, a function that returns a program. ``http_redirect`` can be either a string, or a three item tuple with M objects: http_redirect=('/blog', [m.id], {}) | http_redirect=('/blog', [], {'name': M['name']})
"After logging in, redirect the user to the ``http_redirect`` program.\n This is a meta program, a function that returns a program.\n ``http_redirect`` can be either a string, or a three item tuple with M objects:\n http_redirect=('/blog', [m.id], {}) | http_redirect=('/blog', [], {'name': M['name']})"
75
false
priestc/giotto
LoginView
22,671
LDU_FT/vlukes/dicom2fem/gen_mesh_from_voxels
LDU_FT
[ "<BEGIN>\n## `find_map`", "Find a mapping between common coordinates in x1 and x2, such that\n x1[cmap[:,0]] == x2[cmap[:,1]]\n<END>", "<BEGIN>\n## `merge_mesh`", "Merge two meshes in common coordinates found in x1, x2.\n<END>", "<BEGIN>\n## `fix_double_nodes`", "Detect and attempt fixing double nodes ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_mesh_from_voxels 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 gen_mesh_from_voxels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Generate FE mesh from voxels (volumetric data). Parameters ---------- voxels : array Voxel matrix, 1=material. dims : array Size of one voxel. etype : integer, optional 'q' - quadrilateral or hexahedral elements 't' - triangular or tetrahedral elements mtype : in...
"Generate FE mesh from voxels (volumetric data).\n\n Parameters\n ----------\n voxels : array\n Voxel matrix, 1=material.\n dims : array\n Size of one voxel.\n etype : integer, optional\n 'q' - quadrilateral or hexahedral elements\n 't' - triangular or tetrahedral elements\n ...
142
false
vlukes/dicom2fem
gen_mesh_from_voxels
22,672