text string | label int64 |
|---|---|
{'name': 'PVPCData.__init__@aiopvpc/pvpc_data.py', 'description': 'Set up API access.', 'signature': 'def __init__('}</s>_STANDARD_USER_AGENTS = [
(
"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) "
"Gecko/20100101 Firefox/47.3"
),
(
"Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv... | 1 |
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'seuratPCA@pipelines/pipeline_scxl.py', 'description': 'Perform the PCA task', 'code': 'def seuratPCA(infile, outfile):\n \'\'\'\n Perform the PC... | 0 |
{'name': 'check_mapping@zict/tests/test_zip.py', 'description': 'Shorter version of utils_test.check_mapping, as zip supports neither update nor\ndelete', 'signature': 'def check_mapping(z):'}</s>{'name': 'test_memoryview@zict/tests/test_zip.py', 'description': 'DOCSTRING', 'code': 'def test_memoryview(fn):\n data =... | 0 |
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<... | 0 |
{'name': 'StandardizeMol.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for com... | 0 |
{'name': 'FieldAdapter.update_object_references@wagtail_transfer/field_adapters.py', 'description': 'Return a modified version of value with object references replaced by their corresponding\nentries in destination_ids_by_source - a mapping of (model_class, source_id) to\ndestination_id', 'signature': 'def update_objec... | 0 |
{'name': 'TestMibSnimpy.testGet@tests/test_mib.py', 'description': 'Test that we can get all named attributes', 'signature': 'def testGet(self):'}</s>{'name': 'getScalars@snimpy/mib.py', 'description': 'Return all scalars from a given MIB.\n\n:param mib: The MIB name\n:return: The list of all scalars for the MIB\n:rtyp... | 0 |
{'name': 'is_unix_socket@haproxyadmin/utils.py', 'description': 'Return ``True`` if path is a valid UNIX socket otherwise False.\n\n:param path: file name path\n:type path: ``string``\n:rtype: ``bool``', 'signature': 'def is_unix_socket(path):'}</s>SUCCESS_STRING_ADDRESS = "IP changed from|no need to change the addr" | 0 |
{'name': 'ProcessLine@scripts/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': 'Unmarshaller._read_header@dbus_next/_private/unmarshaller.py', 'description': 'Read the header of the message.', 'signature': 'def _read_header(self):'}</s>DBUS_TO_CTYPE = {
"y": ("B", 1), # byte
"n": ("h", 2), # int16
"q": ("H", 2), # uint16
"i": ("i", 4), # int32
"u": ("I", 4), # ui... | 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': '_ConsumeInt32@third_party/dawn/third_party/protobuf/p... | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'test_put_update_user_malformed_roles@test-http/src/test/org_user_tests/org.py', 'description': 'service should return useful error message for malformed roles ', 'signature': 'def test_put_update_user_malformed_roles():'}</s>{'name': 'test_put_update_user_username@test-http/src/test/org_user_tests/org.py', 'd... | 0 |
{'name': 'set@core/config.py', 'description': 'Sets the configuration key to the given value.\n\nReturns the original config_value.', 'signature': 'def set(config_key, config_value):'}</s>{'name': 'FriendlyIdentity@core/model.py', 'description': 'DOCSTRING', 'base_classes': ['BaseModel'], 'methods': []} | 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>MQCACF_CF_SMDS = 3183 | 0 |
{'name': 'PrivateKey.address@bit/wallet.py', 'description': 'The public address you share with others to receive funds.', 'signature': 'def address(self):'}</s>Point = namedtuple('Point', ('x', 'y')) | 0 |
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>FLAGS = {'init_lambda': 1,
'start_beams': 2,
'done_beams': 3,
'no_run_fit': 4,
'start_redshift_f... | 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': '_VersionReqs._filter_metric_by_op@pipenv_setup/inconsistency_checker.py', 'description': "filter int in space that 'op's metric\n:raise ValueError: for unrecognizable op\n\n>>> list(_VersionReqs._filter_metric_by_op('==', 1, range(3)))\n[1]\n>>> list(_VersionReqs._filter_metric_by_op('<=', 1, range(3)))\n[0, ... | 1 |
{'name': 'Record.to_dataframe@wfdb/io/record.py', 'description': 'Create a dataframe containing the data from this record.\n\n\nReturns\n-------\nA dataframe, with sig_name in the columns. The index is a DatetimeIndex\nif both base_date and base_time were set, otherwise a TimedeltaIndex.', 'signature': 'def to_datafram... | 0 |
{'name': 'dashboard_export@api/project/__init__.py', 'description': 'Uses the opensearch dashboards API to export a dashboard. Also handles the _REPLACER strings\nas described in "Adding new visualizations and dashboards" at\nhttps://idaholab.github.io/Malcolm/docs/contributing-dashboards.html#DashboardsNewViz\n\nParam... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>MAX_SCRIPT_SIZE = 10000 | 0 |
{'name': 'noncritical@PFERD/crawl/crawler.py', 'description': "Catches and logs a few noncritical exceptions occurring during the function\ncall, mainly CrawlWarning.\n\nIf any exception occurs during the function call, the crawler's error_free\nvariable is set to False. This includes noncritical exceptions.\n\nWarning... | 0 |
{'name': 'JalaliDate.fromisoformat@persiantools/jdatetime.py', 'description': 'Construct a JalaliDate from an ISO 8601 formatted date string.\n\nArgs:\n date_string (str): The date string in ISO 8601 format.\n\nReturns:\n JalaliDate: A JalaliDate object corresponding to the given date string.\n\nRaises:\n Type... | 0 |
{'name': 'rollapply@ffn/core.py', 'description': 'Apply a function fn over a rolling window of size window.\n\nArgs:\n * data (Series or DataFrame): Series or DataFrame\n * window (int): Window size\n * fn (function): Function to apply over the rolling window.\n For a series, the return value is expecte... | 0 |
{'name': 'Browser.link@zombie/browser.py', 'description': 'Finds and returns a link ``<a>`` element (:class:`zombie.dom.DOMNode`).\nYou can use a CSS selector or find a link by its text contents (case\nsensitive, but ignores leading/trailing spaces).\n\n:param selector: an optional string CSS selector\n ... | 1 |
{'name': 'Data.__init__@verif/data.py', 'description': "Arguments:\ninputs A list of verif.input\ntimes A numpy array of times. Discard data for all other times\ndates A numpy array of dates. Only allow times that occur on\n these dates (but alllow any hour of the day).\ntods ... | 0 |
{'name': 'CodeSizeBuildInfo.infer_pre_make_command@contrib/mbedtls/scripts/code_size_compare.py', 'description': 'Infer command to set up proper configuration before running make.', 'signature': 'def infer_pre_make_command(self) -> typing.List[str]:'}</s>CRYPTO_CONFIG_H = "include/psa/crypto_config.h" | 1 |
{'name': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 0 |
{'name': '_iscoroutinefunction@tests/test_calling_unsupported_method.py', 'description': 'inspect.iscoroutinefunction backport for Python<3.8', 'signature': 'def _iscoroutinefunction(object):'}</s>{'name': 'patched_backend_map@tests/test_calling_unsupported_method.py', 'description': 'DOCSTRING', 'code': 'def patched_b... | 0 |
{'name': 'Loader.get_version_date@reno/loader.py', 'description': 'Return release data for a version.', 'signature': 'def get_version_date(self, version):'}</s>{'name': 'RenoRepo@reno/scanner.py', 'description': 'DOCSTRING', 'base_classes': ['repo.Repo'], 'methods': [{'name': 'RenoRepo._get_commit_from_tag@reno/scanner... | 0 |
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 0 |
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'showImgLists@boxx/ylimg/ylimgTool.py', 'description': 'DOCSTRING', 'code': 'def showIm... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>visitor_old = _get_value(_extconf, 'Gateway', 'visitor', '') | 0 |
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\... | 0 |
{'name': 'Logistic.checkToDoList@foo/logisticDepartment/Logistic.py', 'description': '收获制造站产出,交付订单,获取信赖', 'signature': 'def checkToDoList(self):'}</s>{'name': 'matchImg_T@foo/pictureR/pictureFind.py', 'description': '用于查找原始图片中的单一目标图片,如果原始图片中可找到多个目标图片,则随机返回一个匹配的结果,返回值为一个字典', 'code': "def matchImg_T(imgsrc,imgobj,confide... | 0 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>template_suffix = ".txt" | 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': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFOTHERS_NO_TRAFFIC = 0 | 0 |
{'name': 'Avanza.search_for_fund@avanza/avanza.py', 'description': "Search for a fund\n\nArgs:\n\n query: can be a ISIN ('SE0012454338'),\n name ('Avanza'),\n tickerSymbol ('Avanza Europa')\n\n limit: maximum number of results to return", 'signature': 'def search_for_fund(self, query: str, limit: in... | 0 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 1 |
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'emit_const_string@tools/warn/html_writer.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'mk_def_file_internal@scripts/mk_genfile_common.py', 'description': 'Writes to a module definition file to a file named ``defname``.\n\n``dll_name`` is the name of the dll (without the ``.dll`` suffix).\n``export_header_file`` is a list of header files to scan for symbols\nto include in the module definition f... | 0 |
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'mulled_upload@bioconda_utils/upload.py', 'description': 'Upload the build Docker images to quay.io wit... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'CheckStyle@scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n ... | 0 |
{'name': '_beta_1_b@tests/Python/test_sampling.py', 'description': 'Returns a random variate from beta(1, b) distribution\nusing the inverse CDF method', 'signature': 'def _beta_1_b(b):'}</s>{'name': 'sample_ciic@tests/Python/test_sampling.py', 'description': 'DOCSTRING', 'code': 'def sample_ciic(formula, count, precis... | 0 |
{'name': 'Circuit.eval@discopy/quantum/circuit.py', 'description': "Evaluate a circuit on a backend, or simulate it with numpy.\n\nParameters\n----------\nothers : :class:`discopy.quantum.circuit.Circuit`\n Other circuits to process in batch.\nbackend : pytket.Backend, optional\n Backend on which to run the circu... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is... | 0 |
{'name': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ... | 0 |
{'name': 'main@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the configuration module module.\n\nargv is the list of command line arguments.', 'signature': 'def main(argv):'}</s>plat_py_site_dir = None | 0 |
{'name': 'TestAttachment.test_upload_delete@tests/test_attachment.py', 'description': 'Deleting an attachment should trigger pysnow to perform a lookup followed by a delete', 'signature': 'def test_upload_delete(self):'}</s>{'name': 'TestAttachment@tests/test_attachment.py', 'description': 'DOCSTRING', 'base_classes': ... | 1 |
{'name': 'TestUnusualSocketConditions.test_handle_send_wantwrite_upload@test/test_sync_connection.py', 'description': 'When a socket is marked writable during request upload but returns\nWANT_WRITE when written to, the code ignores it and continues with\nupload.', 'signature': 'def test_handle_send_wantwrite_upload(sel... | 0 |
{'name': 'Graph.maximum_flow_min_cut@graph/core.py', 'description': 'Finds the edges in the maximum flow min cut.\n:param start: start\n:param end: end\n:return: list of edges', 'signature': 'def maximum_flow_min_cut(self, start, end):'}</s>{'name': 'minmax@graph/minmax.py', 'description': 'finds the node(s) with short... | 0 |
{'name': 'sub_df@char60/beta.py', 'description': ":param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dictionary including all the 'firm_list' dataframe and 'stock data' dataframe", 'signature': 'def... | 1 |
{'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': 'have_qstring@labelImg.py', 'description': 'p3/qt5 get rid of QString wrapper as py3 has native unicode str type', 'signature': 'def have_qstring():'}</s>{'name': 'addActions@libs/lib.py', 'description': 'DOCSTRING', 'code': 'def addActions(widget, actions):\n for action in actions:\n if action is No... | 0 |
{'name': 'Test.test_gen_enum_element@tools/InterfaceGenerator/test/generator/generators/test_SmartFactoryBase.py', 'description': 'Test generation of the single enum element.\n\nVerifies correct generation of the single enum element.', 'signature': 'def test_gen_enum_element(self):'}</s>DESIGN_DESCRIPTION = [u"Design L... | 1 |
{'name': 'add_material@python/xraydb/materials.py', 'description': "add a material to the users local material database\n\nArgs:\n name (str): name of material\n formula (str): chemical formula\n density (float): density\n categories (list of strings or None): list of category names\n\nReturns:\n None\n\... | 0 |
{'name': 'Host.parse@raccoon_src/lib/host.py', 'description': 'Try to extract domain (full, naked, sub-domain), IP and port.', 'signature': 'def parse(self):'}</s>{'name': 'Logger@raccoon_src/utils/logger.py', 'description': 'Logger that should instantiated for each module\nWill write all logs (DEBUG) to self.outfile a... | 0 |
{'name': 'ParserElement.runTests@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Execute the parse expression on a series of test strings, showing each\ntest, the parsed results or where the parse failed. Quick and easy way to\nrun a parse expression against a list of sample strings.\n \nP... | 0 |
{'name': 'init_transformer_model@utils/functions.py', 'description': 'Initiate a new transformer object', 'signature': 'def init_transformer_model(args, label2id, id2label):'}</s>EOS_CHAR = "¤" | 0 |
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ... | 1 |
{'name': 'pyin@librosa/core/pitch.py', 'description': 'Fundamental frequency (F0) estimation using probabilistic YIN (pYIN).\n\npYIN [#]_ is a modificatin of the YIN algorithm [#]_ for fundamental frequency (F0) estimation.\nIn the first step of pYIN, F0 candidates and their probabilities are computed using the YIN alg... | 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_CODE_FORMAT = "code_format" | 0 |
{'name': 'Fake.__init__@verif/input.py', 'description': 'A fake input\n\nobs A 1, 2, or 3D array of obsevations.\n If 3D assume the dimensions are (time,leadtime,location)\n If 2D assume the dimensions are (time,leadtime)\n If 1D assume the dimensions are (time)', 'signature': 'def __init__... | 0 |
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 0 |
{'name': 'detect@peachpy/x86_64/abi.py', 'description': 'Detects host ABI (either process ABI or system ABI, depending on parameters)\n\n:param bool system_abi: specified whether system ABI or process ABI should be detected. The two may differ, e.g.\n when a 64-bit system runs 32-bit Python interpreter.\n\n:returns:... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'probes@src/api/python/z3/z3.py', 'description': "Return a list of all available probes in Z3.\n\n>>> l = probes(... | 0 |
{'name': 'load_turntable_individual_object@md_fls_dataset/loader.py', 'description': 'Loads all images for a particular object in the dataset.', 'signature': 'def load_turntable_individual_object(object_name, size, crop="platform"):'}</s>INDIVIDUAL_OBJECT_CLASSES = [
"brown-glass-bottle", "drink-carton", "glass-bo... | 0 |
{'name': 'predict@02_tools-and-packages/solution_numpy.py', 'description': 'You need to care about single and multidimensional arrays.', 'signature': 'def predict(a_mat, x_vec):'}</s>time = np.linspace(0, 10, m) | 0 |
{'name': 'paper_stats@src/utility_scripts/calc_stats.py', 'description': 'Get various stats of a paper\n ', 'signature': 'def paper_stats(ppr):'}</s>{'name': 'get_cats_over_years_plot_data@src/utility_scripts/calc_stats.py', 'description': "Showcase of data generation for plots that show\n - a certain stat\nor\n ... | 0 |
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>ATTR_CODE_DISARM_REQUIRED = "code_disarm_required" | 0 |
{'name': 'AzureDLFileSystem.concat@azure/datalake/store/core.py', 'description': 'Concatenate a list of files into one new file\n\nParameters\n----------\n\noutfile: path\n The file which will be concatenated to. If it already exists,\n the extra pieces will be appended.\nfilelist: list of paths\n Existing adl... | 0 |
{'name': 'template@src/back/kite/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 template(*args, **kwarg... | 0 |
{'name': 'set_platform_directories@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Initialise the global variables relating to platform specific\ndirectories.', 'signature': 'def set_platform_directories():'}</s>{'name': 'main@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the conf... | 0 |
{'name': 'run@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:... | 0 |
{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'signature': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:'}</s>{'name': 'IdItemsExprsAction@tools/hadb.py', 'description': 'Action to store ID/value & items expressions.', 'base_classes': ['argparse.Action']... | 0 |
{'name': 'get_test_file@django_afip/factories.py', 'description': 'Helper to get test files.', 'signature': 'def get_test_file(filename: str, mode: str = "r") -> Path:'}</s>{'name': 'load_metadata@django_afip/models.py', 'description': 'Loads metadata from fixtures into the database.', 'code': 'def load_metadata() -> N... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>{'name': 'IURQStatus@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'De... | 0 |
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ... | 0 |
{'name': 'read_rdi@mhkit/dolfyn/io/rdi.py', 'description': "Read a TRDI binary data file.\n\nParameters\n----------\nfilename : string\n Filename of TRDI file to read.\nuserdata : True, False, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file. Default = True\nnens : None, ... | 0 |
{'name': 'handle_fmap_case@bidskit/fmaps.py', 'description': 'There are two popular GRE fieldmap organizations: Case 1 and Case 2\nSource: BIDS 1.4.0 Specification https://bids-specification.readthedocs.io\nCase 1\nsub-<label>/[ses-<label>/]\n fmap/\n sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_phas... | 1 |
{'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': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'skipUnlessFeature@tools/lldb/packages/Python/lldbsuite/test/decora... | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 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': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>WARNED = False | 0 |
{'name': 'TorchSnapshotSaver.restore@torchtnt/framework/callbacks/torchsnapshot_saver.py', 'description': "Utility method to restore snapshot state from a path.\n\nThere are additional flags offered should the user want to skip loading the train and eval progress.\nBy default, the train and eval progress are restored, ... | 0 |
{'name': 'Fake.__init__@verif/input.py', 'description': 'A fake input\n\nobs A 1, 2, or 3D array of obsevations.\n If 3D assume the dimensions are (time,leadtime,location)\n If 2D assume the dimensions are (time,leadtime)\n If 1D assume the dimensions are (time)', 'signature': 'def __init__... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'electron_repulsion@mmd/integrals/reference.py', 'description': "Evaluates kinetic energy integral between two Gaussians\nReturns a float.\na,b,c,d: orbital exponent on Gaussian 'a','b','c','d'\nlmn1,lmn2\nlmn3,lmn4: int tuple containing orbital angular momentum\n for Gaussian 'a','b','c','d', resp... | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': 'Text@mako/parsetree.py', 'description': 'defines plain text in the template.', 'base_classes': ['Node'], 'methods': [{'name': 'Text.... | 0 |
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>str_type = str if is_py3 else (basestring, unicode,) | 0 |
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_empty@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_empty():\n p = os.path.joi... | 0 |
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t... | 0 |
{'name': 'ResnetUtilsTest.testAtrousValuesBottleneck@slim/nets/resnet_v2_test.py', 'description': 'Verify the values of dense feature extraction by atrous convolution.\n\nMake sure that dense feature extraction by stack_blocks_dense() followed by\nsubsampling gives identical results to feature extraction at the nominal... | 1 |
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>re1 = re.compile(r' +') | 0 |
{'name': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us... | 0 |
{'name': 'itertests@scripts/update_lit_checks.py', 'description': 'Yield (filename, lines) for each test specified in the command line args', 'signature': 'def itertests(args):'}</s>script_dir = os.path.dirname(__file__) | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.