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/jjjake/internetarchive/modify_metadata
LDU_FT
[ "<BEGIN>\n## `prepare_metadata`", "Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.", " :type metadata: dict\n :param metadata: The metadata dict to be prepared.", " :type source_metadata: dic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_metadata API. 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 modify_metadata API. 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...
Modify the metadata of an existing item on Archive.org. :type identifier: str :param identifier: The globally unique Archive.org identifier for a given item. :type metadata: dict :param metadata: Metadata used to update the item. :type target: str :param target: (optional) The metadata target...
"Modify the metadata of an existing item on Archive.org.\n\n :type identifier: str\n :param identifier: The globally unique Archive.org identifier for a given item.\n\n :type metadata: dict\n :param metadata: Metadata used to update the item.\n\n :type target: str\n :param target: (optional) The metad...
281
false
jjjake/internetarchive
modify_metadata
25,973
LDU_FT/pylast/pylast/get_web_auth_session_key_username
LDU_FT
[ "<BEGIN>\n## `cleanup_nodes`", "Remove text nodes containing only whitespace\n<END>", "<BEGIN>\n## `_collect_nodes`", "Returns a sequence of dom.Node objects about as close to limit as possible\n<END>", "<BEGIN>\n## `_extract_all`", "Extracts all the values from the xml string. returning a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_web_auth_session_key_username API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_web_auth_session_key_username API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Retrieves the session key/username of a web authorization process by its URL.
"Retrieves the session key/username of a web authorization process by its URL."
146
false
pylast/pylast
get_web_auth_session_key_username
25,974
LDU_FT/usc-isi-i2/etk/__validation_property_domain
LDU_FT
[ "<BEGIN>\n## `decode_unicode`", "Process of parsing:\n -> Convert unicode into standard form\n -> Convert each character of the unicode symbol to its numerical equivalent\n -> Mapping Process:\n - First check in pattern dictionary to map suffix/prefix\n - Check Emoticon Dictionary \n - Replace valu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __validation_property_domain 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 __validation_property_domain API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
if p.sub_property_of(q) then for every x in included_domains(p) we have x is subclass of some d in included_domains(q)
"if p.sub_property_of(q) then\n for every x in included_domains(p) we have x is subclass of some d in\n included_domains(q)"
427
false
usc-isi-i2/etk
__validation_property_domain
25,975
LDU_FT/hydpy-dev/hydpy/calc_q0_perc_uz_v1
LDU_FT
[ "<BEGIN>\n## `xml_replace`", "Read the content of an XML template file (XMLT), apply the given\n `replacements` to its substitution markers, and write the result into\n an XML file with the same name but ending with `xml` instead of `xmlt`.", " First, we write an XMLT file, containing a regular HTML c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_q0_perc_uz_v1 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 calc_q0_perc_uz_v1 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...
Perform the upper zone layer routine which determines percolation to the lower zone layer and the fast response of the hland model. Note that the system behaviour of this method depends strongly on the specifications of the options |RespArea| and |RecStep|. Required control parameters: |RecStep| ...
"Perform the upper zone layer routine which determines percolation\n to the lower zone layer and the fast response of the hland model.\n Note that the system behaviour of this method depends strongly on the\n specifications of the options |RespArea| and |RecStep|.\n\n Required control parameters:\n |Re...
3,847
true
hydpy-dev/hydpy
calc_q0_perc_uz_v1
25,976
LDU_FT/wrongwaycn/ssdb-py/zremrangebyscore
LDU_FT
[ "<BEGIN>\n## `execute`", "Execute all the commands in the current pipeline\n<END>", "<BEGIN>\n## `execute_command`", "Execute a command and return a parsed response.\n<END>", "<BEGIN>\n## `incr`", "Increase the value at key ``name`` by ``amount``. If no key exists, the value\n will be initialized a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zremrangebyscore API. 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 zremrangebyscore API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Delete the elements of the zset which have rank in the range [score_start,score_end]. .. note:: The range is [``score_start``, ``score_end``] :param string name: the zset name :param int score_start: The minimum score related to keys(included), empty string ``''`` mean...
"Delete the elements of the zset which have rank in the range\n [score_start,score_end].\n \n .. note:: The range is [``score_start``, ``score_end``]\n\n :param string name: the zset name\n :param int score_start: The minimum score related to keys(included),\n empty string ``'...
215
false
wrongwaycn/ssdb-py
zremrangebyscore
25,977
LDU_FT/googlefonts/glyphsLib/_fail
LDU_FT
[ "<BEGIN>\n## `to_ufo_font_attributes`", "Generate a list of UFOs with metadata loaded from .glyphs data.", " Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>", "<BEGIN>\n## `to_glyphs_font_attributes`", "Copy font attributes from `ufo` either to `self.font` or to `master`.", " Arg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fail API. 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 _fail API. 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...
Raise an exception with given message and text at i.
"Raise an exception with given message and text at i."
235
false
googlefonts/glyphsLib
_fail
25,978
LDU_FT/datacamp/sqlwhat/check_query
LDU_FT
[ "<BEGIN>\n## `has_no_error`", "Check whether the submission did not generate a runtime error.", " Simply use ``Ex().has_no_error()`` in your SCT whenever you want to check for errors.\n By default, after the entire SCT finished executing, ``sqlwhat`` will check\n for errors before marking the exercise ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Run arbitrary queries against to the DB connection to verify the database state. For queries that do not return any output (INSERTs, UPDATEs, ...), you cannot use functions like ``check_col()`` and ``is_equal()`` to verify the query result. ``check_query()`` will rerun the solution query in the transactio...
"Run arbitrary queries against to the DB connection to verify the database state.\n\n For queries that do not return any output (INSERTs, UPDATEs, ...),\n you cannot use functions like ``check_col()`` and ``is_equal()`` to verify the query result.\n\n ``check_query()`` will rerun the solution query in the tran...
90
false
datacamp/sqlwhat
check_query
25,979
LDU_FT/AndrewAnnex/SpiceyPy/repmf
LDU_FT
[ "<BEGIN>\n## `_distribution_info`", "Creates the distribution name and the expected extension for the\n CSPICE package and returns it.", " :return (distribution, extension) tuple where distribution is the best\n guess from the strings available within the platform_urls list\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repmf API. 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 repmf API. 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...
Replace a marker in a string with a formatted double precision value. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/repmf_c.html :param instr: Input string. :type instr: str :param marker: Marker to be replaced. :type marker: str :param value: Replacement value. :type value: floa...
"Replace a marker in a string with a formatted double precision value.\n\n http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/repmf_c.html\n\n :param instr: Input string.\n :type instr: str\n :param marker: Marker to be replaced.\n :type marker: str\n :param value: Replacement value.\n :type v...
2,164
true
AndrewAnnex/SpiceyPy
repmf
25,980
LDU_FT/alejandrobll/py-sphviewer/get_scene
LDU_FT
[ "<BEGIN>\n## `set_logscale`", "- set_logscale(): If M is the matrix of the image, it defines the image M as log10(M+1).\n<END>", "<BEGIN>\n## `histogram`", "- histogram(axis=None, **kargs): It computes and shows the histogram of the image. This is \n usefull for choosing a proper scale to the output, o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scene API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scene API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
- get_scene(): It return the x and y position, the smoothing length of the particles and the index of the particles that are active in the scene. In principle this is an internal function and you don't need this data.
"- get_scene(): It return the x and y position, the smoothing length \n of the particles and the index of the particles that are active in \n the scene. In principle this is an internal function and you don't \n need this data."
55
false
alejandrobll/py-sphviewer
get_scene
25,981
LDU_FT/asaskevich/binario/write_double
LDU_FT
[ "<BEGIN>\n## `write`", "Writes a byte buffer to the underlying output file.\n Raise exception when file is already closed.\n<END>", "<BEGIN>\n## `write_bool`", "Writes a boolean to the underlying output file as a 1-byte value.\n<END>", "<BEGIN>\n## `write_short`", "Writes a short integer to the und...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_double API. 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 write_double API. 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...
Writes a double to the underlying output file as a 8-byte value.
"Writes a double to the underlying output file as a 8-byte value."
23
false
asaskevich/binario
write_double
25,982
LDU_FT/mdscruggs/ga/copy
LDU_FT
[ "<BEGIN>\n## `eval_fitness`", "Convert a 1-gene chromosome into an integer and calculate its fitness\n by checking it against each required factor.", " return: fitness value\n<END>", "<BEGIN>\n## `translate_chromosome`", "Translate all the genes in a chromosome.", " chromosome: a ``...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API. 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 copy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a new instance of this gene with the same DNA.
"Return a new instance of this gene with the same DNA."
94
false
mdscruggs/ga
copy
25,983
LDU_FT/idmillington/layout/get_maximum
LDU_FT
[ "<BEGIN>\n## `_do_layout`", "Lays the text out into separate lines and calculates their\n total height.\n<END>", "<BEGIN>\n## `_calculate_ms_from_base`", "Calculates the rotated minimum size from the given base minimum\n size.\n<END>", "<BEGIN>\n## `render`", "Draws the signature mark.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_maximum API. 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_maximum API. 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...
Updates this vector so its components are the higher of its current components and those of the given other value.
"Updates this vector so its components are the higher of its\n current components and those of the given other value."
91
false
idmillington/layout
get_maximum
25,984
LDU_FT/radjkarl/fancyWidgets/contextMenuEvent
LDU_FT
[ "<BEGIN>\n## `contextMenuEvent`", "Add menu action:\n * 'Show line numbers'\n * 'Save to file'\n<END>", "<BEGIN>\n## `contextMenuEvent`", "Add menu action:\n * 'Show line numbers'\n * 'Save to file'\n<END>", "<BEGIN>\n## `findMenu`", "find a menu with a given title", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contextMenuEvent API. 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 contextMenuEvent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Add menu action: * 'Show line numbers' * 'Save to file'
"Add menu action:\n * 'Show line numbers'\n * 'Save to file'"
48
false
radjkarl/fancyWidgets
contextMenuEvent
25,985
LDU_FT/weld-project/weld/zip_columns
LDU_FT
[ "<BEGIN>\n## `to_weld_type`", "Summary", " Args:\n weld_type (TYPE): Description\n dim (TYPE): Description", " Returns:\n TYPE: Description\n<END>", "<BEGIN>\n## `evaluate`", "Summary", " Args:\n verbose (bool, optional): Description\n decode (bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip_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 extra...
Zip together multiple columns. Args: columns (WeldObject / Numpy.ndarray): lust of columns Returns: A WeldObject representing this computation
"Zip together multiple columns.\n\n Args:\n columns (WeldObject / Numpy.ndarray): lust of columns\n\n Returns:\n A WeldObject representing this computation"
210
false
weld-project/weld
zip_columns
25,986
LDU_FT/rsheftel/raccoon/set_rows
LDU_FT
[ "<BEGIN>\n## `sorted_exists`", "For list, values, returns the insert position for item x and whether the item already exists in the list. This\n allows one function call to return either the index to overwrite an existing value in the list, or the index to\n insert a new item in the list and keep the list i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_rows API. 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 set_rows API. 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...
Set rows to a single value or list of values. If any of the index values are not in the current indexes then a new row will be created. :param index: list of index values or list of booleans. If a list of booleans then the list must be the same\ length as the Series :param values: eithe...
"Set rows to a single value or list of values. If any of the index values are not in the current indexes\n then a new row will be created.\n\n :param index: list of index values or list of booleans. If a list of booleans then the list must be the same\\\n length as the Series\n :param values...
208
false
rsheftel/raccoon
set_rows
25,987
LDU_FT/PyFilesystem/pyfilesystem2/decode_windowsnt
LDU_FT
[ "<BEGIN>\n## `install`", "Install an opener.", " Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.", " Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_windowsnt API. 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 decode_windowsnt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Decodes a Windows NT FTP LIST line like these two: `11-02-18 02:12PM <DIR> images` `11-02-18 03:33PM 9276 logo.gif`
"Decodes a Windows NT FTP LIST line like these two:\n\n `11-02-18 02:12PM <DIR> images`\n `11-02-18 03:33PM 9276 logo.gif`"
320
false
PyFilesystem/pyfilesystem2
decode_windowsnt
25,988
LDU_FT/TheHive-Project/Cortex-Analyzers/__misphashtypes
LDU_FT
[ "<BEGIN>\n## `auth_string`", "Authenticate based on username and token which is base64-encoded\n<END>", "<BEGIN>\n## `api_related`", "Find related objects through SoltraEdge API\n<END>", "<BEGIN>\n## `tlp_classifiers`", "Classifier between Cortex and Soltra.\n Soltra uses name-TLP, and Cortex \"val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __misphashtypes API. 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 __misphashtypes API. 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...
Just for better readability, all __misp*type methods return just a list of misp data types :returns: MISP hash data types :rtype: list
"Just for better readability, all __misp*type methods return just a list of misp data types\n\n :returns: MISP hash data types\n :rtype: list"
328
false
TheHive-Project/Cortex-Analyzers
__misphashtypes
25,989
LDU_FT/ocaballeror/LyricFetch/exclude_sources
LDU_FT
[ "<BEGIN>\n## `load_from_file`", "Load a list of filenames from an external text file.\n<END>", "<BEGIN>\n## `parse_argv`", "Parse command line arguments. Settings will be stored in the global\n variables declared above.\n<END>", "<BEGIN>\n## `exclude_sources`", "Returns a narrower list of sources.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exclude_sources API. 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 exclude_sources API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns a narrower list of sources. If the exclude parameter is a list, every one of its items will be removed from the returned list. If it's just a function (or a function's name) and 'section' is set to False (default), a copy of the sources list without this element will be returned. If it'...
"Returns a narrower list of sources.\n\n If the exclude parameter is a list, every one of its items will be removed\n from the returned list.\n If it's just a function (or a function's name) and 'section' is set to\n False (default), a copy of the sources list without this element will be\n returned.\n ...
69
false
ocaballeror/LyricFetch
exclude_sources
25,990
LDU_FT/Legobot/Legobot/get_user_display_name
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to a server.", " This overrides the function in SimpleIRCClient\n to provide SSL functionality.", " :param args:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `set_metadata`", "This function sets the metadata that is common between p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_display_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_display_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Given a Slack userid, grabs user display_name from api. Args: userid (string): the user id of the user being queried Returns: dict: a dictionary of the api response
"Given a Slack userid, grabs user display_name from api.\n\n Args:\n userid (string): the user id of the user being queried\n Returns:\n dict: a dictionary of the api response"
119
false
Legobot/Legobot
get_user_display_name
25,991
LDU_FT/wtsi-hgi/python-baton-wrapper/get_out_of_date
LDU_FT
[ "<BEGIN>\n## `validate_baton_binaries_location`", "Validates that the given directory contains the baton binaries required to use the runner.\n :param baton_binaries_directory: the directory to check\n :return: exception that describes the issue else `None` if no issues\n<END>", "<BEGIN>\n## `_rai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_out_of_date API. 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_out_of_date API. 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...
Gets any data object replica that are marked as out of date/not in date. :return: the out of data object replica
"Gets any data object replica that are marked as out of date/not in date.\n :return: the out of data object replica"
71
false
wtsi-hgi/python-baton-wrapper
get_out_of_date
25,992
LDU_FT/duniter/duniter-python-api/save_seedhex_file
LDU_FT
[ "<BEGIN>\n## `from_signed_raw`", "Return Certification instance from signed raw document", " :param signed_raw: Signed raw document\n :return:\n<END>", "<BEGIN>\n## `from_inline`", "Return Certification instance from inline document", " Only self.pubkey_to is populated.\n You m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_seedhex_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_seedhex_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...
Save hexadecimal seed file from seed :param path: Authentication file path
"Save hexadecimal seed file from seed\n\n :param path: Authentication file path"
415
false
duniter/duniter-python-api
save_seedhex_file
25,993
LDU_FT/ungarj/tilematrix/matrix_width
LDU_FT
[ "<BEGIN>\n## `tile`", "Return Tile object of this TilePyramid.", " - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>", "<BEGIN>\n## `matrix_width`", "Tile matrix width (number of columns) at zoom level.", " - zoom: zoom level\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matrix_width API. 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 matrix_width API. 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...
Tile matrix width (number of columns) at zoom level. - zoom: zoom level
"Tile matrix width (number of columns) at zoom level.\n\n - zoom: zoom level"
71
false
ungarj/tilematrix
matrix_width
25,994
LDU_FT/amcat/amcatclient/get_article_urls
LDU_FT
[ "<BEGIN>\n## `serialize`", "JSON serializer that accepts datetime & date\n<END>", "<BEGIN>\n## `check`", "Check whether the status code of the response equals expected_status and\n raise an APIError otherwise.\n @param url: The url of the response (for error messages).\n Defaults to respo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_article_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_article_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return the articles from a page Technically, look for a div with class mw-search-result-heading and get the first link from this div
"Return the articles from a page\n Technically, look for a div with class mw-search-result-heading\n and get the first link from this div"
24
false
amcat/amcatclient
get_article_urls
25,995
LDU_FT/shreyaspotnis/rampage/disable_all
LDU_FT
[ "<BEGIN>\n## `updateAllKeys`", "Update times for all keys in the layout.\n<END>", "<BEGIN>\n## `set_output`", "Sets whether the function generator is outputting a voltage.\n<END>", "<BEGIN>\n## `set_fm_ext`", "Sets the func generator to frequency modulation with external modulation.\n freq is the c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_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 extra...
Disables all modulation and outputs of the Standford MW func. generator
"Disables all modulation and outputs of the Standford MW func. generator"
90
false
shreyaspotnis/rampage
disable_all
25,996
LDU_FT/political-memory/django-representatives/create_parl_websites
LDU_FT
[ "<BEGIN>\n## `create_parl_websites`", "Prepare for remote_id removal by creating WebSite entities from it.\n<END>", "<BEGIN>\n## `migrate_constituencies`", "Re-save constituencies to recompute fingerprints\n<END>", "<BEGIN>\n## `_get_path`", "Get value at specific path in dictionary. Path is specified by ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_parl_websites API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_parl_websites API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Prepare for remote_id removal by creating WebSite entities from it.
"Prepare for remote_id removal by creating WebSite entities from it."
22
false
political-memory/django-representatives
create_parl_websites
25,997
LDU_FT/brunato/lograptor/make_html
LDU_FT
[ "<BEGIN>\n## `make_text`", "Make the text representation of a report data element.\n<END>", "<BEGIN>\n## `make_html`", "Make the text representation of a report element as html.\n<END>", "<BEGIN>\n## `make_csv`", "Get the text representation of a report element as csv.\n<END>", "<BEGIN>\n## `make_format...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_html API. 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 make_html API. 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...
Make the text representation of a report element as html.
"Make the text representation of a report element as html."
121
false
brunato/lograptor
make_html
25,998
LDU_FT/CityOfZion/neo-boa/orderered_methods
LDU_FT
[ "<BEGIN>\n## `main`", "Return the default method in this module.", " :return: the default method in this module\n :rtype: ``boa.code.method.Method``\n<END>", "<BEGIN>\n## `orderered_methods`", "An ordered list of methods", " :return: A list of ordered methods is this module\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orderered_methods API. 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 orderered_methods API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
An ordered list of methods :return: A list of ordered methods is this module :rtype: list
"An ordered list of methods\n\n :return: A list of ordered methods is this module\n :rtype: list"
36
false
CityOfZion/neo-boa
orderered_methods
25,999
LDU_FT/bashu/django-watermark/determine_rotation
LDU_FT
[ "<BEGIN>\n## `watermark`", "Returns the URL to a watermarked copy of the image specified.\n<END>", "<BEGIN>\n## `_get_filesystem_path`", "Makes a filesystem path from the specified URL path\n<END>", "<BEGIN>\n## `generate_filename`", "Comes up with a good filename for the watermarked image\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the determine_rotation 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 determine_rotation 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...
Determines the number of degrees to rotate the watermark image.
"Determines the number of degrees to rotate the watermark image."
18
false
bashu/django-watermark
determine_rotation
26,000
LDU_FT/vladsaveliev/TargQC/LookupChain
LDU_FT
[ "<BEGIN>\n## `main`", "Annotating BED file based on reference features annotations.\n<END>", "<BEGIN>\n## `downsample`", "get N random headers from a fastq file without reading the\n whole thing into memory\n modified from: http://www.biostars.org/p/6544/\n<END>", "<BEGIN>\n## `AddIndex`", "Recursiv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LookupChain API. 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 LookupChain API. 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 a *function* suitable for passing as the more_formatters argument to Template. NOTE: In Java, this would be implemented using the 'Composite' pattern. A *list* of formatter lookup function behaves the same as a *single* formatter lookup funcion. Note the distinction between formatter *lookup* funct...
"Returns a *function* suitable for passing as the more_formatters argument\n to Template.\n\n NOTE: In Java, this would be implemented using the 'Composite' pattern. A\n *list* of formatter lookup function behaves the same as a *single* formatter\n lookup funcion.\n\n Note the distinction between formatter *looku...
184
false
vladsaveliev/TargQC
LookupChain
26,001
LDU_FT/mcieslik-mctp/papy/edges
LDU_FT
[ "<BEGIN>\n## `_inspect`", "(internal) Determines the type of a given ``object``. Discriminates between \n ``Piper``, ``Worker``, ``FunctionType`` and ``Iterable`` instances. It \n returns a ``tuple`` of boolean variables i.e: (is_piper, is_worker, \n is_function, is_iterable_of_pipers, is_iterable_of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edges API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Returns a ``tuple`` of all edges in the ``DictGraph`` an edge is a pair of **node objects**. Arguments: - nodes(iterable) [default: ``None``] iterable of **node objects** if specified the edges will be limited to those outgoing from one of the specif...
"Returns a ``tuple`` of all edges in the ``DictGraph`` an edge is a pair\n of **node objects**.\n \n Arguments:\n \n - nodes(iterable) [default: ``None``] iterable of **node objects** if \n specified the edges will be limited to those outgoing from one of \n th...
323
false
mcieslik-mctp/papy
edges
26,002
LDU_FT/bufferapp/kiner/send_records
LDU_FT
[ "<BEGIN>\n## `put_records`", "Add a list of data records to the record queue in the proper format.\n Convinience method that calls self.put_record for each element.", " Parameters\n ----------\n records : list\n Lists of records to send.\n partition_key: str\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_records API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_records API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Send records to the Kinesis stream. Falied records are sent again with an exponential backoff decay. Parameters ---------- records : array Array of formated records to send. attempt: int Number of times the records have been sent without success.
"Send records to the Kinesis stream.\n\n Falied records are sent again with an exponential backoff decay.\n\n Parameters\n ----------\n records : array\n Array of formated records to send.\n attempt: int\n Number of times the records have been sent without succes...
14
false
bufferapp/kiner
send_records
26,003
LDU_FT/mardix/Mocha/new
LDU_FT
[ "<BEGIN>\n## `_normalize_response_tuple`", "Helper function to normalize view return values .\n It always returns (dict, status, headers). Missing values will be None.\n For example in such cases when tuple_ is\n (dict, status), (dict, headers), (dict, status, headers),\n (dict, headers, status)",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API. 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 new API. 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 new login :param user: AuthUser :param provider: str - ie: facebook, twitter, ... :param federated_id: str - an id associated to provider :return:
"Create a new login\n :param user: AuthUser\n :param provider: str - ie: facebook, twitter, ...\n :param federated_id: str - an id associated to provider\n :return:"
276
false
mardix/Mocha
new
26,004
LDU_FT/KnuVerse/knuverse-sdk-python/report_events
LDU_FT
[ "<BEGIN>\n## `_auth`", "Makes sure the request has a valid authorization jwt before calling the wrapped function.\n It does this by checking the timestamp of the last jwt and if > 10 minutes have elapsed,\n it refreshes it's existing jwt from the server.\n Args:\n f: Function to wr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Create a report for all client events or all system events. Uses GET to /reports/events/{clients,system} interface :Args: * *start_date*: (datetime) Start time for report generation * *end_date*: (datetime) End time for report generation :Kwargs: * *type*: (str) Ty...
"Create a report for all client events or all system events.\n Uses GET to /reports/events/{clients,system} interface\n\n :Args:\n * *start_date*: (datetime) Start time for report generation\n * *end_date*: (datetime) End time for report generation\n :Kwargs:\n * *type*: ...
138
false
KnuVerse/knuverse-sdk-python
report_events
26,005
LDU_FT/tallforasmurf/byteplay/print_attr_values
LDU_FT
[ "<BEGIN>\n## `object_attributes`", "Return a sorted list of names defined by thing that are not also names in\n a standard object, except include __doc__.\n<END>", "<BEGIN>\n## `print_object_attributes`", "Print the attribute names in thing vertically\n<END>", "<BEGIN>\n## `print_attr_values`", "Print ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_attr_values API. 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 print_attr_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Print the attributes of thing which have non-empty values, as a vertical list of "name : value". When all=True, print all attributes even those with empty values.
"Print the attributes of thing which have non-empty values,\n as a vertical list of \"name : value\". When all=True, print\n all attributes even those with empty values."
35
false
tallforasmurf/byteplay
print_attr_values
26,006
LDU_FT/flashingpumpkin/django-socialregistration/get_context
LDU_FT
[ "<BEGIN>\n## `get_next`", "Returns a url to redirect to after the login / signup.\n<END>", "<BEGIN>\n## `create_profile`", "Create a profile model.", " :param user: A user object\n :param save: If this is set, the profile will\n be saved to DB straight away\n :type save: bool...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return additional context for the setup view. The function can be controlled with ``SOCIALREGISTRATION_SETUP_CONTEXT_FUNCTION``. :param request: The current request object :param user: The unsaved user object :param profile: The unsaved profile object :param client: The API clie...
"Return additional context for the setup view. The function can\n be controlled with ``SOCIALREGISTRATION_SETUP_CONTEXT_FUNCTION``.\n\n :param request: The current request object\n :param user: The unsaved user object\n :param profile: The unsaved profile object\n :param client: The A...
72
false
flashingpumpkin/django-socialregistration
get_context
26,007
LDU_FT/biolink/ontobio/_best_match_syn
LDU_FT
[ "<BEGIN>\n## `extract_subset`", "Find all nodes in a subset.", " We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>", "<BEGIN>\n## `sparql`", "Execute a SPARQL query.", " The query is specified using `select` and `body` parameters.\n The argument for the Named ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _best_match_syn API. 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 _best_match_syn API. 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...
The best match is determined by the highest magnitude weight
"The best match is determined by the highest magnitude weight"
526
false
biolink/ontobio
_best_match_syn
26,008
LDU_FT/tyarkoni/pliers/has_types
LDU_FT
[ "<BEGIN>\n## `load_stims`", "Load one or more stimuli directly from file, inferring/extracting\n metadata as needed.", " Args:\n source (str or list): The location to load the stim(s) from. Can be\n the path to a directory, to a single file, or a list of filenames.\n dtype (str): ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_types API. 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 has_types API. 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...
Check whether the current component list matches all Stim types in the types argument. Args: types (Stim, list): a Stim class or iterable of Stim classes. all_ (bool): if True, all input types must match; if False, at least one input type must match. Ret...
"Check whether the current component list matches all Stim types\n in the types argument.\n\n Args:\n types (Stim, list): a Stim class or iterable of Stim classes.\n all_ (bool): if True, all input types must match; if False, at\n least one input type must match.\n\n ...
137
false
tyarkoni/pliers
has_types
26,009
LDU_FT/inveniosoftware/invenio-oauth2server/errors
LDU_FT
[ "<BEGIN>\n## `require_api_auth`", "Decorator to require API authentication using OAuth token.", " :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>", "<BEGIN>\n## `require_oauth_scopes`", "r\"\"\"Decorator to require a list of OAuth scopes.", " Decorator ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the errors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Error view in case of invalid oauth requests.
"Error view in case of invalid oauth requests."
92
false
inveniosoftware/invenio-oauth2server
errors
26,010
LDU_FT/ejeschke/ginga/get_wireframe
LDU_FT
[ "<BEGIN>\n## `set_figure`", "Call this with the matplotlib Figure() object.\n<END>", "<BEGIN>\n## `render_image1`", "Render the image represented by (rgbobj) at dst_x, dst_y\n in the pixel space.", " NOTE: this version uses a Figure.FigImage to render the image.\n<END>", "<BEGIN>\n## `render...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wireframe API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wireframe API. 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...
Produce a compound object of paths implementing a wireframe. x, y, z are expected to be 2D arrays of points making up the mesh.
"Produce a compound object of paths implementing a wireframe.\n x, y, z are expected to be 2D arrays of points making up the mesh."
1,455
true
ejeschke/ginga
get_wireframe
26,011
LDU_FT/jason-weirather/pythologist/segmentation_images
LDU_FT
[ "<BEGIN>\n## `get_valid_cell_indecies`", "Return a dataframe of images present with 'valid' being a list of cell indecies that can be included\n<END>", "<BEGIN>\n## `prune_neighbors`", "If the CellDataFrame has been subsetted, some of the cell-cell contacts may no longer be part of the the dataset. This prun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the segmentation_images 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 segmentation_images 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...
Use the segmented images to create per-image graphics Args: verbose (bool): output more details if true Returns: SegmentationImages: returns a class used to construct the image graphics
"Use the segmented images to create per-image graphics\n\n Args:\n verbose (bool): output more details if true\n\n Returns:\n SegmentationImages: returns a class used to construct the image graphics"
98
false
jason-weirather/pythologist
segmentation_images
26,012
LDU_FT/apache/spark/localCheckpoint
LDU_FT
[ "<BEGIN>\n## `_parse_datatype_string`", "Parses the given data type string to a :class:`DataType`. The data type string format equals\n to :class:`DataType.simpleString`, except that top level struct type can omit\n the ``struct<>`` and atomic types use ``typeName()`` as their format, e.g. use ``byte`` inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localCheckpoint API. 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 localCheckpoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns a locally checkpointed version of this Dataset. Checkpointing can be used to truncate the logical plan of this DataFrame, which is especially useful in iterative algorithms where the plan may grow exponentially. Local checkpoints are stored in the executors using the caching subsystem an...
"Returns a locally checkpointed version of this Dataset. Checkpointing can be used to\n truncate the logical plan of this DataFrame, which is especially useful in iterative\n algorithms where the plan may grow exponentially. Local checkpoints are stored in the\n executors using the caching subsyste...
2,386
true
apache/spark
localCheckpoint
26,013
LDU_FT/secynic/ipwhois/_parse_fields_whois
LDU_FT
[ "<BEGIN>\n## `lookup_asn`", "Temporary wrapper for IP ASN lookups (moved to\n asn.IPASN.lookup()). This will be removed in a future\n release.\n<END>", "<BEGIN>\n## `get_asn_dns`", "The function for retrieving ASN information for an IP address from\n Cymru via port 53 (DNS).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_fields_whois 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 _parse_fields_whois 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...
Deprecated. This will be removed in a future release.
"Deprecated. This will be removed in a future release."
333
false
secynic/ipwhois
_parse_fields_whois
26,014
LDU_FT/nginxinc/crossplane/_prepare_if_args
LDU_FT
[ "<BEGIN>\n## `build_files`", "Uses a full nginx config payload (output of crossplane.parse) to build\n config files, then writes those files to disk.\n<END>", "<BEGIN>\n## `_lex_file_object`", "Generates token tuples from an nginx config file object", " Yields 3-tuples like (token, lineno, quoted)\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_if_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_if_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 ...
Removes parentheses from an "if" directive's arguments
"Removes parentheses from an \"if\" directive's arguments"
20
false
nginxinc/crossplane
_prepare_if_args
26,015
LDU_FT/sveetch/boussole/expand
LDU_FT
[ "<BEGIN>\n## `clean`", "Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.", " Args:\n settings (dict): Loaded settings.", " Returns:\n dict: Settings object filtered.\n<END>", "<BEGIN>\n## `set_settings`", "Set every given settings...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand API. 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 expand API. 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 ...
Validate that given paths are not the same. Args: basedir (string): Project base directory used to prepend relative paths. If empty or equal to '.', it will be filled with current directory path. config (string): Settings file path. sourcedir ...
"Validate that given paths are not the same.\n\n Args:\n basedir (string): Project base directory used to prepend relative\n paths. If empty or equal to '.', it will be filled with current\n directory path.\n config (string): Settings file path.\n so...
289
false
sveetch/boussole
expand
26,016
LDU_FT/fusepy/fusepy/getattr
LDU_FT
[ "<BEGIN>\n## `fuse_exit`", "This will shutdown the FUSE mount and cause the call to FUSE(...) to\n return, similar to sending SIGINT to the process.", " Flags the native FUSE session as terminated and will cause any running FUSE\n event loops to exit on the next opportunity. (see fuse.c::fuse_exit)\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getattr API. 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 getattr API. 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...
Get file attributes Valid replies: reply_attr reply_err
"Get file attributes\n\n Valid replies:\n reply_attr\n reply_err"
68
false
fusepy/fusepy
getattr
26,017
LDU_FT/clach04/python-tuya/_hexvalue_to_hsv
LDU_FT
[ "<BEGIN>\n## `_send_receive`", "Send single buffer `payload` and receive a single buffer.", " Args:\n payload(bytes): Data to send.\n<END>", "<BEGIN>\n## `generate_payload`", "Generate the payload to send.", " Args:\n command(str): The type of command.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hexvalue_to_hsv API. 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 _hexvalue_to_hsv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Converts the hexvalue used by tuya for colour representation into an HSV value. Args: hexvalue(string): The hex representation generated by BulbDevice._rgb_to_hexvalue()
"Converts the hexvalue used by tuya for colour representation into\n an HSV value.\n \n Args:\n hexvalue(string): The hex representation generated by BulbDevice._rgb_to_hexvalue()"
35
false
clach04/python-tuya
_hexvalue_to_hsv
26,018
LDU_FT/bfontaine/trigrams/save
LDU_FT
[ "<BEGIN>\n## `save`", "Save the database to a file. If ``output`` is not given, the ``dbfile``\n given in the constructor is used.\n<END>", "<BEGIN>\n## `feed`", "Feed some text to the database, either from a string (``text``) or a\n file (``source``).", " >>> db = TrigramsDB()\n ...
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 database to a file. If ``output`` is not given, the ``dbfile`` given in the constructor is used.
"Save the database to a file. If ``output`` is not given, the ``dbfile``\n given in the constructor is used."
13
false
bfontaine/trigrams
save
26,019
LDU_FT/cdgriffith/Reusables/unique
LDU_FT
[ "<BEGIN>\n## `datetime_format`", "Replaces format style phrases (listed in the dt_exps dictionary)\n with this datetime instance's information.", " .. code :: python", " reusables.datetime_format(\"Hey, it's {month-full} already!\")\n \"Hey, it's March already!\"", " :param desired_fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Wrapper. Makes sure the function's return value has not been returned before or else it run with the same inputs again. .. code: python import reusables import random @reusables.unique(max_retries=100) def poor_uuid(): return random.randint(0, 10) print([p...
"Wrapper. Makes sure the function's return value has not been returned before\n or else it run with the same inputs again.\n\n .. code: python\n\n import reusables\n import random\n\n @reusables.unique(max_retries=100)\n def poor_uuid():\n return random.randint(0, 10)\n\n ...
320
false
cdgriffith/Reusables
unique
26,020
LDU_FT/molmod/molmod/_check_symbols
LDU_FT
[ "<BEGIN>\n## `atom_criteria`", "An auxiliary function to construct a dictionary of Criteria\n<END>", "<BEGIN>\n## `_check_symbols`", "the size must be the same as the length of the array numbers and all elements must be strings\n<END>", "<BEGIN>\n## `from_geometry`", "Construct a MolecularGraph object bas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_symbols API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_symbols API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
the size must be the same as the length of the array numbers and all elements must be strings
"the size must be the same as the length of the array numbers and all elements must be strings"
657
false
molmod/molmod
_check_symbols
26,021
LDU_FT/davedoesdev/python-jwt/verify_jwt
LDU_FT
[ "<BEGIN>\n## `make_bench_generate_token`", "Return function which will generate token for particular algorithm\n<END>", "<BEGIN>\n## `generate_jwt`", "Generate a JSON Web Token.", " :param claims: The claims you want included in the signature.\n :type claims: dict", " :param priv_key: The private...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_jwt API. 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 verify_jwt API. 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...
Verify a JSON Web Token. :param jwt: The JSON Web Token to verify. :type jwt: str or unicode :param pub_key: The public key to be used to verify the token. Note: if you pass ``None`` and **allowed_algs** contains ``none`` then the token's signature will not be verified. :type pub_key: `jwcrypto.jwk.JW...
"Verify a JSON Web Token.\n\n :param jwt: The JSON Web Token to verify.\n :type jwt: str or unicode\n\n :param pub_key: The public key to be used to verify the token. Note: if you pass ``None`` and **allowed_algs** contains ``none`` then the token's signature will not be verified.\n :type pub_key: `jwcrypto...
38
false
davedoesdev/python-jwt
verify_jwt
26,022
LDU_FT/ansible/molecule/_validate_unique
LDU_FT
[ "<BEGIN>\n## `bake`", "Bake an ``ansible-playbook`` command so it's ready to execute and\n returns ``None``.", " :return: None\n<END>", "<BEGIN>\n## `execute`", "Executes ``ansible-playbook`` and returns a string.", " :return: str\n<END>", "<BEGIN>\n## `execute`", "Execute the act...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Ensure value uniqueness. The rule's arguments are validated against this schema: {'type': 'boolean'}
"Ensure value uniqueness.\n\n The rule's arguments are validated against this schema:\n {'type': 'boolean'}"
234
false
ansible/molecule
_validate_unique
26,023
LDU_FT/Chilipp/model-organization/exp_files
LDU_FT
[ "<BEGIN>\n## `dir_contains`", "Check if a file of directory is contained in another.", " Parameters\n ----------\n dirname: str\n The base directory that should contain `path`\n path: str\n The name of a directory or file that should be in `dirname`\n exists: bool\n If True, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exp_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exp_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
A mapping from experiment to experiment configuration file Note that this attribute only contains experiments whose configuration has already dumped to the file!
"A mapping from experiment to experiment configuration file\n\n Note that this attribute only contains experiments whose configuration\n has already dumped to the file!"
161
false
Chilipp/model-organization
exp_files
26,024
LDU_FT/panzarino/mlbgame/get_box_score
LDU_FT
[ "<BEGIN>\n## `setobjattr`", "Sets an object attribute with the correct data type.\n<END>", "<BEGIN>\n## `get_scoreboard`", "Return the game file for a certain day matching certain criteria.\n<END>", "<BEGIN>\n## `get_box_score`", "Return the box score file of a game with matching id.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_box_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_box_score API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return the box score file of a game with matching id.
"Return the box score file of a game with matching id."
66
false
panzarino/mlbgame
get_box_score
26,025
LDU_FT/kytos/python-openflow/_get_vlan_length
LDU_FT
[ "<BEGIN>\n## `in_port`", "Retrieve the 'in_port' that generated the PacketIn.", " This method will look for the OXM_TLV with type OFPXMT_OFB_IN_PORT on\n the `oxm_match_fields` field from `match` field and return its value,\n if the OXM exists.", " Returns:\n The integer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_vlan_length API. 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_vlan_length API. 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 the total length of VLAN tags in a given Ethernet buffer.
"Return the total length of VLAN tags in a given Ethernet buffer."
348
false
kytos/python-openflow
_get_vlan_length
26,026
LDU_FT/cackharot/suds-py3/u2open
LDU_FT
[ "<BEGIN>\n## `genprefix`", "Generate a prefix.\n @param node: An XML node on which the prefix will be used.\n @type node: L{sax.element.Element}\n @param ns: A namespace needing an unique prefix.\n @type ns: (prefix, uri)\n @return: The I{ns} with a new prefix.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the u2open API. 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 u2open API. 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 ...
Open a connection. @param u2request: A urllib2 request. @type u2request: urllib2.Requet. @return: The opened file-like urllib2 object. @rtype: fp
"Open a connection.\n @param u2request: A urllib2 request.\n @type u2request: urllib2.Requet.\n @return: The opened file-like urllib2 object.\n @rtype: fp"
387
false
cackharot/suds-py3
u2open
26,027
LDU_FT/onelogin/python3-saml/__query
LDU_FT
[ "<BEGIN>\n## `get_issuer`", "Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>", "<BEGIN>\n## `get_status`", "Gets the Status\n :return: The Status\n :rtype: string\n<END>", "<BEGIN>\n## `is_valid`", "Determines if the SAML LogoutRespo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Extracts nodes that match the query from the Response :param query: Xpath Expresion :type query: String :param tagid: Tag ID :type query: String :returns: The queried nodes :rtype: list
"Extracts nodes that match the query from the Response\n\n :param query: Xpath Expresion\n :type query: String\n\n :param tagid: Tag ID\n :type query: String\n\n :returns: The queried nodes\n :rtype: list"
302
false
onelogin/python3-saml
__query
26,028
LDU_FT/alpacahq/pylivetrader/parallelize
LDU_FT
[ "<BEGIN>\n## `_deprecated_getitem_method`", "Create a deprecated ``__getitem__`` method that tells users to use\n getattr instead.", " Parameters\n ----------\n name : str\n The name of the object in the warning message.\n attrs : iterable[str]\n The set of allowed attributes.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parallelize API. 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 parallelize API. 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...
Parallelize the mapfunc with multithreading. mapfunc calls will be partitioned by the provided list of arguments. Each item in the list will represent one call's arguments. They can be tuples if the function takes multiple arguments, but one-tupling is not necessary. If workers argument is not provided...
"Parallelize the mapfunc with multithreading. mapfunc calls will be\n partitioned by the provided list of arguments. Each item in the list\n will represent one call's arguments. They can be tuples if the function\n takes multiple arguments, but one-tupling is not necessary.\n\n If workers argument is not pr...
81
false
alpacahq/pylivetrader
parallelize
26,029
LDU_FT/ga4gh/ga4gh-server/getDataset
LDU_FT
[ "<BEGIN>\n## `VerifierMiddleware`", "Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDataset API. 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 getDataset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a dataset with the specified ID, or raises a DatasetNotFoundException if it does not exist.
"Returns a dataset with the specified ID, or raises a\n DatasetNotFoundException if it does not exist."
768
false
ga4gh/ga4gh-server
getDataset
26,030
LDU_FT/pypyr/pypyr-cli/cast_to_type
LDU_FT
[ "<BEGIN>\n## `run_step`", "Wipe the entire context.", " Args:\n Context is a dictionary or dictionary-like.\n Does not require any specific keys in context.\n<END>", "<BEGIN>\n## `get_parsed_context`", "Parse input context string and returns context as dictionary.\n<END>", "<BEGIN>\n## `r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cast_to_type API. 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 cast_to_type API. 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...
Cast obj to out_type if it's not out_type already. If the obj happens to be out_type already, it just returns obj as is. Args: obj: input object out_type: type. Returns: obj cast to out_type. Usual python conversion / casting rules apply.
"Cast obj to out_type if it's not out_type already.\n\n If the obj happens to be out_type already, it just returns obj as is.\n\n Args:\n obj: input object\n out_type: type.\n\n Returns:\n obj cast to out_type. Usual python conversion / casting rules apply."
527
false
pypyr/pypyr-cli
cast_to_type
26,031
LDU_FT/lsanomaly/lsanomaly/predict
LDU_FT
[ "<BEGIN>\n## `median_kneighbour_distance`", "Calculate the median kneighbor distance.", " Find the distance between a set of random datapoints and\n their kth nearest neighbours. This is a heuristic for setting the\n kernel length scale.\n<END>", "<BEGIN>\n## `pair_distance_centile`", "Calculate ce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. 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 predict API. 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...
Assign classes to test data. Parameters ---------- X : array Test data, of dimension N times d (rows are examples, columns are data dimensions) Returns ------- y_predicted : array A vector of length N containing assigned classes. If n...
"Assign classes to test data.\n\n Parameters\n ----------\n X : array\n Test data, of dimension N times d (rows are examples, columns\n are data dimensions)\n\n Returns\n -------\n y_predicted : array\n A vector of length N containing assigned c...
29
false
lsanomaly/lsanomaly
predict
26,032
LDU_FT/bykof/billomapy/get_tags_of_letter_per_page
LDU_FT
[ "<BEGIN>\n## `_create_get_request`", "Creates a get request and return the response data\n<END>", "<BEGIN>\n## `_create_put_request`", "Creates a put request and return the response data\n<END>", "<BEGIN>\n## `_create_delete_request`", "Creates a post request and return the response data\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags_of_letter_per_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tags_of_letter_per_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Get tags of letter per page :param letter_id: the letter id :param per_page: How many objects per page. Default: 1000 :param page: Which page. Default: 1 :return: list
"Get tags of letter per page\n\n :param letter_id: the letter id\n :param per_page: How many objects per page. Default: 1000\n :param page: Which page. Default: 1\n :return: list"
502
false
bykof/billomapy
get_tags_of_letter_per_page
26,033
LDU_FT/idank/bashlex/p_function_def
LDU_FT
[ "<BEGIN>\n## `_createtoken`", "create a token with position information\n<END>", "<BEGIN>\n## `p_inputunit`", "inputunit : simple_list simple_list_terminator\n | NEWLINE\n | error NEWLINE\n | EOF\n<END>", "<BEGIN>\n## `p_word_list`", "word_list : WORD\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_function_def API. 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 p_function_def API. 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...
function_def : WORD LEFT_PAREN RIGHT_PAREN newline_list function_body | FUNCTION WORD LEFT_PAREN RIGHT_PAREN newline_list function_body | FUNCTION WORD newline_list function_body
"function_def : WORD LEFT_PAREN RIGHT_PAREN newline_list function_body\n | FUNCTION WORD LEFT_PAREN RIGHT_PAREN newline_list function_body\n | FUNCTION WORD newline_list function_body"
59
false
idank/bashlex
p_function_def
26,034
LDU_FT/libyal/dtfabric/_ReadDefinition
LDU_FT
[ "<BEGIN>\n## `Main`", "The main program function.", " Returns:\n bool: True if successful or False if not.\n<END>", "<BEGIN>\n## `CheckDirectory`", "Validates definition files in a directory.", " Args:\n path (str): path of the definition file.\n extension (Optional[str]): extension of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ReadDefinition API. 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 _ReadDefinition API. 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...
Reads a data type definition. Args: definitions_registry (DataTypeDefinitionsRegistry): data type definitions registry. definition_values (dict[str, object]): definition values. Returns: DataTypeDefinition: data type definition or None. Raises: DefinitionReaderError: if ...
"Reads a data type definition.\n\n Args:\n definitions_registry (DataTypeDefinitionsRegistry): data type definitions\n registry.\n definition_values (dict[str, object]): definition values.\n\n Returns:\n DataTypeDefinition: data type definition or None.\n\n Raises:\n DefinitionRead...
373
false
libyal/dtfabric
_ReadDefinition
26,035
LDU_FT/ponty/eagexp/structured_partlist
LDU_FT
[ "<BEGIN>\n## `export_image3d`", "Exporting eagle .brd file into 3D image file\n using Eagle3D and povray.\n GUI is not displayed if ``pyvirtualdisplay`` is installed.\n If export is blocked somehow (e.g. popup window is displayed) then after timeout operation is canceled with exception.\n Problem can ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the structured_partlist 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 structured_partlist 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...
export partlist by eagle, then parse it :param input: .sch or .brd file name :param timeout: int :param showgui: Bool, True -> do not hide eagle GUI :rtype: tuple of header list and dict list: (['part','value',..], [{'part':'C1', 'value':'1n'}, ..])
"export partlist by eagle, then parse it\n\n :param input: .sch or .brd file name\n :param timeout: int\n :param showgui: Bool, True -> do not hide eagle GUI\n :rtype: tuple of header list and dict list: (['part','value',..], [{'part':'C1', 'value':'1n'}, ..])"
35
false
ponty/eagexp
structured_partlist
26,036
LDU_FT/rocky/python-uncompyle6/comprehension_walk3
LDU_FT
[ "<BEGIN>\n## `code_deparse`", "ingests and deparses a given code block 'co'. If version is None,\n we will use the current Python interpreter version.\n<END>", "<BEGIN>\n## `deparse_code2str`", "Return the deparsed text for a Python code object. `out` is where any intermediate\n output for assembly or t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comprehension_walk3 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 comprehension_walk3 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
List comprehensions the way they are done in Python3. They're more other comprehensions, e.g. set comprehensions See if we can combine code.
"List comprehensions the way they are done in Python3.\n They're more other comprehensions, e.g. set comprehensions\n See if we can combine code."
205
false
rocky/python-uncompyle6
comprehension_walk3
26,037
LDU_FT/lwcook/horsetail-matching/evalMetric
LDU_FT
[ "<BEGIN>\n## `_extalg`", "Given an array xarr of values, smoothly return the max/min\n<END>", "<BEGIN>\n## `_extgrad`", "Given an array xarr of values, return the gradient of the smooth min/max\n swith respect to each entry in the array\n<END>", "<BEGIN>\n## `_matrix_integration`", "Returns the dp metr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evalMetric API. 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 evalMetric API. 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...
Evaluates the density matching metric at a given design point. :param iterable x: values of the design variables, this is passed as the first argument to the function fqoi :return: metric_value - value of the metric evaluated at the design point given by x :rtype: floa...
"Evaluates the density matching metric at a given design point.\n\n :param iterable x: values of the design variables, this is passed as\n the first argument to the function fqoi\n\n :return: metric_value - value of the metric evaluated at the design\n point given by x\n\n :rt...
90
false
lwcook/horsetail-matching
evalMetric
26,038
LDU_FT/twisted/epsilon/pluginPackagePaths
LDU_FT
[ "<BEGIN>\n## `main`", "Create a private key and a certificate and write them to a file.\n<END>", "<BEGIN>\n## `setTimeout`", "Change the timeout period", " @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pluginPackagePaths 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 pluginPackagePaths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Return a list of additional directories which should be searched for modules to be included as part of the named plugin package. @type name: C{str} @param name: The fully-qualified Python name of a plugin package, eg C{'twisted.plugins'}. @rtype: C{list} of C{str} @return: The absolute pat...
"Return a list of additional directories which should be searched for\n modules to be included as part of the named plugin package.\n\n @type name: C{str}\n @param name: The fully-qualified Python name of a plugin package, eg\n C{'twisted.plugins'}.\n\n @rtype: C{list} of C{str}\n @return: The abs...
217
false
twisted/epsilon
pluginPackagePaths
26,039
LDU_FT/sdispater/poetry/_get_win_folder_from_registry
LDU_FT
[ "<BEGIN>\n## `path_to_url`", "Convert a path to a file: URL. The path will be made absolute and have\n quoted path parts.\n<END>", "<BEGIN>\n## `is_installable_dir`", "Return True if `path` is a directory containing a setup.py file.\n<END>", "<BEGIN>\n## `get_requires_for_build_wheel`", "Returns a lis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_win_folder_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 conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_win_folder_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 conc...
This is a fallback technique at best. I'm not sure if using the registry for this guarantees us the correct answer for all CSIDL_* names.
"This is a fallback technique at best. I'm not sure if using the\n registry for this guarantees us the correct answer for all CSIDL_*\n names."
107
false
sdispater/poetry
_get_win_folder_from_registry
26,040
LDU_FT/knowmalware/camcrypt/_get_data
LDU_FT
[ "<BEGIN>\n## `keygen`", "This must be called on the object before any encryption or\n decryption can take place. Provide it the key bit length,\n which must be 128, 192, or 256, and the key, which may be a\n sequence of bytes or a simple string.\n Does not return any value.\n Raises an exception i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Read data from file(s) or STDIN. Args: filenames (list): List of files to read to get data. If empty or None, read from STDIN.
"Read data from file(s) or STDIN.\n\n Args:\n filenames (list): List of files to read to get data. If empty or\n None, read from STDIN."
34
false
knowmalware/camcrypt
_get_data
26,041
LDU_FT/LuminosoInsight/python-ftfy/sequence_weirdness
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 sequence_weirdness 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 sequence_weirdness 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...
Determine how often a text has unexpected characters or sequences of characters. This metric is used to disambiguate when text should be re-decoded or left as is. We start by normalizing text in NFC form, so that penalties for diacritical marks don't apply to characters that know what to do with th...
"Determine how often a text has unexpected characters or sequences of\n characters. This metric is used to disambiguate when text should be\n re-decoded or left as is.\n\n We start by normalizing text in NFC form, so that penalties for\n diacritical marks don't apply to characters that know what to do with\...
123
false
LuminosoInsight/python-ftfy
sequence_weirdness
26,042
LDU_FT/catherinedevlin/ddl-generator/emit_db_sequence_updates
LDU_FT
[ "<BEGIN>\n## `precision_and_scale`", "From a float, decide what precision and scale are needed to represent it.", " >>> precision_and_scale(54.2)\n (3, 1)\n >>> precision_and_scale(9)\n (1, 0)", " Thanks to Mark Ransom,\n http://stackoverflow.com/questions/3018758/determine-precision-and-sca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit_db_sequence_updates 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 emit_db_sequence_updates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Set database sequence objects to match the source db Relevant only when generated from SQLAlchemy connection. Needed to avoid subsequent unique key violations after DB build.
"Set database sequence objects to match the source db\n\n Relevant only when generated from SQLAlchemy connection.\n Needed to avoid subsequent unique key violations after DB build."
63
false
catherinedevlin/ddl-generator
emit_db_sequence_updates
26,043
LDU_FT/ArabellaTech/django-basic-cms/pages_to_json
LDU_FT
[ "<BEGIN>\n## `move_page`", "Move the page to the requested target, at the given\n position.\n<END>", "<BEGIN>\n## `sub_menu`", "Render the children of the requested page with the sub_menu\n template.\n<END>", "<BEGIN>\n## `parse_placeholder`", "Parse the `PlaceholderNode` parameters.", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pages_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pages_to_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return a JSON string export of the pages in queryset.
"Return a JSON string export of the pages in queryset."
91
false
ArabellaTech/django-basic-cms
pages_to_json
26,044
LDU_FT/dlecocq/nsq-py/raw
LDU_FT
[ "<BEGIN>\n## `pack_iterable`", "Pack an iterable of messages in the TCP protocol format\n<END>", "<BEGIN>\n## `hexify`", "Print out printable characters, but others in hex\n<END>", "<BEGIN>\n## `distribute`", "Generator for (count, object) tuples that distributes count evenly among\n the provided objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
All the raw, unaggregated stats (with duplicates).
"All the raw, unaggregated stats (with duplicates)."
54
false
dlecocq/nsq-py
raw
26,045
LDU_FT/linkhub-sdk/popbill.py/resendFax
LDU_FT
[ "<BEGIN>\n## `getSenderNumberMgtURL`", "팩스 전송내역 팝업 URL\n args\n CorpNum : 회원 사업자번호\n UserID : 회원 팝빌아이디\n return\n 30초 보안 토큰을 포함한 url\n raise\n PopbillException\n<END>", "<BEGIN>\n## `getUnitCost`", "팩스 전송 단가 확인\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resendFax API. 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 resendFax API. 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...
팩스 단건 전송 args CorpNum : 팝빌회원 사업자번호 ReceiptNum : 팩스 접수번호 SenderNum : 발신자 번호 SenderName : 발신자명 ReceiverNum : 수신번호 ReceiverName : 수신자명 ReserveDT : 예약시간(형식 yyyyMMddHHmmss) UserID : 팝빌회...
"팩스 단건 전송\n args\n CorpNum : 팝빌회원 사업자번호\n ReceiptNum : 팩스 접수번호\n SenderNum : 발신자 번호\n SenderName : 발신자명\n ReceiverNum : 수신번호\n ReceiverName : 수신자명\n ReserveDT : 예약시간(형식 yyyyMMddHHmmss)\n Us...
216
false
linkhub-sdk/popbill.py
resendFax
26,046
LDU_FT/brendonh/pyth/_MetaPythonBase
LDU_FT
[ "<BEGIN>\n## `cleanParagraph`", "Compress text runs, remove whitespace at start and end,\n skip empty blocks, etc\n<END>", "<BEGIN>\n## `parse_css`", "Parse a css style sheet into the CSS object.", " For the moment this will only work for very simple css\n documents. It works by using ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _MetaPythonBase API. 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 _MetaPythonBase API. 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...
Return a metaclass which implements __getitem__, allowing e.g. P[...] instead of P()[...]
"Return a metaclass which implements __getitem__,\n allowing e.g. P[...] instead of P()[...]"
34
false
brendonh/pyth
_MetaPythonBase
26,047
LDU_FT/liip/taxi/delete_date
LDU_FT
[ "<BEGIN>\n## `round_to_quarter`", "Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>", "<BEGIN>\n## `_timesheets_callback`", "Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_date API. 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 delete_date API. 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...
Remove the date line from the textual representation. This doesn't remove any entry line.
"Remove the date line from the textual representation. This doesn't\n remove any entry line."
131
false
liip/taxi
delete_date
26,048
LDU_FT/Riffstation/flask-philo/init_db_conn
LDU_FT
[ "<BEGIN>\n## `init_db_conn`", "Initialize a postgresql connection by each connection string\n defined in the configuration file\n<END>", "<BEGIN>\n## `initialize`", "If postgresql url is defined in configuration params a\n scoped session will be created\n<END>", "<BEGIN>\n## `set_request`", "Appends...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_db_conn API. 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 init_db_conn API. 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...
Initialize a redis connection by each connection string defined in the configuration file
"Initialize a redis connection by each connection string\n defined in the configuration file"
27
false
Riffstation/flask-philo
init_db_conn
26,049
LDU_FT/oemof/demandlib/get_sf_values
LDU_FT
[ "<BEGIN>\n## `create_bdew_load_profiles`", "Calculates the hourly electricity load profile in MWh/h of a region.\n<END>", "<BEGIN>\n## `get_profile`", "Get the profiles for the given annual demand", " Parameters\n ----------\n ann_el_demand_per_sector : dictionary\n Key: sect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sf_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sf_values API. 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...
Determine the h-values Parameters ---------- filename : string name of file where sigmoid factors are stored
"Determine the h-values\n\n Parameters\n ----------\n filename : string\n name of file where sigmoid factors are stored"
36
false
oemof/demandlib
get_sf_values
26,050
LDU_FT/ArangoDB-Community/pyArango/fetchFirstExample
LDU_FT
[ "<BEGIN>\n## `_create`", "Creates an index of any type according to postData\n<END>", "<BEGIN>\n## `createVertex`", "adds a vertex to the graph and returns it\n<END>", "<BEGIN>\n## `deleteVertex`", "deletes a vertex from the graph as well as al linked edges\n<END>", "<BEGIN>\n## `link`", "A shorthand ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchFirstExample API. 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 fetchFirstExample API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
exampleDict should be something like {'age' : 28}. returns only a single element but still in a SimpleQuery object. returns the first example found that matches the example
"exampleDict should be something like {'age' : 28}. returns only a single element but still in a SimpleQuery object.\n returns the first example found that matches the example"
105
false
ArangoDB-Community/pyArango
fetchFirstExample
26,051
LDU_FT/phdata/sdc-api-tool/promote_pipeline
LDU_FT
[ "<BEGIN>\n## `define_system_args`", "Append the parser arguments for the 'system' commands\n<END>", "<BEGIN>\n## `start_pipeline`", "Start a running pipeline. The API waits for the pipeline to be fully started.", " Args:\n url (str): the host url in the form 'http://host:port/'.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the promote_pipeline API. 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 promote_pipeline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Export a pipeline from a lower environment and import into higher environment.
"Export a pipeline from a lower environment and import into higher environment."
42
false
phdata/sdc-api-tool
promote_pipeline
26,052
LDU_FT/dwavesystems/dwave_embedding_utilities/unembed_samples
LDU_FT
[ "<BEGIN>\n## `embed_ising`", "Embeds a logical Ising model onto another graph via an embedding.", " Args:\n source_linear (dict): The linear biases to be embedded. Should be a dict of\n the form {v: bias, ...} where v is a variable in the source model\n and bias is the linear bia...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unembed_samples API. 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 unembed_samples API. 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...
Return samples over the variables in the source graph. Args: samples (iterable): An iterable of samples where each sample is a dict of the form {v: val, ...} where v is a variable in the target model and val is the associated value as determined by a binary quadratic mod...
"Return samples over the variables in the source graph.\n\n Args:\n samples (iterable): An iterable of samples where each sample\n is a dict of the form {v: val, ...} where v is a variable\n in the target model and val is the associated value as\n determined by a binary quadra...
33
false
dwavesystems/dwave_embedding_utilities
unembed_samples
26,053
LDU_FT/jelmer/python-fastimport/invert_dictset
LDU_FT
[ "<BEGIN>\n## `check_path`", "Check that a path is legal.", " :return: the path if all is OK\n :raise ValueError: if the path is illegal\n<END>", "<BEGIN>\n## `format_path`", "Format a path in utf8, quoting it if necessary.\n<END>", "<BEGIN>\n## `format_who_when`", "Format a tuple of name,email,sec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invert_dictset API. 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 invert_dictset API. 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...
Invert a dictionary with keys matching a set of values, turned into lists.
"Invert a dictionary with keys matching a set of values, turned into lists."
100
false
jelmer/python-fastimport
invert_dictset
26,054
LDU_FT/brmscheiner/ideogram/matchImpObjStrs
LDU_FT
[ "<BEGIN>\n## `traversal`", "Tree traversal function that generates nodes. For each subtree, the \n deepest node is evaluated first. Then, the next-deepest nodes are \n evaluated until all the nodes in the subtree are generated.\n<END>", "<BEGIN>\n## `firstPass`", "Return a dictionary of function definit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matchImpObjStrs API. 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 matchImpObjStrs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
returns imp_funcs, a dictionary with filepath keys that contains lists of function definition nodes that were imported using from __ import __ style syntax. also returns imp_classes, which is the same for class definition nodes.
"returns imp_funcs, a dictionary with filepath keys that contains \n lists of function definition nodes that were imported using\n from __ import __ style syntax. also returns imp_classes, which \n is the same for class definition nodes."
50
false
brmscheiner/ideogram
matchImpObjStrs
26,055
LDU_FT/thriftrw/thriftrw-python/p_set_type
LDU_FT
[ "<BEGIN>\n## `add_include`", "Adds a module as an included module.", " :param name:\n Name under which the included module should be exposed in the\n current module.\n :param module_spec:\n ModuleSpec of the included module.\n<END>", "<BEGIN>\n## `link`", "Link...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_set_type API. 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 p_set_type API. 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...
set_type : SET '<' field_type '>' annotations
"set_type : SET '<' field_type '>' annotations"
135
false
thriftrw/thriftrw-python
p_set_type
26,056
LDU_FT/bkjones/pyrabbit/_call
LDU_FT
[ "<BEGIN>\n## `do_call`", "Send an HTTP request to the REST API.", " :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call API. 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 _call API. 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...
Wrapper around http.do_call that transforms some HTTPError into our own exceptions
"Wrapper around http.do_call that transforms some HTTPError into\n our own exceptions"
112
false
bkjones/pyrabbit
_call
26,057
LDU_FT/davgeo/clear/_GetAllShowList
LDU_FT
[ "<BEGIN>\n## `_SetGuide`", "Select guide corresponding to guideName", " Parameters\n ----------\n guideName : string\n Name of guide to use.", " Note\n ----------\n Supported guide names are: EPGUIDES\n<END>", "<BEGIN>\n## `_GetUniqueFileShowNames`", "Return a list containing al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetAllShowList API. 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 _GetAllShowList API. 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...
Populates self._allShowList with the epguides all show info. On the first lookup for a day the information will be loaded from the epguides url. This will be saved to local file _epguides_YYYYMMDD.csv and any old files will be removed. Subsequent accesses for the same day will read this file.
"Populates self._allShowList with the epguides all show info.\n\n On the first lookup for a day the information will be loaded from\n the epguides url. This will be saved to local file _epguides_YYYYMMDD.csv\n and any old files will be removed. Subsequent accesses for the same day\n will read this file."
298
false
davgeo/clear
_GetAllShowList
26,058
LDU_FT/testing-cabal/systemfixtures/allocate_port
LDU_FT
[ "<BEGIN>\n## `allocate_port`", "Allocate an unused port.", " There is a small race condition here (between the time we allocate the\n port, and the time it actually gets used), but for the purposes for which\n this function gets used it isn't a problem in practice.\n<END>", "<BEGIN>\n## `spawn`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allocate_port API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allocate_port API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Allocate an unused port. There is a small race condition here (between the time we allocate the port, and the time it actually gets used), but for the purposes for which this function gets used it isn't a problem in practice.
"Allocate an unused port.\n\n There is a small race condition here (between the time we allocate the\n port, and the time it actually gets used), but for the purposes for which\n this function gets used it isn't a problem in practice."
22
false
testing-cabal/systemfixtures
allocate_port
26,059
LDU_FT/b3j0f/conf/resolve
LDU_FT
[ "<BEGIN>\n## `pathresource`", "Returns specific resource.", " :param str rscpath: resource path.\n :param Logger logger: logger to use.\n :param bool error: raise internal error if True (False by default).\n :param bool force: create the resource even if rscpath does not exist.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API. 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 resolve API. 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...
Resolve this parameter value related to a configurable and a configuration. Save error in this attribute `error` in case of failure. :param str svalue: serialized value too resolve. Default is this svalue. :param Configurable configurable: configurable to use for foreign pa...
"Resolve this parameter value related to a configurable and a\n configuration.\n\n Save error in this attribute `error` in case of failure.\n\n :param str svalue: serialized value too resolve. Default is this svalue.\n :param Configurable configurable: configurable to use for foreign\n ...
151
false
b3j0f/conf
resolve
26,060
LDU_FT/inveniosoftware/kwalitee/_check_signatures
LDU_FT
[ "<BEGIN>\n## `_get_files_modified`", "Get the list of modified files that are Python or Jinja2.\n<END>", "<BEGIN>\n## `_get_git_author`", "Return the git author from the git variables.\n<END>", "<BEGIN>\n## `_prepare_commit_msg`", "Prepare the commit message in tmp_file.", " It will build the commit ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_signatures API. 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 _check_signatures API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Check that the signatures are valid. There should be at least three signatures. If not, one of them should be a trusted developer/reviewer. Formatting supported being: [signature] full name <email@address> :param lines: lines (lineno, content) to verify. :type lines: list :param signatures: l...
"Check that the signatures are valid.\n\n There should be at least three signatures. If not, one of them should be a\n trusted developer/reviewer.\n\n Formatting supported being: [signature] full name <email@address>\n\n :param lines: lines (lineno, content) to verify.\n :type lines: list\n :param sig...
77
false
inveniosoftware/kwalitee
_check_signatures
26,061
LDU_FT/pavlin-policar/openTSNE/transform
LDU_FT
[ "<BEGIN>\n## `has_c_library`", "Check whether a C/C++ library is available on the system to the compiler.", " Parameters\n ----------\n library: str\n The library we want to check for e.g. if we are interested in FFTW3, we\n want to check for `fftw3.h`, so this parameter will be `fftw3`.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API. 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 transform API. 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...
Embed new points into the existing embedding. This procedure optimizes each point only with respect to the existing embedding i.e. it ignores any interactions between the points in ``X`` among themselves. Please see the :ref:`parameter-guide` for more information. Parameters ...
"Embed new points into the existing embedding.\n\n This procedure optimizes each point only with respect to the existing\n embedding i.e. it ignores any interactions between the points in ``X``\n among themselves.\n\n Please see the :ref:`parameter-guide` for more information.\n\n Par...
181
false
pavlin-policar/openTSNE
transform
26,062
LDU_FT/klmitch/policies/resolve
LDU_FT
[ "<BEGIN>\n## `rule`", "Allows evaluation of another rule while evaluating a rule.", " :param ctxt: The evaluation context for the rule.\n :param name: The name of the rule to evaluate.\n<END>", "<BEGIN>\n## `resolve`", "Resolve a symbol encountered during a rule evaluation into the\n actual val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API. 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 resolve API. 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...
Resolve a symbol encountered during a rule evaluation into the actual value for that symbol. :param symbol: The symbol being resolved. :returns: The value of that symbol. If the symbol was not declared in the ``variables`` parameter of the constructor, a ca...
"Resolve a symbol encountered during a rule evaluation into the\n actual value for that symbol.\n\n :param symbol: The symbol being resolved.\n\n :returns: The value of that symbol. If the symbol was not\n declared in the ``variables`` parameter of the\n construct...
50
false
klmitch/policies
resolve
26,063
LDU_FT/gbowerman/azurerm/list_container_services_sub
LDU_FT
[ "<BEGIN>\n## `get_rg_from_id`", "get a resource group name from a VMSS ID string\n<END>", "<BEGIN>\n## `get_user_agent`", "User-Agent Header. Sends library identification to Azure endpoint.\n<END>", "<BEGIN>\n## `do_get`", "Do an HTTP GET request and return JSON.", " Args:\n endpoint (str): Az...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_container_services_sub API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_container_services_sub API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
List the container services in a subscription. Args: access_token (str): A valid Azure authentication token. subscription_id (str): Azure subscription id. Returns: HTTP response. JSON model.
"List the container services in a subscription.\n\n Args:\n access_token (str): A valid Azure authentication token.\n subscription_id (str): Azure subscription id.\n\n Returns:\n HTTP response. JSON model."
605
false
gbowerman/azurerm
list_container_services_sub
26,064
LDU_FT/secynic/ipwhois/ipv6_generate_random
LDU_FT
[ "<BEGIN>\n## `lookup_asn`", "Temporary wrapper for IP ASN lookups (moved to\n asn.IPASN.lookup()). This will be removed in a future\n release.\n<END>", "<BEGIN>\n## `get_asn_dns`", "The function for retrieving ASN information for an IP address from\n Cymru via port 53 (DNS).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ipv6_generate_random 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 ipv6_generate_random API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
The generator to produce random, unique IPv6 addresses that are not defined (can be looked up using ipwhois). Args: total (:obj:`int`): The total number of IPv6 addresses to generate. Yields: str: The next IPv6 address.
"The generator to produce random, unique IPv6 addresses that are not\n defined (can be looked up using ipwhois).\n\n Args:\n total (:obj:`int`): The total number of IPv6 addresses to generate.\n\n Yields:\n str: The next IPv6 address."
333
false
secynic/ipwhois
ipv6_generate_random
26,065
LDU_FT/OLC-Bioinformatics/sipprverse/assembly_length
LDU_FT
[ "<BEGIN>\n## `cmd2list`", "Executes a command through the operating system and returns the output\n as a list, or on error a string with the standard error.\n EXAMPLE:\n >>> from subprocess import Popen, PIPE\n >>> CMDout2array('ls -l')\n<END>", "<BEGIN>\n## `print_timers`", "PRINT EXECUTION TIM...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assembly_length API. 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 assembly_length API. 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...
Use SeqIO.parse to extract the total number of bases in each assembly file
"Use SeqIO.parse to extract the total number of bases in each assembly file"
255
false
OLC-Bioinformatics/sipprverse
assembly_length
26,066
LDU_FT/angr/angr/_get_addr
LDU_FT
[ "<BEGIN>\n## `_alias_analysis`", "Perform a forward execution and perform alias analysis. Note that this analysis is fast, light-weight, and by no\n means complete. For instance, most arithmetic operations are not supported.", " - Depending on user settings, stack pointer and stack base pointer wi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_addr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_addr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get address of the basic block or CFG node specified by v. :param v: Can be one of the following: a CFGNode, or an address. :return: The address. :rtype: int
"Get address of the basic block or CFG node specified by v.\n :param v: Can be one of the following: a CFGNode, or an address.\n :return: The address.\n :rtype: int"
2,448
true
angr/angr
_get_addr
26,067
LDU_FT/MosesSymeonidis/aggregation_builder/look_up
LDU_FT
[ "<BEGIN>\n## `add_raw`", "Adds row aggregation state at the query\n :param raw: list of raw stages or a dict of raw stage\n :return: The current object\n<END>", "<BEGIN>\n## `project`", "Adds a projection stage at the query\n :param id: Specifies if the id is in selected fields default va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the look_up API. 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 look_up API. 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...
Adds look up stage at query (left outer join) :param _from: Specifies the collection in the same database to perform the join with. :param _localField: Specifies the field from the documents input to the $lookup stage. :param _foreignField: Specifies the field from the documents in the from coll...
"Adds look up stage at query (left outer join)\n :param _from: Specifies the collection in the same database to perform the join with.\n :param _localField: Specifies the field from the documents input to the $lookup stage.\n :param _foreignField: Specifies the field from the documents in the from ...
33
false
MosesSymeonidis/aggregation_builder
look_up
26,068
LDU_FT/NASA-AMMOS/AIT-Core/eci2ecef
LDU_FT
[ "<BEGIN>\n## `crc32File`", "Computes the CRC-32 of the contents of filename, optionally\n skipping a certain number of bytes at the beginning of the file.\n<END>", "<BEGIN>\n## `endianSwapU16`", "Swaps pairs of bytes (16-bit words) in the given bytearray.\n<END>", "<BEGIN>\n## `setDictDefaults`", "Sets...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eci2ecef API. 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 eci2ecef API. 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...
Converts the given ECI coordinates to ECEF at the given Greenwich Mean Sidereal Time (GMST) (defaults to now). This code was adapted from `shashwatak/satellite-js <https://github.com/shashwatak/satellite-js/blob/master/src/coordinate-transforms.js>`_ and http://ccar.colorado.edu/ASEN5070/handouts/coordsys.do...
"Converts the given ECI coordinates to ECEF at the given Greenwich\n Mean Sidereal Time (GMST) (defaults to now).\n \n This code was adapted from\n `shashwatak/satellite-js <https://github.com/shashwatak/satellite-js/blob/master/src/coordinate-transforms.js>`_\n and http://ccar.colorado.edu/ASEN5070/handouts/coord...
688
false
NASA-AMMOS/AIT-Core
eci2ecef
26,069
LDU_FT/tweekmonster/moult/scan_directory
LDU_FT
[ "<BEGIN>\n## `load_stdlib`", "Scans sys.path for standard library modules.\n<END>", "<BEGIN>\n## `import_path_from_file`", "Returns a tuple of the import path and root module directory for the\n supplied file.\n<END>", "<BEGIN>\n## `file_containing_import`", "Finds the file that might contain the impor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_directory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_directory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Entry point scan that creates a PyModule instance if needed.
"Entry point scan that creates a PyModule instance if needed."
34
false
tweekmonster/moult
scan_directory
26,070
LDU_FT/oseledets/ttpy/r2c
LDU_FT
[ "<BEGIN>\n## `kron`", "Kronecker product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `dot`", "Dot product of two TT-matrices or two TT-vectors\n<END>", "<BEGIN>\n## `zkron`", "Do kronecker product between cores of two matrices ttA and ttB.\n Look about kronecker at: https://en.wikipedia....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the r2c API. 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 r2c API. 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...
Get complex vector.from real one made by ``tensor.c2r()``. For tensor :math:`\\tilde{X}(i_1,\\ldots,i_d,i_{d+1})` returns complex tensor .. math:: X(i_1,\\ldots,i_d) = \\tilde{X}(i_1,\\ldots,i_d,0) + i\\tilde{X}(i_1,\\ldots,i_d,1). >>> a = tt.rand(2,10,5) + 1j * tt.rand(2,10,5) ...
"Get complex vector.from real one made by ``tensor.c2r()``.\n\n For tensor :math:`\\\\tilde{X}(i_1,\\\\ldots,i_d,i_{d+1})` returns complex tensor\n\n .. math::\n X(i_1,\\\\ldots,i_d) = \\\\tilde{X}(i_1,\\\\ldots,i_d,0) + i\\\\tilde{X}(i_1,\\\\ldots,i_d,1).\n\n >>> a = tt.rand(2,10,5) + 1j...
196
false
oseledets/ttpy
r2c
26,071
LDU_FT/ymyzk/python-gyazo/download_thumb
LDU_FT
[ "<BEGIN>\n## `get_image_list`", "Return a list of user's saved images", " :param page: (optional) Page number (default: 1)\n :param per_page: (optional) Number of images per page\n (default: 20, min: 1, max: 100)\n<END>", "<BEGIN>\n## `upload_image`", "Upload an image",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_thumb API. 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 download_thumb API. 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...
Download a thumbnail image file :raise GyazoError:
"Download a thumbnail image file\n\n :raise GyazoError:"
35
false
ymyzk/python-gyazo
download_thumb
26,072