text
string
label
int64
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>_doc = "A glacier mask geotiff file with the same extend and projection as the `dem.tif`. This geotiff has value 1 at glaciated grid points and value 0 at ungl...
0
{'name': 'scan@archive/skylift/cli_scan.py', 'description': 'Scan WiFi networks using local system', 'signature': 'def scan(ctx, opt_fp_out, opt_os):'}</s>{'name': 'ensure_posixpath@archive/skylift/app/utils/file_utils.py', 'description': 'Ensures filepath is pathlib.Path\n:param fp: a (str, LazyFile, PosixPath)\n:retu...
0
{'name': 'HTTPConnectionPool._get_conn@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Get a connection. Will return a pooled connection if one is available.\n\nIf no connections are available and :prop:`.block` is ``False``, then a\nfresh connec...
0
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>REQUESTED_RANGE_NOT_SATISFIABLE = 416
0
{'name': 'HomographyTransform.transform_coord@util/homg_trans.py', 'description': 'Transform coordinate in original space to homography transformed space.\nDependencies: init_map_coordinate\n:param coord: point in original space\n:return: point in transformed space', 'signature': 'def transform_coord(self, coord):'}</s...
0
{'name': 'clean_text_by_word@summarization/textcleaner.py', 'description': 'Tokenizes a given text into words, applying filters and lemmatizing them.\nReturns a dict of word -> syntacticUnit. ', 'signature': 'def clean_text_by_word(text, deacc=True):'}</s>{'name': 'replace_abbreviations@summarization/textcleaner.py', '...
0
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>{'name': 'TrinoUserError@trino/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['Tr...
0
{'name': 'resnext101_32x8d@models/encoder/resnet.py', 'description': 'ResNeXt-101 32x8d model from\n`"Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf/1611.05431.pdf>`_\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet\n progress (bool): If True, displ...
1
{'name': 'Executor.update_server_stats@cr8/run_spec.py', 'description': 'Triggers ANALYZE on the server to update statistics.', 'signature': 'def update_server_stats(self):'}</s>{'name': '_to_http_hosts@cr8/clients.py', 'description': "Convert a string of whitespace or comma separated hosts into a list of hosts.\n\nHos...
0
{'name': 'ConsoleWidget._set_completion_widget@qtconsole/console_widget.py', 'description': 'Set gui completion widget.\n ', 'signature': 'def _set_completion_widget(self, gui_completion):'}</s>{'name': 'get_font@qtconsole/util.py', 'description': "Return a font of the requested family, using fallback as alterna...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh...
0
{'name': 'drop_unused_definitions@graphene_tornado/apollo_tooling/transforms.py', 'description': 'A GraphQL query may contain multiple named operations, with the operation to\nuse specified separately by the client. This transformation drops unused\noperations from the query, as well as any fragment definitions that ar...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_Q_SERVICE_INTERVAL_HIGH = 2226
0
{'name': 'get_deck_info@ankipandas/raw.py', 'description': 'Get information about decks.\n\nArgs:\n db: Database (:class:`sqlite3.Connection`)\n\nReturns:\n Nested dictionary', 'signature': 'def get_deck_info(db: sqlite3.Connection) -> dict:'}</s>{'name': 'get_mid2templateords@ankipandas/raw.py', 'description': '...
0
{'name': 'calc_slice_target_position@geetest_online/geetest_online.py', 'description': 'recover image and calculate slice target position', 'signature': 'def calc_slice_target_position(fullbg_data, bg_data):'}</s>USERRESPONSE_JSCONTEXT = JSRUNTIME.compile(util.USERRESPONSE_JS)
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'Option@src/api/python/z3/z3.py', 'des...
0
{'name': 'readState@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Initialize the dictionary, unless a previous state is passed in', 'signature': 'def readState(ser, init=None):'}</s>{'name': 'portList@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'DOCSTRING', 'code': "def portList(portDirectory='/dev'): # Finds possible ports ...
0
{'name': 'SpliceComments@tools/yapf/yapf/yapflib/comment_splicer.py', 'description': 'Given a pytree, splice comments into nodes of their own right.\n\nExtract comments from the prefixes where they are housed after parsing.\nThe prefixes that previously housed the comments become empty.\n\nArgs:\n tree: a pytree.Node ...
0
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>{'name': 'reshape@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Returns an array containing the same data with a new shape.\n\nRefer to `M...
0
{'name': '_make_tree@shipwright/_lib/dependencies.py', 'description': 'Converts a list of images into a tree represented by a zipper.\nsee http://en.wikipedia.org/wiki/Zipper_(data_structure)', 'signature': 'def _make_tree(images):'}</s>{'name': 'zipper@shipwright/_lib/zipper.py', 'description': 'DOCSTRING', 'code': 'd...
1
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'HTTPAdapter.send@TDScanner/libs/requests/adapters.py', 'description': 'Sends PreparedRequest object. Returns Response object.\n\n:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.\n:param stream: (optional) Whether to stream the request content.\n:param timeout: (optional) How long to ...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ...
0
{'name': 'parse_extract@kb_python/main.py', 'description': 'Parser for the `extract` command.\n\nArgs:\n parser: The argument parser\n args: Parsed command-line arguments', 'signature': 'def parse_extract('}</s>{'name': 'ref_custom@kb_python/ref.py', 'description': 'Generates files necessary for indexing custom t...
0
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'MikrotikCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikCoordinator.', 'signature': 'def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry):'}</s>CONF_TRACK_IFACE_CLIENTS = "track_iface_clients"
0
{'name': 'TimeRangePartitionManager.create_partition@pg_partitioning/manager.py', 'description': 'The partition of the next cycle is created according to the configuration.\nAfter modifying the period field, the new period will take effect the next time.\nThe start time of the new partition is the end time of the previ...
0
{'name': 'ExpressionReader.readLine@lib/tools.py', 'description': 'This method reads and parses an "expression" line', 'signature': 'def readLine(self, header = True):'}</s>{'name': 'EWriter@lib/event.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'EWriter.__init__@lib/event.py', 'description...
0
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'no_match@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'DOCSTRING', 'base_cla...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=...
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'AstVectorObj@src/api/python/z3/z3types.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.c_void_p'], 'methods': [{'na...
0
{'name': 'ensure_list@custom_components/zwave_mqtt/discovery.py', 'description': 'Convert a value to a list if needed.', 'signature': 'def ensure_list(value):'}</s>SERVICE_REPLACE_FAILED_NODE = "replace_failed_node"
0
{'name': 'Muse._init_timestamp_correction@muselsl/muse.py', 'description': 'Init IRLS params', 'signature': 'def _init_timestamp_correction(self):'}</s>MUSE_GATT_ATTR_SERVICECHANGED = "00002a05-0000-1000-8000-00805f9b34fb"
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'on_download_database@src/server/server.py', 'description': 'Download selected event database file.', 'code': "def on_download_database(data):\n '''Download selected eve...
0
{'name': 'Function.simplify_string_getter_from_storage@panoramix/function.py', 'description': 'a heuristic for finding string getters and replacing them\nwith a simplified version\n\ntest cases: unicorn\n 0xF7dF66B1D0203d362D7a3afBFd6728695Ae22619 name\n 0xf8e386EDa857484f5a12e4B5DAa9984E06E73705 ...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'versions_from_file@versioneer.py', 'description': 'Try to determine the version from _ver...
1
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'ParabolicBedFlowline@oggm/core/flowline.py', 'description': 'A parabolic shaped Flowline with one degree of freedom\n ', 'base_classes':...
0
{'name': 'OptimizationDataset.add_entry@qcportal/collections/optimization_dataset.py', 'description': 'Parameters\n----------\nname : str\n The name of the entry, will be used for the index\ninitial_molecule : Molecule\n The list of starting Molecules for the Optimization\nadditional_keywords : Dict[str, Any], op...
0
{'name': 'CODSAnalysis.run_bootstrap@rdtools/soiling.py', 'description': "Bootstrapping of CODS algorithm for uncertainty analysis, inherently accounting\nfor model and parameter choices.\n\nFirst, calls on :py:func:`iterative_signal_decomposition` to fit N different\nmodels. Next, bootstrap samples are generated based...
0
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'do_release@extra/release_tool.py', 'description': 'Handles the interactive menu for doing a release.', 'code': 'def do_release(release_sta...
0
{'name': 'Node.decide_between_simultaneous_individuals@ciw/node.py', 'description': 'Finds the next individual that should now finish service.', 'signature': 'def decide_between_simultaneous_individuals(self):'}</s>{'name': 'Server@ciw/server.py', 'description': 'A class to contain server information.', 'base_classes':...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_234 = Badge("magic wand", ...
0
{'name': 'estimate_clock_model@treetime/wrappers.py', 'description': 'implementing treetime clock', 'signature': 'def estimate_clock_model(params):'}</s>{'name': 'GTR@treetime/gtr.py', 'description': 'Defines General-Time-Reversible model of character evolution.', 'base_classes': ['object'], 'methods': [{'name': 'GTR._...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation...
0
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>put = make_default_app_wrapper('put')
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>ATTR_TRIGGER_TIME = "trigger_time"
0
{'name': 'BL3Save.import_protobuf@bl3save/bl3save.py', 'description': 'Given raw protobuf data, load it into ourselves so\nthat we can work with it. This also sets up a few\nconvenience vars for our later use', 'signature': 'def import_protobuf(self, data):'}</s>psdu_to_eng = { PSDU_LOSTLOOT: 'Lost Loot', ...
0
{'name': 'make_game@reversibility/pycolab/pycolab/examples/extraterrestrial_marauders.py', 'description': 'Builds and returns an Extraterrestrial Marauders game.', 'signature': 'def make_game():'}</s>{'name': 'Backdrop@reversibility/pycolab/pycolab/things.py', 'description': 'Background scenery for a pycolab game board...
0
{'name': 'Loss.get_dis_gan_loss@src/CycleGAN/CycleGAN.py', 'description': "Parameters:\n dis_pred_real_data: Discriminator's prediction on real data\n dis_pred_fake_data: Discriminator's prediction on fake data", 'signature': 'def get_dis_gan_loss(self, dis_pred_real_data, dis_pred_fake_data):'}</s>nb_epochs = 20...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIMPO_VERSION_1 = 1
0
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'Route@src/back/kite/bottle.py', 'description': 'This class wraps a ...
0
{'name': 'load_mat@mhkit/dolfyn/io/api.py', 'description': 'Load xarray dataset from MATLAB (.mat) file, complimentary to `save_mat()`\n\nA .mat file must contain the fields: {vars, coords, config, units},\nwhere \'coords\' contain the dimensions of all variables in \'vars\'.\n\nParameters\n----------\nfilename : str\n...
0
{'name': 'HtmlFormatter.make_html_word@src/freetype/src/tools/docmaker/tohtml.py', 'description': 'Analyze a simple word to detect cross-references and markup.', 'signature': 'def make_html_word(self, word):'}</s>{'name': 'ContentProcessor@src/freetype/src/tools/docmaker/content.py', 'description': 'DOCSTRING', 'base_c...
0
{'name': 'LSAnomaly.score@lsanomaly/_lsanomaly.py', 'description': 'Calculate accuracy score, needed because of bug in\nmetrics.accuracy_score when comparing list with numpy array.', 'signature': 'def score(self, X, y):'}</s>{'name': 'median_kneighbour_distance@lsanomaly/lengthscale_approx.py', 'description': 'Calculat...
0
{'name': 'MobileNet@train/mobilenet_sipeed/mobilenet.py', 'description': "Instantiates the MobileNet architecture.\n\n# Arguments\n input_shape: optional shape tuple, only to be specified\n if `include_top` is False (otherwise the input shape\n has to be `(224, 224, 3)`\n (with `channels_last` d...
0
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:...
0
{'name': 'process_line@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have ...
0
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'fx_karoo_pause@karoo-gp.py', 'description': "Pause the program execution and engage the user, providing a number of options.\n\nCalled by: fx_karoo_pause_refer\n\nArguments required: [0,1,2] where (0) refers to an end-of-run;\n(1) refers to any use of the (pause) menu from within the run,\nand anticipates ENT...
0
{'name': 'trim@model/training.py', 'description': 'Trim data to only include desired output metric.', 'signature': 'def trim(data, output):'}</s>{'name': 'postgres_to_csv@model/training.py', 'description': 'Connect to PostgreSQL database and export data to CSV file.', 'code': 'def postgres_to_csv(environment=\'producti...
0
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_2 = 50
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'Frame.render@aiohttp_debugtoolbar/tbtools/tbtools.py', 'description': 'Render a single frame in a traceback.', 'signature': 'def render(self):'}</s>{'name': 'Console@aiohttp_debugtoolbar/tbtools/console.py', 'description': 'An interactive console.', 'base_classes': [], 'methods': [{'name': 'Console.__init__@a...
0
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>lnurl_qr_1 = "Scansiona per"
0
{'name': 'touch@tests/test_sync.py', 'description': 'Utility function for updating a file time stamp.\n\nSource:\n https://stackoverflow.com/questions/1158076/implement-touch-using-python', 'signature': 'def touch(fname, mode=0o666, dir_fd=None, **kwargs):'}</s>{'name': 'sync_projects@signac/sync.py', 'description':...
0
{'name': '_neg_log_likelihood@pelicun/uq.py', 'description': 'Calculate negative log likelihood.\n\nCalculate the negative log likelihood of the given data samples\ngiven the parameter values and distribution information.\n\nThis function is used as an objective function in optimization\nalgorithms to estimate the para...
1
{'name': 'update_price_figure@dash-stock-pricing/app.py', 'description': 'Create a plot of stock prices\n\nArgs:\n tickers: ticker symbols from the dropdown select\n price: the radio button price selection\nReturns:\n a graph `figure` dict containing the specificed\n price data points per stock', 'signature...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'get_fields@papis_zotero/sql.py', 'description': ':arg item_id: an identifier for the item to query.\n:returns: a dictionary mapping fields to their values, e.g. ``"doi"``.', 'signature': 'def get_fields(connection: sqlite3.Connection, item_id: str) -> Dict[str, str]:'}</s>{'name': 'add_from_bibtex@papis_zoter...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOO_SAVE_ALL_CONTEXT = 128
0
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'sublime_hask...
0
{'name': 'TreeMetadataEmitter.emit_from_sandbox@python/mozbuild/mozbuild/frontend/emitter.py', 'description': 'Convert a MozbuildSandbox to tree metadata objects.\n\nThis is a generator of mozbuild.frontend.data.SandboxDerived instances.', 'signature': 'def emit_from_sandbox(self, sandbox):'}</s>{'name': 'LocalInclude@...
0
{'name': 'note_to_svara_h@librosa/core/convert.py', 'description': "Convert western notes to Hindustani svara\n\nNote that this conversion assumes 12-tone equal temperament.\n\nParameters\n----------\nnotes : str or iterable of str\n Notes to convert (e.g., `'C#'` or `['C4', 'Db4', 'D4']`\n\nSa : str\n Note corre...
0
{'name': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>valid_inspiration_fields = essential_inspiration_fields + optional_inspiration_fields
0
{'name': 'delta@py_vollib/ref_python/black_scholes_merton/greeks/analytical.py', 'description': "Returns the Black-Scholes-Merton delta of an option.\n\n:param flag: 'c' or 'p' for call or put.\n:type flag: str\n:param S: underlying asset price\n:type S: float\n:param K: strike price\n:type K: float\n:param t: time to ...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>OPTIONS_MENU = [4086]
0
{'name': 'transName@main/toolkit/src2xml/source/srcparser.py', 'description': 'Translate a mixed-casing name to dash-separated name.\n\nTranslate a mixed-casing name (e.g. MyLongName) to a dash-separated name\n(e.g. my-long-name).', 'signature': 'def transName (name):'}</s>{'name': 'ParseError@main/toolkit/src2xml/sour...
0
{'name': '_Polynomial.loess@pybaselines/polynomial.py', 'description': 'Locally estimated scatterplot smoothing (LOESS).\n\nPerforms polynomial regression at each data point using the nearest points.\n\nParameters\n----------\ndata : array-like, shape (N,)\n The y-values of the measured data, with N data points.\nfr...
0
{'name': 'Header.__init__@src/future/backports/email/header.py', 'description': "Create a MIME-compliant header that can contain many character sets.\n\nOptional s is the initial header value. If None, the initial header\nvalue is not set. You can later append to the header with .append()\nmethod calls. s may be a b...
0
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>PACKSTACK_VAR_DIR = "/var/tmp/packstack"
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_IsMapField@third_party/dawn/third_party/protobuf/pyt...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFRuleset@pf/rule.py', 'description': 'Class representing a Packet Filter ruleset or anchor.', 'base_classes': ['PFRule'], 'methods': [{'name': 'PFRuleset.__init__@...
1
{'name': 'CorrectBinaryLengthAndPreamble.verify_binary_length_and_header@third_party/spirv-tools/test/tools/expect.py', 'description': "Checks that the given SPIR-V binary has valid length and header.\n\nReturns:\n False, error string if anything is invalid\n True, '' otherwise\nArgs:\n binary: a bytes object ...
0
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_kwdstr@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Keyword arguments as a string.\n...
0
{'name': 'generate_intervals@emissionsapi/autoupdater.py', 'description': 'Generator for intervals between start and end in days intervals.\n\n:param start: Starting datetime for the intervals.\n:type start: datetime.datetime\n:param end: End datetime for the intervals.\n:type end: datetime.datetime\n:param days: Days ...
0
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>{'name': 'SwitchUpstreamPort@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['Bridge'], 'methods': [{'na...
0
{'name': 'fsn2uri@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': "Args:\n path (fsnative): The path to convert to an URI\nReturns:\n `text`: An ASCII only URI\nRaises:\n TypeError: If no `fsnative` was passed\n ValueError: If the path can't be converted\n\nTakes a `fsnat...
0
{'name': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>CROSS = "✘ "
0