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/miguelgrinberg/python-socketio/emit
LDU_FT
[ "<BEGIN>\n## `get_participants`", "Return an iterable with the active participants in a room.\n<END>", "<BEGIN>\n## `connect`", "Register a client connection to a namespace.\n<END>", "<BEGIN>\n## `pre_disconnect`", "Put the client in the to-be-disconnected list.", " This allows the client data st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. 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 emit API. 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...
Emit a message to a single client, a room, or all the clients connected to the namespace. Note: this method is a coroutine.
"Emit a message to a single client, a room, or all the clients\n connected to the namespace.\n\n Note: this method is a coroutine."
172
false
miguelgrinberg/python-socketio
emit
7,173
LDU_FT/spookylukey/django-paypal/initialize
LDU_FT
[ "<BEGIN>\n## `render_payment_form`", "Display the DirectPayment for entering payment information.\n<END>", "<BEGIN>\n## `validate_payment_form`", "Try to validate and then process the DirectPayment form.\n<END>", "<BEGIN>\n## `redirect_to_express`", "First step of ExpressCheckout. Redirect the request to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Store the data we'll need to make the postback from the request object.
"Store the data we'll need to make the postback from the request object."
65
false
spookylukey/django-paypal
initialize
7,174
LDU_FT/nbedi/typecaster/add_scheduled_job
LDU_FT
[ "<BEGIN>\n## `convert_to_ssml`", "Convert text to SSML based on the text's current format. NOTE: This module\n is extremely limited at the moment and will be expanded.", " :param text:\n The text to convert.\n :param text_format:\n The text format of the text. Currently supports 'plain', ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_scheduled_job API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_scheduled_job API. 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 and start a new scheduled job to dynamically generate podcasts. Note: scheduling will end when the process ends. This works best when run inside an existing application. :param text_source: A function that generates podcast text. Examples: a function that opens a fi...
"Add and start a new scheduled job to dynamically generate podcasts.\n\n Note: scheduling will end when the process ends. This works best when run\n inside an existing application.\n\n :param text_source:\n A function that generates podcast text. Examples: a function that\n op...
27
false
nbedi/typecaster
add_scheduled_job
7,175
LDU_FT/aganezov/bg/delete_bgedge
LDU_FT
[ "<BEGIN>\n## `add_edge`", "Adds a new edge to the current tree with specified characteristics", " Forbids addition of an edge, if a parent node is not present\n Forbids addition of an edge, if a child node already exists", " :param node1_name: name of the parent node, to which an edge sha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_bgedge API. 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 delete_bgedge API. 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...
Deletes a supplied :class:`bg.edge.BGEdge` from a perspective of multi-color substitution. If unique identifier ``key`` is not provided, most similar (from perspective of :meth:`bg.multicolor.Multicolor.similarity_score` result) edge between respective vertices is chosen for change. Proxies a call to :math:`Br...
"Deletes a supplied :class:`bg.edge.BGEdge` from a perspective of multi-color substitution. If unique identifier ``key`` is not provided, most similar (from perspective of :meth:`bg.multicolor.Multicolor.similarity_score` result) edge between respective vertices is chosen for change.\n\n Proxies a call to :math:...
226
false
aganezov/bg
delete_bgedge
7,176
LDU_FT/MolSSI-BSE/basis_set_exchange/create_bundle
LDU_FT
[ "<BEGIN>\n## `read_gbasis`", "Reads gbasis-formatted file data and converts it to a dictionary with the\n usual BSE fields", " Note that the gbasis format does not store all the fields we\n have, so some fields are left blank\n<END>", "<BEGIN>\n## `read_molcas`", "Reads molcas-formatted fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_bundle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_bundle API. 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 single archive file containing all basis sets in a given format Parameters ---------- outfile : str Path to the file to create. Existing files will be overwritten fmt : str Format of the basis set to archive (nwchem, turbomole, ...) reffmt : str Format of the ba...
"Create a single archive file containing all basis\n sets in a given format\n\n Parameters\n ----------\n outfile : str\n Path to the file to create. Existing files will be overwritten\n fmt : str\n Format of the basis set to archive (nwchem, turbomole, ...)\n reffmt : str\n Forma...
408
false
MolSSI-BSE/basis_set_exchange
create_bundle
7,177
LDU_FT/CRS-support/ftw/find_cookie
LDU_FT
[ "<BEGIN>\n## `parse_content_encoding`", "Parses a response that contains Content-Encoding to retrieve\n response_data\n<END>", "<BEGIN>\n## `process_response`", "Parses an HTTP response after an HTTP request is sent\n<END>", "<BEGIN>\n## `find_cookie`", "Find a list of all cookies for a given domai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_cookie API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_cookie API. 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...
Find a list of all cookies for a given domain
"Find a list of all cookies for a given domain"
12
false
CRS-support/ftw
find_cookie
7,178
LDU_FT/ghukill/pyfc4/start_txn
LDU_FT
[ "<BEGIN>\n## `_post_create`", "resource.create() hook", "\t\tFor PCDM Collections, post creation, also create\n<END>", "<BEGIN>\n## `get_related`", "get ore:aggregates for this resource, optionally retrieving resource payload", "\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_txn API. 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 start_txn API. 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...
Request new transaction from repository, init new Transaction, store in self.txns Args: txn_name (str): human name for transaction Return: (Transaction): returns intance of newly created transaction
"Request new transaction from repository, init new Transaction,\n\t\tstore in self.txns\n\n\t\tArgs:\n\t\t\ttxn_name (str): human name for transaction\n\n\t\tReturn:\n\t\t\t(Transaction): returns intance of newly created transaction"
203
false
ghukill/pyfc4
start_txn
7,179
LDU_FT/predicador37/pyjstat/request
LDU_FT
[ "<BEGIN>\n## `check_version_2`", "Checks if json-stat version attribute exists and is equal or greater \\\n than 2.0 for a given dataset.", " Args:\n dataset (OrderedDict): data in JSON-stat format, previously \\\n deserialized to a python object by \\\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Send a request to a given URL accepting JSON format and return a \ deserialized Python object. Args: path (str): The URI to be requested. Returns: response: Deserialized JSON Python object. Raises: HTTPError: the HTTP error returned by the requested server. InvalidURL: an i...
"Send a request to a given URL accepting JSON format and return a \\\n deserialized Python object.\n\n Args:\n path (str): The URI to be requested.\n\n Returns:\n response: Deserialized JSON Python object.\n\n Raises:\n HTTPError: the HTTP error returned by the requested server.\n Inv...
81
false
predicador37/pyjstat
request
7,180
LDU_FT/hbldh/dlxsudoku/_parse_from_string
LDU_FT
[ "<BEGIN>\n## `load_file`", "Load a Sudoku from file.", " :param file_path: The path to the file to load_file.\n :type file_path: str, unicode\n :return: A Sudoku instance with the parsed\n information from the file.\n :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Parses a Sudoku instance from string input. :param string_input: A string containing the Sudoku to parse. :type string_input: str :return: The parsed Sudoku. :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`
"Parses a Sudoku instance from string input.\n\n :param string_input: A string containing the Sudoku to parse.\n :type string_input: str\n :return: The parsed Sudoku.\n :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`"
32
false
hbldh/dlxsudoku
_parse_from_string
7,181
LDU_FT/mithro/python-datetime-tz/_detect_timezone_windows
LDU_FT
[ "<BEGIN>\n## `_tzinfome`", "Gets a tzinfo object from a string.", " Args:\n tzinfo: A string (or string like) object, or a datetime.tzinfo object.", " Returns:\n An datetime.tzinfo object.", " Raises:\n UnknownTimeZoneError: If the timezone given can't be decoded.\n<END>", "<BEGIN>\n## `locali...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _detect_timezone_windows 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 _detect_timezone_windows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Detect timezone on the windows platform.
"Detect timezone on the windows platform."
89
false
mithro/python-datetime-tz
_detect_timezone_windows
7,182
LDU_FT/junzis/pyModeS/ic45
LDU_FT
[ "<BEGIN>\n## `category`", "Aircraft category number", " Args:\n msg (string): 28 bytes hexadecimal message string", " Returns:\n int: category number\n<END>", "<BEGIN>\n## `callsign`", "Aircraft callsign", " Args:\n msg (string): 28 bytes hexadecimal message string", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ic45 API. 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 ic45 API. 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...
Icing. Args: msg (String): 28 bytes hexadecimal message string Returns: int: Icing level. 0=NIL, 1=Light, 2=Moderate, 3=Severe
"Icing.\n\n Args:\n msg (String): 28 bytes hexadecimal message string\n\n Returns:\n int: Icing level. 0=NIL, 1=Light, 2=Moderate, 3=Severe"
310
false
junzis/pyModeS
ic45
7,183
LDU_FT/xflows/rdm/check_input
LDU_FT
[ "<BEGIN>\n## `cv_split`", "Returns a list of pairs (train_context, test_context), one for each cross-validation fold.", " The split is stratified.", " :param context: DBContext to be split\n :param folds: number of folds\n :param random_seed: random seed to be used", " :return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_input API. 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_input API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Check for illegal predicates (like reading/writing, opening sockets, etc).
"Check for illegal predicates (like reading/writing, opening sockets, etc)."
102
false
xflows/rdm
check_input
7,184
LDU_FT/mikicz/arca/validate_configuration
LDU_FT
[ "<BEGIN>\n## `get_or_create_environment`", "Returns the path to the current Python executable.\n<END>", "<BEGIN>\n## `validate_configuration`", "Validates the provided settings.", " * Checks ``inherit_image`` format.\n * Checks ``use_registry_name`` format.\n * Checks that ``apt_depende...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_configuration 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 validate_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Runs :meth:`arca.DockerBackend.validate_configuration` and checks extra: * ``box`` format * ``provider`` format * ``use_registry_name`` is set and ``registry_pull_only`` is not enabled.
"Runs :meth:`arca.DockerBackend.validate_configuration` and checks extra:\n\n * ``box`` format\n * ``provider`` format\n * ``use_registry_name`` is set and ``registry_pull_only`` is not enabled."
196
false
mikicz/arca
validate_configuration
7,185
LDU_FT/klingtnet/sblgntparser/filelist
LDU_FT
[ "<BEGIN>\n## `filelist`", "Returns a list of all the files contained in the folder specified by `folderpath`.\n To filter the files by extension simply add a list containing all the extension with `.` as the second argument.\n If `flat` is False, then the Path objects are returned.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filelist API. 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 filelist API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a list of all the files contained in the folder specified by `folderpath`. To filter the files by extension simply add a list containing all the extension with `.` as the second argument. If `flat` is False, then the Path objects are returned.
"Returns a list of all the files contained in the folder specified by `folderpath`.\n To filter the files by extension simply add a list containing all the extension with `.` as the second argument.\n If `flat` is False, then the Path objects are returned."
16
false
klingtnet/sblgntparser
filelist
7,186
LDU_FT/pypa/warehouse/_clean_for_xml
LDU_FT
[ "<BEGIN>\n## `user_projects`", "Return all the projects for which the user is a sole owner\n<END>", "<BEGIN>\n## `merge`", "Merge one or more revisions.", " Takes one or more revisions or \"heads\" for all heads and merges them into\n a single revision.\n<END>", "<BEGIN>\n## `column_windows`", "Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_for_xml API. 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 _clean_for_xml API. 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...
Sanitize any user-submitted data to ensure that it can be used in XML
"Sanitize any user-submitted data to ensure that it can be used in XML"
47
false
pypa/warehouse
_clean_for_xml
7,187
LDU_FT/blockstack/virtualchain/handle_inv
LDU_FT
[ "<BEGIN>\n## `lpad`", "Left-pad a given string (msg) with a character (symbol) for a given number of bytes (length).\n Return the padded string\n<END>", "<BEGIN>\n## `changebase`", "Change a string's characters from one base to another.\n Return the re-encoded string\n<END>", "<BEGIN>\n## `num_to_var_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_inv API. 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 handle_inv API. 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...
Get the data we just requested. Shouldn't happen with newer servers, since they use getheaders/headers followed by getdata/blocks (older peers use getblocks/inv/getdata/inv exchanges)
"Get the data we just requested.\n Shouldn't happen with newer servers, since they use\n getheaders/headers followed by getdata/blocks\n (older peers use getblocks/inv/getdata/inv exchanges)"
491
false
blockstack/virtualchain
handle_inv
7,188
LDU_FT/peerplays-network/python-peerplays/event_update
LDU_FT
[ "<BEGIN>\n## `listaccounts`", "List accounts (for the connected network)\n<END>", "<BEGIN>\n## `importaccount`", "Import an account using an account password\n<END>", "<BEGIN>\n## `eventgroups`", "[bookie] List event groups for a sport", " :param str sport: Sports id\n<END>", "<BEGIN>\n## `even...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Update an event. This needs to be **proposed**. :param str event_id: Id of the event to update :param list name: Internationalized names, e.g. ``[['de', 'Foo'], ['en', 'bar']]`` :param list season: Internationalized season, e.g. ``[['de', 'Foo'], ['en...
"Update an event. This needs to be **proposed**.\n\n :param str event_id: Id of the event to update\n :param list name: Internationalized names, e.g. ``[['de', 'Foo'],\n ['en', 'bar']]``\n :param list season: Internationalized season, e.g. ``[['de',\n 'Foo'...
124
false
peerplays-network/python-peerplays
event_update
7,189
LDU_FT/Rockhopper-Technologies/enlighten/change_scroll
LDU_FT
[ "<BEGIN>\n## `_check_bool`", "Used as an error handler for Windows calls\n Gets last error if call is not successful\n<END>", "<BEGIN>\n## `get_csbi`", "Returns a CONSOLE_SCREEN_BUFFER_INFO structure for the given console or stdout\n<END>", "<BEGIN>\n## `enable_vt_mode`", "Enables virtual terminal proc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_scroll API. 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 change_scroll API. 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...
Args: position (int): Vertical location to end scroll window Change scroll window
"Args:\n position (int): Vertical location to end scroll window\n\n Change scroll window"
104
false
Rockhopper-Technologies/enlighten
change_scroll
7,190
LDU_FT/mattharrison/rst2odp/get_node
LDU_FT
[ "<BEGIN>\n## `adjust_fit`", "given a x and y of dest, determine the ratio and return\n an (x,y,w,h) for a fitted image (note x or y could be neg).\n >>> adjust_fit(4,3,5,5)\n (0.5, 0, 3.0, 3.0)\n >>> adjust_fit(8,6,5,5)\n (1.0, 0, 6.0, 6.0)\n >>> adjust_fit(4,3,5,2)\n (0, 0.69999999999999996,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node API. 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...
<anim:par smil:begin="next"> <anim:par smil:begin="0s"> <anim:par smil:begin="0s" smil:fill="hold" presentation:node-type="on-click" presentation:preset-class="entrance" presentation:preset-id="ooo-entrance-appear"> <anim:set smil:begin="0s" smil:dur="0.001s" smil:fill="hold" smil:targetElement="id1" anim:...
"<anim:par smil:begin=\"next\">\n\t <anim:par smil:begin=\"0s\">\n\t\t<anim:par smil:begin=\"0s\" smil:fill=\"hold\" presentation:node-type=\"on-click\" presentation:preset-class=\"entrance\" presentation:preset-id=\"ooo-entrance-appear\">\n\t\t <anim:set smil:begin=\"0s\" smil:dur=\"0.001s\" smil:fill=\"hold\" s...
50
false
mattharrison/rst2odp
get_node
7,191
LDU_FT/brian-rose/climlab/_build_process_type_list
LDU_FT
[ "<BEGIN>\n## `default_absorbers`", "Initialize a dictionary of well-mixed radiatively active gases\n All values are volumetric mixing ratios.", " Ozone is set to a climatology.", " All other gases are assumed well-mixed:", " - CO2\n - CH4\n - N2O\n - O2\n - CFC11\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_process_type_list 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 _build_process_type_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generates lists of processes organized by process type. Following object attributes are generated or updated: :ivar dict process_types: a dictionary with entries: ``'diagnostic'``, ``'explicit'``, ``'implicit'`` and ``'adjustmen...
"Generates lists of processes organized by process type.\n\n Following object attributes are generated or updated:\n\n :ivar dict process_types: a dictionary with entries:\n ``'diagnostic'``, ``'explicit'``,\n ``'implicit'`` and ``'ad...
571
false
brian-rose/climlab
_build_process_type_list
7,192
LDU_FT/dmort27/panphon/compile_regex_from_str
LDU_FT
[ "<BEGIN>\n## `fts`", "Return features corresponding to segment as list of (value,\n feature) tuples", " Args:\n segment (unicode): segment for which features are to be returned as\n Unicode string", " Returns:\n list: None if `segment` c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile_regex_from_str 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 compile_regex_from_str 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 string describing features masks for a sequence of segments, return a regex matching the corresponding strings. Args: ft_str (str): feature masks, each enclosed in square brackets, in which the features are delimited by any standard delimiter. Returns: ...
"Given a string describing features masks for a sequence of segments,\n return a regex matching the corresponding strings.\n\n Args:\n ft_str (str): feature masks, each enclosed in square brackets, in\n which the features are delimited by any standard delimiter.\n\n Returns:\n...
112
false
dmort27/panphon
compile_regex_from_str
7,193
LDU_FT/jeongyoonlee/Kaggler/_transform_col
LDU_FT
[ "<BEGIN>\n## `fit`", "Train a network with the quasi-Newton method.", " Args:\n X (np.array of float): feature matrix for training\n y (np.array of float): target values for training\n X_val (np.array of float): feature matrix for validation\n y_val (np.array o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transform_col API. 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 _transform_col API. 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...
Encode one categorical column into sparse matrix with one-hot-encoding. Args: x (pandas.Series): a categorical column to encode i (int): column index Returns: X (scipy.sparse.coo_matrix): sparse matrix encoding a categorical ...
"Encode one categorical column into sparse matrix with one-hot-encoding.\n\n Args:\n x (pandas.Series): a categorical column to encode\n i (int): column index\n\n Returns:\n X (scipy.sparse.coo_matrix): sparse matrix encoding a categorical\n ...
114
false
jeongyoonlee/Kaggler
_transform_col
7,194
LDU_FT/Azure/azure-uamqp-python/redirect_async
LDU_FT
[ "<BEGIN>\n## `_close_received`", "Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redirect_async API. 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 redirect_async API. 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...
Redirect the client endpoint using a Link DETACH redirect response. :param redirect: The Link DETACH redirect details. :type redirect: ~uamqp.errors.LinkRedirect :param auth: Authentication credentials to the redirected endpoint. :type auth: ~uamqp.authentication.common.AMQPAuth
"Redirect the client endpoint using a Link DETACH redirect\n response.\n\n :param redirect: The Link DETACH redirect details.\n :type redirect: ~uamqp.errors.LinkRedirect\n :param auth: Authentication credentials to the redirected endpoint.\n :type auth: ~uamqp.authentication.common.A...
299
false
Azure/azure-uamqp-python
redirect_async
7,195
LDU_FT/genepattern/genepattern-python/get_info
LDU_FT
[ "<BEGIN>\n## `GCT`", "Create a Dataframe with the contents of the GCT file\n<END>", "<BEGIN>\n## `ODF`", "Create a Dataframe with the contents of the ODF file", " For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide", " :o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API. 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...
Query the GenePattern server for metadata regarding this job and assign that metadata to the properties on this GPJob object. Including: * Task Name * LSID * User ID * Job Number * Status * Date Submitted * URL of Log Files ...
"Query the GenePattern server for metadata regarding this job and assign\n that metadata to the properties on this GPJob object. Including:\n * Task Name\n * LSID\n * User ID\n * Job Number\n * Status\n * Date Submitted\n * URL of Log F...
156
false
genepattern/genepattern-python
get_info
7,196
LDU_FT/payu-org/payu/init_config
LDU_FT
[ "<BEGIN>\n## `set_model_pathnames`", "Define the paths associated with this model.\n<END>", "<BEGIN>\n## `archive`", "Store model output to laboratory archive.\n<END>", "<BEGIN>\n## `parse`", "Parse the command line inputs and execute the subcommand.\n<END>", "<BEGIN>\n## `get_model_type`", "Determine...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Patch input.nml as a new or restart run.
"Patch input.nml as a new or restart run."
78
false
payu-org/payu
init_config
7,197
LDU_FT/olt/scriptine/decorator
LDU_FT
[ "<BEGIN>\n## `autocmds`", "Parse and run commands.", " Will search ``namespace`` for functions that end with ``command_suffix``.", " :param namespace: the namespace/module to search for commands\n :param args: the arguments for the command parser. defaults to\n :data:`sys.argv`\n :param com...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decorator API. 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 decorator API. 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...
decorator(caller) converts a caller function into a decorator; decorator(caller, func) decorates a function using a caller.
"decorator(caller) converts a caller function into a decorator;\n decorator(caller, func) decorates a function using a caller."
84
false
olt/scriptine
decorator
7,198
LDU_FT/hid-io/layouts-python/main
LDU_FT
[ "<BEGIN>\n## `main`", "Main entry-point for calling layouts directly as a program.\n<END>", "<BEGIN>\n## `retrieve_github_cache`", "Retrieves a cache of the layouts git repo from GitHub", " @param github_path: Location of the git repo on GitHub (e.g. hid-io/layouts)\n @param version: git refer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Main entry-point for calling layouts directly as a program.
"Main entry-point for calling layouts directly as a program."
35
false
hid-io/layouts-python
main
7,199
LDU_FT/GeorgeArgyros/symautomata/get_string
LDU_FT
[ "<BEGIN>\n## `main`", "Testing function for DFA brzozowski algebraic method Operation\n<END>", "<BEGIN>\n## `_bfs_sort`", "maintain a map of states distance using BFS\n Args:\n start (fst state): The initial DFA state\n Returns:\n list: An ordered list of DFA states\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a string from the Diff resutl. Depending on the method, either the string will be generated directly from the PDA using the state removal method, or the PDA will be first translated to a CFG and then a string will be generated from the CFG Args: None ...
"Returns a string from the Diff resutl.\n Depending on the method, either the string will\n be generated directly from the PDA using the state\n removal method, or the PDA will be first translated to\n a CFG and then a string will be generated from the CFG\n Args:\n None\n...
143
false
GeorgeArgyros/symautomata
get_string
7,200
LDU_FT/APSL/transmanager/get_languages_from_application
LDU_FT
[ "<BEGIN>\n## `create_translation_tasks`", "Creates the translations tasks from the instance and its translatable children", " :param instance:\n :return:\n<END>", "<BEGIN>\n## `update_task`", "Updates a task as done if we have a new value for this alternative language", " :param diffe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_languages_from_application API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_languages_from_application API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Get the languages configured for the current application :param app_label: :return:
"Get the languages configured for the current application\n\n :param app_label:\n :return:"
92
false
APSL/transmanager
get_languages_from_application
7,201
LDU_FT/pyrapt/rapt/_set_op
LDU_FT
[ "<BEGIN>\n## `get_attribute_references`", "Return a list of attribute references in the condition expression.", " attribute_reference ::= relation_name \".\" attribute_name | attribute_name", " :param instring: a condition expression.\n :return: a list of attribute references.\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_op API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_op API. 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...
Translate a set operator node into SQLQuery. :param node: a treebrd node :return: a SQLQuery object for the tree rooted at node
"Translate a set operator node into SQLQuery.\n :param node: a treebrd node\n :return: a SQLQuery object for the tree rooted at node"
86
false
pyrapt/rapt
_set_op
7,202
LDU_FT/awslabs/serverless-application-model/to_cloudformation
LDU_FT
[ "<BEGIN>\n## `deaggregate_record`", "Given a Kinesis record data that is decoded, deaggregate if it was packed using the\n Kinesis Producer Library into individual records. This method will be a no-op for any\n records that are not aggregated (but will still return them).", " decoded_data - the base64...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_cloudformation API. 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 to_cloudformation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns the Lambda function, role, and event resources to which this SAM Function corresponds. :param dict kwargs: already-converted resources that may need to be modified when converting this \ macro to pure CloudFormation :returns: a list of vanilla CloudFormation Resources, to which this Fun...
"Returns the Lambda function, role, and event resources to which this SAM Function corresponds.\n\n :param dict kwargs: already-converted resources that may need to be modified when converting this \\\n macro to pure CloudFormation\n :returns: a list of vanilla CloudFormation Resources, to which th...
672
false
awslabs/serverless-application-model
to_cloudformation
7,203
LDU_FT/jwkvam/bowtie/before_request
LDU_FT
[ "<BEGIN>\n## `notify`", "Notify the client.", " The function passed to ``App.respond`` will get called.\n<END>", "<BEGIN>\n## `validate`", "Check that the key is a string or bytestring.", " That's the only valid type of key.\n<END>", "<BEGIN>\n## `pack`", "Encode ``x`` into msgpack with addi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the before_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Determine if a user is allowed to view this route.
"Determine if a user is allowed to view this route."
82
false
jwkvam/bowtie
before_request
7,204
LDU_FT/portfoliome/foil/partition_ordered
LDU_FT
[ "<BEGIN>\n## `_`", "ISO 8601 format. Interprets naive datetime as UTC with zulu suffix.\n<END>", "<BEGIN>\n## `create_key_filter`", "Generate combinations of key, value pairs for each key in properties.", " Examples\n --------\n properties = {'ent': ['geo_rev', 'supply_chain'], 'own', 'fi'}\n >>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition_ordered API. 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 partition_ordered API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Partition ordered sequence by key. Sequence is expected to already be ordered. Parameters ---------- sequence: iterable data. key: partition key function Yields ------- iterable tuple(s) of partition key, data list pairs. Examples -------- 1. By object attributes. Pa...
"Partition ordered sequence by key.\n\n Sequence is expected to already be ordered.\n\n Parameters\n ----------\n sequence: iterable data.\n key: partition key function\n\n Yields\n -------\n iterable tuple(s) of partition key, data list pairs.\n\n Examples\n --------\n 1. By object att...
89
false
portfoliome/foil
partition_ordered
7,205
LDU_FT/daethnir/authprogs/load
LDU_FT
[ "<BEGIN>\n## `raise_and_log_error`", "Raise error, including message and original traceback.", " error: the error to raise\n message: the user-facing error message\n<END>", "<BEGIN>\n## `get_client_ip`", "Return the client IP from the environment.\n<END>", "<BEGIN>\n## `check_keyname`", "I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Load our config, log and raise on error.
"Load our config, log and raise on error."
32
false
daethnir/authprogs
load
7,206
LDU_FT/moonso/loqusdb/delete_case
LDU_FT
[ "<BEGIN>\n## `update_database`", "Update a case in the database", " Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_case API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_case API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Delete case from the database Delete a case from the database Args: case (dict): A case dictionary
"Delete case from the database\n\n Delete a case from the database\n\n Args:\n case (dict): A case dictionary"
216
false
moonso/loqusdb
delete_case
7,207
LDU_FT/GoogleCloudPlatform/appengine-mapreduce/from_json
LDU_FT
[ "<BEGIN>\n## `_validate_filters`", "Validate user supplied filters.", " Validate filters are on existing properties and filter values\n have valid semantics.", " Args:\n filters: user supplied filters. Each filter should be a list or tuple of\n format (<property_name_as_str>, <query_opera...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_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 extract...
Create new MapreduceSpec from the json, encoded by to_json. Args: json: json representation of MapreduceSpec. Returns: an instance of MapreduceSpec with all data deserialized from json.
"Create new MapreduceSpec from the json, encoded by to_json.\n\n Args:\n json: json representation of MapreduceSpec.\n\n Returns:\n an instance of MapreduceSpec with all data deserialized from json."
766
false
GoogleCloudPlatform/appengine-mapreduce
from_json
7,208
LDU_FT/snbuback/django_services/has_perm
LDU_FT
[ "<BEGIN>\n## `get_view_doc`", "Build view documentation. Return in html format.\n If you want in markdown format, use html=False\n<END>", "<BEGIN>\n## `wrap_accordion`", "Wrap text_body_list in twitter bootstrap accordion. text_body_list must be list with tuple with title and body\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_perm API. 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 has_perm API. 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...
Raise PermissionDenied if user has no permission in object
"Raise PermissionDenied if user has no permission in object"
43
false
snbuback/django_services
has_perm
7,209
LDU_FT/jeroyang/txttk/parallel
LDU_FT
[ "<BEGIN>\n## `from_scale`", "deprecated, for backward compactbility\n try to use from_score\n<END>", "<BEGIN>\n## `condense`", "Given multiple strings, returns a compressed regular expression just\n for these strings", " >>> condense(['she', 'he', 'her', 'hemoglobin'])\n 'he(moglobin|r)?|she...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parallel API. 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 parallel API. 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...
Join the given regexes using r'|' if the sort=True, regexes will be sorted by lenth before processing >>> parallel([r'abc', r'def']) 'abc|def' >>> parallel([r'abc', r'd|ef']) 'abc|def' >>> parallel([r'abc', r'(d|ef)']) 'abc|d|ef' >>> parallel([r'abc', r'defg']) 'defg|abc'
"Join the given regexes using r'|'\n if the sort=True, regexes will be sorted by lenth before processing\n \n >>> parallel([r'abc', r'def'])\n 'abc|def'\n >>> parallel([r'abc', r'd|ef'])\n 'abc|def'\n >>> parallel([r'abc', r'(d|ef)'])\n 'abc|d|ef'\n >>> parallel([r'abc', r'defg'])\n 'defg|...
49
false
jeroyang/txttk
parallel
7,210
LDU_FT/bitshares/python-bitshares/process_market
LDU_FT
[ "<BEGIN>\n## `decodeRPCErrorMsg`", "Helper function to decode the raised Exception and give it a\n python Exception class\n<END>", "<BEGIN>\n## `transfer`", "Transfer an asset to another account.", " :param str to: Recipient\n :param float amount: Amount to transfer\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_market API. 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 process_market API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
This method is used for post processing of market notifications. It will return instances of either * :class:`bitshares.price.Order` or * :class:`bitshares.price.FilledOrder` or * :class:`bitshares.price.UpdateCallOrder` Also possible are limit order updates...
"This method is used for post processing of market\n notifications. It will return instances of either\n\n * :class:`bitshares.price.Order` or\n * :class:`bitshares.price.FilledOrder` or\n * :class:`bitshares.price.UpdateCallOrder`\n\n Also possible are limit order...
116
false
bitshares/python-bitshares
process_market
7,211
LDU_FT/tilde-lab/tilde/parse
LDU_FT
[ "<BEGIN>\n## `wrap_cell`", "Cell wrappers\n for customizing the GUI data table", " TODO : must coincide with hierarchy!\n TODO : simplify this!\n<END>", "<BEGIN>\n## `meminfo`", "Get the amount of memory and swap, Mebibytes\n<END>", "<BEGIN>\n## `serial_number`", "Get the serial number. Require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
High-level parsing: determines the data format and combines parent-children outputs NB: this is the PUBLIC method @returns tilde_obj, error
"High-level parsing:\n determines the data format\n and combines parent-children outputs\n NB: this is the PUBLIC method\n @returns tilde_obj, error"
68
false
tilde-lab/tilde
parse
7,212
LDU_FT/dacut/meterer/resource_size
LDU_FT
[ "<BEGIN>\n## `resource_to_bucket_and_key`", "S3Meterer.resource_to_bucket_and_key(resource_name) -> (str, str)", " Convert an S3 resource name in the form 's3://bucket/key' to a tuple\n of ('bucket', 'key').\n<END>", "<BEGIN>\n## `allow_resource_access`", "meterer.allow_resource_access(resourc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resource_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resource_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
meterer.resource_size(resource_name) -> int Retrieve the size of the given resource.
"meterer.resource_size(resource_name) -> int\n\n Retrieve the size of the given resource."
26
false
dacut/meterer
resource_size
7,213
LDU_FT/Yelp/detect-secrets/write_baseline_to_file
LDU_FT
[ "<BEGIN>\n## `determine_file_type`", ":param filename: str", " :rtype: FileType\n<END>", "<BEGIN>\n## `write_baseline_to_file`", ":type filename: str\n :type data: dict\n :rtype: None\n<END>", "<BEGIN>\n## `load_baseline_from_string`", "Initializes a SecretsCollection object from string.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_baseline_to_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_baseline_to_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....
:type filename: str :type data: dict :rtype: None
":type filename: str\n :type data: dict\n :rtype: None"
194
false
Yelp/detect-secrets
write_baseline_to_file
7,214
LDU_FT/yatiml/yatiml/__recognize_user_classes
LDU_FT
[ "<BEGIN>\n## `class_subobjects`", "Find the aggregated subobjects of an object.", " These are the public attributes.", " Args:\n class_: The class whose subobjects to return.", " Yields:\n Tuples (name, type, required) describing subobjects.\n<END>", "<BEGIN>\n## `__sweeten`", "Ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __recognize_user_classes 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 __recognize_user_classes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Recognize a user-defined class in the node. This returns a list of classes from the inheritance hierarchy \ headed by expected_type which match the given node and which \ do not have a registered derived class that matches the given \ node. So, the returned classes are the most derived ...
"Recognize a user-defined class in the node.\n\n This returns a list of classes from the inheritance hierarchy \\\n headed by expected_type which match the given node and which \\\n do not have a registered derived class that matches the given \\\n node. So, the returned classes are the most...
224
false
yatiml/yatiml
__recognize_user_classes
7,215
LDU_FT/signaturit/python-sdk/delete_group
LDU_FT
[ "<BEGIN>\n## `get_signature`", "Get a concrete Signature\n @return Signature data\n<END>", "<BEGIN>\n## `download_audit_trail`", "Get the audit trail of concrete document\n @signature_id: Id of signature\n @document_id: Id of document\n<END>", "<BEGIN>\n## `download_signed_document`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Remove a group from your team :param group_id: Id of group
"Remove a group from your team\n :param group_id: Id of group"
52
false
signaturit/python-sdk
delete_group
7,216
LDU_FT/shidenggui/easyquotation/market_snapshot
LDU_FT
[ "<BEGIN>\n## `real`", "return specific stocks real quotation\n :param stock_codes: stock code or list of stock code,\n when prefix is True, stock code must start with sh/sz\n :param prefix: if prefix i True, stock_codes must contain sh/sz market\n flag. If prefix is False, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the market_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the market_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
return all market quotation snapshot :param prefix: if prefix is True, return quotation dict's stock_code key start with sh/sz market flag
"return all market quotation snapshot\n :param prefix: if prefix is True, return quotation dict's stock_code\n key start with sh/sz market flag"
16
false
shidenggui/easyquotation
market_snapshot
7,217
LDU_FT/mdiener/grace/parse_comment
LDU_FT
[ "<BEGIN>\n## `visit`", "Returns a generator that walks all children recursively.\n<END>", "<BEGIN>\n## `list_js_files`", "Generator for all JavaScript files in the directory, recursively", " >>> 'examples/module.js' in list(list_js_files('examples'))\n True\n<END>", "<BEGIN>\n## `save_file`", "Sav...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_comment API. 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 parse_comment API. 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...
r""" Split the raw comment text into a dictionary of tags. The main comment body is included as 'doc'. >>> comment = get_doc_comments(read_file('examples/module.js'))[4][0] >>> parse_comment(strip_stars(comment), '')['doc'] 'This is the documentation for the fourth function.\n\n Since the function...
"r\"\"\"\n Split the raw comment text into a dictionary of tags. The main comment\n body is included as 'doc'.\n\n >>> comment = get_doc_comments(read_file('examples/module.js'))[4][0]\n >>> parse_comment(strip_stars(comment), '')['doc']\n 'This is the documentation for the fourth function.\\n\\n Since ...
188
false
mdiener/grace
parse_comment
7,218
LDU_FT/jldantas/libmft/load_mp
LDU_FT
[ "<BEGIN>\n## `apply_fixup_array`", "This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.", " Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_mp API. 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 load_mp API. 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...
The initialization process takes a file like object "file_pointer" and loads it in the internal structures. "use_cores" can be definied if multiple cores are to be used. The "size" argument is the size of the MFT entries. If not provided, the class will try to auto detect it.
"The initialization process takes a file like object \"file_pointer\"\n and loads it in the internal structures. \"use_cores\" can be definied\n if multiple cores are to be used. The \"size\" argument is the size\n of the MFT entries. If not provided, the class will try to auto detect\n it."
107
false
jldantas/libmft
load_mp
7,219
LDU_FT/jaraco/hgtools/version_calc
LDU_FT
[ "<BEGIN>\n## `file_finder`", "Find the files in ``dirname`` under Mercurial version control\n\taccording to the setuptools spec (see\n\thttp://peak.telecommunity.com/DevCenter/setuptools#adding-support-for-other-revision-control-systems\n\t).\n<END>", "<BEGIN>\n## `patch_egg_info`", "A hack to replace egg_inf...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_calc API. 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 version_calc API. 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...
Handler for parameter to setup(use_vcs_version=value) attr should be 'use_vcs_version' (also allows use_hg_version for compatibility). bool(value) should be true to invoke this plugin. value may optionally be a dict and supply options to the plugin.
"Handler for parameter to setup(use_vcs_version=value)\n\tattr should be 'use_vcs_version' (also allows use_hg_version for\n\t\tcompatibility).\n\tbool(value) should be true to invoke this plugin.\n\tvalue may optionally be a dict and supply options to the plugin."
50
false
jaraco/hgtools
version_calc
7,220
LDU_FT/LuqueDaniel/pybooru/comment_vote
LDU_FT
[ "<BEGIN>\n## `post_update`", "Update a specific post (Requires login).", " Parameters:\n post_id (int): The id number of the post to update.\n tag_string (str): A space delimited list of tags.\n rating (str): The rating for the post. Can be: safe, questionable,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the comment_vote API. 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 comment_vote API. 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...
Lets you vote for a comment (Requires login). Parameters: comment_id (int): score (str): Can be: up, down.
"Lets you vote for a comment (Requires login).\n\n Parameters:\n comment_id (int):\n score (str): Can be: up, down."
299
false
LuqueDaniel/pybooru
comment_vote
7,221
LDU_FT/Ceasar/twosheds/gen_variable_completions
LDU_FT
[ "<BEGIN>\n## `eval`", "Respond to text entered by the user.", " :param text: the user's input\n<END>", "<BEGIN>\n## `interact`", "Get a command from the user and respond to it.\n<END>", "<BEGIN>\n## `serve_forever`", "Handle one interaction at a time until shutdown.", " :param banner: (o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_variable_completions 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 gen_variable_completions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generate a sequence of possible variable completions for ``word``. :param word: the word to complete :param env: the environment
"Generate a sequence of possible variable completions for ``word``.\n\n :param word: the word to complete\n :param env: the environment"
49
false
Ceasar/twosheds
gen_variable_completions
7,222
LDU_FT/agoragames/haigha/unbind
LDU_FT
[ "<BEGIN>\n## `commit`", "Commit the current transaction. Caller can specify a callback to use\n when the transaction is committed.\n<END>", "<BEGIN>\n## `rollback`", "Abandon all message publications and acks in the current transaction.\n Caller can specify a callback to use when the transactio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unbind API. 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 unbind API. 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 ...
Unbind a queue from an exchange. This is always synchronous.
"Unbind a queue from an exchange. This is always synchronous."
200
false
agoragames/haigha
unbind
7,223
LDU_FT/njharman/die/iter
LDU_FT
[ "<BEGIN>\n## `do_sum`", "Set self.sum, self.avr and return sum of dice rolled, count times.\n :param count: Number of rolls to make\n :return: Total sum of all rolls\n<END>", "<BEGIN>\n## `do_bucket`", "Set self.bucket and return results.\n :param count: Number of rolls to make\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Iterator of infinite dice rolls. :param count: [0] Return list of ``count`` sums
"Iterator of infinite dice rolls.\n :param count: [0] Return list of ``count`` sums"
28
false
njharman/die
iter
7,224
LDU_FT/openstack/proliantutils/iscsi_settings
LDU_FT
[ "<BEGIN>\n## `_exec_ipmitool`", "Execute the ipmitool command.", " This uses the lanplus interface to communicate with the BMC device driver.", " :param driver_info: the ipmitool parameters for accessing a node.\n :param command: the ipmitool command to be executed.\n<END>", "<BEGIN>\n## `get_nic_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iscsi_settings API. 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 iscsi_settings API. 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...
Property to provide reference to iSCSI settings instance It is calculated once when the first time it is queried. On refresh, this property gets reset.
"Property to provide reference to iSCSI settings instance\n\n It is calculated once when the first time it is queried. On refresh,\n this property gets reset."
929
false
openstack/proliantutils
iscsi_settings
7,225
LDU_FT/opencobra/memote/find_compartment_id_in_model
LDU_FT
[ "<BEGIN>\n## `validate`", "Use a defined schema to validate the medium table format.\n<END>", "<BEGIN>\n## `apply`", "Set the defined medium on the given model.\n<END>", "<BEGIN>\n## `find_transported_elements`", "Return a dictionary showing the amount of transported elements of a rxn.", " Collects t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_compartment_id_in_model 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 find_compartment_id_in_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Identify a model compartment by looking up names in COMPARTMENT_SHORTLIST. Parameters ---------- model : cobra.Model The metabolic model under investigation. compartment_id : string Memote internal compartment identifier used to access compartment name shortlist to look up poten...
"Identify a model compartment by looking up names in COMPARTMENT_SHORTLIST.\n\n Parameters\n ----------\n model : cobra.Model\n The metabolic model under investigation.\n compartment_id : string\n Memote internal compartment identifier used to access compartment name\n shortlist to look...
508
false
opencobra/memote
find_compartment_id_in_model
7,226
LDU_FT/praekelt/django-ultracache/cache_meta
LDU_FT
[ "<BEGIN>\n## `reduce_list_size`", "Return two lists\n - the last N items of li whose total size is less than MAX_SIZE\n - the rest of the original list li\n<END>", "<BEGIN>\n## `cache_meta`", "Inspect request for objects in _ultracache and set appropriate entries\n in Django's cache.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_meta API. 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 cache_meta API. 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...
Inspect request for objects in _ultracache and set appropriate entries in Django's cache.
"Inspect request for objects in _ultracache and set appropriate entries\n in Django's cache."
17
false
praekelt/django-ultracache
cache_meta
7,227
LDU_FT/rodluger/everest/get_ylim
LDU_FT
[ "<BEGIN>\n## `Download`", "Submits a cluster job to the build queue to download all TPFs for a given\n campaign.", " :param int campaign: The `K2` campaign to run\n :param str queue: The name of the queue to submit to. Default `build`\n :param str email: The email to send job status notifications to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ylim API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ylim API. 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...
Computes the ideal y-axis limits for the light curve plot. Attempts to set the limits equal to those of the raw light curve, but if more than 1% of the flux lies either above or below these limits, auto-expands to include those points. At the end, adds 5% padding to both the top and the ...
"Computes the ideal y-axis limits for the light curve plot. Attempts to\n set the limits equal to those of the raw light curve, but if more than\n 1% of the flux lies either above or below these limits, auto-expands\n to include those points. At the end, adds 5% padding to both the\n top and...
364
false
rodluger/everest
get_ylim
7,228
LDU_FT/onelogin/python-saml/get_metadata
LDU_FT
[ "<BEGIN>\n## `is_valid`", "Validates the response object.", " :param request_data: Request Data\n :type request_data: dict", " :param request_id: Optional argument. The ID of the AuthNRequest sent by this SP to the IdP\n :type request_id: string", " :param raise_exceptions...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extr...
Gets the metadata XML from the provided URL :param url: Url where the XML of the Identity Provider Metadata is published. :type url: string :param validate_cert: If the url uses https schema, that flag enables or not the verification of the associated certificate. :type validate_cert: ...
"Gets the metadata XML from the provided URL\n\n :param url: Url where the XML of the Identity Provider Metadata is published.\n :type url: string\n\n :param validate_cert: If the url uses https schema, that flag enables or not the verification of the associated certificate.\n :type validate...
229
false
onelogin/python-saml
get_metadata
7,229
LDU_FT/LukeB42/Window/update_window_size
LDU_FT
[ "<BEGIN>\n## `palette`", "Since curses only supports a finite amount of initialised colour pairs\n we memoise any selections you've made as an attribute on this function\n<END>", "<BEGIN>\n## `process_input`", "Send input to panes marked as active after checking for\n a request to redraw the screen ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_window_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_window_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Update the current window object with its current height and width and clear the screen if they've changed.
"Update the current window object with its current\n height and width and clear the screen if they've changed."
19
false
LukeB42/Window
update_window_size
7,230
LDU_FT/fhs/pyhdf/nrefs
LDU_FT
[ "<BEGIN>\n## `end`", "Close the V interface.", " Args::", " No argument", " Returns::", " None", " C library equivalent : Vend\n<END>", "<BEGIN>\n## `attach`", "Open an existing vgroup given its name or its reference\n number, or create a new vgroup, ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nrefs API. 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 nrefs API. 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...
Determine the number of tags of a given type in a vgroup. Args:: tag tag type to look for in the vgroup Returns:: number of members identified by this tag type C library equivalent : Vnrefs
"Determine the number of tags of a given type in a vgroup.\n\n Args::\n\n tag tag type to look for in the vgroup\n\n Returns::\n\n number of members identified by this tag type\n\n C library equivalent : Vnrefs"
605
false
fhs/pyhdf
nrefs
7,231
LDU_FT/takuti/flurs/mpr
LDU_FT
[ "<BEGIN>\n## `__create_proj_mat`", "Create a random projection matrix", " [1] D. Achlioptas. Database-friendly random projections: Johnson-Lindenstrauss with binary coins.\n [2] P. Li, et al. Very sparse random projections.", " http://scikit-learn.org/stable/modules/random_projection.html...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mpr API. 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 mpr API. 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...
Mean Percentile Rank (MPR). Args: truth (numpy 1d array): Set of truth samples. recommend (numpy 1d array): Ordered set of recommended samples. Returns: float: MPR.
"Mean Percentile Rank (MPR).\n\n Args:\n truth (numpy 1d array): Set of truth samples.\n recommend (numpy 1d array): Ordered set of recommended samples.\n\n Returns:\n float: MPR."
74
false
takuti/flurs
mpr
7,232
LDU_FT/matllubos/django-is-core/get_inline_views_from_fieldsets
LDU_FT
[ "<BEGIN>\n## `short_description`", "Sets 'short_description' attribute (this attribute is in exports to generate header name).\n<END>", "<BEGIN>\n## `redirect_to_login`", "Redirects the user to the login page, passing the given 'next' page\n<END>", "<BEGIN>\n## `_check_permission`", "If customer is not au...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inline_views_from_fieldsets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inline_views_from_fieldsets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Returns a list of field names from an admin fieldsets structure.
"Returns a list of field names from an admin fieldsets structure."
66
false
matllubos/django-is-core
get_inline_views_from_fieldsets
7,233
LDU_FT/bitshares/python-bitshares/rpcexec
LDU_FT
[ "<BEGIN>\n## `decodeRPCErrorMsg`", "Helper function to decode the raised Exception and give it a\n python Exception class\n<END>", "<BEGIN>\n## `transfer`", "Transfer an asset to another account.", " :param str to: Recipient\n :param float amount: Amount to transfer\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rpcexec API. 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 rpcexec API. 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...
Execute a call by sending the payload :param dict payload: Payload data :raises ValueError: if the server does not respond in proper JSON format :raises RPCError: if the server returns an error
"Execute a call by sending the payload\n\n :param dict payload: Payload data\n :raises ValueError: if the server does not respond in proper JSON format\n :raises RPCError: if the server returns an error"
116
false
bitshares/python-bitshares
rpcexec
7,234
LDU_FT/emilydolson/avida-spatial-tools/parse_gradient
LDU_FT
[ "<BEGIN>\n## `gen_gradient`", "Returns a line of text to add to an environment file, initializing a\n gradient resource with the specified\n name (string), inflow(int), radius(int), and location (tuple of ints)\n<END>", "<BEGIN>\n## `gen_res`", "Returns a line of text to add to an environment file, init...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_gradient API. 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 parse_gradient API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Takes a string representing a GRADIENT_RESOURCE (as specified in Avida environment files) and a tuple representing the x and y dimensions of the world, and returns the name of the gradient resource and a list of tuples representing the cells it's in.
"Takes a string representing a GRADIENT_RESOURCE (as specified in Avida\n environment files) and a tuple representing the x and y dimensions of the\n world, and returns the name of the gradient resource and a list of\n tuples representing the cells it's in."
189
false
emilydolson/avida-spatial-tools
parse_gradient
7,235
LDU_FT/taskcluster/taskcluster-lib-urls/schema
LDU_FT
[ "<BEGIN>\n## `api`", "Generate URL for path in a Taskcluster service.\n<END>", "<BEGIN>\n## `api_reference`", "Generate URL for a Taskcluster api reference.\n<END>", "<BEGIN>\n## `docs`", "Generate URL for path in the Taskcluster docs.\n<END>", "<BEGIN>\n## `exchange_reference`", "Generate URL for a T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schema API. 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 schema API. 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 ...
Generate URL for a schema in a Taskcluster service.
"Generate URL for a schema in a Taskcluster service."
12
false
taskcluster/taskcluster-lib-urls
schema
7,236
LDU_FT/mjj4791/python-buienradar/get_data
LDU_FT
[ "<BEGIN>\n## `__to_float`", "Convert val into float with digits decimal.\n<END>", "<BEGIN>\n## `__getBarFC`", "Parse the pressure and return FC (numerical).\n<END>", "<BEGIN>\n## `__getBarFCName`", "Parse the pressure and return FC (String).\n<END>", "<BEGIN>\n## `get_json_data`", "Get buienradar json...
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 extracte...
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 extracte...
Get buienradar xml data and return results.
"Get buienradar xml data and return results."
50
false
mjj4791/python-buienradar
get_data
7,237
LDU_FT/robertpeteuil/aws-shortcuts/init
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize DEBUG and DEBUGALL.", " Allows other modules to set DEBUG and DEBUGALL, so their\n call to dprint or dprintx generate output.", " Args:\n deb1 (bool): value of DEBUG to set\n deb2 (bool): optional - value of DEBUGALL to set,\n defaul...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Initialize DEBUG and DEBUGALL. Allows other modules to set DEBUG and DEBUGALL, so their call to dprint or dprintx generate output. Args: deb1 (bool): value of DEBUG to set deb2 (bool): optional - value of DEBUGALL to set, defaults to False.
"Initialize DEBUG and DEBUGALL.\n\n Allows other modules to set DEBUG and DEBUGALL, so their\n call to dprint or dprintx generate output.\n\n Args:\n deb1 (bool): value of DEBUG to set\n deb2 (bool): optional - value of DEBUGALL to set,\n defaults to False."
76
false
robertpeteuil/aws-shortcuts
init
7,238
LDU_FT/caseyjlaw/sdmreader/read_metadata
LDU_FT
[ "<BEGIN>\n## `read_bdf`", "Reads given range of integrations from sdm of given scan.\r\n Uses BDFData object to read.\r\n readints=0 will read all of bdf (skipping nskip).\r\n Option to write pkl to store bdf info for faster parse next time.\n<END>", "<BEGIN>\n## `calc_uvw`", "Calculates and returns ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 ext...
Parses XML files to get scan and source information. Returns tuple of dicts (scan, source). bdfdir is optional location to look for bdfs, will try that first, then ASDMBinary subdirectory. bdfstr in scan dict helps find BDFs with read_bdf (with special behavior for prearchive data. Optional arg scan...
"Parses XML files to get scan and source information.\r\n Returns tuple of dicts (scan, source).\r\n bdfdir is optional location to look for bdfs, will try that first, then ASDMBinary subdirectory.\r\n bdfstr in scan dict helps find BDFs with read_bdf (with special behavior for prearchive data.\r\n Optional...
14
false
caseyjlaw/sdmreader
read_metadata
7,239
LDU_FT/couchbase/couchbase-python-client/defer
LDU_FT
[ "<BEGIN>\n## `set_json_converters`", "Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.", " These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the defer API. 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 defer API. 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...
Converts a raw :class:`couchbase.results.AsyncResult` object into a :class:`Deferred`. This is shorthand for the following "non-idiom":: d = Deferred() opres = cb.upsert("foo", "bar") opres.callback = d.callback def d_err(res, ex_type, ex_val, ex_tb): ...
"Converts a raw :class:`couchbase.results.AsyncResult` object\n into a :class:`Deferred`.\n\n This is shorthand for the following \"non-idiom\"::\n\n d = Deferred()\n opres = cb.upsert(\"foo\", \"bar\")\n opres.callback = d.callback\n\n def d_err(res, ex_type, ex_val, e...
806
false
couchbase/couchbase-python-client
defer
7,240
LDU_FT/oscarlazoarjona/fast/vapour_density
LDU_FT
[ "<BEGIN>\n## `fit_lorentizan`", "Fits a lorentzian curve using p0=[x0,A,gamma] as an initial guess.\r\n\tIt returns a curve with N_points.\n<END>", "<BEGIN>\n## `electric_field_amplitude_gaussian`", "Return the amplitude of the electric field for a Gaussian beam.\r", " This the amplitude at the center of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vapour_density API. 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 vapour_density API. 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...
r"""This function returns the density in a rubidium or cesium vapour in kg/m^-3. It receives as input the temperature in Kelvins, the name of the element, and optionally the isotope. If no isotope is specified, the density of a vapour with the natural abundances will be returned. This is calculated...
"r\"\"\"This function returns the density in a rubidium or cesium\n vapour in kg/m^-3. It receives as input the temperature in Kelvins, the\n name of the element, and optionally the isotope. If no isotope is\n specified, the density of a vapour with the natural abundances will\n be returned.\n\n This is ...
668
false
oscarlazoarjona/fast
vapour_density
7,241
LDU_FT/widdowquinn/pyani/populate_jobset
LDU_FT
[ "<BEGIN>\n## `clean_axis`", "Remove ticks, tick labels, and frame from axis\n<END>", "<BEGIN>\n## `get_seaborn_colorbar`", "Return a colorbar representing classes, for a Seaborn plot.", " The aim is to get a pd.Series for the passed dataframe columns,\n in the form:\n 0 colour for class in col 0...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populate_jobset API. 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 populate_jobset API. 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...
Creates a set of jobs, containing jobs at difference depths of the dependency tree, retaining dependencies as strings, not Jobs.
"Creates a set of jobs, containing jobs at difference depths of the\n dependency tree, retaining dependencies as strings, not Jobs."
244
false
widdowquinn/pyani
populate_jobset
7,242
LDU_FT/NLeSC/noodles/dereference
LDU_FT
[ "<BEGIN>\n## `coroutine`", "A sink should be send `None` first, so that the coroutine arrives\n at the `yield` position. This wrapper takes care that this is done\n automatically when the coroutine is started.\n<END>", "<BEGIN>\n## `maybe`", "Calls `f` in a try/except block, returning a `Fail` object if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dereference API. 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 dereference API. 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...
Dereferences RefObjects stuck in the hierarchy. This is a bit of an ugly hack.
"Dereferences RefObjects stuck in the hierarchy. This is a bit\n of an ugly hack."
293
false
NLeSC/noodles
dereference
7,243
LDU_FT/dask/dask-ml/k_means
LDU_FT
[ "<BEGIN>\n## `normalize_params`", "Take a list of dictionaries, and tokenize/normalize.\n<END>", "<BEGIN>\n## `check_cv`", "Dask aware version of ``sklearn.model_selection.check_cv``", " Same as the scikit-learn version, but works if ``y`` is a dask object.\n<END>", "<BEGIN>\n## `compute_n_splits`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the k_means API. 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 k_means API. 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...
K-means algorithm for clustering Differences from scikit-learn: * init='k-means||' * oversampling_factor keyword * n_jobs=-1
"K-means algorithm for clustering\n\n Differences from scikit-learn:\n\n * init='k-means||'\n * oversampling_factor keyword\n * n_jobs=-1"
361
false
dask/dask-ml
k_means
7,244
LDU_FT/ianepperson/telnetsrvlib/handle
LDU_FT
[ "<BEGIN>\n## `inputcooker_store_queue`", "Put the cooked data in the input queue (no locking needed)\n<END>", "<BEGIN>\n## `streamserver_handle`", "Translate this class for use in a StreamServer\n<END>", "<BEGIN>\n## `check_channel_shell_request`", "Request to start a shell on the given channel\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. 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 ...
The actual service to which the user has connected.
"The actual service to which the user has connected."
45
false
ianepperson/telnetsrvlib
handle
7,245
LDU_FT/KrzyHonk/bpmn-python/set_gateway_direction
LDU_FT
[ "<BEGIN>\n## `load_diagram_from_csv`", "Reads an CSV file from given filepath and maps it into inner representation of BPMN diagram.\n Returns an instance of BPMNDiagramGraph class.", " :param filepath: string with output filepath,\n :param bpmn_diagram: an instance of BpmnDiagramGraph clas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_gateway_direction 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 set_gateway_direction API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Setter for 'gateway_direction' field. :param value - a new value of 'gateway_direction' field.
"Setter for 'gateway_direction' field.\n :param value - a new value of 'gateway_direction' field."
368
false
KrzyHonk/bpmn-python
set_gateway_direction
7,246
LDU_FT/cga-harvard/Hypermap-Registry/validate_a_time_filter
LDU_FT
[ "<BEGIN>\n## `update_schema`", "set the mapping in solr.\n :param catalog: core\n :return:\n<END>", "<BEGIN>\n## `create_layer_from_metadata_xml`", "Create a layer / keyword list from a metadata record if it does not already exist.\n<END>", "<BEGIN>\n## `create_service_from_endpoint`", "Crea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_a_time_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_a_time_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Would be for example: [2013-03-01 TO 2013-04-01:00:00:00] and/or [* TO *]
"Would be for example: [2013-03-01 TO 2013-04-01:00:00:00] and/or [* TO *]"
132
false
cga-harvard/Hypermap-Registry
validate_a_time_filter
7,247
LDU_FT/ttm/socialLegacy/searchTag
LDU_FT
[ "<BEGIN>\n## `searchTag`", "Set Twitter search or stream criteria for the selection of tweets\n<END>", "<BEGIN>\n## `makeRetweetNetwork`", "Receives tweets, returns directed retweet networks.", " Without and with isolated nodes.\n<END>", "<BEGIN>\n## `makeNetwork`", "Makes graph object from .gdf load...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the searchTag API. 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 searchTag API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Set Twitter search or stream criteria for the selection of tweets
"Set Twitter search or stream criteria for the selection of tweets"
45
false
ttm/socialLegacy
searchTag
7,248
LDU_FT/bpannier/simpletr64/_loadDeviceDefinitions
LDU_FT
[ "<BEGIN>\n## `getLinkInfo`", "Execute GetInfo action to get basic WAN link information's.", " :param int wanInterfaceId: the id of the WAN device\n :param float timeout: the timeout to wait for the action to be executed\n :return: basic WAN link information's\n :rtype: WanLinkInfo\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _loadDeviceDefinitions 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 _loadDeviceDefinitions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Internal call to parse the XML of the device definition. :param urlOfXMLDefinition: the URL to the XML device defintions :param xml: the XML content to parse
"Internal call to parse the XML of the device definition.\n\n :param urlOfXMLDefinition: the URL to the XML device defintions\n :param xml: the XML content to parse"
196
false
bpannier/simpletr64
_loadDeviceDefinitions
7,249
LDU_FT/jlevy/strif/copyfile_atomic
LDU_FT
[ "<BEGIN>\n## `new_timestamped_uid`", "A unique id that begins with an ISO timestamp followed by fractions of seconds and bits of\n randomness. The advantage of this is it sorts nicely by time, while still being unique.\n Example: 20150912T084555Z-378465-43vtwbx\n<END>", "<BEGIN>\n## `abbreviate_str`", "Abbr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyfile_atomic API. 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 copyfile_atomic API. 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...
Copy file on local filesystem in an atomic way, so partial copies never exist. Preserves timestamps.
"Copy file on local filesystem in an atomic way, so partial copies never exist. Preserves timestamps."
38
false
jlevy/strif
copyfile_atomic
7,250
LDU_FT/ratcave/ratcave/add_children
LDU_FT
[ "<BEGIN>\n## `add_child`", "Adds an object as a child in the scene graph.\n<END>", "<BEGIN>\n## `add_children`", "Conveniience function: Adds objects as children in the scene graph.\n<END>", "<BEGIN>\n## `match_aspect_to_viewport`", "Updates Camera.aspect to match the viewport's aspect ratio.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_children API. 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 add_children API. 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...
Conveniience function: Adds objects as children in the scene graph.
"Conveniience function: Adds objects as children in the scene graph."
79
false
ratcave/ratcave
add_children
7,251
LDU_FT/mayhewj/greenstalk/ignore
LDU_FT
[ "<BEGIN>\n## `put`", "Inserts a job into the currently used tube and returns the job ID.", " :param body: The data representing the job.\n :param priority: An integer between 0 and 4,294,967,295 where 0 is the\n most urgent.\n :param delay: The number of seconds to d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ignore API. 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 ignore API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Removes a tube from the watch list. Returns the number of tubes this client is watching. :param tube: The tube to ignore.
"Removes a tube from the watch list. Returns the number of tubes this\n client is watching.\n\n :param tube: The tube to ignore."
45
false
mayhewj/greenstalk
ignore
7,252
LDU_FT/ml4ai/delphi/delete_edges
LDU_FT
[ "<BEGIN>\n## `all_subs`", "given a list of tuples specifying the bounds of an array, all_subs()\n returns a list of all the tuples of subscripts for that array.\n<END>", "<BEGIN>\n## `idx2subs`", "Given a list idx_list of index values for each dimension of an array, \n idx2subs() returns a list of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extr...
Iterate over a set of edges and remove the ones that are present in the graph.
"Iterate over a set of edges and remove the ones that are present in\n the graph."
336
false
ml4ai/delphi
delete_edges
7,253
LDU_FT/Parsely/birding/next_tuple
LDU_FT
[ "<BEGIN>\n## `main`", "Do the default action of `twitter` command.\n<END>", "<BEGIN>\n## `from_oauth_file`", "Get an object bound to the Twitter API using your own credentials.", " The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_tuple API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_tuple API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Next tuple steps: 1. Emit (term, timestamp) for next term in sequence w/current UTC time.
"Next tuple steps:\n\n 1. Emit (term, timestamp) for next term in sequence w/current UTC time."
88
false
Parsely/birding
next_tuple
7,254
LDU_FT/openfisca/openfisca-france-indirect-taxation/normalize_code_coicop
LDU_FT
[ "<BEGIN>\n## `calcul_ratios_calage`", "Fonction qui calcule les ratios de calage (bdf sur cn pour année de données) et de vieillissement\n à partir des masses de comptabilité nationale et des masses de consommation de bdf.\n<END>", "<BEGIN>\n## `get_bdf_data_frames`", "Récupère les dépenses de budget des f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_code_coicop 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 normalize_code_coicop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Normalize_coicop est function d'harmonisation de la colonne d'entiers posteCOICOP de la table matrice_passage_data_frame en la transformant en une chaine de 5 caractères afin de pouvoir par la suite agréger les postes COICOP selon les 12 postes agrégés de la nomenclature de la comptabilité nationale. Chaque poste conti...
"Normalize_coicop est function d'harmonisation de la colonne d'entiers posteCOICOP de la table\nmatrice_passage_data_frame en la transformant en une chaine de 5 caractères afin de pouvoir par la suite agréger les postes\nCOICOP selon les 12 postes agrégés de la nomenclature de la comptabilité nationale. Chaque poste co...
36
false
openfisca/openfisca-france-indirect-taxation
normalize_code_coicop
7,255
LDU_FT/pymacaron/pymacaron/get_user_token
LDU_FT
[ "<BEGIN>\n## `load_clients`", "Generate client libraries for the given apis, without starting an\n api server\n<END>", "<BEGIN>\n## `load_apis`", "Load all swagger files found at the given path, except those whose\n names are in the 'ignore' list\n<END>", "<BEGIN>\n## `publish_apis`", "Publi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return the authenticated user's auth token
"Return the authenticated user's auth token"
47
false
pymacaron/pymacaron
get_user_token
7,256
LDU_FT/python-openxml/python-docx/_span_dimensions
LDU_FT
[ "<BEGIN>\n## `default_cx`", "Native width of this image, calculated from its width in pixels and\n horizontal dots per inch (dpi).\n<END>", "<BEGIN>\n## `default_cy`", "Native height of this image, calculated from its height in pixels and\n vertical dots per inch (dpi).\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _span_dimensions API. 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 _span_dimensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return a (top, left, height, width) 4-tuple specifying the extents of the merged cell formed by using this tc and *other_tc* as opposite corner extents.
"Return a (top, left, height, width) 4-tuple specifying the extents of\n the merged cell formed by using this tc and *other_tc* as opposite\n corner extents."
626
false
python-openxml/python-docx
_span_dimensions
7,257
LDU_FT/JonathanRaiman/pytreebank/uproot
LDU_FT
[ "<BEGIN>\n## `uproot`", "Take a subranch of a tree and deep-copy the children\n of this subbranch into a new LabeledTree\n<END>", "<BEGIN>\n## `lowercase`", "Lowercase all strings in this tree.\n Works recursively and in-place.\n<END>", "<BEGIN>\n## `to_dict`", "Dict format for use in Javasc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uproot API. 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 uproot API. 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 ...
Take a subranch of a tree and deep-copy the children of this subbranch into a new LabeledTree
"Take a subranch of a tree and deep-copy the children\n of this subbranch into a new LabeledTree"
46
false
JonathanRaiman/pytreebank
uproot
7,258
LDU_FT/veripress/veripress/get_widgets
LDU_FT
[ "<BEGIN>\n## `generate_pages_by_file`", "Generates custom pages of 'file' storage type.\n<END>", "<BEGIN>\n## `fix_relative_url`", "Fix post or page relative url to a standard, uniform format.", " :param publish_type: publish type ('post' or 'page')\n :param rel_url: relative url to fix\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_widgets API. 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_widgets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get widgets for given position from filesystem. :param position: position or position list :param include_draft: return draft widgets or not :return: an iterable of Widget objects
"Get widgets for given position from filesystem.\n\n :param position: position or position list\n :param include_draft: return draft widgets or not\n :return: an iterable of Widget objects"
109
false
veripress/veripress
get_widgets
7,259
LDU_FT/openvax/varcode/filter_pipeline
LDU_FT
[ "<BEGIN>\n## `translate_codon`", "Translate a single codon into a single amino acid or stop '*'", " Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>", "<BEGIN>\n## `translate`", "Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 e...
Apply each filter to the effect list sequentially. If any filter returns zero values then ignore it. As soon as only one effect is left, return it. Parameters ---------- effects : list of MutationEffect subclass instances filters : list of functions Each function takes a list of effect...
"Apply each filter to the effect list sequentially. If any filter\n returns zero values then ignore it. As soon as only one effect is left,\n return it.\n\n Parameters\n ----------\n effects : list of MutationEffect subclass instances\n\n filters : list of functions\n Each function takes a list...
344
false
openvax/varcode
filter_pipeline
7,260
LDU_FT/mLewisLogic/foursquare/_get
LDU_FT
[ "<BEGIN>\n## `_log_and_raise_exception`", "Calls log.error() then raises an exception of class cls\n<END>", "<BEGIN>\n## `_get`", "Tries to GET data from an endpoint using retries\n<END>", "<BEGIN>\n## `_process_response`", "Make the request and handle exception processing\n<END>", "<BEGIN>\n## `_foursq...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Tries to GET data from an endpoint using retries
"Tries to GET data from an endpoint using retries"
10
false
mLewisLogic/foursquare
_get
7,261
LDU_FT/amaas-fintech/amaas-core-sdk-python/declared_date
LDU_FT
[ "<BEGIN>\n## `deactivate`", "Is is only possible to deactivate an asset manager if your client_id is also the client_id that was used\n to originally create the asset manager.", " :param asset_manager_id:\n :return:\n<END>", "<BEGIN>\n## `quote_datetime`", "Force the quote_datetime to a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declared_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declared_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 ext...
The date on which the corporate action was declared :param value: :return:
"The date on which the corporate action was declared\n :param value:\n :return:"
109
false
amaas-fintech/amaas-core-sdk-python
declared_date
7,262
LDU_FT/Ezhil-Language-Foundation/open-tamil/generate_splits
LDU_FT
[ "<BEGIN>\n## `unicode2encode`", "charmap : dictionary which has both encode as key, unicode as value\n<END>", "<BEGIN>\n## `unicode2auto`", "This function will convert unicode (first argument) text into other\r\n encodes by auto find the encode (from available encodes) by using sample\r\n encode text in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_splits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_splits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
யாரிகழ்ந்து = [['ய்', 'ஆரிகழ்ந்து'], ['யார்', 'இகழ்ந்து'], ['யாரிக்', 'அழ்ந்து'], ['யாரிகழ்ந்த்', 'உ']]
"யாரிகழ்ந்து =\n [['ய்', 'ஆரிகழ்ந்து'],\n ['யார்', 'இகழ்ந்து'],\n ['யாரிக்', 'அழ்ந்து'],\n ['யாரிகழ்ந்த்', 'உ']]"
90
false
Ezhil-Language-Foundation/open-tamil
generate_splits
7,263
LDU_FT/twisted/twistedchecker/setNameExceptions
LDU_FT
[ "<BEGIN>\n## `_isInner`", "Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.", " @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}", " @return: a boolean indicating if the given node is defined as an inner\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setNameExceptions API. 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 setNameExceptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Find name exceptions in codes and allow them to be ignored in checking. @param filesOrModules: a list of modules (may be foo/bar.py or foo.bar)
"Find name exceptions in codes and allow them to be ignored\n in checking.\n\n @param filesOrModules: a list of modules (may be foo/bar.py or\n foo.bar)"
146
false
twisted/twistedchecker
setNameExceptions
7,264
LDU_FT/Kyria/EsiPy/_hash
LDU_FT
[ "<BEGIN>\n## `make_cache_key`", "Generate a cache key from request object data\n<END>", "<BEGIN>\n## `check_cache`", "check if a cache fits esipy needs or not\n<END>", "<BEGIN>\n## `get_cache_time_left`", "return the time left in second for an expires header\n<END>", "<BEGIN>\n## `generate_code_verifier...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
generate a hash from data object to be used as cache key
"generate a hash from data object to be used as cache key"
87
false
Kyria/EsiPy
_hash
7,265
LDU_FT/iotile/coretools/probe_message
LDU_FT
[ "<BEGIN>\n## `_value_length`", "Given an integer or list of them, convert it to an array of bytes.\n<END>", "<BEGIN>\n## `_parse_line`", "Parse a line in a TileBus file", " Args:\n line_no (int): The line number for printing useful error messages\n line (string): The line that w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probe_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probe_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Handle a probe message. See :meth:`AbstractDeviceAdapter.probe`.
"Handle a probe message.\n\n See :meth:`AbstractDeviceAdapter.probe`."
4,849
true
iotile/coretools
probe_message
7,266
LDU_FT/chinapnr/fishbase/sort_objs_by_attr
LDU_FT
[ "<BEGIN>\n## `string`", "获取一个字符串的 MD5 值", " :param:\n * s: (string) 需要进行 hash 的字符串\n * salt: (string) 随机字符串,默认为 None\n :return:\n * result: (string) 32 位小写 MD5 值\n<END>", "<BEGIN>\n## `file`", "获取一个文件的 MD5 值", " :param:\n * filename: (string...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_objs_by_attr API. 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 sort_objs_by_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
对原生不支持比较操作的对象根据属性排序 :param: * objs: (list) 需要排序的对象列表 * key: (string) 需要进行排序的对象属性 * reverse: (bool) 排序结果是否进行反转,默认为 False,不进行反转 :return: * result: (list) 排序后的对象列表 举例如下:: print('--- sorted_objs_by_attr demo---') class User(object): def __init__(...
"对原生不支持比较操作的对象根据属性排序\n\n :param:\n * objs: (list) 需要排序的对象列表\n * key: (string) 需要进行排序的对象属性\n * reverse: (bool) 排序结果是否进行反转,默认为 False,不进行反转\n\n :return:\n * result: (list) 排序后的对象列表\n\n 举例如下::\n\n print('--- sorted_objs_by_attr demo---')\n\n\n class User(object):\n ...
448
false
chinapnr/fishbase
sort_objs_by_attr
7,267
LDU_FT/datosgobar/pydatajson/_make_publisher
LDU_FT
[ "<BEGIN>\n## `get_datasets`", "Devuelve una lista de datasets del catálogo o de uno de sus metadatos.", " Args:\n catalog (dict, str or DataJson): Representación externa/interna de un\n catálogo. Una representación _externa_ es un path local o una\n URL remota a un archivo con la...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_publisher API. 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 _make_publisher API. 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...
De estar presentes las claves necesarias, genera el diccionario "publisher" a nivel catálogo o dataset.
"De estar presentes las claves necesarias, genera el diccionario\n \"publisher\" a nivel catálogo o dataset."
337
false
datosgobar/pydatajson
_make_publisher
7,268
LDU_FT/lpantano/seqcluster/map_to_precursor_biopython
LDU_FT
[ "<BEGIN>\n## `add_exp`", "Function to add the counts for each sample", " :param gr: name of the sample\n :param exp: counts of sample **gr**", " :returns: dict with key,values equally to name,counts.\n<END>", "<BEGIN>\n## `MakeJoint`", "Joint distribution of values from pmf1 and pmf2....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_precursor_biopython API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_precursor_biopython API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
map the sequences using biopython package
"map the sequences using biopython package"
491
false
lpantano/seqcluster
map_to_precursor_biopython
7,269
LDU_FT/SoCo/SoCo/cross_fade
LDU_FT
[ "<BEGIN>\n## `_post`", "Try 3 times to request the content.", " :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cross_fade API. 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 cross_fade API. 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...
bool: The speaker's cross fade state. True if enabled, False otherwise
"bool: The speaker's cross fade state.\n\n True if enabled, False otherwise"
663
false
SoCo/SoCo
cross_fade
7,270
LDU_FT/pycampers/zproc/_process
LDU_FT
[ "<BEGIN>\n## `_create_remote_dict_method`", "Generates a method for the State class,\n that will call the \"method_name\" on the state (a ``dict``) stored on the server,\n and return the result.", " Glorified RPC.\n<END>", "<BEGIN>\n## `run_dict_method`", "Execute a method on the state ``dict`` and...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process API. 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 _process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
r""" Produce a child process bound to this context. Can be used both as a function and decorator: .. code-block:: python :caption: Usage @zproc.process(pass_context=True) # you may pass some arguments here def p1(ctx): print('hello', ctx) ...
"r\"\"\"\n Produce a child process bound to this context.\n\n Can be used both as a function and decorator:\n\n .. code-block:: python\n :caption: Usage\n\n @zproc.process(pass_context=True) # you may pass some arguments here\n def p1(ctx):\n print('...
134
false
pycampers/zproc
_process
7,271
LDU_FT/DLR-RM/RAFCON/get_meta_data_editor
LDU_FT
[ "<BEGIN>\n## `modify_origin`", "Set both from_state and from_key at the same time to modify data flow origin", " :param str from_state: State id of the origin state\n :param int from_key: Data port id of the origin port\n :raises exceptions.ValueError: If parameters have wrong types or the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta_data_editor 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_meta_data_editor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns the editor for the specified editor This method should be used instead of accessing the meta data of an editor directly. It return the meta data of the editor available (with priority to the one specified by `for_gaphas`) and converts it if needed. :param bool for_gaphas: True (default...
"Returns the editor for the specified editor\n\n This method should be used instead of accessing the meta data of an editor directly. It return the meta data\n of the editor available (with priority to the one specified by `for_gaphas`) and converts it if needed.\n\n :param bool for_gaphas: True (d...
2,325
true
DLR-RM/RAFCON
get_meta_data_editor
7,272