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/napalm-automation/napalm-ios/bgp_time_conversion
LDU_FT
[ "<BEGIN>\n## `_create_tmp_file`", "Write temp file and for use with inline config and SCP.\n<END>", "<BEGIN>\n## `_load_candidate_wrapper`", "Transfer file to remote device for either merge or replace operations", " Returns (return_status, msg)\n<END>", "<BEGIN>\n## `load_replace_candidate`", "SC...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bgp_time_conversion API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bgp_time_conversion API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Convert string time to seconds. Examples 00:14:23 00:13:40 00:00:21 00:00:13 00:00:49 1d11h 1d17h 1w0d 8w5d 1y28w never
"Convert string time to seconds.\n\n Examples\n 00:14:23\n 00:13:40\n 00:00:21\n 00:00:13\n 00:00:49\n 1d11h\n 1d17h\n 1w0d\n 8w5d\n 1y28w\n never"
84
false
napalm-automation/napalm-ios
bgp_time_conversion
32,373
LDU_FT/fananimi/pyzk/__decode_time
LDU_FT
[ "<BEGIN>\n## `make_commkey`", "take a password and session_id and scramble them to send to the machine.\n copied from commpro.c - MakeKey\n<END>", "<BEGIN>\n## `__create_tcp_top`", "witch the complete packet set top header\n<END>", "<BEGIN>\n## `__create_header`", "Puts a the parts that make up a packe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __decode_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __decode_time API. 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...
Decode a timestamp retrieved from the timeclock copied from zkemsdk.c - DecodeTime
"Decode a timestamp retrieved from the timeclock\n\n copied from zkemsdk.c - DecodeTime"
77
false
fananimi/pyzk
__decode_time
32,374
LDU_FT/CodyKochmann/generators/using_ios_stash
LDU_FT
[ "<BEGIN>\n## `first`", "first is essentially the next() function except it's second argument\n determines how many of the first items you want. If items is more than\n 1 the output is an islice of the generator. If items is 1, the first\n item is returned\n<END>", "<BEGIN>\n## `timed_pipe`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the using_ios_stash API. 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 using_ios_stash API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
returns true if sys path hints the install is running on ios
"returns true if sys path hints the install is running on ios"
71
false
CodyKochmann/generators
using_ios_stash
32,375
LDU_FT/hobson/pug-dj/db_for_read
LDU_FT
[ "<BEGIN>\n## `instance`", "Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>", "<BEGIN>\n## `_run_task`", "Tasks a task from tasks.py and runs through the commands on the server\n<END>", "<BEGIN>\n## `_put_template`", "Same as _put() but it l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the db_for_read API. 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 db_for_read API. 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...
If the app has its own database, use it for reads
"If the app has its own database, use it for reads"
300
false
hobson/pug-dj
db_for_read
32,376
LDU_FT/LuminosoInsight/python-ftfy/_unescape_fixup
LDU_FT
[ "<BEGIN>\n## `fix_encoding_and_explain`", "Re-decodes text that has been decoded incorrectly, and also return a\n \"plan\" indicating all the steps required to fix it.", " The resulting plan could be used with :func:`ftfy.fixes.apply_plan`\n to fix additional strings that are broken in the same way.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unescape_fixup API. 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 _unescape_fixup API. 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...
Replace one matched HTML entity with the character it represents, if possible.
"Replace one matched HTML entity with the character it represents,\n if possible."
123
false
LuminosoInsight/python-ftfy
_unescape_fixup
32,377
LDU_FT/NiklasRosenstein/py-localimport/_declare_namespace
LDU_FT
[ "<BEGIN>\n## `is_local`", "Returns True if *filename* is a subpath of any of the paths in *pathlist*.\n<END>", "<BEGIN>\n## `is_subpath`", "Returns True if *path* points to the same or a subpath of *parent*.\n<END>", "<BEGIN>\n## `eval_pth`", "Evaluates a `.pth` file (including support for `import` statem...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _declare_namespace 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 _declare_namespace 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...
Mock for #pkg_resources.declare_namespace() which calls #pkgutil.extend_path() afterwards as the original implementation doesn't seem to properly find all available namespace paths.
"Mock for #pkg_resources.declare_namespace() which calls\n #pkgutil.extend_path() afterwards as the original implementation doesn't\n seem to properly find all available namespace paths."
12
false
NiklasRosenstein/py-localimport
_declare_namespace
32,378
LDU_FT/xflr6/gsheets/iterfiles
LDU_FT
[ "<BEGIN>\n## `write_csv`", "Dump rows to ``fileobj`` with the given ``encoding`` and CSV ``dialect``.\n<END>", "<BEGIN>\n## `write_dataframe`", "Dump ``rows`` to string buffer and load with ``pandas.read_csv()`` using ``kwargs``.\n<END>", "<BEGIN>\n## `from_string`", "Return a new SheetUrl instance from p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterfiles API. 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 iterfiles API. 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...
Fetch and yield ``(id, name)`` pairs for Google drive files.
"Fetch and yield ``(id, name)`` pairs for Google drive files."
93
false
xflr6/gsheets
iterfiles
32,379
LDU_FT/sffjunkie/astral/moon_phase
LDU_FT
[ "<BEGIN>\n## `timezone`", "The name of the time zone for the location.", " A list of time zone names can be obtained from pytz. For example.", " >>> from pytz import all_timezones\n >>> for timezone in all_timezones:\n ... print(timezone)\n<END>", "<BEGIN>\n## `sun`", "Retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the moon_phase API. 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 moon_phase API. 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...
Calculates the phase of the moon on the specified date. :param date: The date to calculate the phase for. :type date: :class:`datetime.date` :param rtype: The type to return either int (default) or float. :return: A number designating the phase. | 0 = New ...
"Calculates the phase of the moon on the specified date.\n\n :param date: The date to calculate the phase for.\n :type date: :class:`datetime.date`\n :param rtype: The type to return either int (default) or float.\n\n :return:\n A number designating the phase.\n\n |...
177
false
sffjunkie/astral
moon_phase
32,380
LDU_FT/OpenDataScienceLab/skdata/categorize
LDU_FT
[ "<BEGIN>\n## `categorize`", ":param data:\n :param col_name:\n :param new_col_name:\n :param categories:\n :param max_categories: max proportion threshold of categories\n :return: new categories\n :rtype dict:\n<END>", "<BEGIN>\n## `dropna`", "Remove columns with more NA values than threshol...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the categorize API. 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 categorize API. 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...
:param data: :param col_name: :param new_col_name: :param categories: :param max_categories: max proportion threshold of categories :return: new categories :rtype dict:
":param data:\n :param col_name:\n :param new_col_name:\n :param categories:\n :param max_categories: max proportion threshold of categories\n :return: new categories\n :rtype dict:"
23
false
OpenDataScienceLab/skdata
categorize
32,381
LDU_FT/couchbase/couchbase-python-client/n1ql_index_drop
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 n1ql_index_drop API. 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 n1ql_index_drop API. 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...
Delete an index from the cluster. :param str ix: the name of the index :param bool primary: if this index is a primary index :param bool ignore_missing: Do not raise an exception if the index does not exist :raise: :exc:`~.NotFoundError` if the index does not exist and ...
"Delete an index from the cluster.\n\n :param str ix: the name of the index\n :param bool primary: if this index is a primary index\n :param bool ignore_missing: Do not raise an exception if the index\n does not exist\n :raise: :exc:`~.NotFoundError` if the index does not exist an...
806
false
couchbase/couchbase-python-client
n1ql_index_drop
32,382
LDU_FT/jmurty/xml4h/write
LDU_FT
[ "<BEGIN>\n## `ignore_whitespace_text_nodes`", "Find and delete any text nodes containing nothing but whitespace in\n in the given node and its descendents.", " This is useful for cleaning up excess low-value text nodes in a\n document DOM after parsing a pretty-printed XML document.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Serialize this node and its descendants to text, writing the output to a given *writer* or to stdout. :param writer: an object such as a file or stream to which XML text is sent. If *None* text is sent to :attr:`sys.stdout`. :type writer: a file, stream, etc or None :param s...
"Serialize this node and its descendants to text, writing\n the output to a given *writer* or to stdout.\n\n :param writer: an object such as a file or stream to which XML text\n is sent. If *None* text is sent to :attr:`sys.stdout`.\n :type writer: a file, stream, etc or None\n :...
155
false
jmurty/xml4h
write
32,383
LDU_FT/FNNDSC/pfurl/zipdir
LDU_FT
[ "<BEGIN>\n## `zipdir`", "Zip up a directory.", " :param path:\n :param ziph:\n :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `zip_process`", "Process zip operations.", " :param kwargs:\n :return:\n<END>", "<BEGIN>\n## `storage_resolveBasedOnKey`", "Call the remote service and ask f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zipdir API. 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 zipdir API. 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 ...
Zip up a directory. :param path: :param ziph: :param kwargs: :return:
"Zip up a directory.\n\n :param path:\n :param ziph:\n :param kwargs:\n :return:"
29
false
FNNDSC/pfurl
zipdir
32,384
LDU_FT/maas/python-libmaas/open
LDU_FT
[ "<BEGIN>\n## `calculate_dict_diff`", "Return the parameters based on the difference.", " If a parameter exists in `old_params` but not in `new_params` then\n parameter will be set to an empty string.\n<END>", "<BEGIN>\n## `datum_to_value`", "Convert a given MAAS-side datum to a Python-side value.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. 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 open API. 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 a profiles database. Called without arguments this will open (and create) a database in the user's home directory. **Note** that this returns a context manager which will close the database on exit, saving if the exit is clean. :param dbpath: The path to the database file...
"Load a profiles database.\n\n Called without arguments this will open (and create) a database in the\n user's home directory.\n\n **Note** that this returns a context manager which will close the\n database on exit, saving if the exit is clean.\n\n :param dbpath: The path to the data...
452
false
maas/python-libmaas
open
32,385
LDU_FT/locationlabs/mockredis/_python_to_lua
LDU_FT
[ "<BEGIN>\n## `_execute_lua`", "Sets KEYS and ARGV alongwith redis.call() function in lua globals\n and executes the lua redis script\n<END>", "<BEGIN>\n## `_import_lua`", "Import lua and dependencies.", " :param load_dependencies: should Lua library dependencies be loaded?\n :raises: Ru...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _python_to_lua API. 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 _python_to_lua API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Convert Python object(s) into Lua object(s), as at times Python object(s) are not compatible with Lua functions
"Convert Python object(s) into Lua object(s), as at times Python object(s)\n are not compatible with Lua functions"
76
false
locationlabs/mockredis
_python_to_lua
32,386
LDU_FT/openearth/bmi-python/finalize
LDU_FT
[ "<BEGIN>\n## `colorlogs`", "Append a rainbow logging handler and a formatter to the root logger\n<END>", "<BEGIN>\n## `create_string_buffer`", "create_string_buffer(aString) -> character array\n create_string_buffer(anInteger) -> character array\n create_string_buffer(aString, anInteger) -> character ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize API. 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 finalize API. 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...
Shutdown the library and clean up the model. Note that the Fortran library's cleanup code is not up to snuff yet, so the cleanup is not perfect. Note also that the working directory is changed back to the original one.
"Shutdown the library and clean up the model.\n\n Note that the Fortran library's cleanup code is not up to snuff yet,\n so the cleanup is not perfect. Note also that the working directory is\n changed back to the original one."
39
false
openearth/bmi-python
finalize
32,387
LDU_FT/jam31118/vis/augment_polar_mesh_for_colormesh
LDU_FT
[ "<BEGIN>\n## `estimate_global_norm_range`", "Return estimated global range for 2D (pcolormesh-like) plot.", " ## Returns:\n - vmin\n - vmax\n<END>", "<BEGIN>\n## `process_frames_argument`", "Check and process 'frames' argument\n into a proper iterable for an animation object", " ## Argument...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the augment_polar_mesh_for_colormesh API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the augment_polar_mesh_for_colormesh API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Returns polar mesh for matplotlib.pyplot.pcolormesh() in polar coordinates. polar coordinates of data points -> polar mesh for colormesh polar coordinates is assumed to be equidistanced in a sense that the r_values and theta_values are assumed to be equally-spaced.
"Returns polar mesh for matplotlib.pyplot.pcolormesh() in polar coordinates.\n\n polar coordinates of data points -> polar mesh for colormesh\n polar coordinates is assumed to be equidistanced in a sense that\n the r_values and theta_values are assumed to be equally-spaced."
53
false
jam31118/vis
augment_polar_mesh_for_colormesh
32,388
LDU_FT/CentOS/python-cicoclient/node_done
LDU_FT
[ "<BEGIN>\n## `full_inventory`", "Returns a full inventory\n Some additional work required to provide consistent and consumable\n output.\n Inventory output only contains values, no keys - Add the keys to\n the output so that it can be consumed more easily.\n<END>", "<BEGIN>\n## `self...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_done API. 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 node_done API. 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...
Release the servers for the specified ssid. The API doesn't provide any kind of output, try to be helpful by providing the list of servers to be released. :param ssid: ssid of the server pool :return: [ requested_hosts ]
"Release the servers for the specified ssid.\n The API doesn't provide any kind of output, try to be helpful by\n providing the list of servers to be released.\n\n :param ssid: ssid of the server pool\n :return: [ requested_hosts ]"
19
false
CentOS/python-cicoclient
node_done
32,389
LDU_FT/FreekKalter/geoselect/location_filter
LDU_FT
[ "<BEGIN>\n## `haversine`", "Calculate the great circle distance between two points\r\n on the earth (specified in decimal degrees)\r\n Thanks to a answer on stackoverflow by Michael Dunn.\r\n http://stackoverflow.com/questions/4913349/haversine-formula-in-python-bearing-and-distance-between-two-gps-point...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the location_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the location_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get photos taken within the specified radius from a given point.
"Get photos taken within the specified radius from a given point."
12
false
FreekKalter/geoselect
location_filter
32,390
LDU_FT/MakerReduxCorp/PLOD/detect_member
LDU_FT
[ "<BEGIN>\n## `dropKey`", "Drop an attribute/element/key-value pair from all the dictionaries.", " If the dictionary key does not exist in a particular dictionary, then\n that dictionary is left unchanged.", " Side effect: if the key is a number and it matches a list (interpreted\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_member API. 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 detect_member API. 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...
properly detects if a an attribute exists
"properly detects if a an attribute exists"
199
false
MakerReduxCorp/PLOD
detect_member
32,391
LDU_FT/networks-lab/tidyextractors/_col_type_set
LDU_FT
[ "<BEGIN>\n## `_col_type_set`", "Determines the set of types present in a DataFrame column.", " :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types.\n<END>", "<BEGIN>\n## `_drop_collections`", "Drops columns containi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _col_type_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _col_type_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Determines the set of types present in a DataFrame column. :param str col: A column name. :param pandas.DataFrame df: The dataset. Usually ``self._data``. :return: A set of Types.
"Determines the set of types present in a DataFrame column.\n\n :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types."
81
false
networks-lab/tidyextractors
_col_type_set
32,392
LDU_FT/nimeshkverma/mongo_joins/merge_join_docs
LDU_FT
[ "<BEGIN>\n## `change_dict_keys`", "Prefixes 'L_'/'R_' to the collection keys\n :param data_dict: dictionary which is to be altered\n :type data_dict: dict", " :param prefix: prefix to be attached before every key\n :type prefix: string", " :return dict_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_join_docs API. 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 merge_join_docs API. 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...
Merges the final list of docs :param left_collection_list: :type left_collection_list: MongoCollection :return join: dict
"Merges the final list of docs\n :param left_collection_list: \n :type left_collection_list: MongoCollection\n\n :return join: dict"
40
false
nimeshkverma/mongo_joins
merge_join_docs
32,393
LDU_FT/linkedin/luminol/_set_scores
LDU_FT
[ "<BEGIN>\n## `_analyze_root_causes`", "Conduct root cause analysis.\n The first metric of the list is taken as the root cause right now.\n<END>", "<BEGIN>\n## `_load`", "Load time series into a TimeSeries object.\n :param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_scores API. 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...
Compute anomaly scores for the time series This algorithm just takes the diff of threshold with current value as anomaly score
"Compute anomaly scores for the time series\n This algorithm just takes the diff of threshold with current value as anomaly score"
95
false
linkedin/luminol
_set_scores
32,394
LDU_FT/SergeySatskiy/cdm-gc-plugin/populateMainMenu
LDU_FT
[ "<BEGIN>\n## `getPluginVersion`", "The version must be updated in the .cdmp file\n<END>", "<BEGIN>\n## `activate`", "Activates the plugin.", " The plugin may override the method to do specific\n plugin activation handling.", " ideSettings - reference to the IDE Settings singleton\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the populateMainMenu API. 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 populateMainMenu API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Populates the main menu. The main menu looks as follows: Plugins - Plugin manager (fixed item) - Separator (fixed item) - <Plugin #1 name> (this is the parentMenu passed) ... If no items were populated by the plugin then there will be no <...
"Populates the main menu.\n\n The main menu looks as follows:\n Plugins\n - Plugin manager (fixed item)\n - Separator (fixed item)\n - <Plugin #1 name> (this is the parentMenu passed)\n ...\n If no items were populated by the plugin then there will be no\...
17
false
SergeySatskiy/cdm-gc-plugin
populateMainMenu
32,395
LDU_FT/python-bugzilla/python-bugzilla/attachfile
LDU_FT
[ "<BEGIN>\n## `_request_helper`", "A helper method to assist in making a request and provide a parsed\n response.\n<END>", "<BEGIN>\n## `open_without_clobber`", "Try to open the given file with the given mode; if that filename exists,\n try \"name.1\", \"name.2\", etc. until we find an unused filenam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attachfile API. 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 attachfile API. 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...
Attach a file to the given bug IDs. Returns the ID of the attachment or raises XMLRPC Fault if something goes wrong. attachfile may be a filename (which will be opened) or a file-like object, which must provide a 'read' method. If it's not one of these, this method will raise a TypeErro...
"Attach a file to the given bug IDs. Returns the ID of the attachment\n or raises XMLRPC Fault if something goes wrong.\n\n attachfile may be a filename (which will be opened) or a file-like\n object, which must provide a 'read' method. If it's not one of these,\n this method will raise a Ty...
184
false
python-bugzilla/python-bugzilla
attachfile
32,396
LDU_FT/cloudendpoints/endpoints-management-python/is_supported
LDU_FT
[ "<BEGIN>\n## `convert_response`", "Computes a http status code and message `CheckResponse`", " The return value a tuple (code, message, api_key_is_bad) where", " code: is the http status code\n message: is the message to return\n api_key_is_bad: indicates that a given api_key is bad", " Args:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_supported API. 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 is_supported API. 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...
Determines if the given label descriptor is supported. Args: desc (:class:`endpoints_management.gen.servicemanagement_v1_messages.LabelDescriptor`): the label descriptor to test Return: `True` if desc is supported, otherwise `False`
"Determines if the given label descriptor is supported.\n\n Args:\n desc (:class:`endpoints_management.gen.servicemanagement_v1_messages.LabelDescriptor`):\n the label descriptor to test\n\n Return:\n `True` if desc is supported, otherwise `False`"
308
false
cloudendpoints/endpoints-management-python
is_supported
32,397
LDU_FT/BerkeleyAutomation/perception/conv
LDU_FT
[ "<BEGIN>\n## `frames`", "Retrieve a new frame from the PhoXi and convert it to a ColorImage,\n a DepthImage, and an IrImage.", " Returns\n -------\n :obj:`tuple` of :obj:`ColorImage`, :obj:`DepthImage`, :obj:`IrImage`, :obj:`numpy.ndarray`\n The ColorImage, DepthImage, and...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conv API. 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 conv API. 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...
Convolution layer helper function From https://github.com/ethereon/caffe-tensorflow
"Convolution layer helper function\n From https://github.com/ethereon/caffe-tensorflow"
657
false
BerkeleyAutomation/perception
conv
32,398
LDU_FT/trolldbois/ctypeslib/_operator_handling
LDU_FT
[ "<BEGIN>\n## `init_fundamental_types`", "Registers all fundamental typekind handlers\n<END>", "<BEGIN>\n## `_handle_fundamental_types`", "Handles POD types nodes.\n see init_fundamental_types for the registration.\n<END>", "<BEGIN>\n## `_array_handler`", "Handles all array types.\n Resolves ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _operator_handling 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 _operator_handling API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Returns a string with the literal that are part of the operation.
"Returns a string with the literal that are part of the operation."
88
false
trolldbois/ctypeslib
_operator_handling
32,399
LDU_FT/kplindegaard/smbus2/read_block_data
LDU_FT
[ "<BEGIN>\n## `read`", "Prepares an i2c read transaction.", " :param address: Slave address.\n :type: address: int\n :param length: Number of bytes to read.\n :type: length: int\n :return: New :py:class:`i2c_msg` instance for read operation.\n :rtype: :py:class:`i2c_msg`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_block_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_block_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 e...
Read a block of up to 32-bytes from a given register. :param i2c_addr: i2c address :type i2c_addr: int :param register: Start register :type register: int :param force: :type force: Boolean :return: List of bytes :rtype: list
"Read a block of up to 32-bytes from a given register.\n\n :param i2c_addr: i2c address\n :type i2c_addr: int\n :param register: Start register\n :type register: int\n :param force:\n :type force: Boolean\n :return: List of bytes\n :rtype: list"
51
false
kplindegaard/smbus2
read_block_data
32,400
LDU_FT/hubo1016/aiogrpc/secure_channel
LDU_FT
[ "<BEGIN>\n## `channel_ready_future`", "Creates a Future that tracks when a Channel is ready.", " Cancelling the Future does not affect the channel's state machine.\n It merely decouples the Future from channel state machine.", " Args:\n channel: A Channel object.", " Returns:\n A Future object tha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secure_channel API. 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 secure_channel API. 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...
Creates a secure Channel to a server. Args: target: The server address. credentials: A ChannelCredentials instance. options: An optional list of key-value pairs (channel args in gRPC runtime) to configure the channel. Returns: A Channel object.
"Creates a secure Channel to a server.\n\n Args:\n target: The server address.\n credentials: A ChannelCredentials instance.\n options: An optional list of key-value pairs (channel args in gRPC runtime)\n to configure the channel.\n\n Returns:\n A Channel object."
31
false
hubo1016/aiogrpc
secure_channel
32,401
LDU_FT/sveetch/boussole/children
LDU_FT
[ "<BEGIN>\n## `clean`", "Filter given settings to keep only key names available in\n ``DEFAULT_SETTINGS``.", " Args:\n settings (dict): Loaded settings.", " Returns:\n dict: Settings object filtered.\n<END>", "<BEGIN>\n## `set_settings`", "Set every given settings...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracte...
Recursively find all children that are imported from the given source path. Args: sourcepath (str): Source file path to search for. Keyword Arguments: recursive (bool): Switch to enabled recursive finding (if True). Default to True. Returns: ...
"Recursively find all children that are imported from the given source\n path.\n\n Args:\n sourcepath (str): Source file path to search for.\n\n Keyword Arguments:\n recursive (bool): Switch to enabled recursive finding (if True).\n Default to True.\n\n R...
289
false
sveetch/boussole
children
32,402
LDU_FT/twitterdev/twitter-python-ads-sdk/date_range
LDU_FT
[ "<BEGIN>\n## `content_type`", "Returns the content-type value determined by file extension.\n<END>", "<BEGIN>\n## `__init_chunked_upload`", "Initialization for a multi-chunk upload.\n<END>", "<BEGIN>\n## `__upload_chunk`", "Uploads a single chunk of a multi-chunk upload.\n<END>", "<BEGIN>\n## `save`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the date_range API. 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 date_range API. 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 the minimum activity start time and the maximum activity end time from the active entities response. These dates are modified in the following way. The hours (and minutes and so on) are removed from the start and end times and a *day* is added to the end time. These are the dates that should be ...
"Returns the minimum activity start time and the maximum activity end time\n from the active entities response. These dates are modified in the following\n way. The hours (and minutes and so on) are removed from the start and end\n times and a *day* is added to the end time. These are the dates that should\n ...
74
false
twitterdev/twitter-python-ads-sdk
date_range
32,403
LDU_FT/thorgate/tg-react/make_header
LDU_FT
[ "<BEGIN>\n## `collect`", "Load all constant generators from settings.WEBPACK_CONSTANT_PROCESSORS\n and concat their values.\n<END>", "<BEGIN>\n## `phonenumber_validation`", "Validates phonenumber", " Similar to phonenumber_field.validators.validate_international_phonenumber() but uses a differ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_header API. 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 make_header API. 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...
Populate header with correct data from top-most locale file.
"Populate header with correct data from top-most locale file."
15
false
thorgate/tg-react
make_header
32,404
LDU_FT/tensorflow/cleverhans/unfinished_attack_configs
LDU_FT
[ "<BEGIN>\n## `model_loss`", "Define loss of TF graph\n :param y: correct labels\n :param model: output of the model\n :param mean: boolean indicating whether should return mean of loss\n or vector of losses for each input of the batch\n :return: return mean of loss if True, otherwise return vect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unfinished_attack_configs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unfinished_attack_configs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Returns a list of attack configs that have not yet been run the desired number of times. :param new_work_goal: dict mapping attacks to desired number of times to run :param work_before: dict mapping attacks to number of times they were run before starting this new goal. Should be prefiltered to include only ...
"Returns a list of attack configs that have not yet been run the desired\n number of times.\n :param new_work_goal: dict mapping attacks to desired number of times to run\n :param work_before: dict mapping attacks to number of times they were run\n before starting this new goal. Should be prefiltered to include o...
1,050
true
tensorflow/cleverhans
unfinished_attack_configs
32,405
LDU_FT/saghul/evergreen/inject
LDU_FT
[ "<BEGIN>\n## `_double_prefix`", "Grow the given deque by doubling, but don't split the second chunk just\n because the first one is small.\n<END>", "<BEGIN>\n## `_merge_prefix`", "Replace the first entries in a deque of strings with a single\n string of up to size bytes.", " >>> d = col...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API. 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 inject API. 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 ...
Base method for "injecting" greened modules into an imported module. It imports the module specified in *module_name*, arranging things so that the already-imported modules in *additional_modules* are used when *module_name* makes its imports. *new_globals* is either None or a globals dictionary that ...
"Base method for \"injecting\" greened modules into an imported module. It\n imports the module specified in *module_name*, arranging things so\n that the already-imported modules in *additional_modules* are used when\n *module_name* makes its imports.\n\n *new_globals* is either None or a globals dictiona...
79
false
saghul/evergreen
inject
32,406
LDU_FT/django-cumulus/django-cumulus/set_options
LDU_FT
[ "<BEGIN>\n## `set_options`", "Sets instance variables based on an options dict\n<END>", "<BEGIN>\n## `match_cloud`", "Returns the cloud objects that match the include and exclude patterns.\n<END>", "<BEGIN>\n## `match_local`", "Filters os.walk() with include and exclude patterns.\n See: http://stac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Sets instance variables based on an options dict
"Sets instance variables based on an options dict"
30
false
django-cumulus/django-cumulus
set_options
32,407
LDU_FT/urbn/Caesium/set_all_revisions_to_in_process
LDU_FT
[ "<BEGIN>\n## `load_json`", "Load JSON from the request body and store them in\n self.request.arguments, like Tornado does by default for POSTed form\n parameters.", " If JSON cannot be decoded", " :raises ValueError: JSON Could not be decoded\n<END>", "<BEGIN>\n## `get_json_argum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_all_revisions_to_in_process 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 set_all_revisions_to_in_process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Set all revisions found to in process, so that other threads will not pick them up. :param list ids:
"Set all revisions found to in process, so that other threads will not pick them up.\n\n :param list ids:"
157
false
urbn/Caesium
set_all_revisions_to_in_process
32,408
LDU_FT/flowersteam/explauto/cond_gaussian
LDU_FT
[ "<BEGIN>\n## `predict_y`", "Provide an prediction of xq in the output space", " @param xq an array of float of length dim_x\n @return predicted y as np.array of float\n<END>", "<BEGIN>\n## `predict_given_context`", "Provide a prediction of x with context c on dimensions c_dims in the outpu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cond_gaussian API. 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 cond_gaussian API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns mean and variance of the conditional probability defined by a set of dimension and at a given vector. @param dims : set of dimension to which respect conditional probability is taken @param v : vector defining the position where the conditional probability is ta...
"Returns mean and variance of the conditional probability\n defined by a set of dimension and at a given vector.\n\n @param dims : set of dimension to which respect conditional\n probability is taken\n @param v : vector defining the position where the conditional\n probabilit...
685
false
flowersteam/explauto
cond_gaussian
32,409
LDU_FT/mcocdawc/chemcoord/read_cjson
LDU_FT
[ "<BEGIN>\n## `_check_construction_table`", "Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>", "<BEGIN>\n## `_get_frag_constr_table`", "Create a construction table for a Zmatrix.", " A construction table is basically a Zm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_cjson API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_cjson API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Read a cjson file or a dictionary. The cjson format is specified `here <https://github.com/OpenChemistry/chemicaljson>`_. Args: buf (str, dict): If it is a filepath, the data is read from filepath. If it is a dictionary, the dictionary is interpreted ...
"Read a cjson file or a dictionary.\n\n The cjson format is specified\n `here <https://github.com/OpenChemistry/chemicaljson>`_.\n\n Args:\n buf (str, dict): If it is a filepath, the data is read from\n filepath. If it is a dictionary, the dictionary is interpreted\n ...
503
false
mcocdawc/chemcoord
read_cjson
32,410
LDU_FT/edwards-lab/libGWAS/load_family_details
LDU_FT
[ "<BEGIN>\n## `load_genotypes`", "This really just intializes the file by opening it up.\n<END>", "<BEGIN>\n## `process_genotypes`", "Parse pedigree line and remove excluded individuals from geno", " Translates alleles into numerical genotypes (0, 1, 2) counting\n number of minor alleles.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_family_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_family_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Load contents from the .fam file, updating the pheno_covar with \ family ids found. :param pheno_covar: Phenotype/covariate object :return: None
"Load contents from the .fam file, updating the pheno_covar with \\\n family ids found.\n\n :param pheno_covar: Phenotype/covariate object\n :return: None"
142
false
edwards-lab/libGWAS
load_family_details
32,411
LDU_FT/CityOfZion/neo-python-core/findpk
LDU_FT
[ "<BEGIN>\n## `PrivateKeyFromWIF`", "Get the private key from a WIF key", " Args:\n wif (str): The wif key", " Returns:\n bytes: The private key\n<END>", "<BEGIN>\n## `PrivateKeyFromNEP2`", "Gets the private key from a NEP-2 encrypted private key", " Args:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findpk API. 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 findpk API. 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 ...
find pubkey Y from message m, signature (r,s) Y = (R*s-G*m)/r note that there are 2 pubkeys related to a signature
"find pubkey Y from message m, signature (r,s)\n Y = (R*s-G*m)/r\n note that there are 2 pubkeys related to a signature"
175
false
CityOfZion/neo-python-core
findpk
32,412
LDU_FT/google/dotty/__solve_for_repeated
LDU_FT
[ "<BEGIN>\n## `generate_chunks`", "Yield 'chunk_size' items from 'data' at a time.\n<END>", "<BEGIN>\n## `reduce`", "Repeatedly call fold and merge on data and then finalize.", " Arguments:\n data: Input for the fold function.\n reducer: The IReducer to use.\n chunk_size: How many ite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __solve_for_repeated 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 __solve_for_repeated API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Helper: solve 'expr' always returning an IRepeated. If the result of solving 'expr' is a list or a tuple of IStructured objects then treat is as a repeated value of IStructured objects because that's what the called meant to do. This is a convenience helper so users of the API don't have to create IRep...
"Helper: solve 'expr' always returning an IRepeated.\n\n If the result of solving 'expr' is a list or a tuple of IStructured objects\n then treat is as a repeated value of IStructured objects because that's\n what the called meant to do. This is a convenience helper so users of the\n API don't have to creat...
284
false
google/dotty
__solve_for_repeated
32,413
LDU_FT/cmcdowell/weatherpy/_parse_text
LDU_FT
[ "<BEGIN>\n## `_get_xml`", "Returns the channel element of the RSS feed\n<END>", "<BEGIN>\n## `_parse_text`", "Returns the text, as a string, of the specified element in the specified\n namespace of the RSS feed.", " Takes element_name and namespace as strings.\n<END>", "<BEGIN>\n## `_parse_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_text API. 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 _parse_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns the text, as a string, of the specified element in the specified namespace of the RSS feed. Takes element_name and namespace as strings.
"Returns the text, as a string, of the specified element in the specified\n namespace of the RSS feed.\n\n Takes element_name and namespace as strings."
19
false
cmcdowell/weatherpy
_parse_text
32,414
LDU_FT/openstack/swauth/is_reseller_admin
LDU_FT
[ "<BEGIN>\n## `filter_factory`", "Returns a WSGI filter app for use with paste.deploy.\n<END>", "<BEGIN>\n## `make_pre_authed_request`", "Nearly the same as swift.common.wsgi.make_pre_authed_request\n except that this also always sets the 'swift.source' and user\n agent.", " Newer Swift ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_reseller_admin API. 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 is_reseller_admin API. 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 True if the admin specified in the request represents a .reseller_admin. :param req: The swob.Request to check. :param admin_detail: The previously retrieved dict from :func:`get_admin_detail` or None for this function to retriev...
"Returns True if the admin specified in the request represents a\n .reseller_admin.\n\n :param req: The swob.Request to check.\n :param admin_detail: The previously retrieved dict from\n :func:`get_admin_detail` or None for this function\n to ...
133
false
openstack/swauth
is_reseller_admin
32,415
LDU_FT/cdumay/kser/extract
LDU_FT
[ "<BEGIN>\n## `check_required_params`", "Check if all required parameters are set\n<END>", "<BEGIN>\n## `_onsuccess`", "To execute on execution success", " :param kser.result.Result result: Execution result\n :return: Execution result\n :rtype: kser.result.Result\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API. 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 extract API. 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...
Extract span context from the given object :param Any obj: Object to use as context :return: a SpanContext instance extracted from the inner span object or None if no such span context could be found.
"Extract span context from the given object\n\n :param Any obj: Object to use as context\n :return: a SpanContext instance extracted from the inner span object or None if no\n such span context could be found."
94
false
cdumay/kser
extract
32,416
LDU_FT/nok/sklearn-porter/predict
LDU_FT
[ "<BEGIN>\n## `export`", "Port a trained estimator to the syntax of a chosen programming language.", " Parameters\n ----------\n :param class_name : string\n The name of the class in the returned result.\n :param method_name : string\n The name of the method in t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Transpile the predict method. Parameters ---------- :param temp_type : string The kind of export type (embedded, separated, exported). Returns ------- :return : string The transpiled predict method as string.
"Transpile the predict method.\n\n Parameters\n ----------\n :param temp_type : string\n The kind of export type (embedded, separated, exported).\n\n Returns\n -------\n :return : string\n The transpiled predict method as string."
197
false
nok/sklearn-porter
predict
32,417
LDU_FT/Anaconda-Platform/anaconda-client/get_conda_root
LDU_FT
[ "<BEGIN>\n## `norm_package_version`", "Normalize a version by removing extra spaces and parentheses.\n<END>", "<BEGIN>\n## `split_spec`", "Split a spec by separator and return stripped start and end parts.\n<END>", "<BEGIN>\n## `parse_specification`", "Parse a requirement from a python distribution metada...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_conda_root API. 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_conda_root API. 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...
Get the PREFIX of the conda installation. Returns: str: the ROOT_PREFIX of the conda installation
"Get the PREFIX of the conda installation.\n\n Returns:\n str: the ROOT_PREFIX of the conda installation"
111
false
Anaconda-Platform/anaconda-client
get_conda_root
32,418
LDU_FT/rossmann-engineering/EasyModbusTCP.PY/connect
LDU_FT
[ "<BEGIN>\n## `convert_double_to_two_registers`", "Convert 32 Bit Value to two 16 Bit Value to send as Modbus Registers\n doubleValue: Value to be converted\n return: 16 Bit Register values int[]\n<END>", "<BEGIN>\n## `convert_float_to_two_registers`", "Convert 32 Bit real Value to two 16 Bit Value to se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. 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 connect API. 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...
Connects to a Modbus-TCP Server or a Modbus-RTU Slave with the given Parameters
"Connects to a Modbus-TCP Server or a Modbus-RTU Slave with the given Parameters"
16
false
rossmann-engineering/EasyModbusTCP.PY
connect
32,419
LDU_FT/redhat-openstack/python-tripleo-helper/initialize
LDU_FT
[ "<BEGIN>\n## `start`", "Start the ssh client and connect to the host.", " It will wait until the ssh service is available during 90 seconds.\n If it doesn't succed to connect then the function will raise\n an SSHException.\n<END>", "<BEGIN>\n## `run`", "Run a command on the remote host....
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...
Populate the node poll. :param size: the number of node to create.
"Populate the node poll.\n\n :param size: the number of node to create."
82
false
redhat-openstack/python-tripleo-helper
initialize
32,420
LDU_FT/ptmcg/littletable/tsv_import
LDU_FT
[ "<BEGIN>\n## `copy_template`", "Create empty copy of the current table, with copies of all\n index definitions.\n<END>", "<BEGIN>\n## `clone`", "Create full copy of the current table, including table contents\n and index definitions.\n<END>", "<BEGIN>\n## `create_index`", "Create a new...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tsv_import API. 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 tsv_import API. 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...
Imports the contents of a tab-separated data file into this table. @param xsv_source: tab-separated data file - if a string is given, the file with that name will be opened, read, and closed; if a file object is given, then that object will be read as-is, and left for the caller...
"Imports the contents of a tab-separated data file into this table.\n @param xsv_source: tab-separated data file - if a string is given, the file with that name will be\n opened, read, and closed; if a file object is given, then that object\n will be read as-is, and left for the ca...
75
false
ptmcg/littletable
tsv_import
32,421
LDU_FT/quantopian/trading_calendars/_overwrite_special_dates
LDU_FT
[ "<BEGIN>\n## `days_at_time`", "Create an index of days at time ``t``, interpreted in timezone ``tz``.", " The returned index is localized to UTC.", " Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _overwrite_special_dates 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 _overwrite_special_dates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Overwrite dates in open_or_closes with corresponding dates in special_opens_or_closes, using midnight_utcs for alignment.
"Overwrite dates in open_or_closes with corresponding dates in\n special_opens_or_closes, using midnight_utcs for alignment."
150
false
quantopian/trading_calendars
_overwrite_special_dates
32,422
LDU_FT/tadashi-aikawa/owlmixin/from_optional_dicts
LDU_FT
[ "<BEGIN>\n## `from_dict`", "From dict to instance", " :param d: Dict\n :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True\n :param force_cast: Cast forcibly if True\n :param restrict: Prohibit extra parameters if True\n :return: Inst...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_optional_dicts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_optional_dicts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
From list of dict to optional list of instance. :param ds: List of dict :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True :param force_cast: Cast forcibly if True :param restrict: Prohibit extra parameters if True :return: List of ins...
"From list of dict to optional list of instance.\n\n :param ds: List of dict\n :param force_snake_case: Keys are transformed to snake case in order to compliant PEP8 if True\n :param force_cast: Cast forcibly if True\n :param restrict: Prohibit extra parameters if True\n :return: List...
248
false
tadashi-aikawa/owlmixin
from_optional_dicts
32,423
LDU_FT/gboeing/osmnx/gdf_from_places
LDU_FT
[ "<BEGIN>\n## `config`", "Configure osmnx by setting the default global vars to desired values.", " Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gdf_from_places API. 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 gdf_from_places API. 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...
Create a GeoDataFrame from a list of place names to query. Parameters ---------- queries : list list of query strings or structured query dicts to geocode/download, one at a time gdf_name : string name attribute metadata for GeoDataFrame (this is used to save shapefile l...
"Create a GeoDataFrame from a list of place names to query.\n\n Parameters\n ----------\n queries : list\n list of query strings or structured query dicts to geocode/download, one\n at a time\n gdf_name : string\n name attribute metadata for GeoDataFrame (this is used to save shapefile\...
479
false
gboeing/osmnx
gdf_from_places
32,424
LDU_FT/yakupadakli/python-unsplash/me
LDU_FT
[ "<BEGIN>\n## `all`", "Get a single page from the list of all photos.", " :param page [integer]: Page number to retrieve. (Optional; default: 1)\n :param per_page [integer]: Number of items per page. (Optional; default: 10)\n :param order_by [string]: How to sort the photos. Optional.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the me API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the me API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Get the currently-logged in user. Note: To access a user’s private data, the user is required to authorize the 'read_user' scope. Without it, this request will return a '403 Forbidden' response. Note: Without a Bearer token (i.e. using a Client-ID token) this request will retur...
"Get the currently-logged in user.\n\n Note: To access a user’s private data,\n the user is required to authorize the 'read_user' scope.\n Without it, this request will return a '403 Forbidden' response.\n\n Note: Without a Bearer token (i.e. using a Client-ID token)\n this request wi...
107
false
yakupadakli/python-unsplash
me
32,425
LDU_FT/google-research/batch-ppo/_find_current_phase
LDU_FT
[ "<BEGIN>\n## `count_weights`", "Count learnable parameters.", " Args:\n scope: Restrict the count to a variable scope.\n exclude: Regex to match variable names to exclude.\n graph: Operate on a graph other than the current default graph.", " Returns:\n Number of learnable parameters as integer.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_current_phase API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_current_phase API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Determine the current phase based on the global step. This ensures continuing the correct phase after restoring checkoints. Args: global_step: The global number of steps performed across all phases. Returns: Tuple of phase object, epoch number, and phase steps within the epoch.
"Determine the current phase based on the global step.\n\n This ensures continuing the correct phase after restoring checkoints.\n\n Args:\n global_step: The global number of steps performed across all phases.\n\n Returns:\n Tuple of phase object, epoch number, and phase steps within the epoch."
362
false
google-research/batch-ppo
_find_current_phase
32,426
LDU_FT/Mangopay/mangopay2-python-sdk/force_bytes
LDU_FT
[ "<BEGIN>\n## `python_2_unicode_compatible`", "A decorator that defines __unicode__ and __str__ methods under Python 2.\n Under Python 3 it does nothing.", " To support Python 2 and 3 with a single code base, define a __str__ method\n returning text and apply this decorator to the class.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the force_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the force_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Similar to smart_bytes, except that lazy instances are resolved to strings, rather than kept as lazy objects. If strings_only is True, don't convert (some) non-string-like objects.
"Similar to smart_bytes, except that lazy instances are resolved to\n strings, rather than kept as lazy objects.\n\n If strings_only is True, don't convert (some) non-string-like objects."
12
false
Mangopay/mangopay2-python-sdk
force_bytes
32,427
LDU_FT/allelos/vectors/cross
LDU_FT
[ "<BEGIN>\n## `substract`", "Return a Point instance as the displacement of two points.\n<END>", "<BEGIN>\n## `from_list`", "Return a Point instance from a given list\n<END>", "<BEGIN>\n## `multiply`", "Return a Vector as the product of the vector and a real number.\n<END>", "<BEGIN>\n## `sum`", "Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cross API. 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 cross API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Return a Vector instance as the cross product of two vectors
"Return a Vector instance as the cross product of two vectors"
28
false
allelos/vectors
cross
32,428
LDU_FT/wdm0006/git-pandas/hours_estimate
LDU_FT
[ "<BEGIN>\n## `repo_name`", "Returns a DataFrame of the repo names present in this project directory", " :return: DataFrame\n<END>", "<BEGIN>\n## `coverage`", "Will return a DataFrame with coverage information (if available) for each repo in the project).", " If there is a .coverage file avai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hours_estimate API. 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 hours_estimate API. 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...
inspired by: https://github.com/kimmobrunfeldt/git-hours/blob/8aaeee237cb9d9028e7a2592a25ad8468b1f45e4/index.js#L114-L143 Iterates through the commit history of repo to estimate the time commitement of each author or committer over the course of time indicated by limit/extensions/days/etc. :pa...
"inspired by: https://github.com/kimmobrunfeldt/git-hours/blob/8aaeee237cb9d9028e7a2592a25ad8468b1f45e4/index.js#L114-L143\n\n Iterates through the commit history of repo to estimate the time commitement of each author or committer over\n the course of time indicated by limit/extensions/days/etc.\n\n ...
123
false
wdm0006/git-pandas
hours_estimate
32,429
LDU_FT/Sheeprider/BitBucket-api/create
LDU_FT
[ "<BEGIN>\n## `auth`", "Return credentials for current Bitbucket user.\n<END>", "<BEGIN>\n## `authorize`", "Call this with your consumer key, secret and callback URL, to\n generate a token for verification.\n<END>", "<BEGIN>\n## `verify`", "After converting the token into verifier, call this to fina...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Associate an ssh key with your repo and return it.
"Associate an ssh key with your repo and return it."
39
false
Sheeprider/BitBucket-api
create
32,430
LDU_FT/cronofy/pycronofy/authorize_with_service_account
LDU_FT
[ "<BEGIN>\n## `format_event_time`", "Accepts either an ISO 8601 string, a dict with a time and tzid OR a datetime object.\n Must be in UTC format:", " 2016-01-31T12:33:00Z\n 2016-01-31T12:33:00UTC\n 2016-01-31T12:33:00+00:00", " https://en.wikipedia.org/wiki/ISO_8601", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorize_with_service_account 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 authorize_with_service_account API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Attempts to authorize the email with impersonation from a service account :param string email: the email address to impersonate :param string callback_url: URL to callback with the OAuth code. :param string scope: The scope of the privileges you want the eventual access_token to grant. ...
"Attempts to authorize the email with impersonation from a service account\n\n :param string email: the email address to impersonate\n :param string callback_url: URL to callback with the OAuth code.\n :param string scope: The scope of the privileges you want the eventual access_token to grant.\n ...
111
false
cronofy/pycronofy
authorize_with_service_account
32,431
LDU_FT/jic-dtool/dtoolcore/diff_identifiers
LDU_FT
[ "<BEGIN>\n## `generous_parse_uri`", "Return a urlparse.ParseResult object with the results of parsing the\n given URI. This has the same properties as the result of parse_uri.", " When passed a relative path, it determines the absolute path, sets the\n scheme to file, the netloc to localhost and return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_identifiers API. 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 diff_identifiers API. 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 list of tuples where identifiers in datasets differ. Tuple structure: (identifier, present in a, present in b) :param a: first :class:`dtoolcore.DataSet` :param b: second :class:`dtoolcore.DataSet` :returns: list of tuples where identifiers in datasets differ
"Return list of tuples where identifiers in datasets differ.\n\n Tuple structure:\n (identifier, present in a, present in b)\n\n :param a: first :class:`dtoolcore.DataSet`\n :param b: second :class:`dtoolcore.DataSet`\n :returns: list of tuples where identifiers in datasets differ"
111
false
jic-dtool/dtoolcore
diff_identifiers
32,432
LDU_FT/LasLabs/python-helpscout/create
LDU_FT
[ "<BEGIN>\n## `create`", "Create an object on HelpScout.", " Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a conversation. Please note that conversation cannot be created with more than 100 threads, if attempted the API will respond with HTTP 412. Args: session (requests.sessions.Session): Authenticated session. record (helpscout.models.Conversation): The conversation...
"Create a conversation.\n\n Please note that conversation cannot be created with more than 100\n threads, if attempted the API will respond with HTTP 412.\n\n Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.models.Conversation): The conv...
178
false
LasLabs/python-helpscout
create
32,433
LDU_FT/jamieleshaw/lurklib/stats
LDU_FT
[ "<BEGIN>\n## `find`", "Finds needle in haystack.\n If needle is found return True, if not return False.\n Required arguments:\n * haystack - Text to search in.\n * needle - Text to search for.\n<END>", "<BEGIN>\n## `send`", "Send a raw string with the CR-LF appended to it.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API. 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 stats API. 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...
Get the server's STATS information. Optional arguments: * query=None - STATS Query. * target=None - Target server.
"Get the server's STATS information.\n Optional arguments:\n * query=None - STATS Query.\n * target=None - Target server."
112
false
jamieleshaw/lurklib
stats
32,434
LDU_FT/ganguli-lab/proxalgs/minimize
LDU_FT
[ "<BEGIN>\n## `add_regularizer`", "Add a regularizer from the operators module to the list of objectives", " Parameters\n ----------\n proxfun : string or function\n If a string, then it must be the name of a corresponding function in the `operators` module.\n If a func...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize API. 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 minimize API. 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...
Minimize a list of objectives using a proximal consensus algorithm Parameters ---------- theta_init : ndarray Initial parameter vector (numpy array) max_iter : int, optional Maximum number of iterations to run (default: 50) callback : function, optional...
"Minimize a list of objectives using a proximal consensus algorithm\n\n Parameters\n ----------\n theta_init : ndarray\n Initial parameter vector (numpy array)\n\n max_iter : int, optional\n Maximum number of iterations to run (default: 50)\n\n callback : functio...
90
false
ganguli-lab/proxalgs
minimize
32,435
LDU_FT/INM-6/hybridLFPy/fetchSpCells
LDU_FT
[ "<BEGIN>\n## `plot_signal_sum`", "on axes plot the signal contributions", " args:\n ::\n ax : matplotlib.axes.AxesSubplot object\n z : np.ndarray\n T : list, [tstart, tstop], which timeinterval\n ylims : list, set range of yaxis to scale with other plots\n fancy : bool, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchSpCells API. 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 fetchSpCells API. 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...
For N (nodes count) nestSim-cells draw POPULATION_SIZE x NTIMES random cell indexes in the population in nodes and broadcast these as `SpCell`. The returned argument is a list with len = numSyn.size of np.arrays, assumes `numSyn` is a list Parameters ---------- ...
"For N (nodes count) nestSim-cells draw\n POPULATION_SIZE x NTIMES random cell indexes in\n the population in nodes and broadcast these as `SpCell`.\n\n The returned argument is a list with len = numSyn.size of np.arrays,\n assumes `numSyn` is a list\n\n\n Parameters\n --------...
412
false
INM-6/hybridLFPy
fetchSpCells
32,436
LDU_FT/yero13/na3x/init
LDU_FT
[ "<BEGIN>\n## `agg_multi_func`", "Aggregates several functions\n :param values: list of objects (dict)\n :param agg_field: target field to calculate aggregates\n :param agg_funcs: list of aggregate functions\n :param group_by: field used to determine group\n :return: dict {agg_fu...
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...
Initialiaze na3x :param cfg: db, triggers, environment variables configuration
"Initialiaze na3x\n :param cfg: db, triggers, environment variables configuration"
82
false
yero13/na3x
init
32,437
LDU_FT/UncleRus/regnupg/decrypt
LDU_FT
[ "<BEGIN>\n## `recv_keys`", "Import the keys with the given key IDs from a HKP keyserver.", " :param keyserver: Keyserver name. The format of the name is a URI: ``scheme:[//]keyservername[:port]``.\n The scheme is the type of keyserver:\"hkp\" for the HTTP (or compatible) keyservers, \"ldap\" f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Decrypt/verify :param encrypted_data: Encrypted data :param passphrase: Passphrase :param signer_key: Signer key ID. Sign will not be verifyed when None :param always_trust: Skip key validation and assume that used keys are always fully trusted :param output_filename: Decrypted ...
"Decrypt/verify\n\n :param encrypted_data: Encrypted data\n :param passphrase: Passphrase\n :param signer_key: Signer key ID. Sign will not be verifyed when None\n :param always_trust: Skip key validation and assume that used keys are always fully trusted\n :param output_filename: Dec...
39
false
UncleRus/regnupg
decrypt
32,438
LDU_FT/pymupdf/PyMuPDF/getToC
LDU_FT
[ "<BEGIN>\n## `_Widget_fontdict`", "Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>", "<BEGIN>\n## `getTextlength`", "Calculate length of a string for a given built-in font.", " Args:\n fontname: name of the font.\n fontsize: size of font in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getToC API. 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 getToC API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a table of contents. Args: simple: a bool to control output. Returns a list, where each entry consists of outline level, title, page number and link destination (if simple = False). For details see PyMuPDF's documentation.
"Create a table of contents.\n\n Args:\n simple: a bool to control output. Returns a list, where each entry consists of outline level, title, page number and link destination (if simple = False). For details see PyMuPDF's documentation."
282
false
pymupdf/PyMuPDF
getToC
32,439
LDU_FT/flukso/tmpo-py/last_datapoint
LDU_FT
[ "<BEGIN>\n## `dbcon`", "Set up connection before executing function, commit and close connection\n afterwards. Unless a connection already has been created.\n<END>", "<BEGIN>\n## `add`", "Add new sensor to the database", " Parameters\n ----------\n sid : str\n SensorId\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_datapoint API. 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 last_datapoint API. 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...
Parameters ---------- sid : str SensorId epoch : bool default False If True return as epoch If False return as pd.Timestamp Returns ------- pd.Timestamp | int, float
"Parameters\n ----------\n sid : str\n SensorId\n epoch : bool\n default False\n If True return as epoch\n If False return as pd.Timestamp\n\n Returns\n -------\n pd.Timestamp | int, float"
36
false
flukso/tmpo-py
last_datapoint
32,440
LDU_FT/aewallin/allantools/set_input
LDU_FT
[ "<BEGIN>\n## `set_input`", "Set inputs after initialization", " Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extract...
Set inputs after initialization Parameters ------- nr: integer length of generated time-series number must be power of two qd: float discrete variance b: float noise type: 0 : White Phase Modulation (WPM) ...
"Set inputs after initialization\n\n Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n 0 : White Phase Modulation (WPM...
273
false
aewallin/allantools
set_input
32,441
LDU_FT/cjdrake/pyeda/rsh
LDU_FT
[ "<BEGIN>\n## `ripple_carry_add`", "Return symbolic logic for an N-bit ripple carry adder.\n<END>", "<BEGIN>\n## `kogge_stone_add`", "Return symbolic logic for an N-bit Kogge-Stone adder.\n<END>", "<BEGIN>\n## `brent_kung_add`", "Return symbolic logic for an N-bit Brent-Kung adder.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsh API. 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 rsh API. 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...
Right shift the farray by *num* places. The *num* argument must be a non-negative ``int``. If the *cin* farray is provided, it will be shifted in. Otherwise, the carry-in is zero. Returns a two-tuple (farray fs, farray cout), where *fs* is the shifted vector, and *cout* is the...
"Right shift the farray by *num* places.\n\n The *num* argument must be a non-negative ``int``.\n\n If the *cin* farray is provided, it will be shifted in.\n Otherwise, the carry-in is zero.\n\n Returns a two-tuple (farray fs, farray cout),\n where *fs* is the shifted vector, and *cou...
410
false
cjdrake/pyeda
rsh
32,442
LDU_FT/poppy-project/pypot/make_update_loop
LDU_FT
[ "<BEGIN>\n## `set_snap_server_variables`", "Change dynamically port and host variable in xml Snap! project file\n<END>", "<BEGIN>\n## `run`", "Start the tornado server, run forever.\n 'quiet' and 'server' arguments are no longer used, they are keep only for backward compatibility\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_update_loop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_update_loop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Makes a run loop which calls an update function at a predefined frequency.
"Makes a run loop which calls an update function at a predefined frequency."
371
false
poppy-project/pypot
make_update_loop
32,443
LDU_FT/JonathonReinhart/scuba/copy_scubadir_file
LDU_FT
[ "<BEGIN>\n## `add_env`", "Add an environment variable to the docker run invocation\n<END>", "<BEGIN>\n## `add_volume`", "Add a volume (bind-mount) to the docker run invocation\n<END>", "<BEGIN>\n## `__make_scubadir`", "Make temp directory where all ancillary files are bind-mounted\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_scubadir_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_scubadir_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. Th...
Copies source into the scubadir Returns the container-path of the copied file
"Copies source into the scubadir\n\n Returns the container-path of the copied file"
40
false
JonathonReinhart/scuba
copy_scubadir_file
32,444
LDU_FT/yeasy/hyperledger-py/transaction_get
LDU_FT
[ "<BEGIN>\n## `_raise_for_status`", "Raises stored :class:`APIError`, if one occurred.\n<END>", "<BEGIN>\n## `block_get`", "GET /chain/blocks/{Block}", " Use the Block API to retrieve the contents of various blocks from the\n blockchain. The returned Block message structure is defined inside\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_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 e...
GET /transactions/{UUID} Use the /transactions/{UUID} endpoint to retrieve an individual transaction matching the UUID from the blockchain. The returned transaction message is defined inside fabric.proto. ```golang message Transaction { enum Type { U...
"GET /transactions/{UUID}\n\n Use the /transactions/{UUID} endpoint to retrieve an individual\n transaction matching the UUID from the blockchain. The returned\n transaction message is defined inside fabric.proto.\n\n ```golang\n message Transaction {\n enum Type {\n ...
51
false
yeasy/hyperledger-py
transaction_get
32,445
LDU_FT/Rediker-Software/doac/verify_dictionary
LDU_FT
[ "<BEGIN>\n## `access_token`", "Try to get the `AccessToken` associated with the provided token.", " *The provided value must pass `BearerHandler.validate()`*\n<END>", "<BEGIN>\n## `validate`", "Try to get the `AccessToken` associated with the given token.", " The return value is determined b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_dictionary API. 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 verify_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Based on a provided `dict`, validate all of the contents of that dictionary that are provided. For each argument provided that isn't the dictionary, this will set the raw value of that key as the instance variable of the same name. It will then call the verification function named `ver...
"Based on a provided `dict`, validate all of the contents of that dictionary that are\n provided.\n\n For each argument provided that isn't the dictionary, this will set the raw value of\n that key as the instance variable of the same name. It will then call the verification\n function name...
46
false
Rediker-Software/doac
verify_dictionary
32,446
LDU_FT/mozilla/mozilla-django-oidc/is_refreshable_url
LDU_FT
[ "<BEGIN>\n## `get_next_url`", "Retrieves next url from request", " Note: This verifies that the url is safe before returning it. If the url\n is not safe, this returns None.", " :arg HttpRequest request: the http request\n :arg str redirect_field_name: the name of the field holding the next url", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_refreshable_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_refreshable_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Takes a request and returns whether it triggers a refresh examination :arg HttpRequest request: :returns: boolean
"Takes a request and returns whether it triggers a refresh examination\n\n :arg HttpRequest request:\n\n :returns: boolean"
49
false
mozilla/mozilla-django-oidc
is_refreshable_url
32,447
LDU_FT/biocore/burrito-fillings/_derive_rank_abundance_path
LDU_FT
[ "<BEGIN>\n## `raxml_alignment`", "Run raxml on alignment object", " align_obj: Alignment object\n params: you can set any params except -w and -n", " returns: tuple (phylonode,\n parsimonyphylonode,\n log likelihood,\n total exec time)\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _derive_rank_abundance_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _derive_rank_abundance_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Guess rank abundance file path produced by Mothur
"Guess rank abundance file path produced by Mothur"
618
false
biocore/burrito-fillings
_derive_rank_abundance_path
32,448
LDU_FT/getfleety/coralillo/get
LDU_FT
[ "<BEGIN>\n## `snake_case`", "Takes a string that represents for example a class name and returns\n the snake case version of it. It is used for model-to-key conversion\n<END>", "<BEGIN>\n## `value_or_default`", "Returns the given value or the specified default value for this\n field\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Retrieves an object by id. Returns None in case of failure
"Retrieves an object by id. Returns None in case of failure"
62
false
getfleety/coralillo
get
32,449
LDU_FT/ojii/django-multilingual-ng/getter_generator
LDU_FT
[ "<BEGIN>\n## `reorder_translation_formset_by_language_code`", "Shuffle the forms in the formset of multilingual model in the\n order of their language_ids.\n<END>", "<BEGIN>\n## `multilingual`", "Returns context variables containing information about available languages.\n<END>", "<BEGIN>\n## `multilingu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getter_generator API. 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 getter_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Generate get_'field name' method for field field_name.
"Generate get_'field name' method for field field_name."
58
false
ojii/django-multilingual-ng
getter_generator
32,450
LDU_FT/ihmeuw/vivarium/initialize_simulation_from_model_specification
LDU_FT
[ "<BEGIN>\n## `setup`", "Performs this component's simulation setup.", " The ``setup`` method is automatically called by the simulation\n framework. The framework passes in a ``builder`` object which\n provides access to a variety of framework subsystems and metadata.", " Parameters...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_simulation_from_model_specification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize_simulation_from_model_specification API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> i...
Construct a simulation from a model specification file. The simulation context returned by this method still needs to be setup by calling its setup method. It is mostly useful for testing and debugging. Parameters ---------- model_specification_file The path to a model specification file. ...
"Construct a simulation from a model specification file.\n\n The simulation context returned by this method still needs to be setup by\n calling its setup method. It is mostly useful for testing and debugging.\n\n Parameters\n ----------\n model_specification_file\n The path to a model specificati...
370
false
ihmeuw/vivarium
initialize_simulation_from_model_specification
32,451
LDU_FT/aiortc/aioice/from_sdp
LDU_FT
[ "<BEGIN>\n## `create_turn_endpoint`", "Create datagram connection relayed over TURN.\n<END>", "<BEGIN>\n## `refresh`", "Periodically refresh the TURN allocation.\n<END>", "<BEGIN>\n## `request`", "Execute a STUN transaction and return the response.\n<END>", "<BEGIN>\n## `send_data`", "Send data to a r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_sdp API. 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 from_sdp API. 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...
Parse a :class:`Candidate` from SDP. .. code-block:: python Candidate.from_sdp( '6815297761 1 udp 659136 1.2.3.4 31102 typ host generation 0')
"Parse a :class:`Candidate` from SDP.\n\n .. code-block:: python\n\n Candidate.from_sdp(\n '6815297761 1 udp 659136 1.2.3.4 31102 typ host generation 0')"
61
false
aiortc/aioice
from_sdp
32,452
LDU_FT/4Catalyzer/flask-resty/declare_response
LDU_FT
[ "<BEGIN>\n## `get_marshmallow_schema_name`", "Get the schema name.", " If the schema doesn't exist, create it.\n<END>", "<BEGIN>\n## `request_args`", "Use args_schema to parse request query arguments.\n<END>", "<BEGIN>\n## `query`", "The SQLAlchemy query for the view.", " Override this t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declare_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declare_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Declare a response for the specified code https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#responseObject
"Declare a response for the specified code\n https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#responseObject"
32
false
4Catalyzer/flask-resty
declare_response
32,453
LDU_FT/dagwieers/vmguestlib/GetElapsedMs
LDU_FT
[ "<BEGIN>\n## `OpenHandle`", "Gets a handle for use with other vSphere Guest API functions. The guest library\n handle provides a context for accessing information about the virtual machine.", " Virtual machine statistics and state data are associated with a particular guest library\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetElapsedMs API. 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 GetElapsedMs API. 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...
Retrieves the number of milliseconds that have passed in the virtual machine since it last started running on the server. The count of elapsed time restarts each time the virtual machine is powered on, resumed, or migrated using VMotion. This value counts milliseconds, regardless of ...
"Retrieves the number of milliseconds that have passed in the virtual\n machine since it last started running on the server. The count of elapsed\n time restarts each time the virtual machine is powered on, resumed, or\n migrated using VMotion. This value counts milliseconds, regardless of...
50
false
dagwieers/vmguestlib
GetElapsedMs
32,454
LDU_FT/Microsoft/azure-devops-python-api/get_page
LDU_FT
[ "<BEGIN>\n## `create_attachment`", "CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page API. 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_page API. 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...
GetPage. Gets metadata or content of the wiki page for the provided path. Content negotiation is done based on the `Accept` header sent in the request. :param str project: Project ID or project name :param str wiki_identifier: Wiki Id or name. :param str path: Wiki page path. :pa...
"GetPage.\n Gets metadata or content of the wiki page for the provided path. Content negotiation is done based on the `Accept` header sent in the request.\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str path: Wiki page path.\n ...
1,304
true
Microsoft/azure-devops-python-api
get_page
32,455
LDU_FT/VisualOps/cli/get_images
LDU_FT
[ "<BEGIN>\n## `create_app`", "insert app record when stack run as a app\n<END>", "<BEGIN>\n## `create_container`", "insert container record when create container\n<END>", "<BEGIN>\n## `get_app_data`", "get app data ( include name and app_data )\n<END>", "<BEGIN>\n## `_get_config`", "Get user docker con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_images API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_images API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
List docker images :type name: string :param name: A repository name to filter on :type quiet: boolean :param quiet: Only show image ids :type all: boolean :param all: Show all images :rtype: dict :returns: the images
"List docker images\n\n :type name: string\n :param name: A repository name to filter on\n\n :type quiet: boolean\n :param quiet: Only show image ids\n\n :type all: boolean\n :param all: Show all images\n\n :rtype: dict\n :returns: the images"
90
false
VisualOps/cli
get_images
32,456
LDU_FT/Fizzadar/pyinfra/privileges
LDU_FT
[ "<BEGIN>\n## `agent`", "Run puppet agent", " + server: master server URL\n + port: puppet master port\n<END>", "<BEGIN>\n## `load_deploy_config`", "Loads any local config overrides in the deploy file.\n<END>", "<BEGIN>\n## `_parse_mode`", "Converts ls mode output (rwxrwxrwx) -> integer (755).\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the privileges API. 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 privileges API. 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...
Add/remove MySQL privileges for a user, either global, database or table specific. + user: name of the user to manage privileges for + privileges: list of privileges the user should have + user_hostname: the hostname of the user + database: name of the database to grant privileges to (defaults to all) ...
"Add/remove MySQL privileges for a user, either global, database or table specific.\n\n + user: name of the user to manage privileges for\n + privileges: list of privileges the user should have\n + user_hostname: the hostname of the user\n + database: name of the database to grant privileges to (defaults to...
336
false
Fizzadar/pyinfra
privileges
32,457
LDU_FT/rosshamish/hexgrid/node_coord_in_direction
LDU_FT
[ "<BEGIN>\n## `location`", "Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.", " Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)", " :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the node_coord_in_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 node_coord_in_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...
Returns the node coordinate in the given direction at the given tile identifier. :param tile_id: tile identifier, int :param direction: direction, str :return: node coord, int
"Returns the node coordinate in the given direction at the given tile identifier.\n\n :param tile_id: tile identifier, int\n :param direction: direction, str\n :return: node coord, int"
49
false
rosshamish/hexgrid
node_coord_in_direction
32,458
LDU_FT/materialsproject/pymatgen-db/re_keys
LDU_FT
[ "<BEGIN>\n## `contains_vasp_input`", "Checks if a directory contains valid VASP input.", " Args:\n dir_name:\n Directory name to check.", " Returns:\n True if directory contains all four VASP input files (INCAR, POSCAR,\n KPOINTS and POTCAR).\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the re_keys API. 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 re_keys API. 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...
Find keys matching `pattern`. :param pattern: Regular expression :return: Matching keys or empty list :rtype: list
"Find keys matching `pattern`.\n\n :param pattern: Regular expression\n :return: Matching keys or empty list\n :rtype: list"
262
false
materialsproject/pymatgen-db
re_keys
32,459
LDU_FT/useblocks/groundwork/get
LDU_FT
[ "<BEGIN>\n## `set`", "Sets a new value for a given configuration parameter.", " If it already exists, an Exception is thrown.\n To overwrite an existing value, set overwrite to True.", " :param name: Unique name of the parameter\n :param value: Value of the configuration parameter\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Gets a list of all recipes, which are registered by the current plugin. If a name is provided, only the requested recipe is returned or None. :param: name: Name of the recipe
"Gets a list of all recipes, which are registered by the current plugin.\n If a name is provided, only the requested recipe is returned or None.\n\n :param: name: Name of the recipe"
198
false
useblocks/groundwork
get
32,460
LDU_FT/DheerendraRathor/django-auth-ldap-ng/_cache_key
LDU_FT
[ "<BEGIN>\n## `get_ldap`", "Returns the ldap module. The unit test harness will assign a mock object\n to _LDAPConfig.ldap. It is imperative that the ldap module not be\n imported anywhere else so that the unit tests will pass in the absence\n of python-ldap.\n<END>", "<BEGIN>\n## `get_logge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Memcache keys can't have spaces in them, so we'll remove them from the DN for maximum compatibility.
"Memcache keys can't have spaces in them, so we'll remove them from the\n DN for maximum compatibility."
55
false
DheerendraRathor/django-auth-ldap-ng
_cache_key
32,461
LDU_FT/carlthome/python-audio-effects/highpass
LDU_FT
[ "<BEGIN>\n## `equalizer`", "equalizer takes three parameters: filter center frequency in Hz, \"q\"\n or band-width (default=1.0), and a signed number for gain or\n attenuation in dB.", " Beware of clipping when using positive gain.\n<END>", "<BEGIN>\n## `bandpass`", "bandpass takes 2 pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the highpass API. 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 highpass API. 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...
highpass takes 2 parameters: filter frequency in Hz below which frequencies will be attenuated and q (default=0.707). Beware of clipping when using high q values.
"highpass takes 2 parameters: filter frequency in Hz below which\n frequencies will be attenuated and q (default=0.707).\n\n Beware of clipping when using high q values."
53
false
carlthome/python-audio-effects
highpass
32,462
LDU_FT/gersolar/stations/get_backup_filename
LDU_FT
[ "<BEGIN>\n## `wrap_around_re`", "Same as wrap_around but works with regular expression based\n wildcards to map which methods are going to be used.\n<END>", "<BEGIN>\n## `_with_wrap`", "with_wrap wraps the execution of method inside given\n generator. When the method is called, the generator is invoked\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backup_filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backup_filename API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Proposes a name for the backup file. Keyword arguments: path -- temporal filename
"Proposes a name for the backup file.\n\n\t\t\tKeyword arguments:\n\t\t\tpath -- temporal filename"
31
false
gersolar/stations
get_backup_filename
32,463
LDU_FT/brmscheiner/ideogram/calcPosition
LDU_FT
[ "<BEGIN>\n## `traversal`", "Tree traversal function that generates nodes. For each subtree, the \n deepest node is evaluated first. Then, the next-deepest nodes are \n evaluated until all the nodes in the subtree are generated.\n<END>", "<BEGIN>\n## `firstPass`", "Return a dictionary of function definit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcPosition API. 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 calcPosition API. 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...
Position the circle tangent to the parent circle with the line connecting the centers of the two circles meeting the x axis at angle theta.
"Position the circle tangent to the parent circle with the line connecting the centers of the two circles meeting the x axis at angle theta."
50
false
brmscheiner/ideogram
calcPosition
32,464
LDU_FT/sebdah/dynamic-dynamodb/parse
LDU_FT
[ "<BEGIN>\n## `get_consumed_read_units_percent`", "Returns the number of consumed read units in percent", " :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type...
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...
Parse the configuration file :type config_path: str :param config_path: Path to the configuration file
"Parse the configuration file\n\n :type config_path: str\n :param config_path: Path to the configuration file"
191
false
sebdah/dynamic-dynamodb
parse
32,465
LDU_FT/gijzelaerr/python-snap7/register_area
LDU_FT
[ "<BEGIN>\n## `check_error`", "check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>", "<BEGIN>\n## `error_text`", "Returns a textual explanation of a given error number", " :param error: an error integer\n :param context: server, client or partner...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_area API. 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 register_area API. 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...
Shares a memory area with the server. That memory block will be visible by the clients.
"Shares a memory area with the server. That memory block will be\n visible by the clients."
150
false
gijzelaerr/python-snap7
register_area
32,466
LDU_FT/mugurbil/gnm/log_K
LDU_FT
[ "<BEGIN>\n## `update_params`", "Update parameters\n updates mean and precision to the step size\n Inputs:\n state :\n mu :\n mean\n L :\n cholesky factor of the precision matrix\n t : \n step size\n Outputs:\n mu :\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_K API. 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 log_K API. 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...
Log K Log of the proposal probability density function for gnm Inputs : Z : proposed to x : proposed from Outputs : log of the probability density function
"Log K\n Log of the proposal probability density function for gnm\n Inputs :\n Z :\n proposed to\n x : \n proposed from \n Outputs : \n log of the probability density function"
42
false
mugurbil/gnm
log_K
32,467
LDU_FT/onnx/onnx/polish_model
LDU_FT
[ "<BEGIN>\n## `run_node`", "Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polish_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polish_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
This function combines several useful utility functions together.
"This function combines several useful utility functions together."
72
false
onnx/onnx
polish_model
32,468
LDU_FT/frostming/marko/match_prefix
LDU_FT
[ "<BEGIN>\n## `camel_to_snake_case`", "Takes a camelCased string and converts to snake_case.\n<END>", "<BEGIN>\n## `is_paired`", "Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>", "<BEGIN>\n## `match_prefix`", "Check if the line starts with giv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_prefix API. 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 match_prefix API. 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...
Check if the line starts with given prefix and return the position of the end of prefix. If the prefix is not matched, return -1.
"Check if the line starts with given prefix and\n return the position of the end of prefix.\n If the prefix is not matched, return -1."
49
false
frostming/marko
match_prefix
32,469
LDU_FT/oceanprotocol/oceandb-bigchaindb-driver/_delete
LDU_FT
[ "<BEGIN>\n## `ed25519_generate_key_pair_from_secret`", "Generate a new key pair.\n Args:\n secret (:class:`string`): A secret that serves as a seed\n Returns:\n A tuple of (private_key, public_key) encoded in base58.\n<END>", "<BEGIN>\n## `generate_key_pair`", "Generates a cryptographic ke...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Delete a transaction. Read documentation about CRAB model in https://blog.bigchaindb.com/crab-create-retrieve-append-burn-b9f6d111f460. :param tx_id: transaction id :return:
"Delete a transaction. Read documentation about CRAB model in https://blog.bigchaindb.com/crab-create-retrieve-append-burn-b9f6d111f460.\n\n :param tx_id: transaction id\n :return:"
28
false
oceanprotocol/oceandb-bigchaindb-driver
_delete
32,470
LDU_FT/gboeing/osmnx/get_route_edge_attributes
LDU_FT
[ "<BEGIN>\n## `config`", "Configure osmnx by setting the default global vars to desired values.", " Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_route_edge_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_route_edge_attributes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get a list of attribute values for each edge in a path. Parameters ---------- G : networkx multidigraph route : list list of nodes in the path attribute : string the name of the attribute to get the value of for each edge. If not specified, the complete data dict is returned...
"Get a list of attribute values for each edge in a path.\n\n Parameters\n ----------\n G : networkx multidigraph\n route : list\n list of nodes in the path\n attribute : string\n the name of the attribute to get the value of for each edge.\n If not specified, the complete data dict i...
479
false
gboeing/osmnx
get_route_edge_attributes
32,471
LDU_FT/jaraco/jaraco.services/_run_env
LDU_FT
[ "<BEGIN>\n## `start`", "Start the service, catching and logging exceptions\n<END>", "<BEGIN>\n## `start_class`", "Start all services of a given class. If this manager doesn't already\n have a service of that class, it constructs one and starts it.\n<END>", "<BEGIN>\n## `log_root`", "Find a director...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_env API. 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 _run_env API. 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...
Augment the current environment providing the PYTHONUSERBASE.
"Augment the current environment providing the PYTHONUSERBASE."
12
false
jaraco/jaraco.services
_run_env
32,472