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/ratcave/ratcave/match_aspect_to_viewport | LDU_FT | [
"<BEGIN>\n## `add_child`",
"Adds an object as a child in the scene graph.\n<END>",
"<BEGIN>\n## `add_children`",
"Conveniience function: Adds objects as children in the scene graph.\n<END>",
"<BEGIN>\n## `match_aspect_to_viewport`",
"Updates Camera.aspect to match the viewport's aspect ratio.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_aspect_to_viewport 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 match_aspect_to_viewport API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Updates Camera.aspect to match the viewport's aspect ratio. | "Updates Camera.aspect to match the viewport's aspect ratio." | 79 | false | ratcave/ratcave | match_aspect_to_viewport | 37,573 | |
LDU_FT/tonioo/sievelib/dump | LDU_FT | [
"<BEGIN>\n## `authentication_required`",
"Simple class method decorator.",
" Checks if the client is currently connected.",
" :param meth: the original called method\n<END>",
"<BEGIN>\n## `__read_block`",
"Read a block of 'size' bytes from the server.",
" An internal buffer is used to read ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
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 dump API.
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... | Display the command
Pretty printing of this command and its eventual arguments and
children. (recursively)
:param indentlevel: integer that indicates indentation level to apply | "Display the command\n\n Pretty printing of this command and its eventual arguments and\n children. (recursively)\n\n :param indentlevel: integer that indicates indentation level to apply" | 191 | false | tonioo/sievelib | dump | 37,574 | |
LDU_FT/potash/drain/get_reduced | LDU_FT | [
"<BEGIN>\n## `y_score`",
"Score examples from a new matrix X\n Args:\n estimator: an sklearn estimator object\n X: design matrix with the same features that the estimator was trained on",
" Returns: a vector of scores of the same length as X",
" Note that estimator.predict_proba is pref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reduced API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reduced API.
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 function gets called by ColumnFunction._apply(). After a ColumnFunction
has been passed to Aggregator's constructor, the ColumnFunction can use this function
to request the populated, aggregated columns that correspond to its ColumnReductions.
Args:
column_reduction (list[Colum... | "This function gets called by ColumnFunction._apply(). After a ColumnFunction\n has been passed to Aggregator's constructor, the ColumnFunction can use this function\n to request the populated, aggregated columns that correspond to its ColumnReductions.\n\n Args:\n column_reduction (list... | 165 | false | potash/drain | get_reduced | 37,575 | |
LDU_FT/mongodb/motor/pymongo_class_wrapper | LDU_FT | [
"<BEGIN>\n## `chain_return_value`",
"Compatible way to return a value in all Pythons.",
" PEP 479, raise StopIteration(value) from a coroutine won't work forever,\n but \"return value\" doesn't work in Python 2. Instead, Motor methods that\n return values resolve a Future with it, and are implemented w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pymongo_class_wrapper 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 pymongo_class_wrapper API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Executes the coroutine f and wraps its result in a Motor class.
See WrapAsync. | "Executes the coroutine f and wraps its result in a Motor class.\n\n See WrapAsync." | 133 | false | mongodb/motor | pymongo_class_wrapper | 37,576 | |
LDU_FT/pazz/urwidtrees/_get | LDU_FT | [
"<BEGIN>\n## `_get`",
"loads widget at given position; handling invalid arguments\n<END>",
"<BEGIN>\n## `_next_of_kin`",
"looks up the next sibling of the closest ancestor with not-None next\n siblings.\n<END>",
"<BEGIN>\n## `_last_in_direction`",
"move in the tree in given direction and return the... | 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... | loads widget at given position; handling invalid arguments | "loads widget at given position; handling invalid arguments" | 60 | false | pazz/urwidtrees | _get | 37,577 | |
LDU_FT/koreyou/word_embedding_loader/load_with_vocab | LDU_FT | [
"<BEGIN>\n## `save`",
"Save word embedding file.",
" Args:\n f (File): File to write the vectors. File should be open for writing\n ascii.\n arr (numpy.array): Numpy array with ``float`` dtype.\n vocab (iterable): Each element is pair of a word (``bytes``) and ``arr``\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_with_vocab API.
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 load_with_vocab API.
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... | Load word embedding file with predefined vocabulary
Args:
fin (File): File object to read. File should be open for reading ascii.
vocab (dict): Mapping from words (``bytes``) to vector indices
(``int``).
dtype (numpy.dtype): Element data type to use for the array.
Returns:
... | "Load word embedding file with predefined vocabulary\n\n Args:\n fin (File): File object to read. File should be open for reading ascii.\n vocab (dict): Mapping from words (``bytes``) to vector indices\n (``int``).\n dtype (numpy.dtype): Element data type to use for the array.\n\n ... | 45 | false | koreyou/word_embedding_loader | load_with_vocab | 37,578 | |
LDU_FT/Pytwitcher/pytwitcherapi/get_quality_options | LDU_FT | [
"<BEGIN>\n## `needs_auth`",
"Wraps a method of :class:`TwitchSession` and\n raises an :class:`exceptions.NotAuthorizedError`\n if before calling the method, the session isn't authorized.",
" :param meth:\n :type meth:\n :returns: the wrapped method\n :rtype: Method\n :raises: None\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_quality_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_quality_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get the available quality options for streams of the given channel
Possible values in the list:
* source
* high
* medium
* low
* mobile
* audio
:param channel: the channel or channel name
:type channel: :class:`models.Channel` | :cla... | "Get the available quality options for streams of the given channel\n\n Possible values in the list:\n\n * source\n * high\n * medium\n * low\n * mobile\n * audio\n\n :param channel: the channel or channel name\n :type channel: :class:`models.Ch... | 198 | false | Pytwitcher/pytwitcherapi | get_quality_options | 37,579 | |
LDU_FT/lsst-sqre/sqre-apikit/raise_from_response | LDU_FT | [
"<BEGIN>\n## `set_flask_metadata`",
"Sets metadata on the application to be returned via metadata routes.",
" Parameters\n ----------\n app : :class:`flask.Flask` instance\n Flask application for the microservice you're adding metadata to.",
" version: `str`\n Version of your microse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_from_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_from_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Turn a failed request response into a BackendError. Handy for
reflecting HTTP errors from farther back in the call chain.
Parameters
----------
resp: :class:`requests.Response`
Raises
------
:class:`apikit.BackendError`
If `resp.status_code` is equal to or greater than 400. | "Turn a failed request response into a BackendError. Handy for\n reflecting HTTP errors from farther back in the call chain.\n\n Parameters\n ----------\n resp: :class:`requests.Response`\n\n Raises\n ------\n :class:`apikit.BackendError`\n If `resp.status_code` is equal to or greater than ... | 39 | false | lsst-sqre/sqre-apikit | raise_from_response | 37,580 | |
LDU_FT/exhuma/python-cluster/topology | LDU_FT | [
"<BEGIN>\n## `getclusters`",
"Generates *count* clusters.",
" :param count: The amount of clusters that should be generated. count\n must be greater than ``1``.\n :raises ClusteringError: if *count* is out of bounds.\n<END>",
"<BEGIN>\n## `assign_item`",
"Assigns an item from a giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the topology API.
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 topology API.
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... | Returns the structure (topology) of the cluster as tuples.
Output from cl.data::
[<Cluster@0.833333333333(['CVS',
<Cluster@0.818181818182(['34.xls',
<Cluster@0.789473684211([<Cluster@0.555555555556(['0.txt',
<Cluster@0.181818181818(['ChangeLog... | "Returns the structure (topology) of the cluster as tuples.\n\n Output from cl.data::\n\n [<Cluster@0.833333333333(['CVS',\n <Cluster@0.818181818182(['34.xls',\n <Cluster@0.789473684211([<Cluster@0.555555555556(['0.txt',\n <Cluster@0.181818181818(['C... | 76 | false | exhuma/python-cluster | topology | 37,581 | |
LDU_FT/spacetelescope/synphot_refactor/validate_unit | LDU_FT | [
"<BEGIN>\n## `overlap_status`",
"Check overlap between two arrays.",
" Parameters\n ----------\n a, b : array-like\n Arrays to check. Assumed to be in the same unit.",
" Returns\n -------\n result : {'full', 'partial', 'none'}\n * 'full' - ``a`` is within or same as ``b``\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_unit API.
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 validate_unit API.
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... | Validate unit.
To be compatible with existing SYNPHOT data files:
* 'angstroms' and 'inversemicrons' are accepted although
unrecognized by astropy units
* 'transmission', 'extinction', and 'emissivity' are
converted to astropy dimensionless unit
Parameters
----------
... | "Validate unit.\n\n To be compatible with existing SYNPHOT data files:\n\n * 'angstroms' and 'inversemicrons' are accepted although\n unrecognized by astropy units\n * 'transmission', 'extinction', and 'emissivity' are\n converted to astropy dimensionless unit\n\n Parameters\n -... | 519 | false | spacetelescope/synphot_refactor | validate_unit | 37,582 | |
LDU_FT/ratcave/wavefront_reader/from_indexed_arrays | LDU_FT | [
"<BEGIN>\n## `face_index`",
"Takes an MxNx3 array and returns a 2D vertices and MxN face_indices arrays\n<END>",
"<BEGIN>\n## `fan_triangulate`",
"Return an array of vertices in triangular order using a fan triangulation algorithm.\n<END>",
"<BEGIN>\n## `from_dicts`",
"Returns a wavefront .obj string usin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_indexed_arrays 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 from_indexed_arrays 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... | Takes MxNx3 verts, Mx3 normals to build obj file | "Takes MxNx3 verts, Mx3 normals to build obj file" | 18 | false | ratcave/wavefront_reader | from_indexed_arrays | 37,583 | |
LDU_FT/disqus/gargoyle/clear_conditions | LDU_FT | [
"<BEGIN>\n## `is_active`",
"Returns ``True`` if any of ``instances`` match an active switch. Otherwise\n returns ``False``.",
" >>> gargoyle.is_active('my_feature', request) #doctest: +SKIP\n<END>",
"<BEGIN>\n## `register`",
"Registers a condition set with the manager.",
" >>> conditi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_conditions API.
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 clear_conditions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Clears conditions given a set of parameters.
If ``commit`` is ``False``, the data will not be written to the database.
Clear all conditions given a ConditionSet, and a field name:
>>> switch = gargoyle['my_switch'] #doctest: +SKIP
>>> condition_set_id = condition_set.get_id() #doctest... | "Clears conditions given a set of parameters.\n\n If ``commit`` is ``False``, the data will not be written to the database.\n\n Clear all conditions given a ConditionSet, and a field name:\n\n >>> switch = gargoyle['my_switch'] #doctest: +SKIP\n >>> condition_set_id = condition_set.get_id() ... | 34 | false | disqus/gargoyle | clear_conditions | 37,584 | |
LDU_FT/pawelad/pymonzo/balance | LDU_FT | [
"<BEGIN>\n## `_parse_special_fields`",
"Helper method that parses special fields to Python objects",
" :param data: response from Monzo API request\n :type data: dict\n<END>",
"<BEGIN>\n## `_save_token_on_disk`",
"Helper function that saves the token on disk\n<END>",
"<BEGIN>\n## `_get_oauth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the balance API.
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 balance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns balance information for a specific account.
Official docs:
https://monzo.com/docs/#read-balance
:param account_id: Monzo account ID
:type account_id: str
:raises: ValueError
:returns: Monzo balance instance
:rtype: MonzoBalance | "Returns balance information for a specific account.\n\n Official docs:\n https://monzo.com/docs/#read-balance\n\n :param account_id: Monzo account ID\n :type account_id: str\n :raises: ValueError\n :returns: Monzo balance instance\n :rtype: MonzoBalance" | 40 | false | pawelad/pymonzo | balance | 37,585 | |
LDU_FT/etcher-be/elib_miz/get_country_by_id | LDU_FT | [
"<BEGIN>\n## `reorder`",
"Re-orders a miz file into a folder (flattened)",
" Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>",
"<BEGIN>\n## `decode`",
"Decodes the mission ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Gets a country from its name
Args:
country_id: country id
Returns: Country | "Gets a country from its name\n\n Args:\n country_id: country id\n\n Returns: Country" | 100 | false | etcher-be/elib_miz | get_country_by_id | 37,586 | |
LDU_FT/genialis/django-rest-framework-reactive/evaluate | LDU_FT | [
"<BEGIN>\n## `observe_id`",
"Unique identifier that identifies the observer.\n<END>",
"<BEGIN>\n## `post`",
"Handle a query observer unsubscription request.\n<END>",
"<BEGIN>\n## `notify_observers`",
"Transmit ORM table change notification.",
" :param table: Name of the table that has changed\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Evaluate the query observer.
:param return_emitted: True if the emitted diffs should be returned (testing only) | "Evaluate the query observer.\n\n :param return_emitted: True if the emitted diffs should be returned (testing only)" | 44 | false | genialis/django-rest-framework-reactive | evaluate | 37,587 | |
LDU_FT/Bachmann1234/diff-cover/set_cwd | LDU_FT | [
"<BEGIN>\n## `_get_classes`",
"Given a path and parsed xml_document provides class nodes\n with the relevant lines",
" First, we look to see if xml_document contains a source\n node providing paths to search for",
" If we don't have that we check each nodes filename attribute\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cwd API.
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 set_cwd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Set the cwd that is used to manipulate paths. | "Set the cwd that is used to manipulate paths." | 146 | false | Bachmann1234/diff-cover | set_cwd | 37,588 | |
LDU_FT/Phylliade/ikpy/symbolic_axis_rotation_matrix | LDU_FT | [
"<BEGIN>\n## `plot_basis`",
"Plot le repère adapté à la taille du robot\n<END>",
"<BEGIN>\n## `plot_target_trajectory`",
"Ajoute la trajectoire (liste des targets) au plot\n<END>",
"<BEGIN>\n## `symbolic_Rz_matrix`",
"Matrice symbolique de rotation autour de l'axe Z\n<END>",
"<BEGIN>\n## `rotation_matri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbolic_axis_rotation_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbolic_axis_rotation_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Returns a rotation matrix around the given axis | "Returns a rotation matrix around the given axis" | 88 | false | Phylliade/ikpy | symbolic_axis_rotation_matrix | 37,589 | |
LDU_FT/ECESeniorDesign/greenhouse_envmgmt/get_water_level | LDU_FT | [
"<BEGIN>\n## `TCA_select`",
"This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_water_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_water_level API.
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... | This method uses the ADC on the control module to measure
the current water tank level and returns the water volume
remaining in the tank.
For this method, it is assumed that a simple voltage divider
is used to interface the sensor to the ADC module.
... | "This method uses the ADC on the control module to measure\r\n the current water tank level and returns the water volume\r\n remaining in the tank.\r\n\r\n For this method, it is assumed that a simple voltage divider\r\n is used to interface the sensor to the ADC module.\r\n ... | 55 | false | ECESeniorDesign/greenhouse_envmgmt | get_water_level | 37,590 | |
LDU_FT/pyeve/cerberus/mapping_to_frozenset | LDU_FT | [
"<BEGIN>\n## `__store_config`",
"Assign args to kwargs and store configuration.\n<END>",
"<BEGIN>\n## `_error`",
"Creates and adds one or multiple errors.",
" :param args: Accepts different argument's signatures.",
" *1. Bulk addition of errors:*",
" - :ter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mapping_to_frozenset 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 mapping_to_frozenset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Be aware that this treats any sequence type with the equal members as
equal. As it is used to identify equality of schemas, this can be
considered okay as definitions are semantically equal regardless the
container type. | "Be aware that this treats any sequence type with the equal members as\n equal. As it is used to identify equality of schemas, this can be\n considered okay as definitions are semantically equal regardless the\n container type." | 31 | false | pyeve/cerberus | mapping_to_frozenset | 37,591 | |
LDU_FT/widdowquinn/pyani/build_joblist | LDU_FT | [
"<BEGIN>\n## `clean_axis`",
"Remove ticks, tick labels, and frame from axis\n<END>",
"<BEGIN>\n## `get_seaborn_colorbar`",
"Return a colorbar representing classes, for a Seaborn plot.",
" The aim is to get a pd.Series for the passed dataframe columns,\n in the form:\n 0 colour for class in col 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_joblist API.
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 build_joblist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a list of jobs, from a passed jobgraph. | "Returns a list of jobs, from a passed jobgraph." | 244 | false | widdowquinn/pyani | build_joblist | 37,592 | |
LDU_FT/MatterMiners/cobald/pretty_ref | LDU_FT | [
"<BEGIN>\n## `exclusive`",
"Mark a callable as exclusive",
" :param via: factory for a Lock to guard the callable",
" Guards the callable against being entered again before completion.\n Explicitly raises a :py:exc:`RuntimeError` on violation.",
" :note: If applied to a method, it is exclusive a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_ref API.
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 pretty_ref API.
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... | Pretty object reference using ``module.path:qual.name`` format | "Pretty object reference using ``module.path:qual.name`` format" | 74 | false | MatterMiners/cobald | pretty_ref | 37,593 | |
LDU_FT/proteanhq/protean/fetch_entity_cls_from_registry | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Initialize a ListRequestObject object from a dictionary.\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to its string representation\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to an int and raise error on failures\n<END>",
"<BEGIN>\n## `_cast_to_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_entity_cls_from_registry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_entity_cls_from_registry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Util Method to fetch an Entity class from an entity's name | "Util Method to fetch an Entity class from an entity's name" | 214 | false | proteanhq/protean | fetch_entity_cls_from_registry | 37,594 | |
LDU_FT/szastupov/aiotg/send_chat_action | LDU_FT | [
"<BEGIN>\n## `loop`",
"Return bot's main loop as coroutine. Use with asyncio.",
" :Example:",
" >>> loop = asyncio.get_event_loop()\n >>> loop.run_until_complete(bot.loop())",
" or",
" >>> loop = asyncio.get_event_loop()\n >>> loop.create_task(bot.loop())\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_chat_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_chat_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Send a chat action, to tell the user that something is happening on the
bot's side.
Available actions:
* `typing` for text messages
* `upload_photo` for photos
* `record_video` and `upload_video` for videos
* `record_audio` and `upload_audio` for audio files
... | "Send a chat action, to tell the user that something is happening on the\n bot's side.\n\n Available actions:\n\n * `typing` for text messages\n * `upload_photo` for photos\n * `record_video` and `upload_video` for videos\n * `record_audio` and `upload_audio` for audio file... | 134 | false | szastupov/aiotg | send_chat_action | 37,595 | |
LDU_FT/joferkington/mpldatacursor/_select | LDU_FT | [
"<BEGIN>\n## `_event_ignored`",
"Decide whether or not to ignore a click/hover event.\n<END>",
"<BEGIN>\n## `_show_annotation_box`",
"Update an existing box or create an annotation box for an event.\n<END>",
"<BEGIN>\n## `event_info`",
"Get a dict of info for the artist selected by \"event\".\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _select API.
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 _select API.
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... | This is basically a proxy to trigger a pick event. This function is
connected to either a mouse motion or mouse button event (see
"self.enable") depending on "self.hover". If we're over a point, it
fires a pick event.
This probably seems bizarre, but it's required for hover mode (no mo... | "This is basically a proxy to trigger a pick event. This function is\n connected to either a mouse motion or mouse button event (see\n \"self.enable\") depending on \"self.hover\". If we're over a point, it\n fires a pick event.\n\n This probably seems bizarre, but it's required for hover m... | 80 | false | joferkington/mpldatacursor | _select | 37,596 | |
LDU_FT/epfl-lts2/pygsp/compute_differential_operator | LDU_FT | [
"<BEGIN>\n## `compute_avg_adj_deg`",
"r\"\"\"\n Compute the average adjacency degree for each node.",
" The average adjacency degree is the average of the degrees of a node and\n its neighbors.",
" Parameters\n ----------\n G: Graph\n Graph on which the statistic is extracted\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_differential_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_differential_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | r"""Compute the graph differential operator (cached).
The differential operator is the matrix :math:`D` such that
.. math:: L = D D^\top,
where :math:`L` is the graph Laplacian (combinatorial or normalized).
It is used to compute the gradient and the divergence of graph
signal... | "r\"\"\"Compute the graph differential operator (cached).\n\n The differential operator is the matrix :math:`D` such that\n\n .. math:: L = D D^\\top,\n\n where :math:`L` is the graph Laplacian (combinatorial or normalized).\n It is used to compute the gradient and the divergence of graph\n ... | 617 | false | epfl-lts2/pygsp | compute_differential_operator | 37,597 | |
LDU_FT/Esri/ArcREST/status | LDU_FT | [
"<BEGIN>\n## `trace`",
"trace finds the line, the filename\n and error message and returns it\n to the user\n<END>",
"<BEGIN>\n## `merge_dicts`",
"Merge a list of dictionaries.",
" Args:\n dicts (list): a list of dictionary objects\n op (operator): an operator item used to mer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API.
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 status API.
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 ... | Inquire about status when publishing an item, adding an item in
async mode, or adding with a multipart upload. "Partial" is
available for Add Item Multipart, when only a part is uploaded
and the item is not committed.
Input:
jobType The type of asynchronous job... | "Inquire about status when publishing an item, adding an item in\n async mode, or adding with a multipart upload. \"Partial\" is\n available for Add Item Multipart, when only a part is uploaded\n and the item is not committed.\n\n Input:\n jobType The type of asynchr... | 1,240 | true | Esri/ArcREST | status | 37,598 | |
LDU_FT/oscarlazoarjona/fast/dot_product | LDU_FT | [
"<BEGIN>\n## `fit_lorentizan`",
"Fits a lorentzian curve using p0=[x0,A,gamma] as an initial guess.\r\n\tIt returns a curve with N_points.\n<END>",
"<BEGIN>\n## `electric_field_amplitude_gaussian`",
"Return the amplitude of the electric field for a Gaussian beam.\r",
" This the amplitude at the center of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dot_product API.
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 dot_product API.
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 function calculates the dot product epsilon^(l(+-)) . vec(r_ij). | "This function calculates the dot product epsilon^(l(+-)) . vec(r_ij)." | 668 | false | oscarlazoarjona/fast | dot_product | 37,599 | |
LDU_FT/nephila/djangocms-apphook-setup/setup | LDU_FT | [
"<BEGIN>\n## `_create_page`",
"Create a single page or titles",
" :param page: Page instance\n :param lang: language code\n :param auto_title: title text for the newly created title\n :param cms_app: Apphook Class to be attached to the page\n :param parent: parent page (None w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
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... | Main method to auto setup Apphook
It must be called after the Apphook registration::
apphook_pool.register(MyApp)
MyApp.setup() | "Main method to auto setup Apphook\n\n It must be called after the Apphook registration::\n\n apphook_pool.register(MyApp)\n MyApp.setup()" | 21 | false | nephila/djangocms-apphook-setup | setup | 37,600 | |
LDU_FT/pipermerriam/flex/generate_minimum_validator | LDU_FT | [
"<BEGIN>\n## `main`",
"For a given command line supplied argument, negotiate the content, parse\n the schema and then return any issues to stdout or if no schema issues,\n return success exit code.\n<END>",
"<BEGIN>\n## `host_validator`",
"From: http://stackoverflow.com/questions/2532053/validate-a-host... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_minimum_validator 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 generate_minimum_validator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Generator function returning a callable for minimum value validation. | "Generator function returning a callable for minimum value validation." | 112 | false | pipermerriam/flex | generate_minimum_validator | 37,601 | |
LDU_FT/DreamLab/VmShepherd/_extract_ips | LDU_FT | [
"<BEGIN>\n## `initialize_openstack`",
"Initialize and refresh openstack connection\n<END>",
"<BEGIN>\n## `initialize`",
"Initialize static data like images and flavores and set it as object property\n<END>",
"<BEGIN>\n## `create_vm`",
"Create VM\n :arg preset_name: string\n :arg image: str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_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 _extract_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... | Extract ip addressess from openstack structure
{
'pl-krk-2-int-301-c2-int-1': [
{
'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:29:f1:bb',
'version': 4,
'addr': '10.185.138.36',
'OS-EXT-IPS:type': 'fixed'
}
]
}
:arg... | "Extract ip addressess from openstack structure\n {\n 'pl-krk-2-int-301-c2-int-1': [\n {\n 'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:29:f1:bb',\n 'version': 4,\n 'addr': '10.185.138.36',\n 'OS-EXT-IPS:type': 'fixed'\n }\n ]\n }\... | 47 | false | DreamLab/VmShepherd | _extract_ips | 37,602 | |
LDU_FT/mistio/mist.client/create_machine | LDU_FT | [
"<BEGIN>\n## `request`",
"The main purpose of this is to be a wrapper-like function to pass the api_token and all the other params to the\n requests that are being made",
" :returns: An instance of RequestsHandler\n<END>",
"<BEGIN>\n## `delete`",
"Delete the cloud from the list of added clouds... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_machine API.
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 create_machine API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Create a new machine on the given cloud
:param name: Name of the machine
:param key: Key Object to associate with the machine
:param image_id: Id of image to be used with the creation
:param location_id: Id of the cloud's location to create the machine
:param size_id: If of the ... | "Create a new machine on the given cloud\n\n :param name: Name of the machine\n :param key: Key Object to associate with the machine\n :param image_id: Id of image to be used with the creation\n :param location_id: Id of the cloud's location to create the machine\n :param size_id: If ... | 106 | false | mistio/mist.client | create_machine | 37,603 | |
LDU_FT/miLibris/flask-rest-jsonapi/fields | LDU_FT | [
"<BEGIN>\n## `_get_key_values`",
"Return a dict containing key / values items for a given key, used for items like filters, page, etc.",
" :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>",
"<BEGIN>\n## `querystring`",
"Return original quer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fields API.
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 fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return fields wanted by client.
:return dict: a dict of sparse fieldsets information
Return value will be a dict containing all fields by resource, for example::
{
"user": ['name', 'email'],
} | "Return fields wanted by client.\n\n :return dict: a dict of sparse fieldsets information\n\n Return value will be a dict containing all fields by resource, for example::\n\n {\n \"user\": ['name', 'email'],\n }" | 149 | false | miLibris/flask-rest-jsonapi | fields | 37,604 | |
LDU_FT/earlye/nephele/do_run | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | SSH to each instance in turn and run specified command | "SSH to each instance in turn and run specified command" | 52 | false | earlye/nephele | do_run | 37,605 | |
LDU_FT/koszullab/metaTOR/extract_subnetworks | LDU_FT | [
"<BEGIN>\n## `download_and_install_dependencies`",
"Setup URLS and download dependencies for Python 3.6+\n<END>",
"<BEGIN>\n## `main`",
"This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>",
"<BEGIN>\n## `rename_genome`",
"Rename... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_subnetworks 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_subnetworks 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... | Extract bin subnetworks from the main network
Identify bins, extract subnets, draws the adjacency matrices,
saves it all in a specified output directory.
Parameters
----------
partition_file : file, str or pathlib.Path
The file containing, for each chunk, the communities it was
ass... | "Extract bin subnetworks from the main network\n\n Identify bins, extract subnets, draws the adjacency matrices,\n saves it all in a specified output directory.\n\n Parameters\n ----------\n partition_file : file, str or pathlib.Path\n The file containing, for each chunk, the communities it was\n ... | 180 | false | koszullab/metaTOR | extract_subnetworks | 37,606 | |
LDU_FT/Chilipp/psyplot/decode_coords | LDU_FT | [
"<BEGIN>\n## `_no_auto_update_getter`",
":class:`bool`. Boolean controlling whether the :meth:`start_update`\n method is automatically called by the :meth:`update` method",
" Examples\n --------\n You can disable the automatic update via",
" >>> with data.no_auto_update:\n ... da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_coords API.
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 decode_coords API.
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... | Sets the coordinates and bounds in a dataset
This static method sets those coordinates and bounds that are marked
marked in the netCDF attributes as coordinates in :attr:`ds` (without
deleting them from the variable attributes because this information is
necessary for visualizing the da... | "Sets the coordinates and bounds in a dataset\n\n This static method sets those coordinates and bounds that are marked\n marked in the netCDF attributes as coordinates in :attr:`ds` (without\n deleting them from the variable attributes because this information is\n necessary for visualizing ... | 800 | false | Chilipp/psyplot | decode_coords | 37,607 | |
LDU_FT/openstack/networking-cisco/_get_interface_ip | LDU_FT | [
"<BEGIN>\n## `assign_hosting_device_to_cfg_agent`",
"Make config agent handle an (unassigned) hosting device.\n<END>",
"<BEGIN>\n## `unassign_hosting_device_from_cfg_agent`",
"Make config agent handle an (unassigned) hosting device.\n<END>",
"<BEGIN>\n## `update_subports`",
"Set port attributes for trunk ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_interface_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_interface_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the ip address for an interface.
:param interface_name: interface_name as a string
:return: ip address of interface as a string | "Get the ip address for an interface.\n\n :param interface_name: interface_name as a string\n :return: ip address of interface as a string" | 1,517 | true | openstack/networking-cisco | _get_interface_ip | 37,608 | |
LDU_FT/theherk/figgypy/gpg_decrypt | LDU_FT | [
"<BEGIN>\n## `env_or_default`",
"Get environment variable or provide default.",
" Args:\n var (str): environment variable to search for\n default (optional(str)): default to return\n<END>",
"<BEGIN>\n## `kms_encrypt`",
"Encrypt and value with KMS key.",
" Args:\n value (str): va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpg_decrypt API.
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 gpg_decrypt API.
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... | Decrypt GPG objects in configuration.
Args:
cfg (dict): configuration dictionary
gpg_config (dict): gpg configuration
dict of arguments for gpg including:
homedir, binary, and keyring (require all if any)
example:
gpg_config = {'homedir': '~/.... | "Decrypt GPG objects in configuration.\n\n Args:\n cfg (dict): configuration dictionary\n gpg_config (dict): gpg configuration\n dict of arguments for gpg including:\n homedir, binary, and keyring (require all if any)\n example:\n gpg_config = {'homed... | 40 | false | theherk/figgypy | gpg_decrypt | 37,609 | |
LDU_FT/tensorflow/hub/find_signature_input_colocation_error | LDU_FT | [
"<BEGIN>\n## `export`",
"Exports a ModuleSpec with weights taken from a checkpoint.",
" This is an helper to export modules directly from a ModuleSpec\n without having to create a session and set the variables to the\n intended values.",
" Example usage:",
" ```python\n spec = hub.create_m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_signature_input_colocation_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_signature_input_colocation_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Returns error message for colocation of signature inputs, or None if ok. | "Returns error message for colocation of signature inputs, or None if ok." | 488 | false | tensorflow/hub | find_signature_input_colocation_error | 37,610 | |
LDU_FT/ericmjl/nxviz/to_pandas_nodes | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draws the Plot to screen.",
" If there is a continuous datatype for the nodes, it will be reflected\n in self.sm being constructed (in `compute_node_colors`). It will then\n automatically add in a colorbar to the plot and scale the plot axes\n accordingly.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pandas_nodes API.
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 to_pandas_nodes API.
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... | Convert nodes in the graph into a pandas DataFrame. | "Convert nodes in the graph into a pandas DataFrame." | 83 | false | ericmjl/nxviz | to_pandas_nodes | 37,611 | |
LDU_FT/iopipe/iopipe-python/submit_future | LDU_FT | [
"<BEGIN>\n## `upload_profiler_report`",
"Uploads a profiler report to IOpipe",
" :param url: The signed URL\n :param filename: The profiler report file\n :param config: The IOpipe config\n<END>",
"<BEGIN>\n## `read_pid_stat`",
"Mocks read_pid_stat as this is a Linux-specific operation.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_future API.
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 submit_future API.
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... | Submit a function call to be run as a future in a thread pool. This
should be an I/O bound operation. | "Submit a function call to be run as a future in a thread pool. This\n should be an I/O bound operation." | 93 | false | iopipe/iopipe-python | submit_future | 37,612 | |
LDU_FT/networks-lab/tidyextractors/users | LDU_FT | [
"<BEGIN>\n## `_col_type_set`",
"Determines the set of types present in a DataFrame column.",
" :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types.\n<END>",
"<BEGIN>\n## `_drop_collections`",
"Drops columns containi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the users API.
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 users API.
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 table of Twitter user data, with "users" as rows/observations.
:param bool drop_collections: Defaults to True. Indicates whether columns with lists/dicts/sets will be dropped.
:return: pandas.DataFrame | "Returns a table of Twitter user data, with \"users\" as rows/observations.\n\n :param bool drop_collections: Defaults to True. Indicates whether columns with lists/dicts/sets will be dropped.\n\n :return: pandas.DataFrame" | 81 | false | networks-lab/tidyextractors | users | 37,613 | |
LDU_FT/blue-yonder/tsfresh/number_crossing_m | LDU_FT | [
"<BEGIN>\n## `_function_with_partly_reduce`",
"Small helper function to call a function (map_function)\n on a list of data chunks (chunk_list) and convert the results into\n a flattened list.",
" This function is used to send chunks of data with a size larger than 1 to\n the workers in parallel and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number_crossing_m API.
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 number_crossing_m API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Calculates the number of crossings of x on m. A crossing is defined as two sequential values where the first value
is lower than m and the next is greater, or vice-versa. If you set m to zero, you will get the number of zero
crossings.
:param x: the time series to calculate the feature of
:type x: nump... | "Calculates the number of crossings of x on m. A crossing is defined as two sequential values where the first value\n is lower than m and the next is greater, or vice-versa. If you set m to zero, you will get the number of zero\n crossings.\n\n :param x: the time series to calculate the feature of\n :type x... | 615 | false | blue-yonder/tsfresh | number_crossing_m | 37,614 | |
LDU_FT/yougov/mongo-connector/parse_args | LDU_FT | [
"<BEGIN>\n## `retry_until_ok`",
"Retry code block until it succeeds.",
" If it does not succeed in 120 attempts, the function re-raises any\n error the function raised on its last attempt.\n<END>",
"<BEGIN>\n## `apply_update`",
"Apply an update operation to a document.\n<END>",
"<BEGIN>\n## `bulk_up... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
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 parse_args API.
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... | Parses command line arguments from stdin (or given argv).
Does the following:
1. Parses command line arguments
2. Loads config file into options (if config file specified)
3. calls option.apply_function with the parsed cli_values | "Parses command line arguments from stdin (or given argv).\n\n Does the following:\n 1. Parses command line arguments\n 2. Loads config file into options (if config file specified)\n 3. calls option.apply_function with the parsed cli_values" | 115 | false | yougov/mongo-connector | parse_args | 37,615 | |
LDU_FT/neithere/monk/find | LDU_FT | [
"<BEGIN>\n## `_insert_defaults`",
"Inserts default values from :attr:`StructuredDictMixin.structure`\n to `self` by merging the two structures\n (see :func:`monk.manipulation.merge_defaults`).\n<END>",
"<BEGIN>\n## `opt_key`",
"Returns a validator which allows the value to be missing.\n Simil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns a :class:`MongoResultSet` object.
Example::
items = Item.find(db, {'title': u'Hello'})
.. note::
The arguments are those of pymongo collection's `find` method.
A frequent error is to pass query key/value pairs as keyword
arguments. This is **wrong... | "Returns a :class:`MongoResultSet` object.\n\n Example::\n\n items = Item.find(db, {'title': u'Hello'})\n\n .. note::\n\n The arguments are those of pymongo collection's `find` method.\n A frequent error is to pass query key/value pairs as keyword\n arguments. This... | 64 | false | neithere/monk | find | 37,616 | |
LDU_FT/python-bugzilla/python-bugzilla/addcomponent | LDU_FT | [
"<BEGIN>\n## `_request_helper`",
"A helper method to assist in making a request and provide a parsed\n response.\n<END>",
"<BEGIN>\n## `open_without_clobber`",
"Try to open the given file with the given mode; if that filename exists,\n try \"name.1\", \"name.2\", etc. until we find an unused filenam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addcomponent API.
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 addcomponent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | A method to create a component in Bugzilla. Takes a dict, with the
following elements:
product: The product to create the component in
component: The name of the component to create
description: A one sentence summary of the component
default_assignee: The bugzilla login (email ... | "A method to create a component in Bugzilla. Takes a dict, with the\n following elements:\n\n product: The product to create the component in\n component: The name of the component to create\n description: A one sentence summary of the component\n default_assignee: The bugzilla login ... | 184 | false | python-bugzilla/python-bugzilla | addcomponent | 37,617 | |
LDU_FT/mozilla/taar/get_client_profile | LDU_FT | [
"<BEGIN>\n## `flaskrun`",
"Takes a flask.Flask instance and runs it. Parses\n command-line flags to configure the app.\n<END>",
"<BEGIN>\n## `get_randomized_guid_sample`",
"Fetch a subset of randomzied GUIDs from the whitelist\n<END>",
"<BEGIN>\n## `can_recommend`",
"The Curated recommender will always... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_profile 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_client_profile 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 fetches a single client record out of DynamoDB | "This fetches a single client record out of DynamoDB" | 45 | false | mozilla/taar | get_client_profile | 37,618 | |
LDU_FT/data-8/datascience/apply | LDU_FT | [
"<BEGIN>\n## `_is_array_integer`",
"Returns True if an array contains integers (integer type or near-int\n float values) and False otherwise.",
" >>> _is_array_integer(np.arange(10))\n True\n >>> _is_array_integer(np.arange(7.0, 20.0, 1.0))\n True\n >>> _is_array_integer(np.arange(0, 1, 0.1))\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
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 apply API.
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... | Apply ``fn`` to each element or elements of ``column_or_columns``.
If no ``column_or_columns`` provided, `fn`` is applied to each row.
Args:
``fn`` (function) -- The function to apply.
``column_or_columns``: Columns containing the arguments to ``fn``
as either co... | "Apply ``fn`` to each element or elements of ``column_or_columns``.\n If no ``column_or_columns`` provided, `fn`` is applied to each row.\n\n Args:\n ``fn`` (function) -- The function to apply.\n ``column_or_columns``: Columns containing the arguments to ``fn``\n as ei... | 401 | false | data-8/datascience | apply | 37,619 | |
LDU_FT/jazzband/django-push-notifications/apns_send_message | LDU_FT | [
"<BEGIN>\n## `get_prep_value`",
"Return the integer value to be stored from the hex string\n<END>",
"<BEGIN>\n## `from_db_value`",
"Return an unsigned int representation from all db backends\n<END>",
"<BEGIN>\n## `to_python`",
"Return a str representation of the hexadecimal\n<END>",
"<BEGIN>\n## `apns_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apns_send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apns_send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Sends an APNS notification to a single registration_id.
This will send the notification as form data.
If sending multiple notifications, it is more efficient to use
apns_send_bulk_message()
Note that if set alert should always be a string. If it is not set,
it won"t be included in the notification. You will need ... | "Sends an APNS notification to a single registration_id.\n\tThis will send the notification as form data.\n\tIf sending multiple notifications, it is more efficient to use\n\tapns_send_bulk_message()\n\n\tNote that if set alert should always be a string. If it is not set,\n\tit won\"t be included in the notification. Y... | 61 | false | jazzband/django-push-notifications | apns_send_message | 37,620 | |
LDU_FT/mehmetg/streak_client/update_pipeline_field | LDU_FT | [
"<BEGIN>\n## `_get_req_fp`",
"Decisions on what verb to use and content headers happen here\n\t\tArgs:\n\t\t\top \t\t\ta string specifying a http verb\n<END>",
"<BEGIN>\n## `_req`",
"HTTP reequest wrapper with data packaging fucntionality\n\t\tArgs:\n\t\t\top \t\t\thttp verb in str\n\t\t\turi \t\taddress of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_pipeline_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_pipeline_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Upates pipeline field as specified
Args:
pipeline_key key for pipeline where the fields lives
field StreakField object with fresh data
returns (status code, updated field dict) | "Upates pipeline field as specified\n\t\tArgs:\n\t\t\tpipeline_key\t\tkey for pipeline where the fields lives\n\t\t\tfield \t\t\t\tStreakField object with fresh data\n\t\t\treturns\t\t\t\t(status code, updated field dict)" | 90 | false | mehmetg/streak_client | update_pipeline_field | 37,621 | |
LDU_FT/Crunch-io/crunch-cube/population_counts | LDU_FT | [
"<BEGIN>\n## `column_mask`",
"ndarray, True where column margin <= min_base_size, same shape as slice.\n<END>",
"<BEGIN>\n## `table_mask`",
"ndarray, True where table margin <= min_base_size, same shape as slice.\n<END>",
"<BEGIN>\n## `values`",
"list of _ColumnPairwiseSignificance tests.",
" Res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the population_counts API.
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 population_counts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return counts scaled in proportion to overall population.
The return value is a numpy.ndarray object. Count values are scaled
proportionally to approximate their value if the entire population
had been sampled. This calculation is based on the estimated size of
the population provided a... | "Return counts scaled in proportion to overall population.\n\n The return value is a numpy.ndarray object. Count values are scaled\n proportionally to approximate their value if the entire population\n had been sampled. This calculation is based on the estimated size of\n the population prov... | 334 | false | Crunch-io/crunch-cube | population_counts | 37,622 | |
LDU_FT/kencochrane/django-defender/watch_login | LDU_FT | [
"<BEGIN>\n## `get_ip_address_from_request`",
"Makes the best attempt to get the client's real IP or return\n the loopback\n<END>",
"<BEGIN>\n## `get_blocked_usernames`",
"get a list of blocked usernames from redis\n<END>",
"<BEGIN>\n## `username_from_request`",
"unloads username from default POST r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watch_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watch_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Used to decorate the django.contrib.admin.site.login method or
any other function you want to protect by brute forcing.
To make it work on normal functions just pass the status code that should
indicate a failure and/or a string that will be checked within the
response body. | "Used to decorate the django.contrib.admin.site.login method or\n any other function you want to protect by brute forcing.\n To make it work on normal functions just pass the status code that should\n indicate a failure and/or a string that will be checked within the\n response body." | 24 | false | kencochrane/django-defender | watch_login | 37,623 | |
LDU_FT/NicolasLM/atoma/parse_rss_bytes | LDU_FT | [
"<BEGIN>\n## `parse_atom_file`",
"Parse an Atom feed from a local XML file.\n<END>",
"<BEGIN>\n## `parse_atom_bytes`",
"Parse an Atom feed from a byte-string containing XML data.\n<END>",
"<BEGIN>\n## `_get_link`",
"Attempt to retrieve item link.",
" Use the GUID as a fallback if it is a permalink.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_rss_bytes API.
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 parse_rss_bytes API.
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... | Parse an RSS feed from a byte-string containing XML data. | "Parse an RSS feed from a byte-string containing XML data." | 25 | false | NicolasLM/atoma | parse_rss_bytes | 37,624 | |
LDU_FT/buriburisuri/sugartensor/sg_float | LDU_FT | [
"<BEGIN>\n## `constant`",
"r\"\"\"Creates a tensor variable of which initial values are `value` and shape is `shape`.",
" Args:\n name: The name of new variable.\n shape: A tuple/list of integers or an integer. \n If shape is an integer, it is converted to a list.\n value: A Python scal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sg_float API.
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 sg_float API.
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... | r"""Casts a tensor to floatx.
See `tf.cast()` in tensorflow.
Args:
tensor: A `Tensor` or `SparseTensor` (automatically given by chain).
opt:
name : If provided, it replaces current tensor's name
Returns:
A `Tensor` or `SparseTensor` with same shape as `tensor`. | "r\"\"\"Casts a tensor to floatx.\n \n See `tf.cast()` in tensorflow.\n\n Args:\n tensor: A `Tensor` or `SparseTensor` (automatically given by chain).\n opt:\n name : If provided, it replaces current tensor's name\n\n Returns:\n A `Tensor` or `SparseTensor` with same shape as `tensor`.... | 399 | false | buriburisuri/sugartensor | sg_float | 37,625 | |
LDU_FT/jaseg/python-mpv/loadfile | LDU_FT | [
"<BEGIN>\n## `_mpv_coax_proptype`",
"Intelligently coax the given python value into something that can be understood as a proptype property.\n<END>",
"<BEGIN>\n## `_make_node_str_list`",
"Take a list of python objects and make a MPV string node array from it.",
" As an example, the python list ``l = [ \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadfile API.
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 loadfile API.
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... | Mapped mpv loadfile command, see man mpv(1). | "Mapped mpv loadfile command, see man mpv(1)." | 66 | false | jaseg/python-mpv | loadfile | 37,626 | |
LDU_FT/cathalgarvey/deadlock/encrypt_file | LDU_FT | [
"<BEGIN>\n## `get_slanted_adjacent_coords`",
"returns the six adjacent coordinates on a standard keyboard, where each row is slanted to the right from the last.\n adjacencies are clockwise, starting with key to the left, then two keys above, then right key, then two keys below.\n (that is, only near-diagona... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns encrypted binary file content if successful | "Returns encrypted binary file content if successful" | 73 | false | cathalgarvey/deadlock | encrypt_file | 37,627 | |
LDU_FT/LuminosoInsight/python-ftfy/_make_weirdness_regex | LDU_FT | [
"<BEGIN>\n## `fix_encoding_and_explain`",
"Re-decodes text that has been decoded incorrectly, and also return a\n \"plan\" indicating all the steps required to fix it.",
" The resulting plan could be used with :func:`ftfy.fixes.apply_plan`\n to fix additional strings that are broken in the same way.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_weirdness_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_weirdness_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.
... | Creates a list of regexes that match 'weird' character sequences.
The more matches there are, the weirder the text is. | "Creates a list of regexes that match 'weird' character sequences.\n The more matches there are, the weirder the text is." | 123 | false | LuminosoInsight/python-ftfy | _make_weirdness_regex | 37,628 | |
LDU_FT/tamasgal/km3pipe/source_to_neutrino_direction | LDU_FT | [
"<BEGIN>\n## `count_multiplicities`",
"Calculate an array of multiplicities and corresponding coincidence IDs",
" Note that this algorithm does not take care about DOM IDs, so it has to\n be fed with DOM hits.",
" Parameters\n ----------\n times: array[float], shape=(n,)\n Hit times for ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_to_neutrino_direction 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 source_to_neutrino_direction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Flip the direction.
Parameters
==========
zenith, azimuth: neutrino origin
radian: bool [default=True]
receive + return angles in radian? (if false, use degree) | "Flip the direction.\n\n Parameters\n ==========\n zenith, azimuth: neutrino origin\n radian: bool [default=True]\n receive + return angles in radian? (if false, use degree)" | 418 | false | tamasgal/km3pipe | source_to_neutrino_direction | 37,629 | |
LDU_FT/dwavesystems/dwave-cloud-client/strip_head | LDU_FT | [
"<BEGIN>\n## `ls`",
"List configuration files detected (and/or examined paths).\n<END>",
"<BEGIN>\n## `create`",
"Create and/or update cloud client configuration file.\n<END>",
"<BEGIN>\n## `_ping`",
"Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_head API.
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 strip_head API.
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... | Strips elements of `values` from the beginning of `sequence`. | "Strips elements of `values` from the beginning of `sequence`." | 339 | false | dwavesystems/dwave-cloud-client | strip_head | 37,630 | |
LDU_FT/tanghaibao/goatools/get_gosubdag | LDU_FT | [
"<BEGIN>\n## `run`",
"Compare two or more sets of GO IDs. Best done using sections.\n<END>",
"<BEGIN>\n## `get_nts_sorted`",
"Return a flat list of grouped and sorted GO terms.\n<END>",
"<BEGIN>\n## `get_sorted_hdrgo2usrgos`",
"Return GO IDs sorting using go2nt's namedtuple.\n<END>",
"<BEGIN>\n## `plot_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gosubdag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gosubdag API.
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 a GoSubDag initialized for use by a Grouper object. | "Gets a GoSubDag initialized for use by a Grouper object." | 996 | false | tanghaibao/goatools | get_gosubdag | 37,631 | |
LDU_FT/laysakura/relshell/run | LDU_FT | [
"<BEGIN>\n## `colindex_by_colname`",
"Return column index whose name is :param:`column`",
" :raises: `ValueError` when no column with :param:`colname` found\n<END>",
"<BEGIN>\n## `run`",
"Run shell operator synchronously to eat `in_batches`",
" :param in_batches: `tuple` of batches to proces... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run shell operator synchronously to eat `in_batches`
:param in_batches: `tuple` of batches to process | "Run shell operator synchronously to eat `in_batches`\n\n :param in_batches: `tuple` of batches to process" | 46 | false | laysakura/relshell | run | 37,632 | |
LDU_FT/adamcharnock/django-hordak/create_columns | LDU_FT | [
"<BEGIN>\n## `ratio_split`",
"Split in_value according to the ratios specified in `ratios`",
" This is special in that it ensures the returned values always sum to\n in_value (i.e. we avoid losses or gains due to rounding errors). As a\n result, this method returns a list of `Decimal` values with lengt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_columns API.
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 create_columns API.
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... | For each column in file create a TransactionCsvImportColumn | "For each column in file create a TransactionCsvImportColumn" | 84 | false | adamcharnock/django-hordak | create_columns | 37,633 | |
LDU_FT/heikomuller/sco-client/download | LDU_FT | [
"<BEGIN>\n## `download_file`",
"Download attached file as temporary file.",
" Parameters\n ----------\n url : string\n SCO-API download Url\n suffix : string, optional\n If suffix is specified, the name of the downloaded file will end with\n that suffix, otherwise there will be ... | 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... | Download an attachment. The files are currently not cached since they
can be overwritten on the server.
Parameters
----------
filename : string, optional
Optional name for the file on local disk.
Returns
-------
string
Path to downloaded ... | "Download an attachment. The files are currently not cached since they\n can be overwritten on the server.\n\n Parameters\n ----------\n filename : string, optional\n Optional name for the file on local disk.\n\n Returns\n -------\n string\n Path to... | 164 | false | heikomuller/sco-client | download | 37,634 | |
LDU_FT/nephila/djangocms-blog/clean_slug | LDU_FT | [
"<BEGIN>\n## `get_meta_attribute`",
"Retrieves django-meta attributes from apphook config instance\n :param param: django-meta attribute passed as key\n<END>",
"<BEGIN>\n## `make_published`",
"Bulk action to mark selected posts as published. If\n the date_published field is empty the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_slug API.
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 clean_slug API.
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... | Generate a valid slug, in case the given one is taken | "Generate a valid slug, in case the given one is taken" | 44 | false | nephila/djangocms-blog | clean_slug | 37,635 | |
LDU_FT/lacava/few/roc_auc_cv | LDU_FT | [
"<BEGIN>\n## `survival`",
"routes to the survival method, returns survivors\n<END>",
"<BEGIN>\n## `tournament`",
"conducts tournament selection of size tourn_size\n<END>",
"<BEGIN>\n## `lexicase`",
"conducts lexicase selection for de-aggregated fitness vectors\n<END>",
"<BEGIN>\n## `epsilon_lexicase`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roc_auc_cv API.
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 roc_auc_cv API.
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 an roc auc score depending on the underlying estimator. | "returns an roc auc score depending on the underlying estimator." | 54 | false | lacava/few | roc_auc_cv | 37,636 | |
LDU_FT/chaimleib/intervaltree/discard | LDU_FT | [
"<BEGIN>\n## `refresh_balance`",
"Recalculate self.balance and self.depth based on child node values.\n<END>",
"<BEGIN>\n## `compute_depth`",
"Recursively computes true depth of the subtree. Should only\n be needed for debugging. Unless something is wrong, the\n depth field should reflect the co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discard API.
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 discard API.
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... | Removes an interval from the tree, if present. If not, does
nothing.
Completes in O(log n) time. | "Removes an interval from the tree, if present. If not, does\n nothing.\n\n Completes in O(log n) time." | 139 | false | chaimleib/intervaltree | discard | 37,637 | |
LDU_FT/brechtm/rinohtype/undo_filter | LDU_FT | [
"<BEGIN>\n## `preprocess_tree`",
"Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>",
"<BEGIN>\n## `_size_columns`",
"Calculate the table's column sizes constrained by:",
" - requested (absolute, rela... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the undo_filter API.
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 undo_filter API.
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... | Undo the filter for a scanline.
`scanline` is a sequence of bytes that does not include
the initial filter type byte.
The scanline will have the effects of filtering removed.
Scanline modified inplace and also returned as result. | "Undo the filter for a scanline.\n\n `scanline` is a sequence of bytes that does not include\n the initial filter type byte.\n\n The scanline will have the effects of filtering removed.\n Scanline modified inplace and also returned as result." | 310 | false | brechtm/rinohtype | undo_filter | 37,638 | |
LDU_FT/MartijnBraam/pyElectronics/write | LDU_FT | [
"<BEGIN>\n## `read`",
"Read the pin state of an input pin.\n Make sure you put the pin in input modus with the IODIR* register or direction_* attribute first.",
" :Example:",
" >>> expander = MCP23017I2C(gw)\n >>> # Read the logic level on pin B3\n >>> expander.read('B3')\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Set the pin state.
Make sure you put the pin in output mode first.
:param pin: The label for the pin to write to. (Ex. A0)
:param value: Boolean representing the new state | "Set the pin state.\n Make sure you put the pin in output mode first.\n\n :param pin: The label for the pin to write to. (Ex. A0)\n :param value: Boolean representing the new state" | 88 | false | MartijnBraam/pyElectronics | write | 37,639 | |
LDU_FT/Capitains/MyCapytain/copyNode | LDU_FT | [
"<BEGIN>\n## `call`",
"Call an endpoint given the parameters",
" :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>",
"<BEGIN>\n## `getValidReff`",
"Retrieve valid urn-references for a text",
" :param urn: URN identifying the text\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyNode API.
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 copyNode API.
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... | Copy an XML Node
:param node: Etree Node
:param children: Copy children nodes is set to True
:param parent: Append copied node to parent if given
:return: New Element | "Copy an XML Node\n\n :param node: Etree Node\n :param children: Copy children nodes is set to True\n :param parent: Append copied node to parent if given\n :return: New Element" | 473 | false | Capitains/MyCapytain | copyNode | 37,640 | |
LDU_FT/nir0s/serv/generate | LDU_FT | [
"<BEGIN>\n## `generate`",
"Create a service.",
" `COMMAND` is the path to the executable to run\n<END>",
"<BEGIN>\n## `_parse_service_env_vars`",
"Return a dict based on `key=value` pair strings.\n<END>",
"<BEGIN>\n## `_set_service_name_from_command`",
"Set the name of a service according to the comm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create a service.
`COMMAND` is the path to the executable to run | "Create a service.\n\n `COMMAND` is the path to the executable to run" | 65 | false | nir0s/serv | generate | 37,641 | |
LDU_FT/jaraco/jaraco.postgres/create | LDU_FT | [
"<BEGIN>\n## `create`",
"CREATE this DATABASE.",
" @param sql: (Optional) A string of psql (such as might be generated\n by pg_dump); it will be executed by psql(1) after creating the\n database.\n @type sql: str",
" @rtype: None\n<END>",
"<BEGIN>\n## `psql_string`",
"Ev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | CREATE this DATABASE.
@param sql: (Optional) A string of psql (such as might be generated
by pg_dump); it will be executed by psql(1) after creating the
database.
@type sql: str
@rtype: None | "CREATE this DATABASE.\n\n @param sql: (Optional) A string of psql (such as might be generated\n by pg_dump); it will be executed by psql(1) after creating the\n database.\n @type sql: str\n\n @rtype: None" | 45 | false | jaraco/jaraco.postgres | create | 37,642 | |
LDU_FT/quizl/quizler/has_common | LDU_FT | [
"<BEGIN>\n## `get_api_envs`",
"Get required API keys from environment variables.\n<END>",
"<BEGIN>\n## `api_call`",
"Call given API end_point with API keys.\n :param method: HTTP method (e.g. 'get', 'delete').\n :param end_point: API endpoint (e.g. 'users/john/sets').\n :param params: Dictionary to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_common API.
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 has_common API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return set of common words between two word sets. | "Return set of common words between two word sets." | 20 | false | quizl/quizler | has_common | 37,643 | |
LDU_FT/cmorisse/ikp3db/canonic | LDU_FT | [
"<BEGIN>\n## `set_trace`",
"Breaks on the line that invoked this function or at given frame.\n User can then resume execution.",
" To call set_trace() use:",
" .. code-block:: python",
" import ikp3db ; ikp3db.set_trace()",
" :param a_frame: The frame at which to break on.\n :type a_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonic API.
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 canonic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | returns canonical version of a file name.
A canonical file name is an absolute, lowercase normalized path
to a given file. | "returns canonical version of a file name.\n A canonical file name is an absolute, lowercase normalized path \n to a given file." | 109 | false | cmorisse/ikp3db | canonic | 37,644 | |
LDU_FT/bukun/TorCMS/query_all | LDU_FT | [
"<BEGIN>\n## `view_or_add`",
"To judge if there is a post of the title.\n Then, to show, or to add.\n<END>",
"<BEGIN>\n## `gen_array_crud`",
"Return the dictionay of the switcher form XLXS file.\n if valud of the column of the row is `1`, it will be added to the array.\n<END>",
"<BEGIN>\n## `__ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_all API.
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 query_all API.
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... | 查询所有未登录用户的访问记录
ToDo: ``None`` ? | "查询所有未登录用户的访问记录\n ToDo: ``None`` ?" | 189 | false | bukun/TorCMS | query_all | 37,645 | |
LDU_FT/jazzband/django-push-notifications/_wns_authenticate | LDU_FT | [
"<BEGIN>\n## `get_prep_value`",
"Return the integer value to be stored from the hex string\n<END>",
"<BEGIN>\n## `from_db_value`",
"Return an unsigned int representation from all db backends\n<END>",
"<BEGIN>\n## `to_python`",
"Return a str representation of the hexadecimal\n<END>",
"<BEGIN>\n## `apns_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wns_authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _wns_authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Requests an Access token for WNS communication.
:return: dict: {'access_token': <str>, 'expires_in': <int>, 'token_type': 'bearer'} | "Requests an Access token for WNS communication.\n\n\t:return: dict: {'access_token': <str>, 'expires_in': <int>, 'token_type': 'bearer'}" | 61 | false | jazzband/django-push-notifications | _wns_authenticate | 37,646 | |
LDU_FT/paolodragone/pymzn/mzn2fzn | LDU_FT | [
"<BEGIN>\n## `minizinc`",
"Coroutine version of the ``pymzn.minizinc`` function.",
" Parameters\n ----------\n max_queue_size : int\n Maximum number of solutions in the queue between the solution parser and\n the returned solution stream. When the queue is full, the solver\n execut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mzn2fzn API.
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 mzn2fzn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Flatten a MiniZinc model into a FlatZinc one.
This function is equivalent to the command ``minizinc --compile``.
Parameters
----------
mzn : str
The minizinc model. This can be either the path to the ``.mzn`` file or
the content of the model itself.
*dzn_files
A list of pat... | "Flatten a MiniZinc model into a FlatZinc one.\n\n This function is equivalent to the command ``minizinc --compile``.\n\n Parameters\n ----------\n mzn : str\n The minizinc model. This can be either the path to the ``.mzn`` file or\n the content of the model itself.\n *dzn_files\n A ... | 102 | false | paolodragone/pymzn | mzn2fzn | 37,647 | |
LDU_FT/BlueBrain/nat/getEdges | LDU_FT | [
"<BEGIN>\n## `check_ocrmypdf`",
"Run ocrmypdf and confirmed that a valid file was created\n<END>",
"<BEGIN>\n## `run_ocrmypdf`",
"Run ocrmypdf and let caller deal with results\n<END>",
"<BEGIN>\n## `getParamValues`",
"Return the rows of sampleDF that are associated to the parameter\n specified in p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEdges API.
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 getEdges API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get nodes connected by an edge type from: /graph/edges/{type}
Arguments:
type: The type of the edge
entail: Should subproperties and equivalent properties be included
limit: The number of edges to be returned
skip: The number of edges to skip
callb... | "Get nodes connected by an edge type from: /graph/edges/{type}\n Arguments:\n type: The type of the edge\n entail: Should subproperties and equivalent properties be included\n limit: The number of edges to be returned\n skip: The number of edges to skip\n ... | 56 | false | BlueBrain/nat | getEdges | 37,648 | |
LDU_FT/podio/podio-py/find_by_ref | LDU_FT | [
"<BEGIN>\n## `AuthorizingClient`",
"Creates a Podio client using an auth object.\n<END>",
"<BEGIN>\n## `encode_and_quote`",
"If ``data`` is unicode, return urllib.quote_plus(data.encode(\"utf-8\"))\n otherwise return urllib.quote_plus(data)\n<END>",
"<BEGIN>\n## `_strify`",
"If s is a unicode string, e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_ref API.
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 find_by_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns an object of type "item", "status" or "task" as a
stream object. This is useful when a new status has been
posted and should be rendered directly in the stream without
reloading the entire stream.
For details, see: https://developers.podio.com/doc/stream/get-stream-object-80054 | "Returns an object of type \"item\", \"status\" or \"task\" as a\n stream object. This is useful when a new status has been\n posted and should be rendered directly in the stream without\n reloading the entire stream.\n\n For details, see: https://developers.podio.com/doc/stream/get-stream-o... | 82 | false | podio/podio-py | find_by_ref | 37,649 | |
LDU_FT/ThreatResponse/aws_ir_plugins/setup | LDU_FT | [
"<BEGIN>\n## `setup`",
"Method runs the plugin attaching policies to the user in question\n<END>",
"<BEGIN>\n## `_get_policies`",
"Returns all the policy names for a given user\n<END>",
"<BEGIN>\n## `_locate_file`",
"Locate all files matching supplied filename pattern in and below",
" supplied ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
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... | Method runs the plugin attaching policies to the user in question | "Method runs the plugin attaching policies to the user in question" | 12 | false | ThreatResponse/aws_ir_plugins | setup | 37,650 | |
LDU_FT/blockcypher/blockcypher-python/script_to_address | LDU_FT | [
"<BEGIN>\n## `script_to_address`",
"Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236\n<END>",
"<BEGIN>\n## `get_address_details`",
"Takes an address and coin_symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the script_to_address API.
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 script_to_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Like script_to_address but supports altcoins
Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236 | "Like script_to_address but supports altcoins\n Copied 2015-10-02 from https://github.com/mflaxman/pybitcointools/blob/faf56c53148989ea390238c3c4541a6ae1d601f5/bitcoin/transaction.py#L224-L236" | 163 | false | blockcypher/blockcypher-python | script_to_address | 37,651 | |
LDU_FT/ransford/sllurp/deserialize | LDU_FT | [
"<BEGIN>\n## `decode_tve_parameter`",
"Generic byte decoding function for TVE parameters.",
" Given an array of bytes, tries to interpret a TVE parameter from the\n beginning of the array. Returns the decoded data and the number of bytes\n it read.\n<END>",
"<BEGIN>\n## `tagReportCallback`",
"Func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize API.
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 deserialize API.
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... | Turns a sequence of bytes into a message dictionary. | "Turns a sequence of bytes into a message dictionary." | 59 | false | ransford/sllurp | deserialize | 37,652 | |
LDU_FT/zrong/rookout/get_hash | LDU_FT | [
"<BEGIN>\n## `copy_from_dict`",
"从一个已经存在的 dict 中复制所有的值。",
" :param adict: 被复制的 dict。\n :type adict: dict\n :param parent: 复制到哪个父对象。\n 若为 None 则复制到 self 。\n :type parent: rookout.PYConf\n<END>",
"<BEGIN>\n## `dump`",
"将自身内容打印成字符串",
" :param bool hu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hash API.
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... | 获取可被 git 的 HEAD 的 sha1 值。
:param str path: git 仓库文件夹路径。
:param int cut: 包含的 sha1 值的长度。0代表不剪切。
:returns: 剪切过的 sha1 的值。
:rtype: str | "获取可被 git 的 HEAD 的 sha1 值。\n\n :param str path: git 仓库文件夹路径。\n :param int cut: 包含的 sha1 值的长度。0代表不剪切。\n :returns: 剪切过的 sha1 的值。\n :rtype: str" | 77 | false | zrong/rookout | get_hash | 37,653 | |
LDU_FT/jadolg/rocketchat_API/im_messages_others | LDU_FT | [
"<BEGIN>\n## `directory`",
"Search by users or channels on all server.\n<END>",
"<BEGIN>\n## `spotlight`",
"Searches for users or rooms that are visible to the user.\n<END>",
"<BEGIN>\n## `users_info`",
"Gets a user’s information, limited to the caller’s permissions.\n<END>",
"<BEGIN>\n## `chat_search`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the im_messages_others 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 im_messages_others 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... | Retrieves the messages from any direct message in the server | "Retrieves the messages from any direct message in the server" | 82 | false | jadolg/rocketchat_API | im_messages_others | 37,654 | |
LDU_FT/pecan/pecan/invoke | LDU_FT | [
"<BEGIN>\n## `route`",
"This function is used to define an explicit route for a path segment.",
" You generally only want to use this in situations where your desired path\n segment is not a valid Python variable/function name.",
" For example, if you wanted to be able to route to:",
" /path/wit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API.
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 invoke API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | :param ns: local namespace
:param banner: interactive shell startup banner
Embed an interactive ipython shell.
Try the InteractiveShellEmbed API first, fall back on
IPShellEmbed for older IPython versions. | ":param ns: local namespace\n :param banner: interactive shell startup banner\n\n Embed an interactive ipython shell.\n Try the InteractiveShellEmbed API first, fall back on\n IPShellEmbed for older IPython versions." | 157 | false | pecan/pecan | invoke | 37,655 | |
LDU_FT/sparknetworks/pgpm/parse_connection_string_psycopg2 | LDU_FT | [
"<BEGIN>\n## `deploy_schema_to_db`",
"Deploys schema\n :param files_deployment: if specific script to be deployed, only find them\n :param mode:\n :param vcs_ref:\n :param vcs_link:\n :param issue_ref:\n :param issue_link:\n :param compare_table_scripts_as_int:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_connection_string_psycopg2 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 parse_connection_string_psycopg2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | parses psycopg2 consumable connection string
:param connection_string:
:return: return dictionary with connection string parts | "parses psycopg2 consumable connection string\n :param connection_string:\n :return: return dictionary with connection string parts" | 39 | false | sparknetworks/pgpm | parse_connection_string_psycopg2 | 37,656 | |
LDU_FT/qiniu/python-sdk/execute | LDU_FT | [
"<BEGIN>\n## `execute`",
"执行持久化处理:",
" Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关",
" Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | 执行持久化处理:
Args:
key: 待处理的源文件
fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop
force: 强制执行持久化处理开关
Returns:
一个dict变量,返回持久化处理的persistentId,类似{"persistentId": 5476bedf7823de4068253bae};
一个Respons... | "执行持久化处理:\n\n Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关\n\n Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 5476bedf7823de4068253bae};\n ... | 337 | false | qiniu/python-sdk | execute | 37,657 | |
LDU_FT/CTPUG/wafer/sso | LDU_FT | [
"<BEGIN>\n## `build_object`",
"Override django-bakery to skip profiles that raise 404\n<END>",
"<BEGIN>\n## `generate_schedule`",
"Helper function which creates an ordered list of schedule days\n<END>",
"<BEGIN>\n## `get_context_data`",
"Allow adding a 'render_description' parameter\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sso API.
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 sso API.
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... | Create a user, if the provided `user` is None, from the parameters.
Then log the user in, and return it. | "Create a user, if the provided `user` is None, from the parameters.\n Then log the user in, and return it." | 72 | false | CTPUG/wafer | sso | 37,658 | |
LDU_FT/ambitioninc/newrelic-api/update | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates any of the optional parameters of the alert condition nrql",
" :type alert_condition_nrql_id: int\n :param alert_condition_nrql_id: Alerts condition NRQL id to update",
" :type policy_id: int\n :param policy_id: Alert policy id where target alert co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates any of the optional parameters of the server
:type id: int
:param id: Server ID
:type name: str
:param name: The name of the server
:rtype: dict
:return: The JSON response of the API
::
{
"server": {
"id... | "Updates any of the optional parameters of the server\n\n :type id: int\n :param id: Server ID\n\n :type name: str\n :param name: The name of the server\n\n :rtype: dict\n :return: The JSON response of the API\n\n ::\n\n {\n \"server\": {\n ... | 299 | false | ambitioninc/newrelic-api | update | 37,659 | |
LDU_FT/spotify/gordon/_check_resolver_ans | LDU_FT | [
"<BEGIN>\n## `run`",
"Entrypoint to route messages between plugins.\n<END>",
"<BEGIN>\n## `shutdown`",
"Gracefully cancel current tasks when app receives a shutdown signal.\n<END>",
"<BEGIN>\n## `_deep_merge_dict`",
"Additively merge right side dict into left side dict.\n<END>",
"<BEGIN>\n## `load_plugi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_resolver_ans 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 _check_resolver_ans 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... | Check if resolver answer is equal to record data.
Args:
dns_answer_list (list): DNS answer list contains record objects.
record_name (str): Record name.
record_data_list (list): List of data values for the record.
record_ttl (int): Record time-to-live info.
... | "Check if resolver answer is equal to record data.\n\n Args:\n dns_answer_list (list): DNS answer list contains record objects.\n record_name (str): Record name.\n record_data_list (list): List of data values for the record.\n record_ttl (int): Record time-to-live info... | 28 | false | spotify/gordon | _check_resolver_ans | 37,660 | |
LDU_FT/undertheseanlp/underthesea/pos_tag | LDU_FT | [
"<BEGIN>\n## `Text`",
"provide a wrapper for python string\n map byte to str (python 3)\n all string in utf-8 encoding\n normalize string to NFC\n<END>",
"<BEGIN>\n## `sent2features`",
"extract features in a sentence",
" :type sentence: list of token, each token is a list of tag\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos_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.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos_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.
The extracted... | Vietnamese POS tagging
Parameters
==========
sentence: {unicode, str}
Raw sentence
Returns
=======
tokens: list of tuple with word, pos tag
tagged sentence
Examples
--------
>>> # -*- coding: utf-8 -*-
>>> from underthesea import pos_tag
>>> sentence = "Chợ... | "Vietnamese POS tagging\n\n Parameters\n ==========\n\n sentence: {unicode, str}\n Raw sentence\n\n Returns\n =======\n tokens: list of tuple with word, pos tag\n tagged sentence\n Examples\n --------\n >>> # -*- coding: utf-8 -*-\n >>> from underthesea import pos_tag\n >>... | 62 | false | undertheseanlp/underthesea | pos_tag | 37,661 | |
LDU_FT/caffeinehit/django-oauth2-provider/password | LDU_FT | [
"<BEGIN>\n## `check`",
"Check if a desired scope ``wants`` is part of an available scope ``has``.",
" Returns ``False`` if not, return ``True`` if yes.",
" :example:",
" If a list of scopes such as",
" ::",
" READ = 1 << 1\n WRITE = 1 << 2\n READ_WRITE = READ | WRITE",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the password API.
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 password API.
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... | Handle ``grant_type=password`` requests as defined in :rfc:`4.3`. | "Handle ``grant_type=password`` requests as defined in :rfc:`4.3`." | 74 | false | caffeinehit/django-oauth2-provider | password | 37,662 | |
LDU_FT/bmuller/kademlia/load_state | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add a C{Node} to the C{KBucket}. Return True if successful,\n False if the bucket is full.",
" If the bucket is full, keep track of node in a replacement list,\n per section 4.1 of the paper.\n<END>",
"<BEGIN>\n## `lonely_buckets`",
"Get all of the buckets th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_state API.
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... | Load the state of this node (the alpha/ksize/id/immediate neighbors)
from a cache file with the given fname. | "Load the state of this node (the alpha/ksize/id/immediate neighbors)\n from a cache file with the given fname." | 62 | false | bmuller/kademlia | load_state | 37,663 | |
LDU_FT/calocan/rescape-python-helpers/all_pass_dict | LDU_FT | [
"<BEGIN>\n## `prop`",
"Implementation of prop (get_item) that also supports object attributes\n :param key:\n :param dct_or_obj:\n :return:\n<END>",
"<BEGIN>\n## `all_pass_dict`",
"Returns true if all dct values pass f\n :param f: binary lambda predicate\n :param dct:\n :return: True or fals... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_pass_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_pass_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns true if all dct values pass f
:param f: binary lambda predicate
:param dct:
:return: True or false | "Returns true if all dct values pass f\n :param f: binary lambda predicate\n :param dct:\n :return: True or false" | 54 | false | calocan/rescape-python-helpers | all_pass_dict | 37,664 | |
LDU_FT/Robpol86/sphinxcontrib-versioning/tags | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Configure console logging. Info and below go to stdout, others go to stderr.",
" :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return list of (name and urls) only tags. | "Return list of (name and urls) only tags." | 172 | false | Robpol86/sphinxcontrib-versioning | tags | 37,665 | |
LDU_FT/pyroscope/pyrobase/shorten | LDU_FT | [
"<BEGIN>\n## `bwrite`",
"Encode a given object to a file or stream.\n<END>",
"<BEGIN>\n## `decode`",
"Decode data in C{self.data} and return deserialized object.",
" @param check_trailer: Raise error if trailing junk is found in data?\n @raise BencodeError: Invalid data.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shorten API.
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 shorten API.
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... | Reduce text length for displaying / logging purposes. | "Reduce text length for displaying / logging purposes." | 57 | false | pyroscope/pyrobase | shorten | 37,666 | |
LDU_FT/sqlboy/fileseq/normalize | LDU_FT | [
"<BEGIN>\n## `xfrange`",
"Returns a generator that yields the frames from start to stop, inclusive.\n In other words it adds or subtracts a frame, as necessary, to return the\n stop value as well, if the stepped range would touch that value.",
" Args:\n start (int):\n stop (int):\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a new normalized (sorted and compacted) :class:`FrameSet`.
Returns:
:class:`FrameSet`: | "Returns a new normalized (sorted and compacted) :class:`FrameSet`.\n\n Returns:\n :class:`FrameSet`:" | 146 | false | sqlboy/fileseq | normalize | 37,667 | |
LDU_FT/quantumlib/Cirq/run_shell | LDU_FT | [
"<BEGIN>\n## `_absorb_z_into_w`",
"Absorbs a Z^t gate into a W(a) flip.",
" [Where W(a) is shorthand for PhasedX(phase_exponent=a).]",
" Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_shell API.
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 run_shell API.
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... | Invokes a shell command and waits for it to finish.
Args:
cmd: The command line string to execute, e.g. "echo dog | cat > file".
out: Where to write the process' stdout. Defaults to sys.stdout. Can be
anything accepted by print's 'file' parameter, or None if the
output shoul... | "Invokes a shell command and waits for it to finish.\n\n Args:\n cmd: The command line string to execute, e.g. \"echo dog | cat > file\".\n out: Where to write the process' stdout. Defaults to sys.stdout. Can be\n anything accepted by print's 'file' parameter, or None if the\n out... | 1,764 | true | quantumlib/Cirq | run_shell | 37,668 | |
LDU_FT/thieman/dagobah/_start_if_ready | 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 _start_if_ready API.
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 _start_if_ready API.
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... | Start this task if all its dependencies finished successfully. | "Start this task if all its dependencies finished successfully." | 120 | false | thieman/dagobah | _start_if_ready | 37,669 | |
LDU_FT/guaix-ucm/pyemir/extract_slitlet2d | LDU_FT | [
"<BEGIN>\n## `merge2images`",
"Merge 2 EMIR images, averaging the common region.",
" Parameters\n ----------\n hdu1 : HDUList object\n Input image #1.\n hdu2 : HDUList object\n Input image #2.\n debugplot : int\n Determines whether intermediate computations and/or plots\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_slitlet2d API.
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 extract_slitlet2d API.
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 slitlet 2d image from image with original EMIR dimensions.
Parameters
----------
image_2k2k : numpy array
Original image (dimensions EMIR_NAXIS1 * EMIR_NAXIS2)
Returns
-------
slitlet2d : numpy array
Image corresponding to the slitlet reg... | "Extract slitlet 2d image from image with original EMIR dimensions.\n\n Parameters\n ----------\n image_2k2k : numpy array\n Original image (dimensions EMIR_NAXIS1 * EMIR_NAXIS2)\n\n Returns\n -------\n slitlet2d : numpy array\n Image corresponding to the ... | 282 | false | guaix-ucm/pyemir | extract_slitlet2d | 37,670 | |
LDU_FT/LuminosoInsight/wordfreq/get_frequency_list | LDU_FT | [
"<BEGIN>\n## `simple_tokenize`",
"Tokenize the given text using a straightforward, Unicode-aware token\n expression.",
" The expression mostly implements the rules of Unicode Annex #29 that\n are contained in the `regex` module's word boundary matching, including\n the refinement that splits words b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frequency_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frequency_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Read the raw data from a wordlist file, returning it as a list of
lists. (See `read_cBpack` for what this represents.)
Because we use the `langcodes` module, we can handle slight
variations in language codes. For example, looking for 'pt-BR',
'pt_br', or even 'PT_BR' will get you the 'pt' (Portuguese) ... | "Read the raw data from a wordlist file, returning it as a list of\n lists. (See `read_cBpack` for what this represents.)\n\n Because we use the `langcodes` module, we can handle slight\n variations in language codes. For example, looking for 'pt-BR',\n 'pt_br', or even 'PT_BR' will get you the 'pt' (Portug... | 139 | false | LuminosoInsight/wordfreq | get_frequency_list | 37,671 | |
LDU_FT/rossant/ipymd/save | LDU_FT | [
"<BEGIN>\n## `_get_html_contents`",
"Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block.\n<END>",
"<BEGIN>\n## `format_manager`",
"Return the instance singleton, creating if necessary\n<END>",
"<BEGIN>\n## `register_entrypoints`",
"Look through the `set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save the file model and return the model with no content. | "Save the file model and return the model with no content." | 64 | false | rossant/ipymd | save | 37,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.