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/scikit-learn-contrib/hdbscan/membership_vector
LDU_FT
[ "<BEGIN>\n## `_tree_to_labels`", "Converts a pretrained tree and cluster size into a\n set of labels and probabilities.\n<END>", "<BEGIN>\n## `check_precomputed_distance_matrix`", "Perform check_array(X) after removing infinite values (numpy.inf) from the given distance matrix.\n<END>", "<BEGIN>\n## `hdb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the membership_vector API. 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 membership_vector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Predict soft cluster membership. The result produces a vector for each point in ``points_to_predict`` that gives a probability that the given point is a member of a cluster for each of the selected clusters of the ``clusterer``. Parameters ---------- clusterer : HDBSCAN A clustering obj...
"Predict soft cluster membership. The result produces a vector\n for each point in ``points_to_predict`` that gives a probability that\n the given point is a member of a cluster for each of the selected clusters\n of the ``clusterer``.\n\n Parameters\n ----------\n clusterer : HDBSCAN\n A clust...
224
false
scikit-learn-contrib/hdbscan
membership_vector
17,073
LDU_FT/tommilligan/pypersonalassistant/twilio_SMS
LDU_FT
[ "<BEGIN>\n## `edit_credentials`", "Edit the credentials used by the :py:class:`~pypersonalassistant.secure.secure` class.", " .. note :: User input is required.", " By default, unset credentials will be displayed.", " :param string credential: A specific credential to edit.\n :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the twilio_SMS API. 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 twilio_SMS API. 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...
Send an SMS message from your `twilio`_ account. .. _twilio: https://www.twilio.com/ Login will be performed using stored credentials. * *stored credential name: TWILIO_ACCOUNT_SID* * *stored credential name: TWILIO_AUTH_TOKEN* :param string from_: The phone n...
"Send an SMS message from your `twilio`_ account.\n\n .. _twilio: https://www.twilio.com/\n\n Login will be performed using stored credentials.\n \n * *stored credential name: TWILIO_ACCOUNT_SID*\n * *stored credential name: TWILIO_AUTH_TOKEN*\n \n :param string from_: T...
38
false
tommilligan/pypersonalassistant
twilio_SMS
17,074
LDU_FT/theonion/django-bulbs/get_month_start_date
LDU_FT
[ "<BEGIN>\n## `save`", "Kicks off celery task to re-save associated special coverages to percolator", " :param args: inline arguments (optional)\n :param kwargs: keyword arguments\n :return: `bulbs.campaigns.Campaign`\n<END>", "<BEGIN>\n## `get_field_info`", "This method is basically a m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_month_start_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_month_start_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns the first day of the current month
"Returns the first day of the current month"
277
false
theonion/django-bulbs
get_month_start_date
17,075
LDU_FT/timofurrer/observable/off
LDU_FT
[ "<BEGIN>\n## `_preserve_settings`", "Decorator that ensures ObservableProperty-specific attributes\n are kept when using methods to change deleter, getter or setter.\n<END>", "<BEGIN>\n## `_trigger_event`", "Triggers an event on the associated Observable object.\n The Holder is the object this prope...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the off API. 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 off API. 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...
Unregisters a whole event (if no handlers are given) or one or more handlers from an event. Raises EventNotFound when the given event isn't registered. Raises HandlerNotFound when a given handler isn't registered.
"Unregisters a whole event (if no handlers are given) or one\n or more handlers from an event.\n Raises EventNotFound when the given event isn't registered.\n Raises HandlerNotFound when a given handler isn't registered."
20
false
timofurrer/observable
off
17,076
LDU_FT/CenturyLinkCloud/clc-python-sdk/_Load
LDU_FT
[ "<BEGIN>\n## `SetCredentials`", "Establish API username and password associated with APIv2 commands.\n<END>", "<BEGIN>\n## `get_session`", "Start a session with the given parameters", "\tUse instead of SetCredentials if you need a session object to avoid the use of global credentials.", "\tReturns a sessi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Performs a full load of all PublicIP metadata.
"Performs a full load of all PublicIP metadata."
402
false
CenturyLinkCloud/clc-python-sdk
_Load
17,077
LDU_FT/Varkal/chuda/get_default_name
LDU_FT
[ "<BEGIN>\n## `enrich_app`", "Add a new property to the app (with setattr)", " Args:\n name (str): the name of the new property\n value (any): the value of the new property\n<END>", "<BEGIN>\n## `autorun`", "Call the run method of the decorated class if the current file is the ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Return the default generated name to store value on the parser for this option. eg. An option *['-s', '--use-ssl']* will generate the *use_ssl* name Returns: str: the default name of the option
"Return the default generated name to store value on the parser for this option.\n\n eg. An option *['-s', '--use-ssl']* will generate the *use_ssl* name\n\n Returns:\n str: the default name of the option"
44
false
Varkal/chuda
get_default_name
17,078
LDU_FT/deepmind/sonnet/noisy_identity_kernel_initializer
LDU_FT
[ "<BEGIN>\n## `generate_code`", "Generates code samples.", " Args:\n max_length: int. max literal length.\n max_nest: int. max nesting level.\n ops: CodeOp. set of allowable operations.", " Returns:\n 1. (str) output value.\n 2. (str) Code operation.\n<END>", "<BEGIN>\n## `get_tokens`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the noisy_identity_kernel_initializer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the noisy_identity_kernel_initializer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
Build an initializer for constructing near-identity convolution kernels. Construct a convolution kernel where in_channels and out_channels are multiples of base_num_channels, but need not be equal. This initializer is essentially the same as identity_kernel_initializer, except that magnitude is "spread out" ac...
"Build an initializer for constructing near-identity convolution kernels.\n\n Construct a convolution kernel where in_channels and out_channels are\n multiples of base_num_channels, but need not be equal. This initializer is\n essentially the same as identity_kernel_initializer, except that magnitude\n is \"spread ...
937
false
deepmind/sonnet
noisy_identity_kernel_initializer
17,079
LDU_FT/quantmind/pulsar-odm/register
LDU_FT
[ "<BEGIN>\n## `copy_models`", "Copy models from one module to another\n :param module_from:\n :param module_to:\n :return:\n<END>", "<BEGIN>\n## `register`", "Register a model or a table with this mapper", " :param model: a table or a :class:`.BaseModel` class\n :return: a Model class ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
Register a model or a table with this mapper :param model: a table or a :class:`.BaseModel` class :return: a Model class or a table
"Register a model or a table with this mapper\n\n :param model: a table or a :class:`.BaseModel` class\n :return: a Model class or a table"
29
false
quantmind/pulsar-odm
register
17,080
LDU_FT/eventbrite/pysoa/resolve_python_path
LDU_FT
[ "<BEGIN>\n## `dict_to_hashable`", "Takes a dict and returns an immutable, hashable version of that dict that can be used as a key in dicts or as a\n set value. Any two dicts passed in with the same content are guaranteed to return the same value. Any two dicts\n passed in with different content are guarante...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_python_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_python_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Turns a python path like module.name.here:ClassName.SubClass into an object
"Turns a python path like module.name.here:ClassName.SubClass into an object"
178
false
eventbrite/pysoa
resolve_python_path
17,081
LDU_FT/peo3/cgroup-utils/get_cgroup
LDU_FT
[ "<BEGIN>\n## `scan_cgroups`", "It returns a control group hierarchy which belong to the subsys_name.\n When collecting cgroups, filters are applied to the cgroups. See pydoc\n of apply_filters method of CGroup for more information about the filters.\n<END>", "<BEGIN>\n## `walk_cgroups`", "The function a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cgroup API. 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_cgroup API. 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...
It returns a CGroup object which is pointed by the fullpath.
"It returns a CGroup object which is pointed by the fullpath."
24
false
peo3/cgroup-utils
get_cgroup
17,082
LDU_FT/MakerReduxCorp/PLOD/dropKey
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 dropKey API. 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 dropKey API. 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...
Drop an attribute/element/key-value pair from all the dictionaries. If the dictionary key does not exist in a particular dictionary, then that dictionary is left unchanged. Side effect: if the key is a number and it matches a list (interpreted as a dictionary), it will cause the "keys"...
"Drop an attribute/element/key-value pair from all the dictionaries.\n\n If the dictionary key does not exist in a particular dictionary, then\n that dictionary is left unchanged.\n\n Side effect: if the key is a number and it matches a list (interpreted\n as a dictionary), it will cause the...
199
false
MakerReduxCorp/PLOD
dropKey
17,083
LDU_FT/jrief/django-angular/ng_delete
LDU_FT
[ "<BEGIN>\n## `THUMBNAIL_OPTIONS`", "Set the size as a 2-tuple for thumbnailed images after uploading them.\n<END>", "<BEGIN>\n## `get_context`", "Some widgets require a modified rendering context, if they contain angular directives.\n<END>", "<BEGIN>\n## `errors`", "Returns a TupleErrorList for this field...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ng_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ng_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 extract...
Delete object and return it's data in JSON encoding The response is build before the object is actually deleted so that we can still retrieve a serialization in the response even with a m2m relationship
"Delete object and return it's data in JSON encoding\n The response is build before the object is actually deleted\n so that we can still retrieve a serialization in the response\n even with a m2m relationship"
63
false
jrief/django-angular
ng_delete
17,084
LDU_FT/cstockton/py-gensend/_dict_repeat
LDU_FT
[ "<BEGIN>\n## `_dict_if`", "Returns the arguments in the list joined by STR.\n IF:CONDITION,DO,ELSE", " %{IF:False,'IS TRUE'} -> ''\n %{IF:True,'IS TRUE', 'NOT TRUE'} -> 'NOT TRUE'\n<END>", "<BEGIN>\n## `_dict_repeat`", "Do a thing N times\n REPEAT:N,DO", " %{REPE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dict_repeat API. 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 _dict_repeat API. 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...
Do a thing N times REPEAT:N,DO %{REPEAT:10,%{INT}} -> '123 123 ... 123'
"Do a thing N times\n REPEAT:N,DO\n\n %{REPEAT:10,%{INT}} -> '123 123 ... 123'"
30
false
cstockton/py-gensend
_dict_repeat
17,085
LDU_FT/AdvancedClimateSystems/uModbus/create_response_pdu
LDU_FT
[ "<BEGIN>\n## `pdu_to_function_code_or_raise_error`", "Parse response PDU and return of :class:`ModbusFunction` or\n raise error.", " :param resp_pdu: PDU of response.\n :return: Subclass of :class:`ModbusFunction` matching the response.\n :raises ModbusError: When response contains error code.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_response_pdu 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 create_response_pdu 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...
Create response pdu. :param data: A list with values. :return: Byte array of at least 4 bytes.
"Create response pdu.\n\n :param data: A list with values.\n :return: Byte array of at least 4 bytes."
186
false
AdvancedClimateSystems/uModbus
create_response_pdu
17,086
LDU_FT/hhatto/autopep8/_enforce_space
LDU_FT
[ "<BEGIN>\n## `continued_indentation`", "Override pycodestyle's function to provide indentation information.\n<END>", "<BEGIN>\n## `get_w605_position`", "workaround get pointing out position by W605.\n<END>", "<BEGIN>\n## `get_module_imports_on_top_of_file`", "return import or from keyword position", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _enforce_space API. 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 _enforce_space API. 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...
Enforce a space in certain situations. There are cases where we will want a space where normally we wouldn't put one. This just enforces the addition of a space.
"Enforce a space in certain situations.\n\n There are cases where we will want a space where normally we\n wouldn't put one. This just enforces the addition of a space."
139
false
hhatto/autopep8
_enforce_space
17,087
LDU_FT/persandstrom/python-verisure/download_image
LDU_FT
[ "<BEGIN>\n## `login`", "Login to verisure app api", " Login before calling any read or write commands\n<END>", "<BEGIN>\n## `set_smartplug_state`", "Turn on or off smartplug", " Args:\n device_label (str): Smartplug device label\n state (boolean): new status, 'True' or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Download image taken by a smartcam Args: device_label (str): device label of camera image_id (str): image id from image series file_name (str): path to file
"Download image taken by a smartcam\n\n Args:\n device_label (str): device label of camera\n image_id (str): image id from image series\n file_name (str): path to file"
36
false
persandstrom/python-verisure
download_image
17,088
LDU_FT/isogeo/isogeo-api-py-minsdk/check_request_parameters
LDU_FT
[ "<BEGIN>\n## `set_base_url`", "Set Isogeo base URLs according to platform.", " :param str platform: platform to use. Options:", " * prod [DEFAULT]\n * qa\n * int\n<END>", "<BEGIN>\n## `convert_uuid`", "Convert a metadata UUID to its URI equivalent. And conversely.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_request_parameters 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 check_request_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Check parameters passed to avoid errors and help debug. :param dict response: search request parameters
"Check parameters passed to avoid errors and help debug.\n\n :param dict response: search request parameters"
154
false
isogeo/isogeo-api-py-minsdk
check_request_parameters
17,089
LDU_FT/laginha/django-mobileesp/detectMobileQuick
LDU_FT
[ "<BEGIN>\n## `detectIphone`", "Return detection of an iPhone", " Detects if the current device is an iPhone.\n<END>", "<BEGIN>\n## `detectIphoneOrIpod`", "Return detection of an iPhone or iPod Touch", " Detects if the current device is an iPhone or iPod Touch.\n<END>", "<BEGIN>\n## `detect...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detectMobileQuick API. 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 detectMobileQuick API. 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 detection of any mobile device using the quicker method Detects if the current device is a mobile device. This method catches most of the popular modern devices. Excludes Apple iPads and other modern tablets.
"Return detection of any mobile device using the quicker method\n\n Detects if the current device is a mobile device.\n This method catches most of the popular modern devices.\n Excludes Apple iPads and other modern tablets."
111
false
laginha/django-mobileesp
detectMobileQuick
17,090
LDU_FT/Clarify/clarify_python/search
LDU_FT
[ "<BEGIN>\n## `process_embed`", "Returns an embed field value based on the parameters.\n<END>", "<BEGIN>\n## `process_embed_override`", "Returns an embed field value based on the parameters.\n<END>", "<BEGIN>\n## `get_embedded_items`", "Given a result_collection (returned by a previous API call that\n r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. 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 search API. 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 ...
Search a media collection. 'href' the relative href to the bundle list to retriev. If None, the first bundle list will be returned. 'query' See API docs for full description. May not be None if href is None. 'query_fields' See API docs for full description. May be...
"Search a media collection.\n\n 'href' the relative href to the bundle list to retriev. If None,\n the first bundle list will be returned.\n 'query' See API docs for full description. May not be None if\n href is None.\n 'query_fields' See API docs for full description....
137
false
Clarify/clarify_python
search
17,091
LDU_FT/pytroll/satpy/precompute
LDU_FT
[ "<BEGIN>\n## `_get_coarse_dataset`", "Get the coarse dataset refered to by `key` from the XML data.\n<END>", "<BEGIN>\n## `get_dataset`", "Get output data and metadata of specified dataset.\n<END>", "<BEGIN>\n## `find_coefficient_index`", "Return index in to coefficient arrays for this band's wavelength."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the precompute API. 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 precompute API. 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...
Create a KDTree structure and store it for later use. Note: The `mask` keyword should be provided if geolocation may be valid where data points are invalid.
"Create a KDTree structure and store it for later use.\n\n Note: The `mask` keyword should be provided if geolocation may be valid\n where data points are invalid."
924
false
pytroll/satpy
precompute
17,092
LDU_FT/WZBSocialScienceCenter/tmtoolkit/print_ldamodel_topic_words
LDU_FT
[ "<BEGIN>\n## `compute_models_parallel`", "Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ldamodel_topic_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ldamodel_topic_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Print `n_top` values from a LDA model's topic-word distributions.
"Print `n_top` values from a LDA model's topic-word distributions."
135
false
WZBSocialScienceCenter/tmtoolkit
print_ldamodel_topic_words
17,093
LDU_FT/noxdafox/vminspect/eventlog
LDU_FT
[ "<BEGIN>\n## `keys`", "Iterates over the hive's keys.", " Yields WinRegKey namedtuples containing:", " path: path of the key \"RootKey\\\\Key\\\\...\"\n timestamp: date and time of last modification\n values: list of values ((\"ValueKey\", \"ValueType\", ValueValue), .....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eventlog API. 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 eventlog API. 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...
Iterates over the Events contained within the log at the given path. For each Event, yields a XML string.
"Iterates over the Events contained within the log at the given path.\n\n For each Event, yields a XML string."
123
false
noxdafox/vminspect
eventlog
17,094
LDU_FT/avelkoski/FRB/_data_frame
LDU_FT
[ "<BEGIN>\n## `all_releases`", "Function to request all releases of economic data.\n `<https://research.stlouisfed.org/docs/api/fred/releases.html>`_", " :arg str response_type: File extension of response. Options are 'xml', 'json',\n 'dict','df','numpy','csv','tab,'pipe'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _data_frame API. 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 _data_frame API. 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...
Helper funcation that converts text-based get response to a pandas dataframe for additional manipulation.
"Helper funcation that converts text-based get response\n to a pandas dataframe for additional manipulation."
40
false
avelkoski/FRB
_data_frame
17,095
LDU_FT/mdickinson/bigfloat/asin
LDU_FT
[ "<BEGIN>\n## `build`", "Build the bigfloat library for in-place testing.\n<END>", "<BEGIN>\n## `_quotient_exponent`", "Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>", "<BEGIN>\n## `mpfr_floordi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the asin API. 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 asin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return the inverse sine of ``x``. The mathematically exact result lies in the range [-π/2, π/2]. However, note that as a result of rounding to the current context, it's possible for the actual value to lie just outside this range.
"Return the inverse sine of ``x``.\n\n The mathematically exact result lies in the range [-π/2, π/2]. However,\n note that as a result of rounding to the current context, it's possible\n for the actual value to lie just outside this range."
273
false
mdickinson/bigfloat
asin
17,096
LDU_FT/eventable/vobject/transformToNative
LDU_FT
[ "<BEGIN>\n## `toVName`", "Turn a Python name into an iCalendar style name,\n optionally uppercase and with characters stripped off.\n<END>", "<BEGIN>\n## `dquoteEscape`", "Return param, or \"param\" if ',' or ';' or ':' is in param.\n<END>", "<BEGIN>\n## `readComponents`", "Generate one Component at a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transformToNative API. 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 transformToNative API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Transform this object into a custom VBase subclass. transformToNative should always return a representation of this object. It may do so by modifying self in place then returning self, or by creating a new object.
"Transform this object into a custom VBase subclass.\n\n transformToNative should always return a representation of this object.\n It may do so by modifying self in place then returning self, or by\n creating a new object."
138
false
eventable/vobject
transformToNative
17,097
LDU_FT/m32/endesive/parse_csv
LDU_FT
[ "<BEGIN>\n## `load_elements`", "Initialize the internal element structures\n<END>", "<BEGIN>\n## `parse_csv`", "Parse template format csv file and create elements dict\n<END>", "<BEGIN>\n## `split_multicell`", "Divide (\\n) a string using a given element width\n<END>", "<BEGIN>\n## `set_auto_page_break`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_csv API. 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 parse_csv API. 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...
Parse template format csv file and create elements dict
"Parse template format csv file and create elements dict"
23
false
m32/endesive
parse_csv
17,098
LDU_FT/ericsomdahl/python-bittrex/_api_query
LDU_FT
[ "<BEGIN>\n## `_api_query`", "Queries Bittrex", " :param request_url: fully-formed URL to request\n :type options: dict\n :return: JSON response from Bittrex\n :rtype : dict\n<END>", "<BEGIN>\n## `get_market_summary`", "Used to get the last 24 hour summary of all active\n e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Queries Bittrex :param request_url: fully-formed URL to request :type options: dict :return: JSON response from Bittrex :rtype : dict
"Queries Bittrex\n\n :param request_url: fully-formed URL to request\n :type options: dict\n :return: JSON response from Bittrex\n :rtype : dict"
58
false
ericsomdahl/python-bittrex
_api_query
17,099
LDU_FT/frascoweb/frasco-users/gen_reset_password_token
LDU_FT
[ "<BEGIN>\n## `generate_user_token`", "Generates a unique token associated to the user\n<END>", "<BEGIN>\n## `find_by_token`", "Loads a user instance identified by the token generated using generate_user_token()\n<END>", "<BEGIN>\n## `_login`", "Updates user attributes and login the user in flask-login\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_reset_password_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_reset_password_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Generates a reset password token and optionnaly (default to yes) send the reset password email
"Generates a reset password token and optionnaly (default to yes) send the reset\n password email"
24
false
frascoweb/frasco-users
gen_reset_password_token
17,100
LDU_FT/JnyJny/Geometry/doesIntersect
LDU_FT
[ "<BEGIN>\n## `nearly_eq`", "implementation based on:", " http://floating-point-gui.de/errors/comparison/\n<END>", "<BEGIN>\n## `_convert`", ":other: Point or point equivalent\n :ignorescalars: optional boolean\n :return: Point", " Class private method for converting 'other' into a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the doesIntersect API. 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 doesIntersect API. 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...
:param: other - Line subclass :return: boolean Returns True iff: ccw(self.A,self.B,other.A) * ccw(self.A,self.B,other.B) <= 0 and ccw(other.A,other.B,self.A) * ccw(other.A,other.B,self.B) <= 0
":param: other - Line subclass\n :return: boolean\n\n Returns True iff:\n ccw(self.A,self.B,other.A) * ccw(self.A,self.B,other.B) <= 0\n and\n ccw(other.A,other.B,self.A) * ccw(other.A,other.B,self.B) <= 0"
184
false
JnyJny/Geometry
doesIntersect
17,101
LDU_FT/aganezov/bg/__has_edge
LDU_FT
[ "<BEGIN>\n## `add_edge`", "Adds a new edge to the current tree with specified characteristics", " Forbids addition of an edge, if a parent node is not present\n Forbids addition of an edge, if a child node already exists", " :param node1_name: name of the parent node, to which an edge sha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __has_edge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __has_edge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns a boolean flag, telling if a tree has an edge with two nodes, specified by their names as arguments If a account_for_direction is specified as True, the order of specified node names has to relate to parent - child relation, otherwise both possibilities are checked
"Returns a boolean flag, telling if a tree has an edge with two nodes, specified by their names as arguments\n\n If a account_for_direction is specified as True, the order of specified node names has to relate to parent - child relation,\n otherwise both possibilities are checked"
226
false
aganezov/bg
__has_edge
17,102
LDU_FT/pushyzheng/flask-rabbitmq/declare_consuming
LDU_FT
[ "<BEGIN>\n## `bind_topic_exchange`", "绑定主题交换机和队列\n :param exchange_name: 需要绑定的交换机名\n :param routing_key:\n :param queue_name: 需要绑定的交换机队列名\n :return:\n<END>", "<BEGIN>\n## `declare_queue`", "声明一个队列\n :param queue_name: 队列名\n :param passive:\n :param durable:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the declare_consuming API. 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_consuming API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
声明一个主题交换机队列,并且将队列和交换机进行绑定,同时监听这个队列 :param exchange_name: :param routing_key: :param queue_name: :param callback: :return:
"声明一个主题交换机队列,并且将队列和交换机进行绑定,同时监听这个队列\n :param exchange_name:\n :param routing_key:\n :param queue_name:\n :param callback:\n :return:"
16
false
pushyzheng/flask-rabbitmq
declare_consuming
17,103
LDU_FT/sepandhaghighi/pycm/statistic_recommend
LDU_FT
[ "<BEGIN>\n## `print_report`", "Print Compare report.", " :return: None\n<END>", "<BEGIN>\n## `save_report`", "Save Compare report in .comp (flat file format).", " :param name: filename\n :type name : str\n :param address: flag for address return\n :type address : bool\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the statistic_recommend 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 statistic_recommend 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...
Return recommend parameters which are more suitable due to the input dataset characteristics. :param classes: all classes name :type classes : list :param P: condition positive :type P : dict :return: recommendation_list as list
"Return recommend parameters which are more suitable due to the input dataset characteristics.\n\n :param classes: all classes name\n :type classes : list\n :param P: condition positive\n :type P : dict\n :return: recommendation_list as list"
259
false
sepandhaghighi/pycm
statistic_recommend
17,104
LDU_FT/aio-libs/aiobotocore/read
LDU_FT
[ "<BEGIN>\n## `read`", "Read at most amt bytes from the stream.", " If the amt argument is omitted, read all data.\n<END>", "<BEGIN>\n## `iter_lines`", "Return an iterator to yield lines from the raw stream.", " This is achieved by reading chunk of bytes (of size chunk_size) at a\n tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do...
Read at most amt bytes from the stream. If the amt argument is omitted, read all data.
"Read at most amt bytes from the stream.\n\n If the amt argument is omitted, read all data."
23
false
aio-libs/aiobotocore
read
17,105
LDU_FT/pycontribs/python-crowd/search
LDU_FT
[ "<BEGIN>\n## `_get`", "Wrapper around Requests for GET requests", " Returns:\n Response:\n A Requests Response object\n<END>", "<BEGIN>\n## `_get_xml`", "Wrapper around Requests for GET XML requests", " Returns:\n Response:\n A Requests Res...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. 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 search API. 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 ...
Performs a user search using the Crowd search API. https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources#CrowdRESTResources-SearchResource Args: entity_type: 'user' or 'group' property_name: eg. 'email', 'name' search_string: the string to search for...
"Performs a user search using the Crowd search API.\n\n https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources#CrowdRESTResources-SearchResource\n\n Args:\n entity_type: 'user' or 'group'\n property_name: eg. 'email', 'name'\n search_string: the string to se...
102
false
pycontribs/python-crowd
search
17,106
LDU_FT/thriftrw/thriftrw-python/add_const_spec
LDU_FT
[ "<BEGIN>\n## `add_include`", "Adds a module as an included module.", " :param name:\n Name under which the included module should be exposed in the\n current module.\n :param module_spec:\n ModuleSpec of the included module.\n<END>", "<BEGIN>\n## `link`", "Link...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_const_spec API. 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 add_const_spec API. 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...
Adds a ConstSpec to the compliation scope. If the ConstSpec's ``save`` attribute is True, the constant will be added to the module at the top-level.
"Adds a ConstSpec to the compliation scope.\n\n If the ConstSpec's ``save`` attribute is True, the constant will be\n added to the module at the top-level."
135
false
thriftrw/thriftrw-python
add_const_spec
17,107
LDU_FT/crunchyroll/ef-open/precheck
LDU_FT
[ "<BEGIN>\n## `services`", "Args:\n service_group: optional name of service group\n Returns:\n if service_group is omitted or None, flattened dict of all service records in the service registry\n if service_group is present, dict of service records in that group\n<END>", "<BEGIN>\n## `iter_serv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the precheck API. 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 precheck API. 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...
calls a function named "precheck_<key>" where <key> is context_key with '-' changed to '_' (e.g. "precheck_ami_id") Checking function should return True if OK, or raise RuntimeError w/ message if not Args: context: a populated EFVersionContext object Returns: True if the precheck passed, or if there was...
"calls a function named \"precheck_<key>\" where <key> is context_key with '-' changed to '_'\n (e.g. \"precheck_ami_id\")\n Checking function should return True if OK, or raise RuntimeError w/ message if not\n Args:\n context: a populated EFVersionContext object\n Returns:\n True if the precheck passed, or i...
231
false
crunchyroll/ef-open
precheck
17,108
LDU_FT/paulovn/sparql-kernel/gtype
LDU_FT
[ "<BEGIN>\n## `token_at_cursor`", "Find the token present at the passed position in the code buffer\n :return (tuple): a pair (token, start_position)\n<END>", "<BEGIN>\n## `_send`", "Send a response to the frontend and return an execute message\n @param data: response to send\n @param msg_t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gtype API. 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 gtype API. 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 the a string with the data type of a value, for Graph data
"Return the a string with the data type of a value, for Graph data"
55
false
paulovn/sparql-kernel
gtype
17,109
LDU_FT/quadrismegistus/prosodic/use
LDU_FT
[ "<BEGIN>\n## `loadLanguage`", "This function loads up a language configuration file and returns\n\tthe configuration to be passed to the syllabify function.\n<END>", "<BEGIN>\n## `syllabify`", "Syllabifies the word, given a language configuration loaded with loadLanguage.\n\t word is either a string of phon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use API. 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 use API. 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...
HACKED 9/29/16: No longer caching SyllableBodies. Reuse was causing bugs. More thorough solution would be helpful.
"HACKED 9/29/16: No longer caching SyllableBodies. Reuse was causing bugs. More thorough solution would be helpful."
80
false
quadrismegistus/prosodic
use
17,110
LDU_FT/b3j0f/schema/unregister
LDU_FT
[ "<BEGIN>\n## `_getter`", "Called when the parent element tries to get this property value.", " :param obj: parent object.\n<END>", "<BEGIN>\n## `_setter`", "Called when the parent element tries to set this property value.", " :param obj: parent object.\n :param value: new value to use...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API. 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 unregister API. 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...
Unregister a schema registered with input uuid. :raises: KeyError if uuid is not already registered.
"Unregister a schema registered with input uuid.\n\n :raises: KeyError if uuid is not already registered."
101
false
b3j0f/schema
unregister
17,111
LDU_FT/jbarlow83/OCRmyPDF/do_ruffus_exception
LDU_FT
[ "<BEGIN>\n## `re_symlink`", "Helper function: relinks soft symbolic link if necessary\n<END>", "<BEGIN>\n## `is_file_writable`", "Intentionally racy test if target is writable.", " We intend to write to the output file if and only if we succeed and\n can replace it atomically. Before doing the OCR wor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_ruffus_exception 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 do_ruffus_exception 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...
Replace the elaborate ruffus stack trace with a user friendly description of the error message that occurred.
"Replace the elaborate ruffus stack trace with a user friendly\n description of the error message that occurred."
195
false
jbarlow83/OCRmyPDF
do_ruffus_exception
17,112
LDU_FT/huggingface/pytorch-pretrained-BERT/forward
LDU_FT
[ "<BEGIN>\n## `from_json_file`", "Constructs a `GPT2Config` from a json file of parameters.\n<END>", "<BEGIN>\n## `from_pretrained`", "Instantiate a GPT2PreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.", " Params:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward API. 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 forward API. 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...
Params: input_ids :: [bsz, len] target :: [bsz, len] Returns: tuple(softmax_output, new_mems) where: new_mems: list (num layers) of hidden states at the entry of each layer shape :: [mem_len, bsz, self.config.d_model...
"Params:\n input_ids :: [bsz, len]\n target :: [bsz, len]\n Returns:\n tuple(softmax_output, new_mems) where:\n new_mems: list (num layers) of hidden states at the entry of each layer\n shape :: [mem_len, bsz, self.config....
115
false
huggingface/pytorch-pretrained-BERT
forward
17,113
LDU_FT/SecurityInnovation/PGPy/key_size
LDU_FT
[ "<BEGIN>\n## `decrypt_sk`", "The value \"m\" in the above formulas is derived from the session key\n as follows. First, the session key is prefixed with a one-octet\n algorithm identifier that specifies the symmetric encryption\n algorithm used to encrypt the following Symmetrically Encrypte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key_size API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
*new in 0.4.1* The size pertaining to this key. ``int`` for non-EC key algorithms; :py:obj:`constants.EllipticCurveOID` for EC keys.
"*new in 0.4.1*\n The size pertaining to this key. ``int`` for non-EC key algorithms; :py:obj:`constants.EllipticCurveOID` for EC keys."
197
false
SecurityInnovation/PGPy
key_size
17,114
LDU_FT/eight04/pyAPNG/open_any
LDU_FT
[ "<BEGIN>\n## `parse_chunks`", "Parse PNG bytes into multiple chunks. ", "\t:arg bytes b: The raw bytes of the PNG file.\n\t:return: A generator yielding :class:`Chunk`.\n\t:rtype: Iterator[Chunk]\n<END>", "<BEGIN>\n## `make_chunk`", "Create a raw chunk by composing chunk type and data. It\n\tcalculates chun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_any API. 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 open_any API. 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...
Open an image file. If the image is not PNG format, it would convert the image into PNG with Pillow module. If the module is not installed, :class:`ImportError` would be raised. :arg file: Input file. :type file: path-like or file-like :rtype: :class:`PNG`
"Open an image file. If the image is not PNG format, it would convert\n\t\tthe image into PNG with Pillow module. If the module is not\n\t\tinstalled, :class:`ImportError` would be raised.\n\t\t\n\t\t:arg file: Input file.\n\t\t:type file: path-like or file-like\n\t\t:rtype: :class:`PNG`"
58
false
eight04/pyAPNG
open_any
17,115
LDU_FT/billy-yoyo/RainbowSixSiege-Python-API/connect
LDU_FT
[ "<BEGIN>\n## `connect`", "|coro|", " Connect to ubisoft, automatically called when needed\n<END>", "<BEGIN>\n## `get_players`", "|coro|", " get a list of players matching the term on that platform,\n exactly one of uid and name must be given, platform must be given,\n this list...
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...
|coro| Connect to ubisoft, automatically called when needed
"|coro|\n\n Connect to ubisoft, automatically called when needed"
87
false
billy-yoyo/RainbowSixSiege-Python-API
connect
17,116
LDU_FT/dubsmash/config-reader/get_string_list
LDU_FT
[ "<BEGIN>\n## `_read_file_data`", "Attempts to read the contents of the given configuration file.\n :param path: Path to a configuration file.\n :raises: ConfigParseError if file does not exist or cannot be read.\n :return: Dictionary of configuration data.\n<END>", "<BEGIN>\n## `get_int`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_string_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_string_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Tries to fetch a string which could be composed of multiple lines, with each line having some sort of separator. Try to convert the string fetched into a list by separating on the given separator, defaulting to the newline character. If the string is not present we just return None. :param key: ...
"Tries to fetch a string which could be composed of multiple lines, with each line having some sort of\n separator. Try to convert the string fetched into a list by separating on the given separator, defaulting to\n the newline character. If the string is not present we just return None.\n :param k...
17
false
dubsmash/config-reader
get_string_list
17,117
LDU_FT/NICTA/revrand/make_polynomial
LDU_FT
[ "<BEGIN>\n## `fit`", "r\"\"\"\n Learn the parameters of a Bayesian generalized linear model (GLM).", " Parameters\n ----------\n X : ndarray\n (N, d) array input dataset (N samples, d dimensions).\n y : ndarray\n (N,) array targets (N samples)\n li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_polynomial API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_polynomial API. 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...
Generate a noisy polynomial for a regression problem Examples -------- >>> X, y, coefs = make_polynomial(degree=3, n_samples=200, noise=.5, ... return_coefs=True, random_state=1)
"Generate a noisy polynomial for a regression problem\n\n Examples\n --------\n >>> X, y, coefs = make_polynomial(degree=3, n_samples=200, noise=.5,\n ... return_coefs=True, random_state=1)"
535
false
NICTA/revrand
make_polynomial
17,118
LDU_FT/openstack/proliantutils/volumes_maximum_size_bytes
LDU_FT
[ "<BEGIN>\n## `_exec_ipmitool`", "Execute the ipmitool command.", " This uses the lanplus interface to communicate with the BMC device driver.", " :param driver_info: the ipmitool parameters for accessing a node.\n :param command: the ipmitool command to be executed.\n<END>", "<BEGIN>\n## `get_nic_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the volumes_maximum_size_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the volumes_maximum_size_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Gets the biggest logical drive :returns the size in MiB.
"Gets the biggest logical drive\n\n :returns the size in MiB."
929
false
openstack/proliantutils
volumes_maximum_size_bytes
17,119
LDU_FT/aio-libs/aiohttp-devtools/log_config
LDU_FT
[ "<BEGIN>\n## `modify_main_app`", "Modify the app we're serving to make development easier, eg.\n * modify responses to add the livereload snippet\n * set ``static_root_url`` on the app\n * setup the debug toolbar\n<END>", "<BEGIN>\n## `src_reload`", "prompt each connected browser to reload by sending...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Setup default config. for dictConfig. :param verbose: level: DEBUG if True, INFO if False :return: dict suitable for ``logging.config.dictConfig``
"Setup default config. for dictConfig.\n :param verbose: level: DEBUG if True, INFO if False\n :return: dict suitable for ``logging.config.dictConfig``"
32
false
aio-libs/aiohttp-devtools
log_config
17,120
LDU_FT/QuantEcon/QuantEcon.py/gridmake
LDU_FT
[ "<BEGIN>\n## `backward_induction`", "r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.", " The optimal value fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gridmake API. 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 gridmake API. 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...
Expands one or more vectors (or matrices) into a matrix where rows span the cartesian product of combinations of the input arrays. Each column of the input arrays will correspond to one column of the output matrix. Parameters ---------- *arrays : tuple/list of np.ndarray Tuple/list of...
"Expands one or more vectors (or matrices) into a matrix where rows span the\n cartesian product of combinations of the input arrays. Each column of the\n input arrays will correspond to one column of the output matrix.\n\n Parameters\n ----------\n *arrays : tuple/list of np.ndarray\n Tuple...
1,292
true
QuantEcon/QuantEcon.py
gridmake
17,121
LDU_FT/micolous/python-slackrealtime/_update_deferred
LDU_FT
[ "<BEGIN>\n## `sendCommand`", "Sends a raw command to the Slack server, generating a message ID automatically.\n<END>", "<BEGIN>\n## `sendChatMessage`", "Sends a chat message to a given id, user, group or channel.", "\t\tIf the API token is not a bot token (xoxb), ``send_with_api`` may be set\n\t\tto True. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_deferred API. 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 _update_deferred API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This does the actual work of updating channel metadata. This is called by the update(), and runs this method in another thread.
"This does the actual work of updating channel metadata. This is called\n\t\tby the update(), and runs this method in another thread."
27
false
micolous/python-slackrealtime
_update_deferred
17,122
LDU_FT/arneb/django-messages/undelete
LDU_FT
[ "<BEGIN>\n## `save_model`", "Saves the message for the recipient and looks in the form instance\n for other possible recipients. Prevents duplication by excludin the\n original recipient from the list of optional recipients.", " When changing an existing message and choosing optional recipi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the undelete API. 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 undelete API. 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...
Recovers a message from trash. This is achieved by removing the ``(sender|recipient)_deleted_at`` from the model.
"Recovers a message from trash. This is achieved by removing the\n ``(sender|recipient)_deleted_at`` from the model."
35
false
arneb/django-messages
undelete
17,123
LDU_FT/ronaldguillen/wave/save
LDU_FT
[ "<BEGIN>\n## `template_render`", "Passing Context or RequestContext to Template.render is deprecated in 1.9+,\n see https://github.com/django/django/pull/3883 and\n https://github.com/django/django/blob/1.9rc1/django/template/backends/django.py#L82-L84", " :param template: Template instance\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save and return a list of object instances.
"Save and return a list of object instances."
296
false
ronaldguillen/wave
save
17,124
LDU_FT/indranilsinharoy/pyzos/_delete_file
LDU_FT
[ "<BEGIN>\n## `get_callable_method_dict`", "Returns a dictionary of callable methods of object `obj`.", " @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods", " Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Cleanly deletes a file in `n` attempts (if necessary)
"Cleanly deletes a file in `n` attempts (if necessary)"
48
false
indranilsinharoy/pyzos
_delete_file
17,125
LDU_FT/twidi/django-adv-cache-tag/join_content_version
LDU_FT
[ "<BEGIN>\n## `prepare_params`", "Prepare the parameters passed to the templatetag\n<END>", "<BEGIN>\n## `get_expire_time`", "Return the expire time passed to the templatetag.\n Must be None or an integer.\n<END>", "<BEGIN>\n## `get_version`", "Return the stringified version passed to the templateta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_content_version 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 join_content_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Add the version(s) to the content to cache : internal version at first and then the template version if versioning is activated. Each version, and the content, are separated with `VERSION_SEPARATOR`. This method is called after the encoding (if "compress" or "compress_spaces" options are...
"Add the version(s) to the content to cache : internal version at first\n and then the template version if versioning is activated.\n Each version, and the content, are separated with `VERSION_SEPARATOR`.\n This method is called after the encoding (if \"compress\" or\n \"compress_spaces\" op...
34
false
twidi/django-adv-cache-tag
join_content_version
17,126
LDU_FT/geographika/mappyfile/findall
LDU_FT
[ "<BEGIN>\n## `standardise_quotes`", "Change the quotes used to wrap a value to the pprint default\n E.g. \"val\" to 'val' or 'val' to \"val\"\n<END>", "<BEGIN>\n## `process_key_dict`", "Process key value dicts e.g. METADATA \"key\" \"value\"\n<END>", "<BEGIN>\n## `process_repeated_list`", "Process ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findall API. 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 findall API. 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 all items in lst where key matches value. For example find all ``LAYER`` s in a ``MAP`` where ``GROUP`` equals ``VALUE`` Parameters ---------- list: list A list of composite dictionaries e.g. ``layers``, ``classes`` key: string The key name to search each dictionary in the lis...
"Find all items in lst where key matches value.\n For example find all ``LAYER`` s in a ``MAP`` where ``GROUP`` equals ``VALUE``\n\n Parameters\n ----------\n\n list: list\n A list of composite dictionaries e.g. ``layers``, ``classes``\n key: string\n The key name to search each dictionary ...
184
false
geographika/mappyfile
findall
17,127
LDU_FT/wtolson/gnsq/start
LDU_FT
[ "<BEGIN>\n## `read_response`", "Read an individual response from nsqd.", " :returns: tuple of the frame type and the processed data.\n<END>", "<BEGIN>\n## `identify`", "Update client metadata on the server and negotiate features.", " :returns: nsqd response data if there was feature negotiat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. 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 start API. 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...
Start discovering and listing to connections.
"Start discovering and listing to connections."
96
false
wtolson/gnsq
start
17,128
LDU_FT/xolox/python-coloredlogs/check_style
LDU_FT
[ "<BEGIN>\n## `install`", "Enable colored terminal output for Python's :mod:`logging` module.", " :param level: The default logging level (an integer or a string with a\n level name, defaults to :data:`DEFAULT_LOG_LEVEL`).\n :param logger: The logger to which the stream handler should be a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_style API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_style API. 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...
Validate a logging format style. :param value: The logging format style to validate (any value). :returns: The logging format character (a string of one character). :raises: :exc:`~exceptions.ValueError` when the given style isn't supported. On Python 3.2+ this function accepts the logging format styl...
"Validate a logging format style.\n\n :param value: The logging format style to validate (any value).\n :returns: The logging format character (a string of one character).\n :raises: :exc:`~exceptions.ValueError` when the given style isn't supported.\n\n On Python 3.2+ this function accepts the logging form...
191
false
xolox/python-coloredlogs
check_style
17,129
LDU_FT/andrenarchy/krypy/get_explicit_resnorms
LDU_FT
[ "<BEGIN>\n## `find_common_dtype`", "Returns common dtype of numpy and scipy objects.", " Recognizes ndarray, spmatrix and LinearOperator. All other objects are\n ignored (most notably None).\n<END>", "<BEGIN>\n## `shape_vecs`", "Reshape all ndarrays with ``shape==(n,)`` to ``shape==(n,1)``.", " R...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_explicit_resnorms API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_explicit_resnorms API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Explicitly computes the Ritz residual norms.
"Explicitly computes the Ritz residual norms."
194
false
andrenarchy/krypy
get_explicit_resnorms
17,130
LDU_FT/COALAIP/pycoalaip/use_model_attr
LDU_FT
[ "<BEGIN>\n## `_copy_context_into_mutable`", "Copy a properly formatted context into a mutable data structure.\n<END>", "<BEGIN>\n## `_make_context_immutable`", "Best effort attempt at turning a properly formatted context\n (either a string, dict, or array of strings and dicts) into an\n immutable data s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_model_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the use_model_attr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Use the validator set on a separate attribute on the class.
"Use the validator set on a separate attribute on the class."
49
false
COALAIP/pycoalaip
use_model_attr
17,131
LDU_FT/python-hyper/brotlipy/_set_parameter
LDU_FT
[ "<BEGIN>\n## `decompress`", "Decompress a complete Brotli-compressed string.", " :param data: A bytestring containing Brotli-compressed data.\n<END>", "<BEGIN>\n## `compress`", "Compress a string using Brotli.", " .. versionchanged:: 0.5.0\n Added ``mode``, ``quality``, `lgwin``, ``lgblock``, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_parameter API. 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 _set_parameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
This helper function sets a specific Brotli encoder parameter, checking the return code and raising :class:`Error <brotli.Error>` if it is invalid.
"This helper function sets a specific Brotli encoder parameter, checking\n the return code and raising :class:`Error <brotli.Error>` if it is\n invalid."
27
false
python-hyper/brotlipy
_set_parameter
17,132
LDU_FT/striglia/stockfighter/status_for_all_orders_in_a_stock
LDU_FT
[ "<BEGIN>\n## `_load_data`", "Internal method for querying the GM api for currently running levels\n and storing that state.\n<END>", "<BEGIN>\n## `heartbeat`", "Check The API Is Up.", " https://starfighter.readme.io/docs/heartbeat\n<END>", "<BEGIN>\n## `venue_healthcheck`", "Check A Venue ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status_for_all_orders_in_a_stock 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 status_for_all_orders_in_a_stock API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Status for all orders in a stock https://starfighter.readme.io/docs/status-for-all-orders-in-a-stock
"Status for all orders in a stock\n\n https://starfighter.readme.io/docs/status-for-all-orders-in-a-stock"
29
false
striglia/stockfighter
status_for_all_orders_in_a_stock
17,133
LDU_FT/seb-m/pyinotify/dump
LDU_FT
[ "<BEGIN>\n## `compatibility_mode`", "Use this function to turn on the compatibility mode. The compatibility\n mode is used to improve compatibility with Pyinotify 0.7.1 (or older)\n programs. The compatibility mode provides additional variables 'is_dir',\n 'event_name', 'EventsCodes.IN_*' and 'EventsCode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Dumps statistics. @param filename: filename where stats will be dumped, filename is created and must not exist prior to this call. @type filename: string
"Dumps statistics.\n\n @param filename: filename where stats will be dumped, filename is\n created and must not exist prior to this call.\n @type filename: string"
107
false
seb-m/pyinotify
dump
17,134
LDU_FT/pyQode/pyqode.core/_append_message
LDU_FT
[ "<BEGIN>\n## `on_install`", "Add the folding menu to the editor, on install.", " :param editor: editor instance on which the mode has been installed to.\n<END>", "<BEGIN>\n## `_draw_rect`", "Draw the background rectangle using the current style primitive color\n or foldIndicatorBackground if n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Parses text and executes parsed operations.
"Parses text and executes parsed operations."
697
false
pyQode/pyqode.core
_append_message
17,135
LDU_FT/raphaelm/python-sepaxml/_finalize_batch
LDU_FT
[ "<BEGIN>\n## `check_payment`", "Check the payment for required fields and validity.\n @param payment: The payment dict\n @return: True if valid, error string if invalid paramaters where\n encountered.\n<END>", "<BEGIN>\n## `add_payment`", "Function to add payments\n @param payment:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finalize_batch API. 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 _finalize_batch API. 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...
Method to finalize the batch, this will iterate over the _batches dict and create a PmtInf node for each batch. The correct information (from the batch_key and batch_totals) will be inserted and the batch transaction nodes will be folded. Finally, the batches will be added to the main XM...
"Method to finalize the batch, this will iterate over the _batches dict\n and create a PmtInf node for each batch. The correct information (from\n the batch_key and batch_totals) will be inserted and the batch\n transaction nodes will be folded. Finally, the batches will be added to\n the ma...
45
false
raphaelm/python-sepaxml
_finalize_batch
17,136
LDU_FT/trevorstephens/gplearn/_depth
LDU_FT
[ "<BEGIN>\n## `_parallel_evolve`", "Private function used to build a batch of programs within a job.\n<END>", "<BEGIN>\n## `_verbose_reporter`", "A report of the progress of the evolution process.", " Parameters\n ----------\n run_details : dict\n Information about the evoluti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _depth API. 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 _depth API. 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 ...
Calculates the maximum depth of the program tree.
"Calculates the maximum depth of the program tree."
103
false
trevorstephens/gplearn
_depth
17,137
LDU_FT/shreyaspotnis/rampage/StartAndWait
LDU_FT
[ "<BEGIN>\n## `updateAllKeys`", "Update times for all keys in the layout.\n<END>", "<BEGIN>\n## `set_output`", "Sets whether the function generator is outputting a voltage.\n<END>", "<BEGIN>\n## `set_fm_ext`", "Sets the func generator to frequency modulation with external modulation.\n freq is the c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StartAndWait API. 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 StartAndWait API. 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...
Starts the task and waits until it is done.
"Starts the task and waits until it is done."
90
false
shreyaspotnis/rampage
StartAndWait
17,138
LDU_FT/boatd/python-boatd/distance_to
LDU_FT
[ "<BEGIN>\n## `from_radians`", "Return a new instance of Point from a pair of coordinates in radians.\n<END>", "<BEGIN>\n## `distance_to`", "Return the distance between this point and another point in meters.", " :param point: Point to measure distance to\n :type point: Point", " :retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_to API. 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 distance_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the distance between this point and another point in meters. :param point: Point to measure distance to :type point: Point :returns: The distance to the other point :rtype: float
"Return the distance between this point and another point in meters.\n\n :param point: Point to measure distance to\n :type point: Point\n\n :returns: The distance to the other point\n :rtype: float"
49
false
boatd/python-boatd
distance_to
17,139
LDU_FT/unt-libraries/pyuntl/py2dict
LDU_FT
[ "<BEGIN>\n## `normalize_LCSH`", "Normalize a LCSH subject heading prior to indexing.\n<END>", "<BEGIN>\n## `normalize_UNTL`", "Normalize a UNTL subject heading for consistency.\n<END>", "<BEGIN>\n## `UNTL_to_encodedUNTL`", "Normalize a UNTL subject heading to be used in SOLR.\n<END>", "<BEGIN>\n## `untl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the py2dict API. 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 py2dict API. 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...
Convert a Python object into a Python dictionary.
"Convert a Python object into a Python dictionary."
144
false
unt-libraries/pyuntl
py2dict
17,140
LDU_FT/pauleveritt/kaybee/stamp_excerpt
LDU_FT
[ "<BEGIN>\n## `render`", "Given a Sphinx builder and context with sphinx_app in it,\n generate HTML\n<END>", "<BEGIN>\n## `in_navitem`", "Given href of nav item, determine if resource is in it\n<END>", "<BEGIN>\n## `is_published`", "Return true if this resource has published date in the past\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stamp_excerpt API. 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 stamp_excerpt API. 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...
Walk the tree and extract excert into resource.excerpt
"Walk the tree and extract excert into resource.excerpt"
71
false
pauleveritt/kaybee
stamp_excerpt
17,141
LDU_FT/PedalPi/PluginsManager/load
LDU_FT
[ "<BEGIN>\n## `load`", "Load the index file and reorder the banks based in order listed in index", " :param list[Indexable] indexables: Banks that will be reordered based in index file\n :return list[Bank]: Banks reordered\n<END>", "<BEGIN>\n## `register`", "Register an observer for it be notif...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a :class:`.BanksManager` instance contains the banks present in :attr:`~pluginsmanager.observer.autosaver.autosaver.Autosaver.data_path` :param SystemEffect system_effect: SystemEffect used in pedalboards :return BanksManager: :class:`.BanksManager` with banks persisted in ...
"Return a :class:`.BanksManager` instance contains the banks present in\n :attr:`~pluginsmanager.observer.autosaver.autosaver.Autosaver.data_path`\n\n :param SystemEffect system_effect: SystemEffect used in pedalboards\n :return BanksManager: :class:`.BanksManager` with banks persisted in\n ...
139
false
PedalPi/PluginsManager
load
17,142
LDU_FT/GoogleCloudPlatform/appengine-pipelines/_get_task_target
LDU_FT
[ "<BEGIN>\n## `_get_task_target`", "Get the default target for a pipeline task.", " Current version id format is: user_defined_version.minor_version_number\n Current module id is just the module's name. It could be \"default\"", " Returns:\n A complete target name is of format version.module. If module i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_task_target API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_task_target API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get the default target for a pipeline task. Current version id format is: user_defined_version.minor_version_number Current module id is just the module's name. It could be "default" Returns: A complete target name is of format version.module. If module is the default module, just version. None if target ...
"Get the default target for a pipeline task.\n\n Current version id format is: user_defined_version.minor_version_number\n Current module id is just the module's name. It could be \"default\"\n\n Returns:\n A complete target name is of format version.module. If module is the\n default module, just version. None ...
222
false
GoogleCloudPlatform/appengine-pipelines
_get_task_target
17,143
LDU_FT/honzajavorek/tipi/_is_replacement_allowed
LDU_FT
[ "<BEGIN>\n## `parent_tags`", "Provides tags of all parent HTML elements.\n<END>", "<BEGIN>\n## `involved_tags`", "Provides all HTML tags directly involved in this string.\n<END>", "<BEGIN>\n## `_parse`", "Parse given string as HTML and return it's etree representation.\n<END>", "<BEGIN>\n## `_analyze_tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_replacement_allowed 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 _is_replacement_allowed API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Tests whether replacement is allowed on given piece of HTML text.
"Tests whether replacement is allowed on given piece of HTML text."
18
false
honzajavorek/tipi
_is_replacement_allowed
17,144
LDU_FT/EndurantDevs/webargs-sanic/handle_404
LDU_FT
[ "<BEGIN>\n## `handle_404`", "Handle 404 Not Found\n This handler should be used to handle error http 404 not found for all\n endpoints or if resource not available.\n<END>", "<BEGIN>\n## `format_error`", "Formatting JSON API Error Object\n Constructing an error object based on JSON API standard\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_404 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_404 API. 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...
Handle 404 Not Found This handler should be used to handle error http 404 not found for all endpoints or if resource not available.
"Handle 404 Not Found\n This handler should be used to handle error http 404 not found for all\n endpoints or if resource not available."
15
false
EndurantDevs/webargs-sanic
handle_404
17,145
LDU_FT/spyder-ide/spyder/_write_to_file
LDU_FT
[ "<BEGIN>\n## `set_bracket_matcher_color_scheme`", "Set color scheme for matched parentheses.\n<END>", "<BEGIN>\n## `long_banner`", "Banner for IPython widgets with pylab message\n<END>", "<BEGIN>\n## `reset_namespace`", "Reset the namespace by removing all names defined by the user.\n<END>", "<BEGIN>\n#...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_to_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_to_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Low-level function for writing text of editor to file. Args: fileinfo: FileInfo object associated to editor to be saved filename: str with filename to save to This is a low-level function that only saves the text to file in the correct encoding without doing any ...
"Low-level function for writing text of editor to file.\r\n\r\n Args:\r\n fileinfo: FileInfo object associated to editor to be saved\r\n filename: str with filename to save to\r\n\r\n This is a low-level function that only saves the text to file in the\r\n correct encoding wit...
2,144
true
spyder-ide/spyder
_write_to_file
17,146
LDU_FT/xhtml2pdf/xhtml2pdf/_parseAtNamespace
LDU_FT
[ "<BEGIN>\n## `pisaParser`", "- Parse HTML and get miniDOM\n - Extract CSS informations, add default CSS, parse CSS\n - Handle the document DOM itself and build reportlab story\n - Return Context object\n<END>", "<BEGIN>\n## `splitIntoLines`", "Split text into lines and calculate X positions. If we ne...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parseAtNamespace API. 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 _parseAtNamespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
namespace : @namespace S* [IDENT S*]? [STRING|URI] S* ';' S*
"namespace :\n\n @namespace S* [IDENT S*]? [STRING|URI] S* ';' S*"
134
false
xhtml2pdf/xhtml2pdf
_parseAtNamespace
17,147
LDU_FT/nesaro/pydsl/graph_from_alphabet
LDU_FT
[ "<BEGIN>\n## `check`", "Checks if the input follows the definition\n<END>", "<BEGIN>\n## `formatchecker_factory`", "Converts a dictionary of strings:checkers into a formatchecker object\n<END>", "<BEGIN>\n## `item_set_goto`", "returns an itemset\n locate inside itemset every element with inputsymbol fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph_from_alphabet 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 graph_from_alphabet 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...
Creates a graph that connects the base with the target through alphabets If every target is connected to any inputs, create the independent paths
"Creates a graph that connects the base with the target through alphabets\n If every target is connected to any inputs, create the independent paths"
32
false
nesaro/pydsl
graph_from_alphabet
17,148
LDU_FT/thebigmunch/google-music/config
LDU_FT
[ "<BEGIN>\n## `download`", "Download a song from a Google Music library.", "\t\tParameters:\n\t\t\tsong (dict): A song dict.", "\t\tReturns:\n\t\t\ttuple: Song content as bytestring, suggested filename.\n<END>", "<BEGIN>\n## `quota`", "Get the uploaded track count and allowance.", "\t\tReturns:\n\t\t\ttu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Get a listing of mobile client configuration settings.
"Get a listing of mobile client configuration settings."
268
false
thebigmunch/google-music
config
17,149
LDU_FT/scottgigante/tasklogger/complete_task
LDU_FT
[ "<BEGIN>\n## `set_level`", "Set the logging level", " Parameters\n ----------\n level : `int` or `bool` (optional, default: 1)\n If False or 0, prints WARNING and higher messages.\n If True or 1, prints INFO and higher messages.\n If 2 or higher, prints all ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complete_task API. 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 complete_task API. 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...
Complete logging of a task Returns the time lapsed since `start_task` was called Parameters ---------- task : str Name of the task to be started Returns ------- time : float The time lapsed between task start and completion
"Complete logging of a task\n\n Returns the time lapsed since `start_task` was called\n\n Parameters\n ----------\n task : str\n Name of the task to be started\n\n Returns\n -------\n time : float\n The time lapsed between task start and completion"
65
false
scottgigante/tasklogger
complete_task
17,150
LDU_FT/biocore-ntnu/epic/multiple_files_count_reads_in_windows
LDU_FT
[ "<BEGIN>\n## `multiple_files_count_reads_in_windows`", "Use count_reads on multiple files and store result in dict.", " Untested since does the same thing as count reads.\n<END>", "<BEGIN>\n## `_merge_files`", "Merge lists of chromosome bin df chromosome-wise.", " windows is an OrderedDict where the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiple_files_count_reads_in_windows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiple_files_count_reads_in_windows API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
Use count_reads on multiple files and store result in dict. Untested since does the same thing as count reads.
"Use count_reads on multiple files and store result in dict.\n\n Untested since does the same thing as count reads."
36
false
biocore-ntnu/epic
multiple_files_count_reads_in_windows
17,151
LDU_FT/yangl1996/libpagure/error_codes
LDU_FT
[ "<BEGIN>\n## `_call_api`", "Method used to call the API.\n It returns the raw JSON returned by the API or raises an exception\n if something goes wrong.", " :arg url: the URL to call\n :kwarg method: the HTTP method to use when calling the specified\n URL, can be GET, POST...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_codes API. 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 error_codes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get a dictionary of all error codes. :return:
"Get a dictionary of all error codes.\n :return:"
62
false
yangl1996/libpagure
error_codes
17,152
LDU_FT/tylerbutler/engineer/create_required_directories
LDU_FT
[ "<BEGIN>\n## `ensure_exists`", "Ensures a given path *p* exists.", " If a path to a file is passed in, then the path to the file will be checked. This can be overridden by passing a\n value of ``True`` to ``assume_dirs``, in which case the paths will be assumed to be to directories, not files.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_required_directories 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 create_required_directories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Creates any directories required for Engineer to function if they don't already exist.
"Creates any directories required for Engineer to function if they don't already exist."
44
false
tylerbutler/engineer
create_required_directories
17,153
LDU_FT/vtkiorg/vtki/generate_orbital_path
LDU_FT
[ "<BEGIN>\n## `extract_geometry`", "Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_orbital_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_orbital_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Genrates an orbital path around the data scene Parameters ---------- facotr : float A scaling factor when biulding the orbital extent n_points : int number of points on the orbital path viewup : list(float) the normal to the orbital plane ...
"Genrates an orbital path around the data scene\n\n Parameters\n ----------\n facotr : float\n A scaling factor when biulding the orbital extent\n\n n_points : int\n number of points on the orbital path\n\n viewup : list(float)\n the normal to the orbi...
1,121
true
vtkiorg/vtki
generate_orbital_path
17,154
LDU_FT/sidecars/python-quickbooks/get_access_tokens
LDU_FT
[ "<BEGIN>\n## `get_authorize_url`", "Returns the Authorize URL as returned by QB, and specified by OAuth 1.0a.\n :return URI:\n<END>", "<BEGIN>\n## `get_access_tokens`", "Wrapper around get_auth_session, returns session, and sets access_token and\n access_token_secret on the QB Object.\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_access_tokens API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_access_tokens API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Wrapper around get_auth_session, returns session, and sets access_token and access_token_secret on the QB Object. :param oauth_verifier: the oauth_verifier as specified by OAuth 1.0a
"Wrapper around get_auth_session, returns session, and sets access_token and\n access_token_secret on the QB Object.\n :param oauth_verifier: the oauth_verifier as specified by OAuth 1.0a"
26
false
sidecars/python-quickbooks
get_access_tokens
17,155
LDU_FT/fudge-py/fudge/patch
LDU_FT
[ "<BEGIN>\n## `fmt_val`", "Format a value for inclusion in an \n informative text string.\n<END>", "<BEGIN>\n## `fmt_dict_vals`", "Returns list of key=val pairs formatted\n for inclusion in an informative text string.\n<END>", "<BEGIN>\n## `with_patched_object`", "Decorator that patches an object bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. 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 patch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Set a new value for the attribute of the object.
"Set a new value for the attribute of the object."
155
false
fudge-py/fudge
patch
17,156
LDU_FT/ravendb/ravendb-python-client/where
LDU_FT
[ "<BEGIN>\n## `parse_json`", "This function will use the custom JsonDecoder and the conventions.mappers to recreate your custom object\n in the parse json string state just call this method with the json_string your complete object_type and with your\n mappers dict.\n the mappers dict must contain in the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API. 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 where API. 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...
To get all the document that equal to the value within kwargs with the specific key @param bool exact: If True getting exact match of the query @param kwargs: the keys of the kwargs will be the fields name in the index you want to query. The value will be the the fields value you want to query ...
"To get all the document that equal to the value within kwargs with the specific key\n\n @param bool exact: If True getting exact match of the query\n @param kwargs: the keys of the kwargs will be the fields name in the index you want to query.\n The value will be the the fields value you want to q...
29
false
ravendb/ravendb-python-client
where
17,157
LDU_FT/osrg/ryu/ofp_msg_from_jsondict
LDU_FT
[ "<BEGIN>\n## `update`", "Updates global configuration settings with given values.", " First checks if given configuration values differ from current values.\n If any of the configuration values changed, generates a change event.\n Currently we generate change event for any configuration cha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ofp_msg_from_jsondict 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 ofp_msg_from_jsondict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This function instanticates an appropriate OpenFlow message class from the given JSON style dictionary. The objects created by following two code fragments are equivalent. Code A:: jsonstr = '{ "OFPSetConfig": { "flags": 0, "miss_send_len": 128 } }' jsondict = json.loads(jsonstr) o...
"This function instanticates an appropriate OpenFlow message class\n from the given JSON style dictionary.\n The objects created by following two code fragments are equivalent.\n\n Code A::\n\n jsonstr = '{ \"OFPSetConfig\": { \"flags\": 0, \"miss_send_len\": 128 } }'\n jsondict = json.loads(json...
1,172
true
osrg/ryu
ofp_msg_from_jsondict
17,158
LDU_FT/Huong-nt/flask-rak/play
LDU_FT
[ "<BEGIN>\n## `copy_func`", "Based on https://stackoverflow.com/a/30714299 (Aaron Hall)\n<END>", "<BEGIN>\n## `find_rak`", "Find our instance of Rak, navigating Local's and possible blueprints.\n<END>", "<BEGIN>\n## `init_app`", "Initializes Ask app by setting configuration variables and maps RAK route to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the play API. 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 play API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Send signal to resume playback at the paused offset
"Send signal to resume playback at the paused offset"
22
false
Huong-nt/flask-rak
play
17,159
LDU_FT/coursera-dl/coursera-dl/do_we_have_enough_cookies
LDU_FT
[ "<BEGIN>\n## `parse_args`", "Parse the arguments/options passed to the program on the command line.\n<END>", "<BEGIN>\n## `random_string`", "Return a pseudo-random string of specified length.\n<END>", "<BEGIN>\n## `clean_filename`", "Sanitize a string to be used as a filename.", " If minimal_change i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_we_have_enough_cookies 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 do_we_have_enough_cookies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Check whether we have all the required cookies to authenticate on class.coursera.org.
"Check whether we have all the required cookies\n to authenticate on class.coursera.org."
246
false
coursera-dl/coursera-dl
do_we_have_enough_cookies
17,160
LDU_FT/gristlabs/asttokens/next_token
LDU_FT
[ "<BEGIN>\n## `get_token_from_offset`", "Returns the token containing the given character offset (0-based position in source text),\n or the preceeding token if the position is between tokens.\n<END>", "<BEGIN>\n## `get_token`", "Returns the token containing the given (lineno, col_offset) position, or the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_token API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns the next token after the given one. If include_extra is True, includes non-coding tokens from the tokenize module, such as NL and COMMENT.
"Returns the next token after the given one. If include_extra is True, includes non-coding\n tokens from the tokenize module, such as NL and COMMENT."
46
false
gristlabs/asttokens
next_token
17,161
LDU_FT/cloud-custodian/cloud-custodian/ensure_iam
LDU_FT
[ "<BEGIN>\n## `factory`", "Factory func for filters.", " data - policy config for filters\n manager - resource type manager (ec2, s3, etc)\n<END>", "<BEGIN>\n## `get_block_operator`", "Determine the immediate parent boolean operator for a filter\n<END>", "<BEGIN>\n## `_validate_resource_count...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_iam API. 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 ensure_iam API. 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...
Ensure the given identities are in the iam role bindings for the topic.
"Ensure the given identities are in the iam role bindings for the topic."
506
false
cloud-custodian/cloud-custodian
ensure_iam
17,162
LDU_FT/airspeed-velocity/asv/_get_threshold
LDU_FT
[ "<BEGIN>\n## `get_graph_data`", "Iterator over graph data sets", " Yields\n ------\n param_idx\n Flat index to parameter permutations for parameterized benchmarks.\n None if benchmark is not parameterized.\n entry_name\n Name for the data set. If benc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_threshold API. 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_threshold API. 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...
Compute the regression threshold in asv.conf.json.
"Compute the regression threshold in asv.conf.json."
256
false
airspeed-velocity/asv
_get_threshold
17,163
LDU_FT/ic-labs/django-icekit/calendar
LDU_FT
[ "<BEGIN>\n## `parse_region`", "Parse Region parameter to determine the rectangular portion of the full\n image to be returned, informed by the actual image dimensions.\n Returns (x, y, width, height):\n - x,y are pixel offsets into the image from the upper left\n - width, height are pixel dime...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calendar API. 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 calendar API. 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...
Return a calendar page to be loaded in an iframe.
"Return a calendar page to be loaded in an iframe."
562
false
ic-labs/django-icekit
calendar
17,164
LDU_FT/aheadley/python-crunchyroll/remove_from_queue
LDU_FT
[ "<BEGIN>\n## `return_collection`", "Change method return value from raw API output to collection of models\n<END>", "<BEGIN>\n## `_do_post_request_tasks`", "Handle actions that need to be done with every response", " I'm not sure what these session_ops are actually used for yet, seems to\n be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_from_queue API. 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 remove_from_queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Remove a series from the queue @param crunchyroll.models.Series series @return bool
"Remove a series from the queue\n\n @param crunchyroll.models.Series series\n @return bool"
100
false
aheadley/python-crunchyroll
remove_from_queue
17,165
LDU_FT/blazelibs/blazeutils/reindent
LDU_FT
[ "<BEGIN>\n## `workbook_to_reader`", "convert xlwt Workbook instance to an xlrd instance for reading\n<END>", "<BEGIN>\n## `xlsx_to_strio`", "convert xlwt Workbook instance to a BytesIO instance\n<END>", "<BEGIN>\n## `xlsx_to_reader`", "convert xlwt Workbook instance to an xlrd instance for reading\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reindent API. 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 reindent API. 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...
reinidents a string (s) by the given number of spaces (numspaces)
"reinidents a string (s) by the given number of spaces (numspaces)"
135
false
blazelibs/blazeutils
reindent
17,166
LDU_FT/KnightConan/sspdatatables/_attrs_
LDU_FT
[ "<BEGIN>\n## `get_table_frame`", "render the structure (or structure_for_superuser) and an instance of the\n footer form", " :param prefix: str: used for unifying the rendered parameter's name,\n such\n that the template of serverside datatables can be used in one page\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _attrs_ API. 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 _attrs_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Returns a tuple containing just the value of the given attr_name of all the elements from the cls. :return: tuple of different types
"Returns a tuple containing just the value of the given attr_name of all\n the elements from the cls.\n\n :return: tuple of different types"
42
false
KnightConan/sspdatatables
_attrs_
17,167
LDU_FT/barryp/py-amqplib/_basic_deliver
LDU_FT
[ "<BEGIN>\n## `_textlist`", "Returns a list of text strings contained within an element and its sub-elements.", " Helpful for extracting text from prose-oriented XML (such as XHTML or DocBook).\n<END>", "<BEGIN>\n## `_reindent`", "Remove the existing indentation from each line of a chunk of\n text, s, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _basic_deliver API. 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 _basic_deliver API. 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...
notify the client of a consumer message This method delivers a message to the client, via a consumer. In the asynchronous message delivery model, the client starts a consumer using the Consume method, then the server responds with Deliver methods as and when messages arrive for that ...
"notify the client of a consumer message\n\n This method delivers a message to the client, via a consumer.\n In the asynchronous message delivery model, the client starts\n a consumer using the Consume method, then the server responds\n with Deliver methods as and when messages arrive for th...
449
false
barryp/py-amqplib
_basic_deliver
17,168
LDU_FT/edx/event-tracking/send
LDU_FT
[ "<BEGIN>\n## `send`", "Insert the event in to the Mongo collection\n<END>", "<BEGIN>\n## `create_backends_from_settings`", "Expects the Django setting \"EVENT_TRACKING_BACKENDS\" to be defined and point\n to a dictionary of backend engine configurations.", " Example::", " EVENT_TR...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Insert the event in to the Mongo collection
"Insert the event in to the Mongo collection"
47
false
edx/event-tracking
send
17,169
LDU_FT/toomore/goristock/ck_portf_001
LDU_FT
[ "<BEGIN>\n## `output`", "re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>", "<BEGIN>\n## `Rt_display`", "For real time stock display\n 即時盤用,顯示目...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ck_portf_001 API. 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 ck_portf_001 API. 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...
3-6負乖離且向上,三日內最大量,成交量大於 1000 張,收盤價大於 10 元。(較嚴謹的選股)
"3-6負乖離且向上,三日內最大量,成交量大於 1000 張,收盤價大於 10 元。(較嚴謹的選股)"
62
false
toomore/goristock
ck_portf_001
17,170
LDU_FT/njsmith/colorspacious/deltaE
LDU_FT
[ "<BEGIN>\n## `deltaE`", "Computes the :math:`\\Delta E` distance between pairs of colors.", " :param input_space: The space the colors start out in. Can be anything\n recognized by :func:`cspace_convert`. Default: \"sRGB1\"\n :param uniform_space: Which space to perform the distance measurement\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deltaE API. 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 deltaE API. 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 ...
Computes the :math:`\Delta E` distance between pairs of colors. :param input_space: The space the colors start out in. Can be anything recognized by :func:`cspace_convert`. Default: "sRGB1" :param uniform_space: Which space to perform the distance measurement in. This should be a uniform space li...
"Computes the :math:`\\Delta E` distance between pairs of colors.\n\n :param input_space: The space the colors start out in. Can be anything\n recognized by :func:`cspace_convert`. Default: \"sRGB1\"\n :param uniform_space: Which space to perform the distance measurement\n in. This should be a uniform...
53
false
njsmith/colorspacious
deltaE
17,171
LDU_FT/PeerAssets/pypeerassets/find_tx_sender
LDU_FT
[ "<BEGIN>\n## `parse_vote_info`", "decode vote init tx op_return protobuf message and validate it.\n<END>", "<BEGIN>\n## `vote_init`", "initialize vote transaction, must be signed by the deck_issuer privkey\n<END>", "<BEGIN>\n## `find_vote_casts`", "find and verify vote_casts on this vote_choice_address\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_tx_sender API. 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 find_tx_sender API. 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...
find transaction sender, vin[0] is used in this case.
"find transaction sender, vin[0] is used in this case."
86
false
PeerAssets/pypeerassets
find_tx_sender
17,172