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/relekang/python-semantic-release/push_new_version
LDU_FT
[ "<BEGIN>\n## `parse_commit_message`", "Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.", " :param message: A string of a commit message.\n :raises Un...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_new_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. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_new_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. The ...
Runs git push and git push --tags. :param gh_token: Github token used to push. :param owner: Organisation or user that owns the repository. :param name: Name of repository. :raises GitError: if GitCommandError is raised
"Runs git push and git push --tags.\n\n :param gh_token: Github token used to push.\n :param owner: Organisation or user that owns the repository.\n :param name: Name of repository.\n :raises GitError: if GitCommandError is raised"
103
false
relekang/python-semantic-release
push_new_version
30,773
LDU_FT/rflamary/POT/solve_semi_dual_entropic
LDU_FT
[ "<BEGIN>\n## `plot1D_mat`", "Plot matrix M with the source and target 1D distribution", " Creates a subplot with the source distribution a on the left and\n target distribution b on the tot. The matrix M is shown in between.", " Parameters\n ----------\n a : np.array, shape (na,)\n Sour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve_semi_dual_entropic 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 solve_semi_dual_entropic API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Compute the transportation matrix to solve the regularized discrete measures optimal transport max problem The function solves the following optimization problem: .. math:: \gamma = arg\min_\gamma <\gamma,M>_F + reg\cdot\Omega(\gamma) s.t. \gamma 1 = a \gamma^T 1= b ...
"Compute the transportation matrix to solve the regularized discrete\n measures optimal transport max problem\n\n The function solves the following optimization problem:\n\n .. math::\n \\gamma = arg\\min_\\gamma <\\gamma,M>_F + reg\\cdot\\Omega(\\gamma)\n\n s.t. \\gamma 1 = a\n\n ...
711
false
rflamary/POT
solve_semi_dual_entropic
30,774
LDU_FT/dschep/ntfy/notify
LDU_FT
[ "<BEGIN>\n## `notify`", "Required parameters:\n * ``user_key``", " Optional parameters:\n * ``sound``\n * ``priority``\n * ``expire``\n * ``retry``\n * ``callback``\n * ``api_token`` - use your own application token\n * ``device`` - target a device, if ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify API. 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 notify API. 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 ...
Optional parameters: * ``icon`` - path to an ICO file to display instead of the ntfy icon
"Optional parameters:\n * ``icon`` - path to an ICO file to display instead of the ntfy icon"
44
false
dschep/ntfy
notify
30,775
LDU_FT/CEA-COSMIC/ModOpt/calculate_svd
LDU_FT
[ "<BEGIN>\n## `add_args_kwargs`", "Add Args and Kwargs", " This wrapper adds support for additional arguments and keyword arguments to\n any callable function", " Parameters\n ----------\n func : function\n Callable function", " Returns\n -------\n function wrapper\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_svd API. 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 calculate_svd API. 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...
Calculate Singular Value Decomposition This method calculates the Singular Value Decomposition (SVD) of the input data using SciPy. Parameters ---------- data : np.ndarray Input data array, 2D matrix Returns ------- tuple of left singular vector, singular values and right sing...
"Calculate Singular Value Decomposition\n\n This method calculates the Singular Value Decomposition (SVD) of the input\n data using SciPy.\n\n Parameters\n ----------\n data : np.ndarray\n Input data array, 2D matrix\n\n Returns\n -------\n tuple of left singular vector, singular values a...
565
false
CEA-COSMIC/ModOpt
calculate_svd
30,776
LDU_FT/sdispater/backpack/pull
LDU_FT
[ "<BEGIN>\n## `avg`", "Get the average value of a given key.", " :param key: The key to get the average for\n :type key: mixed", " :rtype: float or int\n<END>", "<BEGIN>\n## `chunk`", "Chunk the underlying collection.", " :param size: The chunk size\n :type size: int", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull API. 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 pull API. 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...
Pulls an item from the collection. :param key: The key :type key: mixed :param default: The default value :type default: mixed :rtype: mixed
"Pulls an item from the collection.\n\n :param key: The key\n :type key: mixed\n\n :param default: The default value\n :type default: mixed\n\n :rtype: mixed"
137
false
sdispater/backpack
pull
30,777
LDU_FT/mbakker7/timml/headinside
LDU_FT
[ "<BEGIN>\n## `plot`", "Plot layout", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n<END>", "<BEGIN>\n## `contour`", "Contour plot", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n ngr ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the headinside API. 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 headinside API. 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...
The head inside the well Returns ------- array (length number of screens) Head inside the well for each screen
"The head inside the well\n \n Returns\n -------\n array (length number of screens)\n Head inside the well for each screen"
82
false
mbakker7/timml
headinside
30,778
LDU_FT/jmbeach/KEP.py/parse_devices
LDU_FT
[ "<BEGIN>\n## `parse_channels`", "Creates an array of Channel objects from the project\n<END>", "<BEGIN>\n## `parse_devices`", "Creates an array of Device objects from the channel\n<END>", "<BEGIN>\n## `process_tag`", "Processes tag and detects which function to use\n<END>", "<BEGIN>\n## `name_replace`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_devices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_devices API. 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...
Creates an array of Device objects from the channel
"Creates an array of Device objects from the channel"
24
false
jmbeach/KEP.py
parse_devices
30,779
LDU_FT/vertexproject/synapse/intify
LDU_FT
[ "<BEGIN>\n## `openDatFile`", "Open a file-like object using a pkg relative path.", " Example:", " fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>", "<BEGIN>\n## `scrape`", "Scrape types from a blob of text and return node tuples.", " Args:\n text (str): Text to scrape.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intify API. 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 intify API. 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 ...
Ensure ( or coerce ) a value into being an integer or None. Args: x (obj): An object to intify Returns: (int): The int value ( or None )
"Ensure ( or coerce ) a value into being an integer or None.\n\n Args:\n x (obj): An object to intify\n\n Returns:\n (int): The int value ( or None )"
1,135
true
vertexproject/synapse
intify
30,780
LDU_FT/wummel/patool/append_to_path
LDU_FT
[ "<BEGIN>\n## `list_tar`", "List a TAR archive with the tarfile Python module.\n<END>", "<BEGIN>\n## `extract_tar`", "Extract a TAR archive with the tarfile Python module.\n<END>", "<BEGIN>\n## `create_tar`", "Create a TAR archive with the tarfile Python module.\n<END>", "<BEGIN>\n## `get_tar_mode`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_to_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. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_to_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. The ex...
Add a directory to the PATH environment variable, if it is a valid directory.
"Add a directory to the PATH environment variable, if it is a valid\n directory."
127
false
wummel/patool
append_to_path
30,781
LDU_FT/edaniszewski/bison/config
LDU_FT
[ "<BEGIN>\n## `build_defaults`", "Build a dictionary of default values from the `Scheme`.", " Returns:\n dict: The default configurations as set by the `Scheme`.", " Raises:\n errors.InvalidSchemeError: The `Scheme` does not contain\n valid options.\n<END>", ...
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 the complete configuration where the default, config, environment, and override values are merged together. Returns: (DotDict): A dictionary of configuration values that allows lookups using dot notation.
"Get the complete configuration where the default, config,\n environment, and override values are merged together.\n\n Returns:\n (DotDict): A dictionary of configuration values that\n allows lookups using dot notation."
56
false
edaniszewski/bison
config
30,782
LDU_FT/etcher-be/emiz/get_clouds
LDU_FT
[ "<BEGIN>\n## `unit_pos_to_spot`", "Translates a unit position to a known parking spot", " Args:\n unit_pos: unit position as Vec2", " Returns: ParkingSpot object\n<END>", "<BEGIN>\n## `_tdec`", "Translates a 4-digit decimal temperature representation", " Ex: 1045 -> -4.5°C 0237 -> 23....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_clouds API. 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_clouds API. 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 report list and removed list of split cloud layers
"Returns the report list and removed list of split cloud layers"
297
false
etcher-be/emiz
get_clouds
30,783
LDU_FT/instana/python-sensor/collect_snapshot
LDU_FT
[ "<BEGIN>\n## `run`", "Span a background thread to periodically report queued spans\n<END>", "<BEGIN>\n## `record_span`", "Convert the passed BasicSpan into an JsonSpan and\n add it to the span queue\n<END>", "<BEGIN>\n## `build_registered_span`", "Takes a BasicSpan and converts it into a registered...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_snapshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Collects snapshot related information to this process and environment
"Collects snapshot related information to this process and environment"
76
false
instana/python-sensor
collect_snapshot
30,784
LDU_FT/wiredrive/wtframework/take_reference_screenshot
LDU_FT
[ "<BEGIN>\n## `print_debug`", "Print if and only if the debug flag is set true in the config.yaml file.", " Args:\n args : var args of print arguments.\n<END>", "<BEGIN>\n## `print_time`", "Print the current elapsed time.", " Kwargs:\n message (str) : Message to prefix the time ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the take_reference_screenshot 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 take_reference_screenshot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Captures a screenshot as a reference screenshot. Args: webdriver (WebDriver) - Selenium webdriver. file_name (str) - File name to save screenshot as.
"Captures a screenshot as a reference screenshot.\n\n Args:\n webdriver (WebDriver) - Selenium webdriver.\n file_name (str) - File name to save screenshot as."
236
false
wiredrive/wtframework
take_reference_screenshot
30,785
LDU_FT/statueofmike/rtsp/preview
LDU_FT
[ "<BEGIN>\n## `encode`", "Encode the RTP packet with header fields and payload.\n<END>", "<BEGIN>\n## `preview_stream`", "Display stream in an OpenCV window until \"q\" key is pressed\n<END>", "<BEGIN>\n## `get_resources`", "Do an RTSP-DESCRIBE request, then parse out available resources from the response\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preview API. 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 preview API. 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...
Blocking function. Opens OpenCV window to display stream.
"Blocking function. Opens OpenCV window to display stream."
30
false
statueofmike/rtsp
preview
30,786
LDU_FT/ynop/audiomate/label_values
LDU_FT
[ "<BEGIN>\n## `load`", "Load and return the corpus from the given path.", " Args:\n path (str): Path to the data set to load.", " Returns:\n Corpus: The loaded corpus", " Raises:\n IOError: When the data set is invalid, for example because required files ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the label_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return a list of all occuring label values. Returns: list: Lexicographically sorted list (str) of label values. Example: >>> ll = LabelList(labels=[ >>> Label('a', 3.2, 4.5), >>> Label('b', 5.1, 8.9), >>> Label('c', 7.2, 10.5), ...
"Return a list of all occuring label values.\n\n Returns:\n list: Lexicographically sorted list (str) of label values.\n\n Example:\n >>> ll = LabelList(labels=[\n >>> Label('a', 3.2, 4.5),\n >>> Label('b', 5.1, 8.9),\n >>> Label('c', 7.2,...
619
false
ynop/audiomate
label_values
30,787
LDU_FT/google/flatbuffers/PrependStructSlot
LDU_FT
[ "<BEGIN>\n## `compare_version`", "Compare two version number strings of the form W.X.Y.Z.", " The numbers are compared most-significant to least-significant.\n For example, 12.345.67.89 > 2.987.88.99.", " Args:\n a: First version number string to compare\n b: Second version number string to compare",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PrependStructSlot API. 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 PrependStructSlot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
PrependStructSlot prepends a struct onto the object at vtable slot `o`. Structs are stored inline, so nothing additional is being added. In generated code, `d` is always 0.
"PrependStructSlot prepends a struct onto the object at vtable slot `o`.\n Structs are stored inline, so nothing additional is being added.\n In generated code, `d` is always 0."
83
false
google/flatbuffers
PrependStructSlot
30,788
LDU_FT/javipalanca/spade/thread
LDU_FT
[ "<BEGIN>\n## `set_available`", "Sets the agent availability to True.", " Args:\n show (aioxmpp.PresenceShow, optional): the show state of the presence (Default value = None)\n<END>", "<BEGIN>\n## `set_presence`", "Change the presence broadcast by the client.\n If the client is current...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the thread API. 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 thread API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Set thread id of the message Args: value (str): the thread id
"Set thread id of the message\n\n Args:\n value (str): the thread id"
153
false
javipalanca/spade
thread
30,789
LDU_FT/lk-geimfari/mimesis/full_name
LDU_FT
[ "<BEGIN>\n## `content_type`", "Get a random HTTP content type.", " :return: Content type.", " :Example:\n Content-Type: application/json\n<END>", "<BEGIN>\n## `ip_v4`", "Generate a random IPv4 address.", " :param with_port: Add port to IP.\n :return: Random IPv4 ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_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 extract...
Generate a random full name. :param reverse: Return reversed full name. :param gender: Gender's enum object. :return: Full name. :Example: Johann Wolfgang.
"Generate a random full name.\n\n :param reverse: Return reversed full name.\n :param gender: Gender's enum object.\n :return: Full name.\n\n :Example:\n Johann Wolfgang."
559
false
lk-geimfari/mimesis
full_name
30,790
LDU_FT/opentracing/opentracing-python/active
LDU_FT
[ "<BEGIN>\n## `activate`", "Make a :class:`~opentracing.Span` instance active.", " :param span: the :class:`~opentracing.Span` that should become active.\n :param finish_on_close: whether *span* should automatically be\n finished when :meth:`Scope.close()` is called.", " :return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active API. 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 active API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return the currently active :class:`~opentracing.Scope` which can be used to access the currently active :attr:`Scope.span`. :return: the :class:`~opentracing.Scope` that is active, or ``None`` if not available.
"Return the currently active :class:`~opentracing.Scope` which\n can be used to access the currently active\n :attr:`Scope.span`.\n\n :return: the :class:`~opentracing.Scope` that is active,\n or ``None`` if not available."
79
false
opentracing/opentracing-python
active
30,791
LDU_FT/jsfenfen/990-xml-reader/stream_download
LDU_FT
[ "<BEGIN>\n## `stream_download`", "Download a large file without loading it into memory.\n<END>", "<BEGIN>\n## `validate_object_id`", "It's easy to make a mistake entering these, validate the format\n<END>", "<BEGIN>\n## `_get_table_start`", "prefill the columns we need for all tables\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Download a large file without loading it into memory.
"Download a large file without loading it into memory."
14
false
jsfenfen/990-xml-reader
stream_download
30,792
LDU_FT/nrcharles/caelum/strptime
LDU_FT
[ "<BEGIN>\n## `parse_noaa_line`", "Parse NOAA stations.", " This is an old list, the format is:", " NUMBER NAME & STATE/COUNTRY LAT LON ELEV (meters)", " 010250 TROMSO NO 6941N 01855E 10\n<END>", "<BEGIN>\n## `closest_eere`", "Find closes...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strptime API. 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 strptime API. 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...
necessary because of 24:00 end of day labeling
"necessary because of 24:00 end of day labeling"
60
false
nrcharles/caelum
strptime
30,793
LDU_FT/seung-lab/cloud-volume/expand_to_chunk_size
LDU_FT
[ "<BEGIN>\n## `decode_kempressed`", "subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>", "<BEGIN>\n## `bbox2array`", "Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_to_chunk_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand_to_chunk_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. ...
Align a potentially non-axis aligned bbox to the grid by growing it to the nearest grid lines. Required: chunk_size: arraylike (x,y,z), the size of chunks in the dataset e.g. (64,64,64) Optional: offset: arraylike (x,y,z), the starting coordinate of the dataset
"Align a potentially non-axis aligned bbox to the grid by growing it\n to the nearest grid lines.\n\n Required:\n chunk_size: arraylike (x,y,z), the size of chunks in the \n dataset e.g. (64,64,64)\n Optional:\n offset: arraylike (x,y,z), the starting coordinate of the dataset"
237
false
seung-lab/cloud-volume
expand_to_chunk_size
30,794
LDU_FT/Chilipp/funcargparse/extract_as_epilog
LDU_FT
[ "<BEGIN>\n## `get_param_doc`", "Get the documentation and datatype for a parameter", " This function returns the documentation and the argument for a\n napoleon like structured docstring `doc`", " Parameters\n ----------\n doc: str\n The base docstring to use\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_as_epilog API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_as_epilog API. 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 epilog sections from the a docstring Parameters ---------- text The docstring to use sections: list of str The headers of the sections to extract. If None, the :attr:`epilog_sections` attribute is used overwrite: bool If Tr...
"Extract epilog sections from the a docstring\n\n Parameters\n ----------\n text\n The docstring to use\n sections: list of str\n The headers of the sections to extract. If None, the\n :attr:`epilog_sections` attribute is used\n overwrite: bool\n ...
105
false
Chilipp/funcargparse
extract_as_epilog
30,795
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/call
LDU_FT
[ "<BEGIN>\n## `find_location`", "find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>", "<BEGIN>\n## `json_2_location`", "transform JSON obj coming f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
publish the message in the topic :param my_args: dict like {msg: 'msg'} :return: nothing
"publish the message in the topic\n :param my_args: dict like {msg: 'msg'}\n :return: nothing"
303
false
echinopsii/net.echinopsii.ariane.community.cli.python3
call
30,796
LDU_FT/reflexsc/reflex/change
LDU_FT
[ "<BEGIN>\n## `configure`", "Configure Monitor, pull list of what to monitor, initialize threads\n<END>", "<BEGIN>\n## `feed_monitors`", "Pull from the cached monitors data and feed the workers queue. Run\n every interval (refresh:test).\n<END>", "<BEGIN>\n## `update_monitors`", "Periodically check...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change API. 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 change API. 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 ...
Update any other attribute on the build object
"Update any other attribute on the build object"
35
false
reflexsc/reflex
change
30,797
LDU_FT/thombashi/pathvalidate/sanitize_filepath
LDU_FT
[ "<BEGIN>\n## `validate_symbol`", "Verifying whether symbol(s) included in the ``text`` or not.", " :param str text: Input text.\n :raises pathvalidate.InvalidCharError:\n If symbol(s) included in the ``text``.\n<END>", "<BEGIN>\n## `replace_symbol`", "Replace all of the symbols in the ``text``....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_filepath API. 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 sanitize_filepath API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Make a valid file path from a string. Replace invalid characters for a file path within the ``file_path`` with the ``replacement_text``. Invalid characters are as followings: |invalid_file_path_chars|, |invalid_win_file_path_chars| (and non printable characters). Args: file_path (str or Pa...
"Make a valid file path from a string.\n\n Replace invalid characters for a file path within the ``file_path``\n with the ``replacement_text``.\n Invalid characters are as followings:\n |invalid_file_path_chars|, |invalid_win_file_path_chars| (and non printable characters).\n\n Args:\n file_path (...
47
false
thombashi/pathvalidate
sanitize_filepath
30,798
LDU_FT/bitlabstudio/django-development-fabfile/run_deploy_website
LDU_FT
[ "<BEGIN>\n## `require_server`", "Checks if the user has called the task with a server name.", " Fabric tasks decorated with this decorator must be called like so::", " fab <server name> <task name>", " If no server name is given, the task will not be executed.\n<END>", "<BEGIN>\n## `run_deplo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_deploy_website API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_deploy_website API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Executes all tasks necessary to deploy the website on the given server. Usage:: fab <server> run_deploy_website
"Executes all tasks necessary to deploy the website on the given server.\n\n Usage::\n\n fab <server> run_deploy_website"
77
false
bitlabstudio/django-development-fabfile
run_deploy_website
30,799
LDU_FT/matthew-brett/delocate/fuse_trees
LDU_FT
[ "<BEGIN>\n## `back_tick`", "Run command `cmd`, return stdout, or stdout, stderr if `ret_err`", " Roughly equivalent to ``check_output`` in Python 2.7", " Parameters\n ----------\n cmd : sequence\n command to execute\n ret_err : bool, optional\n If True, return stderr in addition t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fuse_trees API. 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 fuse_trees API. 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...
Fuse path `from_tree` into path `to_tree` For each file in `from_tree` - check for library file extension (in `lib_exts` - if present, check if there is a file with matching relative path in `to_tree`, if so, use :func:`delocate.tools.lipo_fuse` to fuse the two libraries together and write into `to_tre...
"Fuse path `from_tree` into path `to_tree`\n\n For each file in `from_tree` - check for library file extension (in\n `lib_exts` - if present, check if there is a file with matching relative\n path in `to_tree`, if so, use :func:`delocate.tools.lipo_fuse` to fuse the\n two libraries together and write into `...
157
false
matthew-brett/delocate
fuse_trees
30,800
LDU_FT/Synerty/pytmpdir/_listFilesPosix
LDU_FT
[ "<BEGIN>\n## `pathNames`", "Path Names", " @return: A list of path + name of each file, relative to the root\n directory.\n<END>", "<BEGIN>\n## `paths`", "Paths", " @return: A list of the paths, effectively a list of relative\n directory names.\n<END>", "<BEGIN>\n## `getFile`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _listFilesPosix API. 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 _listFilesPosix API. 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...
List Files for POSIX Search and list the files and folder in the current directory for the POSIX file system. @return: List of directory files and folders.
"List Files for POSIX\n\n Search and list the files and folder in the current directory for the\n POSIX file system.\n\n @return: List of directory files and folders."
76
false
Synerty/pytmpdir
_listFilesPosix
30,801
LDU_FT/codebynumbers/ftpretty/get
LDU_FT
[ "<BEGIN>\n## `split_file_info`", "Parse sane directory output usually ls -l\n Adapted from https://gist.github.com/tobiasoberrauch/2942716\n<END>", "<BEGIN>\n## `get`", "Gets the file from FTP server", " local can be:\n a file: opened for writing, left open\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Gets the file from FTP server local can be: a file: opened for writing, left open a string: path to output file None: contents are returned
"Gets the file from FTP server\n\n local can be:\n a file: opened for writing, left open\n a string: path to output file\n None: contents are returned"
13
false
codebynumbers/ftpretty
get
30,802
LDU_FT/heronotears/lazyxml/build_tree
LDU_FT
[ "<BEGIN>\n## `set_options`", "r\"\"\"Set Parser options.", " .. seealso::\n ``kw`` argument have the same meaning as in :func:`lazyxml.loads`\n<END>", "<BEGIN>\n## `xml2object`", "r\"\"\"Convert xml content to python object.", " :param content: xml content\n :rtype: dict", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_tree API. 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 build_tree API. 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...
r"""Build xml tree. :param data: data for build xml. :param tagname: element tag name. :param attrs: element attributes. Default:``None``. :type attrs: dict or None :param depth: element depth of the hierarchy. Default:``0``. :type depth: int
"r\"\"\"Build xml tree.\n\n :param data: data for build xml.\n :param tagname: element tag name.\n :param attrs: element attributes. Default:``None``.\n :type attrs: dict or None\n :param depth: element depth of the hierarchy. Default:``0``.\n :type depth: int"
60
false
heronotears/lazyxml
build_tree
30,803
LDU_FT/priestc/giotto/get_config
LDU_FT
[ "<BEGIN>\n## `get_response`", "High level function for getting a response. This is what the concrete\n controller should call. Returns a controller specific response.\n<END>", "<BEGIN>\n## `get_data_response`", "Execute the model and view, and handle the cache.\n Returns controller-agnostic resp...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 get_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...
Use this function to get values from the config object.
"Use this function to get values from the config object."
75
false
priestc/giotto
get_config
30,804
LDU_FT/graphistry/pygraphistry/bind
LDU_FT
[ "<BEGIN>\n## `_connect`", "Retrieve token from USMA API and create an authenticated session\n :returns OAuth2Session: authenticated client session\n<END>", "<BEGIN>\n## `_retrieve_items`", "Retrieve num_items from item_type\n :param int num_items: Max items to retrieve\n :param dict param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind API. 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 bind API. 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...
Relate data attributes to graph structure and visual representation. To facilitate reuse and replayable notebooks, the binding call is chainable. Invocation does not effect the old binding: it instead returns a new Plotter instance with the new bindings added to the existing ones. Both the old and new bindings...
"Relate data attributes to graph structure and visual representation.\n\n To facilitate reuse and replayable notebooks, the binding call is chainable. Invocation does not effect the old binding: it instead returns a new Plotter instance with the new bindings added to the existing ones. Both the old and new bindi...
127
false
graphistry/pygraphistry
bind
30,805
LDU_FT/joytunes/JTLocalize/should_include_file_in_search
LDU_FT
[ "<BEGIN>\n## `handle_duplications`", "Omits the duplications in the strings files.\n Keys that appear more than once, will be joined to one appearance and the omit will be documented.", " Args:\n file_path (str): The path to the strings file.\n<END>", "<BEGIN>\n## `add_comments`", "Add comm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the should_include_file_in_search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the should_include_file_in_search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Whether or not a filename matches a search criteria according to arguments. Args: file_name (str): A file path to check. extensions (list): A list of file extensions file should match. exclude_dirs (list): A list of directories to exclude from search. Returns: A boolean of whet...
"Whether or not a filename matches a search criteria according to arguments.\n\n Args:\n file_name (str): A file path to check.\n extensions (list): A list of file extensions file should match.\n exclude_dirs (list): A list of directories to exclude from search.\n\n Returns:\n A boolea...
104
false
joytunes/JTLocalize
should_include_file_in_search
30,806
LDU_FT/gersolar/stations/peel_around
LDU_FT
[ "<BEGIN>\n## `wrap_around_re`", "Same as wrap_around but works with regular expression based\n wildcards to map which methods are going to be used.\n<END>", "<BEGIN>\n## `_with_wrap`", "with_wrap wraps the execution of method inside given\n generator. When the method is called, the generator is invoked\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the peel_around API. 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 peel_around API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
This function will be deprecated. Removes one wrap around the method (given as a parameter) and returns the wrap. If the method is not wrapped, returns None.
"This function will be deprecated.\n\n Removes one wrap around the method (given as a parameter) and\n returns the wrap. If the method is not wrapped, returns None."
31
false
gersolar/stations
peel_around
30,807
LDU_FT/ulfalizer/Kconfiglib/unset_values
LDU_FT
[ "<BEGIN>\n## `oldconfig`", "Prompts the user for a value if node.item is a visible symbol/choice with\n no user value.\n<END>", "<BEGIN>\n## `all_arch_srcarch_pairs`", "Generates all valid (ARCH, SRCARCH) tuples for the kernel, corresponding to\n different architectures. SRCARCH holds the arch/ subdirec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unset_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unset_values API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Resets the user values of all symbols, as if Kconfig.load_config() or Symbol.set_value() had never been called.
"Resets the user values of all symbols, as if Kconfig.load_config() or\n Symbol.set_value() had never been called."
139
false
ulfalizer/Kconfiglib
unset_values
30,808
LDU_FT/rosenbrockc/acorn/creationlog
LDU_FT
[ "<BEGIN>\n## `cascade`", "Restores a sequence of string definitions using the first entry as the\n original and then applying a series of :func:`~acorn.logging.diff.restore`\n calls.", " Args:\n sequence (list): of results returned by\n :func:`~acorn.logging.diff.compress`, except that ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the creationlog API. 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 creationlog API. 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...
Decorator for wrapping the creation of class instances that are being logged by acorn. Args: base: base class used to call __new__ for the construction. package (str): name of (global) package the class belongs to. stackdepth (int): if the calling stack is less than this depth, than ...
"Decorator for wrapping the creation of class instances that are being logged\n by acorn.\n\n Args:\n base: base class used to call __new__ for the construction.\n package (str): name of (global) package the class belongs to.\n stackdepth (int): if the calling stack is less than this depth, t...
263
false
rosenbrockc/acorn
creationlog
30,809
LDU_FT/ryanmcgrath/twython/dynamic_filter
LDU_FT
[ "<BEGIN>\n## `update_status_with_media`", "Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.", " Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dynamic_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dynamic_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Stream statuses/filter with dynamic parameters
"Stream statuses/filter with dynamic parameters"
80
false
ryanmcgrath/twython
dynamic_filter
30,810
LDU_FT/mathandy/svgpathtools/get_or_add_group
LDU_FT
[ "<BEGIN>\n## `big_bounding_box`", "Finds a BB containing a collection of paths, Bezier path segments, and\n points (given as complex numbers).\n<END>", "<BEGIN>\n## `disvg`", "Takes in a list of paths and creates an SVG file containing said paths.\n REQUIRED INPUTS:\n :param paths - a list of pat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_add_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_add_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Get a group from the tree, or add a new one with the given name structure. `nested_names` is a list of strings which represent group names. Each group name will be nested inside of the previous group name. `name_attr` is the group attribute that is being used to represent the g...
"Get a group from the tree, or add a new one with the given\n name structure.\n\n `nested_names` is a list of strings which represent group names.\n Each group name will be nested inside of the previous group name.\n\n `name_attr` is the group attribute that is being used to\n represe...
252
false
mathandy/svgpathtools
get_or_add_group
30,811
LDU_FT/markuskiller/textblob-de/tokenize
LDU_FT
[ "<BEGIN>\n## `definite_article`", "Returns the definite article (der/die/das/die) for a given word.\n<END>", "<BEGIN>\n## `indefinite_article`", "Returns the indefinite article (ein) for a given word.\n<END>", "<BEGIN>\n## `article`", "Returns the indefinite (ein) or definite (der/die/das/die) article for...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenize API. 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 tokenize API. 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 list of tokens, using ``tokenizer``. :param tokenizer: (optional) A tokenizer object. If None, defaults to this blob's default tokenizer.
"Return a list of tokens, using ``tokenizer``.\n\n :param tokenizer: (optional) A tokenizer object. If None, defaults to\n this blob's default tokenizer."
407
false
markuskiller/textblob-de
tokenize
30,812
LDU_FT/stepank/pyws/add_function
LDU_FT
[ "<BEGIN>\n## `add_function`", "Adds the function to the list of registered functions.\n<END>", "<BEGIN>\n## `get_one`", "Returns a function if it is registered, the context is ignored.\n<END>", "<BEGIN>\n## `get_context_data_from_headers`", "Extracts context data from request headers according to specifie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_function API. 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...
Adds the function to the list of registered functions.
"Adds the function to the list of registered functions."
38
false
stepank/pyws
add_function
30,813
LDU_FT/miccoli/pyownet/main
LDU_FT
[ "<BEGIN>\n## `main`", "parse commandline arguments and print result\n<END>", "<BEGIN>\n## `main`", "parse commandline arguments and print result\n<END>", "<BEGIN>\n## `main`", "parse commandline arguments and print result\n<END>", "<BEGIN>\n## `proxy`", "factory function that returns a proxy object fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
parse commandline arguments and print result
"parse commandline arguments and print result"
23
false
miccoli/pyownet
main
30,814
LDU_FT/asweigart/pybresenham/rotatePoints
LDU_FT
[ "<BEGIN>\n## `rotatePoint`", "Rotates the point at `x` and `y` by `rotationDegrees`. The point is rotated\n around the origin by default, but can be rotated around another pivot point\n by specifying `pivotx` and `pivoty`.", " The points are rotated counterclockwise.", " Returns an x and y tuple."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotatePoints API. 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 rotatePoints API. 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...
Rotates each x and y tuple in `points`` by `rotationDegrees`. The points are rotated around the origin by default, but can be rotated around another pivot point by specifying `pivotx` and `pivoty`. The points are rotated counterclockwise. Returns a generator that produces an x and y tuple for each poi...
"Rotates each x and y tuple in `points`` by `rotationDegrees`. The points\n are rotated around the origin by default, but can be rotated around another\n pivot point by specifying `pivotx` and `pivoty`.\n\n The points are rotated counterclockwise.\n\n Returns a generator that produces an x and y tuple for e...
84
false
asweigart/pybresenham
rotatePoints
30,815
LDU_FT/datastore/datastore/delete
LDU_FT
[ "<BEGIN>\n## `list`", "Returns the `list` representation of this Key.", " Note that this method assumes the key is immutable.\n<END>", "<BEGIN>\n## `instance`", "Returns an instance Key, by appending a name to the namespace.\n<END>", "<BEGIN>\n## `parent`", "Returns the parent Key (all namespaces exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Removes the object named by `key`. Removes the object from the collection corresponding to ``key.path``. Args: key: Key naming the object to remove.
"Removes the object named by `key`.\n\n Removes the object from the collection corresponding to ``key.path``.\n\n Args:\n key: Key naming the object to remove."
180
false
datastore/datastore
delete
30,816
LDU_FT/flo-compbio/genometools/create_instance
LDU_FT
[ "<BEGIN>\n## `sum`", "Sum over rows or columns.", " Overrides the default `pandas.DataFrame.sum()` function to prevent\n temporary in-memory copies.\n<END>", "<BEGIN>\n## `get_heatmap`", "Generate a heatmap (`ExpHeatmap`) of the matrix.", " See :class:`ExpHeatmap` constructor for keyw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_instance API. 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 create_instance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Create an instance based on the configuration data. TODO: docstring
"Create an instance based on the configuration data.\n \n TODO: docstring"
496
false
flo-compbio/genometools
create_instance
30,817
LDU_FT/lightning-viz/lightning-python/_clean_data
LDU_FT
[ "<BEGIN>\n## `enable_ipython`", "Enable plotting in the iPython notebook.", " Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>", "<BEGIN>\n## `disable_i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Convert raw data into a dictionary with plot-type specific methods. The result of the cleaning operation should be a dictionary. If the dictionary contains a 'data' field it will be passed directly (ensuring appropriate formatting). Otherwise, it should be a dictionary of data-type spec...
"Convert raw data into a dictionary with plot-type specific methods.\n\n The result of the cleaning operation should be a dictionary.\n If the dictionary contains a 'data' field it will be passed directly\n (ensuring appropriate formatting). Otherwise, it should be a\n dictionary of data-typ...
55
false
lightning-viz/lightning-python
_clean_data
30,818
LDU_FT/witchard/grole/serve_doc
LDU_FT
[ "<BEGIN>\n## `serve_static`", "Serve a directory statically", " Parameters:", " * app: Grole application object\n * base_url: Base URL to serve from, e.g. /static\n * base_path: Base path to look for files in\n * index: Provide simple directory indexes if True\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve_doc API. 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 serve_doc API. 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...
Serve API documentation extracted from request handler docstrings Parameters: * app: Grole application object * url: URL to serve at
"Serve API documentation extracted from request handler docstrings\n\n Parameters:\n * app: Grole application object\n * url: URL to serve at"
21
false
witchard/grole
serve_doc
30,819
LDU_FT/discogs/python-cas-client/acquire_auth_token_ticket
LDU_FT
[ "<BEGIN>\n## `acquire_auth_token_ticket`", "Acquire an auth token from the CAS server.\n<END>", "<BEGIN>\n## `create_session`", "Create a session record from a service ticket.\n<END>", "<BEGIN>\n## `delete_session`", "Delete a session record associated with a service ticket.\n<END>", "<BEGIN>\n## `get_a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire_auth_token_ticket 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 acquire_auth_token_ticket API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Acquire an auth token from the CAS server.
"Acquire an auth token from the CAS server."
30
false
discogs/python-cas-client
acquire_auth_token_ticket
30,820
LDU_FT/OnroerendErfgoed/oe_utils/conditional_http_tween_factory
LDU_FT
[ "<BEGIN>\n## `after_commit_listener`", "Processing the changes.\n All new or changed items are now indexed. All deleted items are now removed from the index.\n<END>", "<BEGIN>\n## `_queue_job`", "creates a new job on the queue\n :param redis: redis\n :param delegate: method to be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_http_tween_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_http_tween_factory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Tween that adds ETag headers and tells Pyramid to enable conditional responses where appropriate.
"Tween that adds ETag headers and tells Pyramid to enable \n conditional responses where appropriate."
100
false
OnroerendErfgoed/oe_utils
conditional_http_tween_factory
30,821
LDU_FT/halcy/Mastodon.py/timeline_home
LDU_FT
[ "<BEGIN>\n## `parse_version_string`", "Parses a semver version string, stripping off \"rc\" stuff if present.\n<END>", "<BEGIN>\n## `bigger_version`", "Returns the bigger version of two version strings.\n<END>", "<BEGIN>\n## `api_version`", "Version check decorator. Currently only checks Bigger Than.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeline_home API. 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 timeline_home API. 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...
Fetch the logged-in users home timeline (i.e. followed users and self). Returns a list of `toot dicts`_.
"Fetch the logged-in users home timeline (i.e. followed users and self).\n\n Returns a list of `toot dicts`_."
313
false
halcy/Mastodon.py
timeline_home
30,822
LDU_FT/CodyKochmann/graphdb/delete_relation
LDU_FT
[ "<BEGIN>\n## `graph_hash`", "this hashes all types to a hash without colissions. python's hashing algorithms are not cross type compatable but hashing tuples with the type as the first element seems to do the trick\n<END>", "<BEGIN>\n## `store_item`", "use this function to store a python object in the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_relation API. 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 delete_relation API. 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...
can be both used as (src, relation, dest) for a single relation or (src, relation) to delete all relations of that type from the src
"can be both used as (src, relation, dest) for a single relation or\n (src, relation) to delete all relations of that type from the src"
44
false
CodyKochmann/graphdb
delete_relation
30,823
LDU_FT/bwesterb/sarah/get_by_path
LDU_FT
[ "<BEGIN>\n## `lazy`", "Decorator, which can be used for lazy imports", " @lazy\n def yaml():\n import yaml\n return yaml\n<END>", "<BEGIN>\n## `pump`", "Reads data from <fin> and writes it to <fout> until EOF is\n reached.\n<END>", "<BEGIN>\n## `r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_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. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_by_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. The extra...
Returns an object by <path>, importing modules if necessary
"Returns an object by <path>, importing modules if necessary"
19
false
bwesterb/sarah
get_by_path
30,824
LDU_FT/Capitains/MyCapytain/read
LDU_FT
[ "<BEGIN>\n## `call`", "Call an endpoint given the parameters", " :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>", "<BEGIN>\n## `getValidReff`", "Retrieve valid urn-references for a text", " :param urn: URN identifying the text\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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...
Retrieve and parse a text given an identifier :param identifier: Identifier of the text :type identifier: str :param path: Path of the text :type path: str :return: Parsed Text :rtype: CapitainsCtsText
"Retrieve and parse a text given an identifier\n\n :param identifier: Identifier of the text\n :type identifier: str\n :param path: Path of the text\n :type path: str\n :return: Parsed Text\n :rtype: CapitainsCtsText"
473
false
Capitains/MyCapytain
read
30,825
LDU_FT/alvarogzp/telegram-bot-framework/full_data
LDU_FT
[ "<BEGIN>\n## `default_format`", "Returns full name (first and last) if name is available.\n If not, returns username if available.\n If not available too, returns the user id as a string.\n<END>", "<BEGIN>\n## `full_name`", "Returns the first and last name of the user separated by a space.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns all the info available for the chat in the following format: title [username] (type) <id> If any data is not available, it is not added.
"Returns all the info available for the chat in the following format:\n title [username] (type) <id>\n If any data is not available, it is not added."
36
false
alvarogzp/telegram-bot-framework
full_data
30,826
LDU_FT/Synerty/pytmpdir/createTempFile
LDU_FT
[ "<BEGIN>\n## `pathNames`", "Path Names", " @return: A list of path + name of each file, relative to the root\n directory.\n<END>", "<BEGIN>\n## `paths`", "Paths", " @return: A list of the paths, effectively a list of relative\n directory names.\n<END>", "<BEGIN>\n## `getFile`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createTempFile API. 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 createTempFile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create File Creates a new file within the directory with a temporary file like name. @return: Created file.
"Create File\n\n Creates a new file within the directory with a temporary file like name.\n\n @return: Created file."
76
false
Synerty/pytmpdir
createTempFile
30,827
LDU_FT/gautammishra/lyft-rides-python-sdk/get_cost_estimates
LDU_FT
[ "<BEGIN>\n## `_build_headers`", "Create headers for the request.\n Parameters\n method (str)\n HTTP method (e.g. 'POST').\n auth_session (Session)\n The Session object containing OAuth 2.0 credentials.\n Returns\n headers (dict)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cost_estimates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cost_estimates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get cost estimates (in cents) for rides at a given location. Parameters start_latitude (float) The latitude component of a start location. start_longitude (float) The longitude component of a start location. end_latitude (float) ...
"Get cost estimates (in cents) for rides at a given location.\n Parameters\n start_latitude (float)\n The latitude component of a start location.\n start_longitude (float)\n The longitude component of a start location.\n end_latitude (float)\n ...
52
false
gautammishra/lyft-rides-python-sdk
get_cost_estimates
30,828
LDU_FT/ulule/django-linguist/default_value_setter
LDU_FT
[ "<BEGIN>\n## `_filter_or_exclude`", "Overrides default behavior to handle linguist fields.\n<END>", "<BEGIN>\n## `_get_concrete_fields_with_model`", "For compatibility with Django<=1.10. Replace old\n `_meta.get_concrete_fields_with_model`.\n https://docs.djangoproject.com/en/1.10/ref/models/met...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_value_setter 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 default_value_setter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
When setting to the name of the field itself, the value in the current language will be set.
"When setting to the name of the field itself, the value\n in the current language will be set."
62
false
ulule/django-linguist
default_value_setter
30,829
LDU_FT/andersinno/python-database-sanitizer/sanitize_from_stream
LDU_FT
[ "<BEGIN>\n## `decode_copy_value`", "Decodes value received as part of Postgres `COPY` command.", " :param value: Value to decode.\n :type value: str", " :return: Either None if the value is NULL string, or the given value where\n escape sequences have been decoded from.\n :rtype: str|N...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sanitize_from_stream 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 sanitize_from_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Reads dump of MySQL database from given stream and sanitizes it. :param stream: Stream where the database dump is expected to be available from, such as stdout of `mysqldump` process. :type stream: file :param config: Optional sanitizer configuration to be used for sanitation ...
"Reads dump of MySQL database from given stream and sanitizes it.\n\n :param stream: Stream where the database dump is expected to be available\n from, such as stdout of `mysqldump` process.\n :type stream: file\n\n :param config: Optional sanitizer configuration to be used for sanitation\n ...
104
false
andersinno/python-database-sanitizer
sanitize_from_stream
30,830
LDU_FT/stain/forgetSQL/getAllText
LDU_FT
[ "<BEGIN>\n## `prepareClasses`", "Fix _userClasses and some stuff in classes.", " Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.", " Normally you would call forge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAllText API. 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 getAllText API. 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...
Retrieve a list of of all possible instances of this class. The list is composed of tuples in the format (id, description) - where description is a string composed by the fields from cls._shortView, joint with SEPERATOR.
"Retrieve a list of of all possible instances of this class.\n\n The list is composed of tuples in the format (id, description) -\n where description is a string composed by the fields from\n cls._shortView, joint with SEPERATOR."
66
false
stain/forgetSQL
getAllText
30,831
LDU_FT/gebn/wood/new
LDU_FT
[ "<BEGIN>\n## `_normalise_path`", "Ensures a path is parsed.", " :param path: A path string or Path object.\n :return: The path as a Path object.\n<END>", "<BEGIN>\n## `root`", "Retrieve a root directory object from a path.", " :param path: The path string or Path object.\n :return: The created...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Find the list of new paths in this comparison. :param base: The base directory to prepend to the right entity's name. :param include_intermediates: Whether to include new non-empty directories in the returned iterable. If you o...
"Find the list of new paths in this comparison.\n\n :param base: The base directory to prepend to the right entity's name.\n :param include_intermediates: Whether to include new non-empty\n directories in the returned iterable. If\n ...
70
false
gebn/wood
new
30,832
LDU_FT/jrabbit/hitman/hitsquad
LDU_FT
[ "<BEGIN>\n## `put_a_hit_out`", "Download a feed's most recent enclosure that we don't have\n<END>", "<BEGIN>\n## `selective_download`", "Note: RSS feeds are counted backwards, default newest is 0, the most recent.\n<END>", "<BEGIN>\n## `resolve_name`", "Takes a given input from a user and finds the url fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hitsquad API. 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 hitsquad API. 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...
put a hit out' on all known rss feeds [Default action without arguements]
"put a hit out' on all known rss feeds [Default action without arguements]"
20
false
jrabbit/hitman
hitsquad
30,833
LDU_FT/AnalogJ/lexicon/resolve
LDU_FT
[ "<BEGIN>\n## `_authenticate`", "Authenticate with netcup server. Must be called first.\n<END>", "<BEGIN>\n## `_create_record`", "Create record. If it already exists, do nothing.\n<END>", "<BEGIN>\n## `_list_records`", "List all records. Return an empty list if no records found.\n ``rtype``, ``name`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Resolve the value of the given config parameter key. Key must be correctly scoped for Lexicon, and optionally for the DNS provider for which the parameter is consumed. For instance: * config.resolve('lexicon:delegated') will get the delegated parameter for Lexicon * config.resolv...
"Resolve the value of the given config parameter key. Key must be correctly scoped for\n Lexicon, and optionally for the DNS provider for which the parameter is consumed.\n For instance:\n * config.resolve('lexicon:delegated') will get the delegated parameter for Lexicon\n * config.r...
218
false
AnalogJ/lexicon
resolve
30,834
LDU_FT/facelessuser/bracex/get_literals
LDU_FT
[ "<BEGIN>\n## `set_expanding`", "Set that we are expanding a sequence, and return whether a release is required by the caller.\n<END>", "<BEGIN>\n## `squash`", "Returns a generator that squashes two iterables into one.", " ```\n ['this', 'that'], [[' and', ' or']] => ['this and', 'this or', 'th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_literals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_literals API. 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...
Get a string literal. Gather all the literal chars up to opening curly or closing brace. Also gather chars between braces and commas within a group (is_expanding).
"Get a string literal.\n\n Gather all the literal chars up to opening curly or closing brace.\n Also gather chars between braces and commas within a group (is_expanding)."
20
false
facelessuser/bracex
get_literals
30,835
LDU_FT/data61/clkhash/get_tokenizer
LDU_FT
[ "<BEGIN>\n## `convert_v1_to_v2`", "Convert v1 schema dict to v2 schema dict.\n :param dict: v1 schema dict\n :return: v2 schema dict\n<END>", "<BEGIN>\n## `from_json_dict`", "Create a Schema for v1 or v2 according to dct", " :param dct: This dictionary must have a `'features'`\n key spec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tokenizer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tokenizer API. 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...
Get tokeniser function from the hash settings. This function takes a FieldHashingProperties object. It returns a function that takes a string and tokenises based on those properties.
"Get tokeniser function from the hash settings.\n\n This function takes a FieldHashingProperties object. It returns a\n function that takes a string and tokenises based on those properties."
212
false
data61/clkhash
get_tokenizer
30,836
LDU_FT/Kozea/pygal/_x_axis
LDU_FT
[ "<BEGIN>\n## `erfinv`", "Approximation of the inverse error function\n https://en.wikipedia.org/wiki/Error_function\n #Approximation_with_elementary_functions\n<END>", "<BEGIN>\n## `confidence_interval_continuous`", "Continuous confidence interval from sample size and standard error\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _x_axis API. 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 _x_axis API. 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...
Override x axis to put a center circle in center
"Override x axis to put a center circle in center"
147
false
Kozea/pygal
_x_axis
30,837
LDU_FT/jonhadfield/python-hosts/dedupe_list
LDU_FT
[ "<BEGIN>\n## `get_entry_type`", "Return the type of entry for the line of hosts file passed\n :param hosts_entry: A line from the hosts file\n :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'\n<END>", "<BEGIN>\n## `str_to_hostentry`", "Transform a line from a hosts file into an instance of HostsEn...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dedupe_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dedupe_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 extra...
Utility function to remove duplicates from a list :param seq: The sequence (list) to deduplicate :return: A list with original duplicates removed
"Utility function to remove duplicates from a list\n :param seq: The sequence (list) to deduplicate\n :return: A list with original duplicates removed"
28
false
jonhadfield/python-hosts
dedupe_list
30,838
LDU_FT/richardchien/nonebot/call_command
LDU_FT
[ "<BEGIN>\n## `handle_cancellation`", "If the input is a string of cancellation word, finish the command session.\n<END>", "<BEGIN>\n## `on_command`", "Decorator to register a function as a command.", " :param name: command name (e.g. 'echo' or ('random', 'number'))\n :param aliases: aliases of command...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_command API. 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 call_command API. 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...
Call a command internally. This function is typically called by some other commands or "handle_natural_language" when handling NLPResult object. Note: If disable_interaction is not True, after calling this function, any previous command session will be overridden, even if the command being called ...
"Call a command internally.\n\n This function is typically called by some other commands\n or \"handle_natural_language\" when handling NLPResult object.\n\n Note: If disable_interaction is not True, after calling this function,\n any previous command session will be overridden, even if the command\n bei...
105
false
richardchien/nonebot
call_command
30,839
LDU_FT/gtaylor/django-dynamodb-sessions/flush
LDU_FT
[ "<BEGIN>\n## `dynamodb_connection_factory`", "Since SessionStore is called for every single page view, we'd be\n establishing new connections so frequently that performance would be\n hugely impacted. We'll lazy-load this here on a per-worker basis. Since\n boto3.resource.('dynamodb')objects are state-le...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. 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 flush API. 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...
Removes the current session data from the database and regenerates the key.
"Removes the current session data from the database and regenerates the\n key."
16
false
gtaylor/django-dynamodb-sessions
flush
30,840
LDU_FT/ael-code/pyFsdb/check
LDU_FT
[ "<BEGIN>\n## `copy_content`", "copy the content of `origin` to `dstPath` in a safe manner.", " this function will first copy the content to a temporary file\n and then move it atomically to the requested destination.", " if some error occurred during content copy or file movement\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API. 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 check API. 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...
Check the integrity of the file with the given digest Args: digest -- digest of the file to check Returns: True if the file is not corrupted
"Check the integrity of the file with the given digest\n\n Args:\n digest -- digest of the file to check\n Returns:\n True if the file is not corrupted"
42
false
ael-code/pyFsdb
check
30,841
LDU_FT/AtteqCom/zsl/append_get_parameters
LDU_FT
[ "<BEGIN>\n## `_nested_transactional`", "In a transactional method create a nested transaction.\n<END>", "<BEGIN>\n## `exec_task`", "Execute task.", " :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>", "<BEGIN>\n## `ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_get_parameters 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 append_get_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Task decorator which appends the GET data to the task data. :param accept_only_web: Parameter which limits using this task only with web requests.
"Task decorator which appends the GET data to the task data.\n\n :param accept_only_web: Parameter which limits using this task only\n with web requests."
292
false
AtteqCom/zsl
append_get_parameters
30,842
LDU_FT/koszullab/instaGRAAL/build
LDU_FT
[ "<BEGIN>\n## `estimate_parameters_rippe`", "estimation by least square optimization of Rippe parameters on the\n experimental data\n :param max_dist_kb:\n :param size_bin_kb:\n<END>", "<BEGIN>\n## `estimate_parameters`", "estimation by least square optimization of Rippe parameters on the\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Build a pyramid of contact maps Build a fragment pyramid for multi-scale analysis Parameters ---------- base_folder : str or pathlib.Path Where to create the hdf5 files containing the matrices. size_pyramid : int How many levels (contact maps of decreasing resolution) to genera...
"Build a pyramid of contact maps\n\n Build a fragment pyramid for multi-scale analysis\n \n Parameters\n ----------\n base_folder : str or pathlib.Path\n Where to create the hdf5 files containing the matrices.\n size_pyramid : int\n How many levels (contact maps of decreasing resolution)...
116
false
koszullab/instaGRAAL
build
30,843
LDU_FT/jmoiron/speedparser/innertext
LDU_FT
[ "<BEGIN>\n## `strip_outer_tag`", "Strips the outer tag, if text starts with a tag. Not entity aware;\n designed to quickly strip outer tags from lxml cleaner output. Only\n checks for <p> and <div> outer tags.\n<END>", "<BEGIN>\n## `munge_author`", "If an author contains an email and a name in it, mak...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the innertext API. 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 innertext API. 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...
Return the inner text of a node. If a node has no sub elements, this is just node.text. Otherwise, it's node.text + sub-element-text + node.tail.
"Return the inner text of a node. If a node has no sub elements, this\n is just node.text. Otherwise, it's node.text + sub-element-text +\n node.tail."
32
false
jmoiron/speedparser
innertext
30,844
LDU_FT/saeschdivara/ArangoPy/instance
LDU_FT
[ "<BEGIN>\n## `all`", "Returns all documents of the collection", " :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instance API. 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 instance API. 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...
This method is called from everywhere in the code which accesses the database. If one of the parameters is set, these variables are overwritten for all others.
"This method is called from everywhere in the code which accesses the database.\n\n If one of the parameters is set, these variables are overwritten for all others."
115
false
saeschdivara/ArangoPy
instance
30,845
LDU_FT/axltxl/m2bk/make_backup_files
LDU_FT
[ "<BEGIN>\n## `chkstr`", "Small routine for checking whether a string is empty\n even a string", " :param s: the string in question\n :param v: variable name\n<END>", "<BEGIN>\n## `load`", "Load this driver", " Note that if either aws_access_key_id or aws_secret_access_key are\n not specifie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_backup_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_backup_files API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Backup all specified databases into a gzipped tarball via mongodump :param mongodump(str, optional): Path to mongodump executable :param hosts(dict, optional): A dict containing hosts info to be backed up :param host_defaults(dict, optional): Default values applied to each host :param dry_run(bool, opt...
"Backup all specified databases into a gzipped tarball via mongodump\n\n :param mongodump(str, optional): Path to mongodump executable\n :param hosts(dict, optional): A dict containing hosts info to be backed up\n :param host_defaults(dict, optional): Default values applied to each host\n :param dry_run(boo...
83
false
axltxl/m2bk
make_backup_files
30,846
LDU_FT/arokem/python-matlab-bridge/format_line
LDU_FT
[ "<BEGIN>\n## `split_pulls`", "split a list of closed issues into non-PR Issues and Pull Requests\n<END>", "<BEGIN>\n## `issues_closed_since`", "Get all issues closed since a particular point in time. period\n can either be a datetime object, or a timedelta object. In the\n latter case, it is used as a t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_line API. 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 format_line API. 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...
Format a line of Matlab into either a markdown line or a code line. Parameters ---------- line : str The line of code to be formatted. Formatting occurs according to the following rules: - If the line starts with (at least) two %% signs, a new cell will be started. ...
"Format a line of Matlab into either a markdown line or a code line.\n\n Parameters\n ----------\n line : str\n The line of code to be formatted. Formatting occurs according to the\n following rules:\n\n - If the line starts with (at least) two %% signs, a new cell will be\n start...
58
false
arokem/python-matlab-bridge
format_line
30,847
LDU_FT/pahaz/sshtunnel/_add_handler
LDU_FT
[ "<BEGIN>\n## `check_address`", "Check if the format of the address is correct", " Arguments:\n address (tuple):\n (``str``, ``int``) representing an IP address and port,\n respectively", " .. note::\n alternatively a local ``address`` can be a ``str`` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_handler API. 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...
Add a handler to an existing logging.Logger object
"Add a handler to an existing logging.Logger object"
96
false
pahaz/sshtunnel
_add_handler
30,848
LDU_FT/chovanecm/sacredboard/parse_int_arg
LDU_FT
[ "<BEGIN>\n## `get_file`", "Get a specific file from GridFS.", " Returns a binary stream response or HTTP 404 if not found.\n<END>", "<BEGIN>\n## `get_files_zip`", "Send all artifacts or sources of a run as ZIP.\n<END>", "<BEGIN>\n## `get`", "Return the file identified by a file_id string.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_int_arg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_int_arg API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return a given URL parameter as int or return the default value.
"Return a given URL parameter as int or return the default value."
128
false
chovanecm/sacredboard
parse_int_arg
30,849
LDU_FT/openclimatedata/pymagicc/pull_cfg_from_parameters_out
LDU_FT
[ "<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`", "Get the mappings from MAGICC to OpenSCM regions.", " This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_cfg_from_parameters_out API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_cfg_from_parameters_out API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Pull out a single config set from a parameters_out namelist. This function returns a single file with the config that needs to be passed to MAGICC in order to do the same run as is represented by the values in ``parameters_out``. Parameters ---------- parameters_out : dict, f90nml.Namelist ...
"Pull out a single config set from a parameters_out namelist.\n\n This function returns a single file with the config that needs to be passed to\n MAGICC in order to do the same run as is represented by the values in\n ``parameters_out``.\n\n Parameters\n ----------\n parameters_out : dict, f90nml.Nam...
245
false
openclimatedata/pymagicc
pull_cfg_from_parameters_out
30,850
LDU_FT/graphql-python/graphene-django/filter
LDU_FT
[ "<BEGIN>\n## `convert_serializer_field`", "Converts a django rest frameworks field to a graphql field\n and marks the field as required if we are creating an input type\n and the field itself is required\n<END>", "<BEGIN>\n## `perform_import`", "If the given setting is a string import notation,\n the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Convert the filter value to a primary key before filtering
"Convert the filter value to a primary key before filtering"
10
false
graphql-python/graphene-django
filter
30,851
LDU_FT/mattja/nsim/newmodel
LDU_FT
[ "<BEGIN>\n## `merge`", "Merge several timeseries\n Arguments:\n tup: sequence of Timeseries, with the same shape except for axis 0\n Returns: \n Resulting merged timeseries which can have duplicate time points.\n<END>", "<BEGIN>\n## `add_analyses`", "Dynamically add new analysis methods to the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the newmodel API. 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 newmodel API. 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...
Use the functions f and G to define a new Model class for simulations. It will take functions f and G from global scope and make a new Model class out of them. It will automatically gather any globals used in the definition of f and G and turn them into attributes of the new Model. Args: f: cal...
"Use the functions f and G to define a new Model class for simulations. \n\n It will take functions f and G from global scope and make a new Model class\n out of them. It will automatically gather any globals used in the definition\n of f and G and turn them into attributes of the new Model.\n\n Args:\n ...
427
false
mattja/nsim
newmodel
30,852
LDU_FT/helium/helium-python/live
LDU_FT
[ "<BEGIN>\n## `error_for`", "Return the appropriate initialized exception class for a response.\n<END>", "<BEGIN>\n## `device_configuration`", "Get a specific device configuration.", " A device can have at most one loaded and one pending device\n configuration. This returns that device_configur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the live API. 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 live API. 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...
Get a live stream of timeseries readings. This returns an Iterable over a live stream of readings. Note that the result will need to be closed since the system can not tell when you'll be done with it. You can either call ``close`` on the endpoint when you're or use the context...
"Get a live stream of timeseries readings.\n\n This returns an Iterable over a live stream of readings. Note\n that the result will need to be closed since the system can\n not tell when you'll be done with it.\n\n You can either call ``close`` on the endpoint when you're or\n use the...
223
false
helium/helium-python
live
30,853
LDU_FT/edibledinos/pwnypack/get_section_header
LDU_FT
[ "<BEGIN>\n## `fmtstring`", "Build a format string that writes given data to given locations. Can be\n used easily create format strings to exploit format string bugs.", " `writes` is a list of 2- or 3-item tuples. Each tuple represents a memory\n write starting with an absolute address, then the data t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_section_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_section_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get a specific section header by index or name. Args: section(int or str): The index or name of the section header to return. Returns: :class:`~ELF.SectionHeader`: The section header. Raises: KeyError: The requested section header does not exist.
"Get a specific section header by index or name.\n\n Args:\n section(int or str): The index or name of the section header to return.\n\n Returns:\n :class:`~ELF.SectionHeader`: The section header.\n\n Raises:\n KeyError: The requested section header does not exist."
353
false
edibledinos/pwnypack
get_section_header
30,854
LDU_FT/isogeo/isogeo-api-py-minsdk/tr
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 tr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted docu...
Returns translation of string passed. :param str subdomain: subpart of strings dictionary. Must be one of self.translations.keys() i.e. 'restrictions' :param str string_to_translate: string you want to translate
"Returns translation of string passed.\n\n :param str subdomain: subpart of strings dictionary.\n Must be one of self.translations.keys() i.e. 'restrictions'\n :param str string_to_translate: string you want to translate"
154
false
isogeo/isogeo-api-py-minsdk
tr
30,855
LDU_FT/noahbenson/pimms/argv_parser
LDU_FT
[ "<BEGIN>\n## `to_argv_schema`", "to_argv_schema(instructions) yields a valid tuple of CommandLineParser instructions for the\n given instructions tuple; by itself, this will only return the instructions as they are, but\n optional arguments (below) will override the values in the instructions if provide...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argv_parser API. 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 argv_parser API. 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...
argv_parser(instructions) is equivalent to CommandLineParser(instructions). argv_parser(plan) is equivalent to CommandLineParser(plan_to_argv_instructions(plan)). See also help(CommandLineParser) and help(to_argv_schema); all optional arguments accepted by these functions are passed along by argv_parser. ...
"argv_parser(instructions) is equivalent to CommandLineParser(instructions).\n argv_parser(plan) is equivalent to CommandLineParser(plan_to_argv_instructions(plan)).\n\n See also help(CommandLineParser) and help(to_argv_schema); all optional arguments accepted by\n these functions are passed along by argv_pars...
241
false
noahbenson/pimms
argv_parser
30,856
LDU_FT/pazz/alot/add_message
LDU_FT
[ "<BEGIN>\n## `determine_sender`", "Inspect a given mail to reply/forward/bounce and find the most appropriate\n account to act from and construct a suitable From-Header to use.", " :param mail: the email to inspect\n :type mail: `email.message.Message`\n :param action: intended use case: one of \"re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extra...
Adds a file to the notmuch index. :param path: path to the file :type path: str :param tags: tagstrings to add :type tags: list of str :param afterwards: callback to trigger after adding :type afterwards: callable or None
"Adds a file to the notmuch index.\n\n :param path: path to the file\n :type path: str\n :param tags: tagstrings to add\n :type tags: list of str\n :param afterwards: callback to trigger after adding\n :type afterwards: callable or None"
454
false
pazz/alot
add_message
30,857
LDU_FT/abw333/dominoes/_domino_hand
LDU_FT
[ "<BEGIN>\n## `_randomized_hands`", ":return: 4 hands, obtained by shuffling the 28 dominoes used in\n this variation of the game, and distributing them evenly\n<END>", "<BEGIN>\n## `_validate_player`", "Checks that a player is a valid player. Valid players are: 0, 1, 2, and 3.", " :param int ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _domino_hand API. 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 _domino_hand API. 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...
:param Domino d: domino to find within the hands :param list hands: hands to find domino in :return: index of the hand that contains the specified domino :raises NoSuchDominoException: if no hand contains the specified domino
":param Domino d: domino to find within the hands\n :param list hands: hands to find domino in\n :return: index of the hand that contains the specified domino\n :raises NoSuchDominoException: if no hand contains the specified domino"
70
false
abw333/dominoes
_domino_hand
30,858
LDU_FT/mlperf/training/greedy_search
LDU_FT
[ "<BEGIN>\n## `sorted_product_set`", "Compute the product set of array_a and array_b and sort it.\n<END>", "<BEGIN>\n## `set_low_quality_matches_`", "Produce additional matches for predictions that have only low-quality matches.\n Specifically, for each ground-truth find the set of predictions that have...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the greedy_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the greedy_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 ext...
Greedy decoder. :param batch_size: decoder batch size :param initial_input: initial input, usually tensor of BOS tokens :param initial_context: initial context, usually [encoder_context, src_seq_lengths, None] returns: (translation, lengths, counter) translation...
"Greedy decoder.\n\n :param batch_size: decoder batch size\n :param initial_input: initial input, usually tensor of BOS tokens\n :param initial_context: initial context, usually [encoder_context,\n src_seq_lengths, None]\n\n returns: (translation, lengths, counter)\n tr...
1,285
true
mlperf/training
greedy_search
30,859
LDU_FT/carlosp420/dataset-creator/_extract_number_of_taxa
LDU_FT
[ "<BEGIN>\n## `split_data`", "Splits the list of SeqRecordExpanded objects into lists, which are\n kept into a bigger list.", " If the file_format is Nexus, then it is only partitioned by gene. If it\n is FASTA, then it needs partitioning by codon positions if required.", " Example:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_number_of_taxa 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 _extract_number_of_taxa API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
sets `self.number_taxa` to the number of taxa as string
"sets `self.number_taxa` to the number of taxa as string"
54
false
carlosp420/dataset-creator
_extract_number_of_taxa
30,860
LDU_FT/PeerAssets/pypeerassets/listunspent
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 listunspent API. 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 listunspent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns unspent transactions for given address.
"Returns unspent transactions for given address."
86
false
PeerAssets/pypeerassets
listunspent
30,861
LDU_FT/PedalPi/Application/reload_lv2_plugins_data
LDU_FT
[ "<BEGIN>\n## `start`", "Start the application, initializing your components.\n<END>", "<BEGIN>\n## `stop`", "Stop the application, closing your components.\n<END>", "<BEGIN>\n## `by`", "Get the plugins registered in PedalPi by technology", " :param PluginTechnology technology: PluginTechnology id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_lv2_plugins_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload_lv2_plugins_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Search for LV2 audio plugins in the system and extract the metadata needed by pluginsmanager to generate audio plugins.
"Search for LV2 audio plugins in the system and extract the metadata\n needed by pluginsmanager to generate audio plugins."
42
false
PedalPi/Application
reload_lv2_plugins_data
30,862
LDU_FT/Nike-Inc/cerberus-python-client/_get_secrets
LDU_FT
[ "<BEGIN>\n## `throw_if_bad_response`", "Throw an exception if the Cerberus response is not successful.\n<END>", "<BEGIN>\n## `_add_slash`", "if a string doesn't end in a '/' add one\n<END>", "<BEGIN>\n## `_set_token`", "Set the Cerberus token based on auth type\n<END>", "<BEGIN>\n## `get_roles`", "Ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_secrets API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_secrets API. 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...
Return full json secrets based on the secure data path Keyword arguments: secure_data_path (string) -- full path in the secret deposit box that contains the key /shared/sdb-path/secret
"Return full json secrets based on the secure data path\n Keyword arguments:\n\n secure_data_path (string) -- full path in the secret deposit box that contains the key\n /shared/sdb-path/secret"
86
false
Nike-Inc/cerberus-python-client
_get_secrets
30,863
LDU_FT/rhazdon/django-sonic-screwdriver/__git_commit
LDU_FT
[ "<BEGIN>\n## `check_existens_of_staging_tag_in_remote_repo`", "This method will check, if the given tag exists as a staging tag in the remote repository.", " The intention is, that every tag, which should be deployed on a production envirnment,\n has to be deployed on a staging environment before....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __git_commit API. 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 __git_commit API. 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...
Commit files to branch. The function call will return 0 if the command success.
"Commit files to branch.\n The function call will return 0 if the command success."
26
false
rhazdon/django-sonic-screwdriver
__git_commit
30,864
LDU_FT/google/identity-toolkit-python-client/GetPublicCert
LDU_FT
[ "<BEGIN>\n## `DownloadAccount`", "Downloads multiple accounts from Gitkit server.", " Args:\n next_page_token: string, pagination token.\n max_results: pagination size.", " Returns:\n An array of accounts.\n<END>", "<BEGIN>\n## `UploadAccount`", "Uploads multiple accounts to Gitkit se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetPublicCert API. 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 GetPublicCert API. 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...
Download Gitkit public cert. Returns: dict of public certs.
"Download Gitkit public cert.\n\n Returns:\n dict of public certs."
63
false
google/identity-toolkit-python-client
GetPublicCert
30,865
LDU_FT/richardchien/nonebot/_simple_chinese_to_bool
LDU_FT
[ "<BEGIN>\n## `handle_cancellation`", "If the input is a string of cancellation word, finish the command session.\n<END>", "<BEGIN>\n## `on_command`", "Decorator to register a function as a command.", " :param name: command name (e.g. 'echo' or ('random', 'number'))\n :param aliases: aliases of command...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _simple_chinese_to_bool 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 _simple_chinese_to_bool API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Convert a chinese text to boolean. Examples: 是的 -> True 好的呀 -> True 不要 -> False 不用了 -> False 你好呀 -> None
"Convert a chinese text to boolean.\n\n Examples:\n\n 是的 -> True\n 好的呀 -> True\n 不要 -> False\n 不用了 -> False\n 你好呀 -> None"
105
false
richardchien/nonebot
_simple_chinese_to_bool
30,866
LDU_FT/RyanBalfanz/django-smsish/open
LDU_FT
[ "<BEGIN>\n## `open`", "Ensures we have a connection to the SMS gateway. Returns whether or not a new connection was required (True or False).\n<END>", "<BEGIN>\n## `_send`", "A helper method that does the actual sending.\n<END>", "<BEGIN>\n## `get_sms_connection`", "Load an sms backend and return an insta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Ensures we have a connection to the SMS gateway. Returns whether or not a new connection was required (True or False).
"Ensures we have a connection to the SMS gateway. Returns whether or not a new connection was required (True or False)."
23
false
RyanBalfanz/django-smsish
open
30,867
LDU_FT/ericmjl/nxviz/compute_node_label_positions
LDU_FT
[ "<BEGIN>\n## `draw`", "Draws the Plot to screen.", " If there is a continuous datatype for the nodes, it will be reflected\n in self.sm being constructed (in `compute_node_colors`). It will then\n automatically add in a colorbar to the plot and scale the plot axes\n accordingly.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_node_label_positions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_node_label_positions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Uses the get_cartesian function to compute the positions of each node label in the Circos plot. This method is always called after the compute_node_positions method, so that the plot_radius is pre-computed. This will also add a new attribute, `node_label_rotation` to the object ...
"Uses the get_cartesian function to compute the positions of each node\n label in the Circos plot.\n\n This method is always called after the compute_node_positions\n method, so that the plot_radius is pre-computed.\n This will also add a new attribute, `node_label_rotation` to the object\n ...
83
false
ericmjl/nxviz
compute_node_label_positions
30,868
LDU_FT/jeremylow/pyshk/AsDict
LDU_FT
[ "<BEGIN>\n## `get_user`", "Get a user object from the API. If no ``user_id`` or ``user_name``\n is specified, it will return the User object for the currently\n authenticated user.", " Args:\n user_id (int): User ID of the user for whom you want to get\n informatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AsDict API. 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 AsDict API. 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 ...
A dict representation of this Shake instance. The return value uses the same key names as the JSON representation. Return: A dict representing this Shake instance
"A dict representation of this Shake instance.\n\n The return value uses the same key names as the JSON representation.\n\n Return:\n A dict representing this Shake instance"
85
false
jeremylow/pyshk
AsDict
30,869
LDU_FT/squaresLab/BugZoo/build
LDU_FT
[ "<BEGIN>\n## `is_installed`", "Determines whether the Docker image for a given bug has been installed\n on the server.\n<END>", "<BEGIN>\n## `register`", "Dynamically registers a given bug with the server. Note that the\n registration will not persist beyond the lifetime of the server.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Constructs a CoverageExtractor for a given container using the coverage instructions provided by its accompanying bug description.
"Constructs a CoverageExtractor for a given container using the coverage\n instructions provided by its accompanying bug description."
247
false
squaresLab/BugZoo
build
30,870
LDU_FT/jbasko/wr-profiles/activate
LDU_FT
[ "<BEGIN>\n## `envvar_profile_cls`", "A class decorator that makes the decorated class a sub-class of EnvvarProfile and transforms\n its type annotations into envvar profile properties.\n<END>", "<BEGIN>\n## `envvar_profile`", "Creates an EnvvarProfile instance without the need for an explicit declaration o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activate API. 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 activate API. 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...
Sets <PROFILE_ROOT>_PROFILE environment variable to the name of the current profile.
"Sets <PROFILE_ROOT>_PROFILE environment variable to the name of the current profile."
23
false
jbasko/wr-profiles
activate
30,871
LDU_FT/dddomodossola/remi/repr
LDU_FT
[ "<BEGIN>\n## `add_coord`", "Adds a coord to the polyline and creates another circle\n<END>", "<BEGIN>\n## `set_stroke`", "Sets the stroke properties.\r", " Args:\r\n width (int): stroke width\r\n color (str): stroke color\n<END>", "<BEGIN>\n## `add_arrow_coord`", "Determine ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repr API. 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 repr API. 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...
Represents the widget as HTML format, packs all the attributes, children and so on. Args: client (App): Client instance. changed_widgets (dict): A dictionary containing a collection of widgets that have to be updated. The Widget that have to be updated is the key, and th...
"Represents the widget as HTML format, packs all the attributes, children and so on.\n\n Args:\n client (App): Client instance.\n changed_widgets (dict): A dictionary containing a collection of widgets that have to be updated.\n The Widget that have to be updated is the key, ...
195
false
dddomodossola/remi
repr
30,872