text string | label int64 |
|---|---|
{'name': 'Node.deserialize_properties@figmapy/datatypes/nodes.py', 'description': 'deserialize properties to their matching type', 'signature': 'def deserialize_properties(self):'}</s>{'name': 'get_file_key@figmapy/utils.py', 'description': 'DOCSTRING', 'code': "def get_file_key(node):\n # comments use file_key\n ... | 0 |
{'name': 'get_cmap_list@src/cmasher/utils.py', 'description': "Returns a list with the names of all colormaps available in *CMasher* of\nthe given `cmap_type`.\n\nNote that *CMasher* colormaps registered in *MPL* have an added 'cmr.'\nprefix.\n\nOptional\n--------\ncmap_type : {'a'/'all'; 's'/'seq'/'sequential'; 'd'/'d... | 0 |
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'T@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'For use in yt-dl instead of {... | 0 |
{'name': 'ProAntiSaccades.run_trials@demo_experiments/anti_saccades.py', 'description': ' ', 'signature': 'def run_trials(self, nTrials, task, practice=False):'}</s>HAS_PSYCHOPY = False | 0 |
{'name': 'parse@marko/inline_parser.py', 'description': 'Parse given text and produce a list of inline elements.\n\n:param text: the text to be parsed.\n:param elements: the element types to be included in parsing\n:param fallback: fallback class when no other element type is matched.', 'signature': 'def parse('}</s>{'... | 0 |
{'name': '_populate_objective_func_block@lleaves/compiler/codegen/codegen.py', 'description': 'Takes the objective function specification and generates the code for it into the builder', 'signature': 'def _populate_objective_func_block('}</s>{'name': 'dconst@lleaves/compiler/codegen/codegen.py', 'description': 'DOCSTRI... | 0 |
{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_2ROT = CScriptOp(0x71) | 0 |
{'name': 'register@addon_updater_ops.py', 'description': 'Registering the operators in this module', 'signature': 'def register(bl_info):'}</s>ran_background_check = False | 0 |
{'name': 'resnet18@src/models/resnet.py', 'description': 'Constructs a ResNet-18 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet18(pretrained=False, **kwargs):'}</s>{'name': 'resnext50_32x4d@src/models/resnet.py', 'description': 'DOCSTRING', 'code': "d... | 0 |
{'name': 'parse_extrinsics@fairnr/data/geometry.py', 'description': 'this function is only for numpy for now', 'signature': 'def parse_extrinsics(extrinsics, world2camera=True):'}</s>{'name': 'load_rgb@fairnr/data/data_utils.py', 'description': 'DOCSTRING', 'code': "def load_rgb(\n path, \n resolution=None, \n ... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_SUITE_B_128_BIT = 2 | 0 |
{'name': 'TogglSet.get@toggl/api/base.py', 'description': 'Method for fetching detail object of the entity. it fetches the object based on specified conditions.\n\nIf ID is used then detail URL is used to fetch object.\nIf other conditions are used to specify the object, then TogglSet will fetch all objects using listi... | 1 |
{'name': 'Task.apply@kuyruk/task.py', 'description': 'Called by workers to run the wrapped function.\nYou may call it yourself if you want to run the task in current process\nwithout sending to the queue.\n\nIf task has a `retry` property it will be retried on failure.\n\nIf task has a `max_run_time` property the task ... | 0 |
{'name': 'CodeGenTest.test_fgpu_agent_func_input_types@tests/python/codegen/test_codegen.py', 'description': 'Try all the message input types by using a string replacement ', 'signature': 'def test_fgpu_agent_func_input_types(self):'}</s>py_fgpu_constexpr = "a = 12
@pyflamegpu.agent_function
def func(message_in: pyfla... | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'test_testosterone@permute/data/tests/test_data.py', 'description': 'Test that "testosterone" data can be loaded. ', 'signature': 'def test_testosterone():'}</s>{'name': 'massaro_blair@permute/data/__init__.py', 'description': 'The\n\n ', 'code': 'def massaro_blair():\n """The\n\n """\n return load... | 0 |
{'name': 'Node.bye@shingetsu/node.py', 'description': 'Unconnect.', 'signature': 'def bye(self):'}</s>version = _get_version() | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'test_hframe_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write HyperFrame PBs to disk and back.\n:return:', 'signature': 'def test_hframe_rw_pb():'}</s>{'name': '_make_link_records@tests/bundles/test_hframe.py', 'description': 'Returns:\n file_link, s3_link, db_link', 'code': 'def _make_link_record... | 0 |
{'name': 'get_sinusoid_encoding@ppim/models/t2t.py', 'description': 'Sinusoid position encoding table', 'signature': 'def get_sinusoid_encoding(n_position, d_hid):'}</s>{'name': 'T2T_ViT@ppim/models/t2t.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Layer'], 'methods': [{'name': 'T2T_ViT.__init__@ppim/models/t2t... | 0 |
{'name': 'parse_file@cblaster/genome_parsers.py', 'description': 'Dispatches a given file path to the correct parser given its extension.\n\nArgs:\n path (str): Path to genome file\n to_tuples (bool): Generate insertion tuples from parsed SeqRecords\nReturns:\n dict: File name and list of SeqRecord objects cor... | 0 |
{'name': 'test_cli_ensemble@tests/system_tests/test_cli.py', 'description': 'Test ensemble flag', 'signature': 'def test_cli_ensemble(tmp_path, phospho_files):'}</s>{'name': 'phospho_files@tests/system_tests/test_cli.py', 'description': 'Get the phospho file and fasta', 'code': 'def phospho_files():\n """Get the pho... | 1 |
{'name': 'ChangeStatus.record_change@build/fbcode_builder/getdeps/fetcher.py', 'description': 'Used by the shipit fetcher to record changes as it updates\nfiles in the destination. If the file name might be one used\nin the cmake build system that we use for 1st party code, then\nrecord that as a "make file" change. ... | 0 |
{'name': 'show_reload_popup@addon_updater_ops.py', 'description': 'For use in register only, to show popup after re-enabling the addon.\n\nMust be enabled by developer.', 'signature': 'def show_reload_popup():'}</s>{'name': 'check_for_update_background@addon_updater_ops.py', 'description': 'Function for asynchronous ba... | 0 |
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_ioRAWMB_IN = 105 | 0 |
{'name': 'Test.test_MCD43A4@tests/test_image.py', 'description': 'Test the image module for MCD43A4', 'signature': 'def test_MCD43A4(self):'}</s>{'name': 'getSTAC@eemont/image.py', 'description': "Gets the STAC of the image.\n\nParameters\n----------\nself : ee.Image [this]\n Image to get the STAC from.\n\nReturns\n... | 0 |
{'name': 'get_formatted_scans_key_row@heudiconv/bids.py', 'description': 'Parameters\n----------\ndcm_fn: str\n\nReturns\n-------\nrow: list\n [ISO acquisition time, performing physician name, random string]', 'signature': 'def get_formatted_scans_key_row(dcm_fn: str | Path) -> list[str]:'}</s>{'name': 'BIDSFile@heu... | 0 |
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h... | 0 |
{'name': 'get_numeric_roles_stat@lightautoml/reader/guess_roles.py', 'description': 'Calculate statistics about different encodings performances.\n\nWe need it to calculate rules about advanced roles guessing.\nOnly for numeric data.\n\nArgs:\n train: Dataset.\n subsample: size of subsample.\n random_state: in... | 0 |
{'name': 'IPDatabase.export_verilator@ipstools/ipstools/IPDatabase.py', 'description': 'Exports a Makefile to be used to build a verilator simulation flow\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param root: The path to which t... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'Test.test_Container_Get_Item_By_Slice@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_Container_Get_Item_By_Slice(self):'}</s>L5 = ee.ImageCollection("LANDSAT/LT05/C01/T1_SR").filterBounds(point) | 0 |
{'name': 'hybrid_cqt@librosa/core/constantq.py', 'description': "Compute the hybrid constant-Q transform of an audio signal.\n\nHere, the hybrid CQT uses the pseudo CQT for higher frequencies where\nthe hop_length is longer than half the filter length and the full CQT\nfor lower frequencies.\n\nParameters\n----------\n... | 1 |
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>{'name': 'License@src/attributecode/model.py', 'descripti... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_VERIFY = CScriptOp(0x69) | 0 |
{'name': 'Utils.EnableIpv6@packages/python-google-compute-engine/google_compute_engine/distro_lib/el_7/utils.py', 'description': 'Configure the network interfaces for IPv6 using dhclient.\n\nArgs:\n interface: string, the output device names for enabling IPv6.\n logger: logger object, used to write to SysLog and seri... | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'getDefNodeFwUpdateUrl@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def getDefNodeFwUpdateUrl():\n try:\n if RaceContext.serverconfig.get_item(\'GE... | 0 |
{'name': 'LambdaSupportTest.assert_contains_lambda_expression_in_m@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'asserts that the given tree contains a method with the supplied\nmethod name containing a lambda expression.', 'signature': 'def assert_contains_lambda_expression_in_m('}</s>{'n... | 0 |
{'name': 'Client.client_id@mqttools/client.py', 'description': 'The client identifier string.\n\n ', 'signature': 'def client_id(self):'}</s>{'name': 'SubscribeError@mqttools/client.py', 'description': 'DOCSTRING', 'base_classes': ['ReasonError'], 'methods': []} | 0 |
{'name': 'ConTextMarkup.getXML@pyConTextNLP/ConTextMarkup.py', 'description': 'return an XML representation of the markup', 'signature': 'def getXML(self):'}</s>COMPILED_REGEXPRS = {} | 0 |
{'name': 'convert_scsi_hctl_to_path@rtslib/utils.py', 'description': "This function returns a udev path pointing to the block device being\nmapped to the SCSI device that has the provided H:C:T:L.\n\n>>> import rtslib.utils as utils\n>>> utils.convert_scsi_hctl_to_path(0,0,0,0)\n''\n>>> utils.convert_scsi_hctl_to_path(... | 0 |
{'name': '_scalar_to_numpy@json_tricks/decoders.py', 'description': 'From scalar value to numpy type.', 'signature': 'def _scalar_to_numpy(data, dtype):'}</s>{'name': 'nopandas_hook@json_tricks/decoders.py', 'description': 'DOCSTRING', 'code': "def nopandas_hook(dct):\n\tif isinstance(dct, dict) and ('__pandas_datafram... | 0 |
{'name': 'ECDSA.verify@jws/algos.py', 'description': 'Verifies a message using ECDSA cryptographic signature and key.\n\n``crypto`` is the cryptographic signature\n``key`` is the verifying key. Can be a real key object or a string.', 'signature': 'def verify(self, msg, crypto, key):'}</s>{'name': 'RouteEndpointError@jw... | 0 |
{'name': 'has_gease@setup.py', 'description': 'test if github release command is installed\n\nvisit http://github.com/moremoban/gease for more info', 'signature': 'def has_gease():'}</s>UPLOAD_FAILED_MSG = 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND | 0 |
{'name': 'CAsyncDBHandler.ExecuteParameters@bin/spa/clientside/asyncdbhandler.py', 'description': 'Process a complex SQL statement which may be combined with multiple basic SQL statements asynchronously\n:param vParam: an array of parameter data which will be bounded to previously prepared parameters\n:param handler: a... | 0 |
{'name': 'IMAP._fetch_emails_info@imapy/imap.py', 'description': 'Fetches email info from server and returns as parsed email\nobjects', 'signature': 'def _fetch_emails_info(self, email_uids: List[str]) -> List[EmailMessage]:'}</s>{'name': 'Q@imapy/query_builder.py', 'description': 'Class for constructing queries for IM... | 0 |
{'name': 'test_extract_sac_defaults@tests/test_win32.py', 'description': 'Extract SAC files using default settings.', 'signature': 'def test_extract_sac_defaults():'}</s>{'name': '_extract_channel_sac@HinetPy/win32.py', 'description': 'Extract one channel data from win32 file.\n\nParameters\n----------\nwinfile: str\n ... | 0 |
{'name': 'GroveI2cColorSensorV2.raw@grove/grove_i2c_color_sensor_v2.py', 'description': 'Read RGBC registers\nreturn 16 bits red, green, blue and clear data', 'signature': 'def raw(self):'}</s>_RDATA = 22 | 1 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 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': 'build_graph@evaluate.py', 'description': 'build tf graph for predict\nArgs:\n model_name: choose a model to build\n attention_module: must be "se_block" or "cbam_block"\n config_dict: some config for building net\n is_training: whether to train or test, here must be False\nReturn:\n det_loss: a... | 0 |
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ... | 0 |
{'name': 'delta_encoding@topojson/ops.py', 'description': 'Function to apply delta-encoding to linestrings.\n\nParameters\n----------\nlinestrings : list of shapely.geometry.LineStrings\n LineStrings that will be delta-encoded\n\nReturns\n-------\nlist of shapely.geometry.LineStrings\n LineStrings that are delta-... | 0 |
{'name': 'TenantForeignKey.get_extra_descriptor_filter@django_multitenant/fields.py', 'description': "Return an extra filter condition for related object fetching when\nuser does 'instance.fieldname', that is the extra filter is used in\nthe descriptor of the field.\n\nThe filter should be either a dict usable in .filt... | 0 |
{'name': 'temporary_clone@src/oca_github_bot/github.py', 'description': 'context manager that clones a git branch into a tremporary directory,\nand yields the temp dir name, with cache', 'signature': 'def temporary_clone(org, repo, branch):'}</s>APPROVALS_REQUIRED = int(os.environ.get("APPROVALS_REQUIRED", "2")) | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>MOUSE_EVENT_MOVE = 2 | 0 |
{'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': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'flags_to_human@gef.py', 'description': 'Return a huma... | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': 'test_drpls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not oc... | 0 |
{'name': 'translate@joeynmt/prediction.py', 'description': "Interactive translation function.\nLoads model from checkpoint and translates either the stdin input or asks for\ninput to translate interactively. Translations and scores are printed to stdout.\nNote: The input sentences don't have to be pre-tokenized.\n\n:pa... | 0 |
{'name': 'replace_string@yaql/standard_library/regex.py', 'description': ':yaql:replace\n\nReturns the string obtained by replacing the leftmost non-overlapping\nmatches of regexp in string by the replacement repl, where the latter is\nonly string-type.\n\n:signature: string.replace(regexp, repl, count => 0)\n:receiver... | 0 |
{'name': 'Variable.__lt__@yaldevtools/source_formatter.py', 'description': 'Checks if the variable is less than another variable.\n\nReturns:\n bool: True if the variable is less than another variable.', 'signature': 'def __lt__(self, other):'}</s>{'name': 'GroupModifier@yaldevtools/source_formatter.py', 'description'... | 0 |
{'name': 'EnumSchema.validate@lang/py/avro/schema.py', 'description': 'Return self if datum is a valid member of this Enum, else None.', 'signature': 'def validate(self, datum):'}</s>{'name': 'TimeMicrosSchema@lang/py/avro/schema.py', 'description': 'DOCSTRING', 'base_classes': ['LogicalSchema', 'PrimitiveSchema'], 'me... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_INQUIRY_COMMAND_ERROR = 2324 | 0 |
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>sec_per_year = 31557600.0 | 0 |
{'name': 'TestBartz.test_ssme@proptools/convection_test.py', 'description': 'Test agaisnt the SSME example from 16.512 Lecture 7.', 'signature': 'def test_ssme(self):'}</s>{'name': 'TestTaw@proptools/convection_test.py', 'description': 'Unit tests for convection.adiabatic_wall_temperature', 'base_classes': ['unittest.T... | 0 |
{'name': 'init@python/taichi/lang/misc.py', 'description': 'Initializes the Taichi runtime.\n\nThis should always be the entry point of your Taichi program. Most\nimportantly, it sets the backend used throughout the program.\n\nArgs:\n arch: Backend to use. This is usually :const:`~taichi.lang.cpu` or :const:`~taich... | 0 |
{'name': '_isinstance@dill/source.py', 'description': 'True if object is a class instance type (and is not a builtin)', 'signature': 'def _isinstance(object):'}</s>__globals__ = globals() | 0 |
{'name': 'write_rtdc@AIDeveloper/aid_bin.py', 'description': 'fname - path+filename of file to be created\nrtdc_datasets - list paths to rtdc data-data-sets\nX_valid - list containing numpy arrays. Each array contains cropped images of individual measurements corresponding to each rtdc_ds\nIndices - list containing num... | 0 |
{'name': 'GetImagesFromJobs@utils/pyHDLC/map.py', 'description': 'Return a list of all the image names in all the jobs defined in the configuration.\nFirst, extract the keys/names of all jobs types.\nThen, get the images generate in each job, for the selected Collection and Architecture.\nLast, flatten the lists of ima... | 1 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\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... | 0 |
{'name': 'create_from_topology@src/evengsdk/cli/lab/commands.py', 'description': 'Create a new lab\n\n\x08\nExamples:\n eveng lab create-from-topology --topology examples/test_topology.yml', 'signature': 'def create_from_topology(ctx, topology, template_dir):'}</s>{'name': 'lab@src/evengsdk/cli/lab/commands.py', 'de... | 1 |
{'name': 'check_geoip@app/__init__.py', 'description': 'Check if the GeoIP database should be updated.\n ', 'signature': 'def check_geoip(f):'}</s>{'name': 'page_not_found@app/__init__.py', 'description': '404 handler.', 'code': 'def page_not_found(e):\n """404 handler."""\n logger.info("404 triggered: Path %s... | 0 |
{'name': 'push_files@src/showyourwork/overleaf.py', 'description': "Push files to the Overleaf remote.\n\nArgs:\n files (list): A list of strings corresponding to the paths of the\n files to be pushed to the Overleaf remote. These files must\n be located in ``src/tex/``. Subdirectories will be preserve... | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'ci_dataset_face_search@ut/test.py', 'description': 'DOCSTRING', 'code': 'def ci_dataset_face_search():\n # 人脸搜索\n kwargs = {"CacheControl": "no-cache", "Resp... | 0 |
{'name': 'check_create_table@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'create and rename table\n ', 'signature': 'def check_create_table(table_name):'}</s>{'name': 'get_logtable_name@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dat... | 0 |
{'name': 'to_traintest_folders@detectree2/preprocessing/tiling.py', 'description': 'Send tiles to training (+validation) and test dir\n\nWith "strict" it is possible to automatically ensure no overlap between train/val and test tiles.\n\nArgs:\n tiles_folder: folder with tiles\n out_folder: folder to save train a... | 0 |
{'name': 'normalize_data@3DLabelGen/Left2Right/data_utils.py', 'description': 'Normalizes a dictionary of poses\n\nArgs\n data: dictionary where values are\n data_mean: np vector with the mean of the data\n data_std: np vector with the standard deviation of the data\n dim_to_use: list of dimensions to keep in the d... | 0 |
{'name': 'FeatureParser._parse_scenario@radish/parser.py', 'description': 'Parses a Feature context\n\n:param string line: the line to parse from', 'signature': 'def _parse_scenario(self, line):'}</s>{'name': 'Failure@radish/utils.py', 'description': 'Represents the fail reason for a step', 'base_classes': ['object'], ... | 0 |
{'name': 'setup@fabfile.py', 'description': 'Configure basic tools.', 'signature': 'def setup():'}</s>{'name': 'venv@fabfile.py', 'description': 'DOCSTRING', 'code': "def venv():\n with cd('%(root)s%(project_name)s' % env), prefix(env.activate):\n yield"} | 1 |
{'name': 'Push.send_validate@jpush/push/core.py', 'description': 'Send the notification to validate.\n\n:returns: :py:class:`PushResponse` object with ``push_ids`` and\n other response data.\n:raises JPushFailure: Request failed.\n:raises Unauthorized: Authentication failed.', 'signature': 'def send_validate(self):'... | 1 |
{'name': 'ydump_metrics@classification/metrics/compute_vessel_metrics.py', 'description': 'dump metrics for `results` to html using yatag\n\nArgs:\n doc: yatag Doc instance\n results: InferenceResults instance', 'signature': 'def ydump_metrics(doc, results, weights_map):'}</s>{'name': 'InferenceResults@classifica... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'view_has_syntax@sublime_haskell_common.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'createTrackDb@assemblyHub/halGenerateComparisonHub.py', 'description': 'Create the trackDb.txt for a specific genome.', 'signature': 'def createTrackDb(target, genome, genomes, hals, labels, hubDir):'}</s>{'name': 'writeHubFile@assemblyHub/halGenerateComparisonHub.py', 'description': 'Write the hub.txt file.'... | 0 |
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'register_each@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def register_each(file... | 0 |
{'name': 'BinFile.read@wntr/epanet/io.py', 'description': 'Read a binary file and create a results object.\n\nParameters\n----------\nfilename : str\n An EPANET BIN output file\nconvergence_error: bool (optional)\n If convergence_error is True, an error will be raised if the\n simulation does not converge. If ... | 0 |
{'name': 'ProcessLine@third_party/cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ... | 0 |
{'name': 'ready@api/project/__init__.py', 'description': "Return ready status (true or false) for various Malcolm components\n\nParameters\n----------\n\nReturns\n-------\narkime\n true or false, the ready status of Arkime\ndashboards\n true or false, the ready status of Dashboards (or Kibana)\ndashboards_maps\n ... | 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': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'ShiftDeleteView@rosters/views.py', 'description': 'Shift Delete View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequiredMixin', 'DeleteVie... | 0 |
{'name': 'builder@internal/engine/third_party/scann-1.2.1/scann/scann_ops/py/scann_ops_pybind.py', 'description': 'pybind analogue of builder() in scann_ops.py; see docstring there.', 'signature': 'def builder(db, num_neighbors, distance_measure):'}</s>{'name': 'create_searcher@internal/engine/third_party/scann-1.2.1/s... | 1 |
{'name': 'statistics@n26/cli.py', 'description': 'Show your n26 statistics', 'signature': 'def statistics(param_from: datetime or None, param_to: datetime or None):'}</s>{'name': 'card_block@n26/cli.py', 'description': 'Blocks the card/s ', 'code': 'def card_block(card: str):\n """ Blocks the card/s """\n if card... | 0 |
{'name': 'Model.feed_sample@pygad/cnn/cnn.py', 'description': 'Feeds a sample in the CNN layers.\n\nsample: The samples to be fed to the CNN layers.\n\nReturns results of the last layer in the CNN.', 'signature': 'def feed_sample(self, sample):'}</s>supported_activation_functions = ("sigmoid", "relu", "softmax") | 0 |
{'name': 'main@streaming/language_support/python/distribute_setup.py', 'description': 'Install or upgrade setuptools and EasyInstall', 'signature': 'def main(version=DEFAULT_VERSION):'}</s>{'name': '_after_install@streaming/language_support/python/distribute_setup.py', 'description': 'DOCSTRING', 'code': "def _after_in... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFileTypeObjectMethods@yaldevtools/source_generators/python_module.py', 'description': 'Generates the type object methods for a Python type source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.