id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/whatrecord-0.4.4.tar.gz/whatrecord-0.4.4/frontend/src/store.js
import "es6-promise/auto"; import { createStore } from "vuex"; const axios = require("axios").default; export const store = createStore({ state: () => ({ duplicates: {}, file_info: {}, gateway_info: null, glob_to_pvs: {}, ioc_info: [], ioc_to_records: {}, plugin_info: {}, plugin_nest...
PypiClean
/mysql-connector-python-dd-2.0.2.tar.gz/mysql-connector-python-dd-2.0.2/lib/mysql/connector/conversion.py
# MySQL Connector/Python is licensed under the terms of the GPLv2 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most # MySQL Connectors. There are special exceptions to the terms and # conditions of the GPLv2 as it is applied to this software, see the # FOSS License Exception # <http://www.mysql.com/...
PypiClean
/odoo12_addon_website_legal_page-12.0.1.1.0-py3-none-any.whl/odoo/addons/website_legal_page/readme/USAGE.rst
Website editor can change easily any text of these pages using website builder Disclaimer ~~~~~~~~~~ These legal pages are templates. **You must edit the templates and adapt them to your particular case** The provided agreements are for **informational purposes only** and do not constitute legal advice. Authors, c...
PypiClean
/hub-pip-1.1.0.tar.gz/hub-pip-1.1.0/src/hub_pip/api/ProjectDataService.py
import json from hub_pip.api.RestConnection import RestConnection from hub_pip.api.model.PagedProjectVersionView import \ PagedProjectVersionView from hub_pip.api.model.PagedProjectView import PagedProjectView from hub_pip.api.model.ProjectVersionView import ProjectVersionView from hub_pip.api.model.ProjectView im...
PypiClean
/titus_isolate-20190718.0.0-py3-none-any.whl/titus_isolate/allocate/forecast_ip_cpu_allocator.py
from datetime import datetime as dt from collections import defaultdict import time from titus_optimize.compute_v2 import IP_SOLUTION_TIME_BOUND, optimize_ip, IPSolverParameters from titus_isolate import log from titus_isolate.allocate.allocate_request import AllocateRequest from titus_isolate.allocate.allocate_respo...
PypiClean
/factom_core-0.0.9-py3-none-any.whl/factom_core/blockchains/pending_block.py
import datetime from dataclasses import dataclass, field from typing import Dict, Union import factom_core.block_elements as block_elements import factom_core.blocks as blocks @dataclass class PendingBlock: admin_block: blocks.AdminBlockBody = field(init=False, default=blocks.AdminBlockBody()) factoid_block...
PypiClean
/django-adminlte-full-0.2.0.tar.gz/django-adminlte-full-0.2.0/adminlte_full/static/adminlte_full/plugins/summernote/lang/summernote-pt-BR.js
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else { var a = factory(); for(var i in a) (typeof exports === 'object' ? exports : roo...
PypiClean
/bemol_libraries-1.1.1-py3-none-any.whl/bemol/evaluation/psi.py
import matplotlib.pyplot as plt import matplotlib.patheffects as patheffects import numpy as np from scipy.interpolate import make_interp_spline from ._commons import check_dist, COLOR_SCHEME class PSI: """ It is a metric to measure how much a variable has shifted in distribution between two samples over ...
PypiClean
/potato_annotation-1.2.1.0-py3-none-any.whl/potato/static/bootstrap.js
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQue...
PypiClean
/spade_bdi-0.3.0.tar.gz/spade_bdi-0.3.0/docs/usage.rst
===== Usage ===== Create custom internal actions and functions -------------------------------------------- You must to overload the ``add_custom_actions`` method and to use the ``add_function`` or ``add`` (for actions) decorator. This custom method receives always the ``actions`` parameter:: import spade_bdi ...
PypiClean
/unitelabs_sila-0.1.3.tar.gz/unitelabs_sila-0.1.3/src/sila/server/unobservable_property.py
from __future__ import annotations import base64 import dataclasses import inspect import grpc import grpc.aio from sila import errors, properties from .handler import Handler @dataclasses.dataclass class UnobservableProperty(properties.UnobservableProperty, Handler): async def execute(self, metadata: dict) -...
PypiClean
/jobbergate_api-4.0.0a6-py3-none-any.whl/jobbergate_api/apps/dependencies.py
from contextlib import asynccontextmanager, contextmanager from dataclasses import dataclass from typing import AsyncIterator, Iterator from aioboto3.session import Session from fastapi import Depends from jobbergate_api.apps.services import BucketBoundService, DatabaseBoundService from jobbergate_api.config import s...
PypiClean
/enveloc-1.1.4.tar.gz/enveloc-1.1.4/README.md
# enveloc Python package to perform envelope cross-correlation location in seismology ### Dependencies obspy<br> cartopy<br> scikit-learn<br> utm<br> ### Citation If you use this package in your work, please cite the following paper: Wech, A.G., and K.C. Creager (2008), Automatic detection and location of Cascadia tr...
PypiClean
/idspy_dictionaries-33801.1.1.tar.gz/idspy_dictionaries-33801.1.1/idspy_dictionaries/ids_sawteeth/idspy_sawteeth.py
from ..dataclasses_idsschema import _IDSPYDD_USE_SLOTS,IdsBaseClass from dataclasses import dataclass, field from numpy import ndarray from typing import Optional @dataclass(slots=True) class BTorVacuum1(IdsBaseClass): """Characteristics of the vacuum toroidal field. Time coordinate at the root of the IDS ...
PypiClean
/lamson-1.3.4.tar.gz/lamson-1.3.4/doc/lamsonproject.org/output/prettify.js
// JSLint declarations /*global console, document, navigator, setTimeout, window */ /** * Split {@code prettyPrint} into multiple timeouts so as not to interfere with * UI events. * If set to {@code false}, {@code prettyPrint()} is synchronous. */ window['PR_SHOULD_USE_CONTINUATION'] = true; /** the number of cha...
PypiClean
/plaid-python-15.5.0.tar.gz/plaid-python-15.5.0/plaid/model/processor_number.py
import re # noqa: F401 import sys # noqa: F401 from plaid.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, validate...
PypiClean
/windmill_api-1.165.0-py3-none-any.whl/windmill_api/models/flow_status_modules_item_iterator.py
from typing import Any, Dict, List, Type, TypeVar, Union, cast import attr from ..types import UNSET, Unset T = TypeVar("T", bound="FlowStatusModulesItemIterator") @attr.s(auto_attribs=True) class FlowStatusModulesItemIterator: """ Attributes: index (Union[Unset, int]): itered (Union[Unset,...
PypiClean
/TreeHole-2.0.0.tar.gz/TreeHole-2.0.0/CHANGELOG.md
# Changelog ## Version 1.1.2 - Minor patch for unawaited async function - A new example for async methods usage (see [sample_async.py](./tests/sample_async.py)) ## Version 1.1.1 - Minor patch of backwards compatibility for up to Python 3.6! Thank you, [vermin](https://github.com/netromdk/vermin)! ## Version 1.1.0 ...
PypiClean
/TyphoonTest-1.27.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl/typhoon/test/__init__.py
from typhoon.utils import NoDuplicatesDict from pytest import fixture import pytest as _pytest from typhoon.utils import kernel import contextlib kernel.start() def parameter(values=None, table=None): if table is not None: params = _parse_table(table) elif values is not None: params = values...
PypiClean
/MAGINE-0.1.5.tar.gz/MAGINE-0.1.5/magine/networks/visualization/notebooks/view.py
import json import uuid import networkx as nx import numpy as np from IPython.display import display, HTML from magine.html_templates.html_tools import env from magine.networks.exporters import nx_to_json from .cyjs_options import layouts, styles def draw_cyjs(graph, add_parent=False, layout='cose-bilkent', ...
PypiClean
/pymars-0.10.0a1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl/mars/tensor/datasource/zeros.py
import numpy as np from ... import opcodes as OperandDef from ...serialization.serializables import ( FieldTypes, AnyField, TupleField, KeyField, StringField, ) from ...lib import sparse from ...lib.sparse.core import get_sparse_module, get_array_module, naked from ..array_utils import create_arr...
PypiClean
/netaddr2-0.7.19.tar.gz/netaddr2-0.7.19/netaddr/core.py
"""Common code shared between various netaddr sub modules""" import sys as _sys import pprint as _pprint from netaddr.compat import _callable, _iter_dict_keys #: True if platform is natively big endian, False otherwise. BIG_ENDIAN_PLATFORM = _sys.byteorder == 'big' #: Use inet_pton() semantics instead of inet_aton...
PypiClean
/monk_keras_cuda100_test-0.0.1-py3-none-any.whl/monk/tf_keras_1/models/models.py
from monk.tf_keras_1.models.imports import * from monk.system.imports import * from monk.tf_keras_1.models.common import set_parameter_requires_grad #classifier 6 set1 = ["mobilenet", "densenet121", "densenet169", "densenet201", "inception_v3", "inception_resnet_v3", "mobilenet_v2", "nasnet_mobile", "nasnet_...
PypiClean
/tuxmake-1.15.0.tar.gz/tuxmake-1.15.0/docs/kconfig.md
# Kernel Configuration Both the [command line](cli.md) and the [Python API](python.md) have two arguments for configuration: `--kconfig`/`kconfig` and `--kconfig-add`/`kconfig_add`. **kconfig** can only be specified once, and specifies the *main kernel configuration*. It can be specified in three different ways: - a...
PypiClean
/ajenti.plugin.ace-0.32.tar.gz/ajenti.plugin.ace-0.32/ajenti_plugin_ace/resources/vendor/ace-builds/src-min-noconflict/mode-diff.js
ace.define("ace/mode/diff_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{regex:"^(?:\\*{15}|={67}|-{3}|\\+{3})$",token:"punctuation.definit...
PypiClean
/iamine-0.3.6.tar.gz/iamine-0.3.6/HISTORY.rst
.. :changelog: Release History --------------- 0.3.5 (2016-05-24) ++++++++++++++++++ **Bugfixes** - All output from ia-mine should be JSONL. Some responses from the Metadata API contain unescaped newlines. This causes a lot of issues when using `jq` are when parsing JSON line-by-line. to address this, JSON re...
PypiClean
/esi_client-0.1.0a1.tar.gz/esi_client-0.1.0a1/esi_client/docs/GetCharactersCharacterIdMailLists200Ok.md
# GetCharactersCharacterIdMailLists200Ok 200 ok object ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mailing_list_id** | **int** | Mailing list ID | **name** | **str** | name string | **any string name** | **bool, date, datetime, dict, float, int, lis...
PypiClean
/pywwt-0.21.0.tar.gz/pywwt-0.21.0/docs/_static/sidebar.js
$(function() { // global elements used by the functions. // the 'sidebarbutton' element is defined as global after its // creation, in the add_sidebar_button function var bodywrapper = $('.bodywrapper'); var sidebar = $('.sphinxsidebar'); var sidebarwrapper = $('.sphinxsidebarwrapper'); // for some reaso...
PypiClean
/embedded_voting-0.1.6.tar.gz/embedded_voting-0.1.6/embedded_voting/rules/singlewinner_rules/rule_model_aware.py
import numpy as np from embedded_voting.rules.singlewinner_rules.rule import Rule from embedded_voting.utils.cached import cached_property from embedded_voting.ratings.ratings import Ratings class RuleModelAware(Rule): """ A rule that is know the noise parameters of the model and use the maximum likelihood ...
PypiClean
/vestapol-0.0.20.tar.gz/vestapol-0.0.20/README.md
# vestapol vestapol is a Python package that loads data from the web and deploys a corresponding external table definition, so that the data can be queried using standard SQL. ["Vestapol"](https://www.youtube.com/watch?v=SKQG-JGyn7U) is an open D Major tuning for the guitar. It is named after a 19th-century compositi...
PypiClean
/django_bpp-1.0.9-py3-none-any.whl/django_bpp/staticroot/progress/Readme.md
Flexible ascii progress bar. ## Installation ```bash $ npm install progress ``` ## Usage First we create a `ProgressBar`, giving it a format string as well as the `total`, telling the progress bar when it will be considered complete. After that all we need to do is `tick()` appropriately. ```javascript var Progres...
PypiClean
/pybudgea-0.1.12-py3-none-any.whl/budgea/models/order.py
import pprint import re # noqa: F401 import six import marshmallow from marshmallow import Schema, validates, ValidationError, post_load, missing import budgea import budgea.fields from budgea.configuration import Configuration """ CodegenModel{parent='null', parentSchema='null', interfaces=null, allParents=null,...
PypiClean
/jianshou-client-1.0.1.tar.gz/jianshou-client-1.0.1/src/jianshou/api.py
import requests from bs4 import BeautifulSoup from yattag import Doc # The two main cookies used by jianshou. # cookie = res.headers['Set-Cookie'] # cookie_dict = session.cookies.get_dict() # print({ # "XSRF-TOKEN": cookie_dict['XSRF-TOKEN'], # "pro_session": cookie_dict['pro_session'] # }) # The header is optional...
PypiClean
/dataq-di-4108-0.0.0.tar.gz/dataq-di-4108-0.0.0/docs/source/min_versions.rst
=================================== Minimum Version of Python and NumPy =================================== - This project supports at least the minor versions of Python initially released 42 months prior to a planned project release date. - The project will always support at least the 2 latest minor versions o...
PypiClean
/django_surface_theme-0.0.10-py3-none-any.whl/theme/static/components/moment/dist/locale/ja.js
import moment from '../moment'; export default moment.defineLocale('ja', { eras: [ { since: '2019-05-01', offset: 1, name: '令和', narrow: '㋿', abbr: 'R', }, { since: '1989-01-08', until: '2019-04-30', ...
PypiClean
/slack_types-0.0.2-py3-none-any.whl/slack_types/web_api/usergroups_create_response.py
from dataclasses import dataclass from typing import Optional, List, Any, TypeVar, Callable, Type, cast T = TypeVar("T") def from_list(f: Callable[[Any], T], x: Any) -> List[T]: assert isinstance(x, list) return [f(y) for y in x] def from_str(x: Any) -> str: assert isinstance(x, str) return x d...
PypiClean
/pyHMSA-gui-0.1.5.tar.gz/pyHMSA-gui-0.1.5/pyhmsa/gui/spec/datum/analysis.py
# Third party modules. from qtpy.QtCore import Qt, QAbstractTableModel from matplotlib.figure import Figure # Local modules. from pyhmsa.gui.spec.datum.datum import _DatumTableWidget, _DatumFigureWidget from pyhmsa.gui.util.mpl.toolbar import NavigationToolbarQT, NavigationToolbarSnapMixinQT from pyhmsa.gui.util.mpl...
PypiClean
/dbpedia_ent-0.1.9-py3-none-any.whl/dbpedia_ent/dto/syn/n1/g/rev_gm.py
d_rev_gm = {'gm-352': 'gm_chassis', 'gm-5975': 'gm_chassis', 'gm-611': 'mitemcinal', 'gm-allison': 'allison_transmission', 'gm-csf': 'granulocyte_macrophage_colony-stimulating_factor', 'gm-csf-r': 'granulocyte_macrophage_colony-stimulating_factor_receptor', 'gm-emd': 'electro-motive_diesel', 'gm-hm': 'pythagor...
PypiClean
/qudi_iqo_modules-0.4.0-py3-none-any.whl/qudi/hardware/wavemeter/high_finesse_wavemeter.py
from qtpy import QtCore import ctypes # is a foreign function library for Python. It provides C # compatible data types, and allows calling functions in DLLs # or shared libraries. It can be used to wrap these libraries # in pure Python. from qudi.interface.wavemeter_i...
PypiClean
/django-yacon-0.8.0.tar.gz/django-yacon-0.8.0/yacon/static/yacon/ckeditor/lang/el.js
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['el']={"editor":"Επεξεργαστής Πλούσιου Κειμένου","editorPanel":"Πίνακας Επεξεργαστή Πλούσιου Κειμένου","common":{"editorHelp":"Πατήστε το ALT 0 για βοήθεια","br...
PypiClean
/pyfrozen-0.1.0.tar.gz/pyfrozen-0.1.0/README.md
# pyfrozen [![Build Status](https://travis-ci.org/Gr1N/pyfrozen.svg?branch=master)](https://travis-ci.org/Gr1N/pyfrozen) [![codecov](https://codecov.io/gh/Gr1N/pyfrozen/branch/master/graph/badge.svg)](https://codecov.io/gh/Gr1N/pyfrozen) Set of collections with ability to freeze their items. ## Installation $ pi...
PypiClean
/spyder-terminal-1.2.2.tar.gz/spyder-terminal-1.2.2/spyder_terminal/server/static/components/@babel/helper-define-polyfill-provider/node_modules/ms/index.js
var s = 1000; var m = s * 60; var h = m * 60; var d = h * 24; var w = d * 7; var y = d * 365.25; /** * Parse or format the given `val`. * * Options: * * - `long` verbose formatting [false] * * @param {String|Number} val * @param {Object} [options] * @throws {Error} throw an error if val is not a non-empty st...
PypiClean
/gu-django-tinymce-2.7.2.tar.gz/gu-django-tinymce-2.7.2/tinymce/static/tiny_mce/langs/se.js
tinyMCE.addI18n({se:{common:{"more_colors":"Fler f\u00e4rger","invalid_data":"Fel: Inkorrekta v\u00e4rden har matats in, dessa \u00e4r markerade i r\u00f6tt.","popup_blocked":"Popup blockerare detekterad. St\u00e4ng av den s\u00e5 att dialogerna kan \u00f6ppnas.","clipboard_no_support":"Funktionen \u00e4r inte tillg\u0...
PypiClean
/datadog_api_client-2.16.0-py3-none-any.whl/datadog_api_client/v2/model/service_definition_schema.py
from __future__ import annotations from datadog_api_client.model_utils import ( ModelComposed, cached_property, ) class ServiceDefinitionSchema(ModelComposed): def __init__(self, **kwargs): """ Service definition schema. :param contact: Contact information about the service. ...
PypiClean
/hyphy-python-0.1.11.tar.gz/hyphy-python-0.1.11/hyphy-src/scripts/build_mingw_MEGA.sh
TARGET_NAME="MEGA_LINK" LIBRARY_BINDINGS="NONE" COMPILER="g++.exe"; COMPILERC="gcc.exe"; COMPILER_FLAGS=" -D __UNIX__ -w -c -fsigned-char -O3 -fpermissive -I`pwd`/Source -I`pwd`/Source/SQLite " echo "Checking for curl"; rm -rf curl_check* (echo "#include <curl/curl.h>"; echo "int main(void) {return 0;}") | ca...
PypiClean
/eniam-1.0.tar.gz/eniam-1.0/eniam_src/tools/wosedon/wosedon/wosedon/gbuilders/bidirectionalmsrgraphbuilder.py
import os, sys, logging from collections import defaultdict from wosedon.basegraph import BaseGraph from graphbuilderinterface import GraphBuilderInterface class BidirectionalMSRGraphBuilder(GraphBuilderInterface): """! Class for building graph from k-best file. The built graph is based on the k-best file. K-...
PypiClean
/ipkiss24/picazzo/filters/multi_ring/layout.py
######################################################################## # filters with multiple rings ######################################################################## from ipkiss.all import * __all__ = ["MultiRingRectNotchFilter", "MultiRingRect180DropFilter" ] ########################...
PypiClean
/noc-0.7(3).tar.gz/noc-0.7(3)/contrib/src/django/django/core/management/commands/dumpdata.py
from django.core.exceptions import ImproperlyConfigured from django.core.management.base import BaseCommand, CommandError from django.core import serializers from django.db import connections, router, DEFAULT_DB_ALIAS from django.utils.datastructures import SortedDict from optparse import make_option class Command(Ba...
PypiClean
/bagpipe-bgp-1.80.0.tar.gz/bagpipe-bgp-1.80.0/bagpipe/exabgp/structure/neighbor.py
from copy import copy from bagpipe.exabgp.structure.address import AFI from bagpipe.exabgp.message.open import HoldTime from bagpipe.exabgp.message.update.attribute.id import AttributeID from bagpipe.exabgp.log import Logger logger = Logger() # The definition of a neighbor (from reading the configuration) class Neig...
PypiClean
/eea.async.manager-2.1.zip/eea.async.manager-2.1/eea/async/manager/browser/app/queues.py
import logging from zc.twist import Failure from zope.component import queryUtility from plone.app.async.interfaces import IAsyncService from Products.statusmessages.interfaces import IStatusMessage from Products.Five.browser import BrowserView from eea.async.manager.config import EEAMessageFactory as _ from eea.async....
PypiClean
/paddle-pipelines-0.6.0.tar.gz/paddle-pipelines-0.6.0/pipelines/nodes/file_classifier/file_type.py
from pathlib import Path from typing import List, Union from pipelines.nodes.base import BaseComponent DEFAULT_TYPES = ["txt", "pdf", "md", "docx", "html", "png", "jpg"] class FileTypeClassifier(BaseComponent): """ Route files in an Indexing Pipeline to corresponding file converters. """ outgoing...
PypiClean
/aifs_nni-1.9.5-py3-none-manylinux1_x86_64.whl/aifs_nni-1.9.5.data/data/nni/node_modules/tough-cookie/lib/memstore.js
'use strict'; var Store = require('./store').Store; var permuteDomain = require('./permuteDomain').permuteDomain; var pathMatch = require('./pathMatch').pathMatch; var util = require('util'); function MemoryCookieStore() { Store.call(this); this.idx = {}; } util.inherits(MemoryCookieStore, Store); exports.MemoryCo...
PypiClean
/diva-boiler-0.2.2.tar.gz/diva-boiler-0.2.2/boiler/serialization/kpf.py
from io import BytesIO import json from typing import Any, Dict, IO, List, Optional from uuid import UUID from zipfile import ZipFile import yaml from boiler import BoilerError from boiler.definitions import ActivityPipelineStatuses from boiler.models import Activity, ActivityList, Actor, Box, Detection GEOM_ID = '...
PypiClean
/azure-mgmt-resource-23.1.0b1.zip/azure-mgmt-resource-23.1.0b1/azure/mgmt/resource/policy/v2018_03_01/_policy_client.py
from copy import deepcopy from typing import Any, TYPE_CHECKING from azure.core.rest import HttpRequest, HttpResponse from azure.mgmt.core import ARMPipelineClient from . import models as _models from .._serialization import Deserializer, Serializer from ._configuration import PolicyClientConfiguration from .operati...
PypiClean
/manim_editor-0.3.8-py3-none-any.whl/manim_editor/editor/create_project.py
import json import os from pathlib import Path from typing import List, Tuple from .manim_loader import get_scenes from .presentation_classes import Scene, Section, Slide __all__ = ["create_project_dir", "populate_project_with_loaded_sections", "populate_project"] def create_project_dir(project_name: str) -> Tuple[...
PypiClean
/django-ug-4.2.41.tar.gz/django-ug-4.2.41/django/contrib/gis/serializers/geojson.py
import json from django.contrib.gis.gdal import CoordTransform, SpatialReference from django.core.serializers.base import SerializerDoesNotExist from django.core.serializers.json import Serializer as JSONSerializer class Serializer(JSONSerializer): """ Convert a queryset to GeoJSON, http://geojson.org/ "...
PypiClean
/py-uds-0.2.0.tar.gz/py-uds-0.2.0/uds/segmentation/abstract_segmenter.py
__all__ = ["SegmentationError", "AbstractSegmenter"] from typing import Tuple, Type, Union, Any from abc import ABC, abstractmethod from uds.message import UdsMessage, UdsMessageRecord from uds.packet import PacketAlias, PacketsSequence, PacketsDefinitionTuple class SegmentationError(ValueError): """UDS segmen...
PypiClean
/simcubeltd_pulumi_nexus-1.0.0.tar.gz/simcubeltd_pulumi_nexus-1.0.0/simcubeltd_pulumi_nexus/nexus_anonymous.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['NexusAnonymousArgs', 'NexusAnonymous'] @pulumi.input_type class NexusAnonymousArgs: def __init__(__self__, *, enabled: Optional[pulumi.Inp...
PypiClean
/peek-storage-2.5.6.tar.gz/peek-storage-2.5.6/peek_storage/_private/plugin/StoragePluginLoader.py
import logging from typing import Type, Tuple, List from peek_storage._private.plugin.ServerFrontendLoadersMixin import ServerFrontendLoadersMixin from twisted.internet.defer import inlineCallbacks from peek_platform.plugin.PluginLoaderABC import PluginLoaderABC from peek_plugin_base.PluginCommonEntryHookABC import P...
PypiClean
/ripiu.djangocms_aoxomoxoa-0.0.4.tar.gz/ripiu.djangocms_aoxomoxoa-0.0.4/ripiu/djangocms_aoxomoxoa/models/options/theme.py
from django.db import models from django.utils.translation import ugettext_lazy as _ from .constants import ( ALIGN_LEFT, ALIGN_CENTER, ALIGN_CHOICES, POSITION_RIGHT, POSITION_BOTTOM, POSITION_CHOICES, ) class CompactGridDefaultThemeOptions(models.Model): ''' Theme options. Valid for: * Def...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/managementagent/outputs.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs __all__ = [ 'ManagementAgentManagementAgentProperty', 'ManagementAgentPluginList', 'GetManagementAgentAvailableHistoriesAvail...
PypiClean
/smart_home_tng-2023.1.3.tar.gz/smart_home_tng-2023.1.3/smart_home_tng/frontend/frontend_es5/36486620.js
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[3212],{319:function(e,t,r){var n,i,o,a,s=r(37500),l=r(33310),c=r(96151);r(9381);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e...
PypiClean
/onshape-test-client-1.0.0.tar.gz/onshape-test-client-1.0.0/onshape_client/oas/model/bt_parameter_spec_reference_table1520.py
import re # noqa: F401 import sys # noqa: F401 from onshape_client.oas.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type,...
PypiClean
/cello_classify-2.1.1-py3-none-any.whl/cello/models/binary_classifier.py
import sklearn from sklearn.linear_model import LogisticRegression from sklearn.svm import SVC #from sklearn.metrics import average_precision_score #import random class L2LogisticRegression(): def __init__(self, params): solver = params['solver'] penalty_weight = params['penalty_weight'] if...
PypiClean
/approveapi_swagger-1.0.13-py3-none-any.whl/approveapi_swagger/configuration.py
from __future__ import absolute_import import copy import logging import multiprocessing import sys import urllib3 import six from six.moves import http_client as httplib class TypeWithDefault(type): def __init__(cls, name, bases, dct): super(TypeWithDefault, cls).__init__(name, bases, dct) cls....
PypiClean
/Vaultier-0.7.5.tar.gz/Vaultier-0.7.5/vaultier/accounts/api.py
from django.db.transaction import atomic from rest_framework.exceptions import MethodNotAllowed from rest_framework.filters import SearchFilter, DjangoFilterBackend, \ OrderingFilter from rest_framework.mixins import UpdateModelMixin, RetrieveModelMixin, \ CreateModelMixin, ListModelMixin from rest_framework.pe...
PypiClean
/RsCMPX_NrFr1Meas-4.0.185.tar.gz/RsCMPX_NrFr1Meas-4.0.185/RsCMPX_NrFr1Meas/RsCMPX_NrFr1Meas.py
from typing import ClassVar, List from .Internal.Core import Core from .Internal.InstrumentErrors import RsInstrException from .Internal.CommandsGroup import CommandsGroup from .Internal.VisaSession import VisaSession from datetime import datetime, timedelta from . import repcap from .Internal.RepeatedCapability impor...
PypiClean
/google-cloud-binary-authorization-1.6.2.tar.gz/google-cloud-binary-authorization-1.6.2/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/base.py
import abc from typing import Awaitable, Callable, Dict, Optional, Sequence, Union import google.api_core from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.api_core import retry as retries import google.auth # type: ignore from google.auth import credentials as...
PypiClean
/pulumi_gcp-6.65.0a1693462587.tar.gz/pulumi_gcp-6.65.0a1693462587/pulumi_gcp/workstations/workstation_iam_binding.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * __all__ = ['WorkstationIamBindingArgs', 'WorkstationIamBinding'] @pulumi.input_type class WorkstationIamBindingAr...
PypiClean
/isc-py-common-0.1.27.tar.gz/isc-py-common-0.1.27/isc_common/models/audit.py
import logging from django.conf import settings from django.contrib.postgres.fields import ArrayField from django.db import connection from django.db.models import Model, BooleanField, BigAutoField, DateTimeField, Transform, CharField, TextField, BigIntegerField from django.utils import timezone from isc_common import...
PypiClean
/tw2.jqplugins.jqgrid-2.2.0.tar.gz/tw2.jqplugins.jqgrid-2.2.0/tw2/jqplugins/jqgrid/static/jquery/plugins/jqGrid/3.6.5/js/i18n/grid.locale-dk.js
(function(a){a.jgrid={defaults:{recordtext:"View {0} - {1} of {2}",emptyrecords:"No records to view",loadtext:"Loading...",pgtext:"Page {0} of {1}"},search:{caption:"Søg...",Find:"Find",Reset:"Nulstil",odata:["equal","not equal","less","less or equal","greater","greater or equal","begins with","does not begin with","is...
PypiClean
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/components/openuv/config_flow.py
from pyopenuv import Client from pyopenuv.errors import OpenUvError import voluptuous as vol from homeassistant import config_entries from homeassistant.const import ( CONF_API_KEY, CONF_ELEVATION, CONF_LATITUDE, CONF_LONGITUDE, ) from homeassistant.helpers import aiohttp_client, config_validation as c...
PypiClean
/xoa-driver-2.1.4.tar.gz/xoa-driver-2.1.4/xoa_driver/internals/hli_v2/modules/module_chimera.py
import asyncio import functools import typing from typing_extensions import Self from xoa_driver.internals.commands import ( M_STATUS, M_UPGRADE, M_UPGRADEPROGRESS, M_CFPTYPE, M_CFPCONFIGEXT, M_COMMENT, M_CAPABILITIES, M_CLOCKPPB, M_TXCLOCKSOURCE_NEW, M_TXCLOCKSTATUS_NEW, M_E...
PypiClean
/yt-dlp-custom-0.0.1.tar.gz/yt-dlp-custom-0.0.1/yt_dlp/extractor/jamendo.py
import hashlib import random from ..compat import compat_str from .common import InfoExtractor from ..utils import ( clean_html, int_or_none, try_get, ) class JamendoIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// (?: licensin...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/heterobasidionirregulare.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def HeterobasidionIrregulare( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwarg...
PypiClean
/golismero-2.0.3.tar.gz/golismero-2.0.3/tools/sqlmap/lib/request/connect.py
import httplib import json import logging import re import socket import string import time import urllib2 import urlparse import traceback from extra.safe2bin.safe2bin import safecharencode from lib.core.agent import agent from lib.core.common import asciifyUrl from lib.core.common import calculateDeltaSeconds from l...
PypiClean
/sagemath-categories-10.0b1.tar.gz/sagemath-categories-10.0b1/sage/categories/examples/crystals.py
r""" Example of a crystal """ # **************************************************************************** # Copyright (C) 2010 Anne Schilling <anne at math.ucdavis.edu> # # Distributed under the terms of the GNU General Public License (GPL) # https://www.gnu.org/licenses/ # ***********************...
PypiClean
/python-image-resize-1.1.2.tar.gz/python-image-resize-1.1.2/imageresize/imageresize.py
from __future__ import division from PIL import Image import imageexceptions import math def resize_crop(image, size): """ Crop the image with a centered rectangle of the specified size image: a Pillow image instance size: a list of two integers [width, height] """ img_format = image.format ...
PypiClean
/sphinx-runpython-0.1.tar.gz/sphinx-runpython-0.1/sphinx_runpython/runpython/sphinx_runpython_extension.py
import sys import os from contextlib import redirect_stdout, redirect_stderr import traceback import warnings from io import StringIO import sphinx from docutils import nodes, core from docutils.parsers.rst import Directive, directives from docutils.statemachine import StringList from sphinx.util.nodes import nested_pa...
PypiClean
/django-dojo-0.0.1.tar.gz/django-dojo-0.0.1/dojo/static/dojo/dojox/widget/FisheyeListItem.js
define(["dojo/_base/declare", "dojo/_base/sniff", "dojo/dom", "dojo/dom-attr", "dojo/dom-class", "dojo/dom-style", "dojo/dom-construct", "dojo/_base/window", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dijit/_Contained"], function(declare, has, dom, attr, domClass, style, construct, winUtil, _WidgetBase, _Templated...
PypiClean
/nextcordunaliased.py-2.0.0a2.tar.gz/nextcordunaliased.py-2.0.0a2/nextcord/abc.py
from __future__ import annotations import copy import asyncio from typing import ( Any, Callable, Dict, List, Optional, TYPE_CHECKING, Protocol, Sequence, Tuple, TypeVar, Union, overload, runtime_checkable, ) from .iterators import HistoryIterator from .context_mana...
PypiClean
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/connection.py
import sys import os import ssl import datetime import time import json import logging import pkg_resources from requests import Session, request, utils from requests.exceptions import ConnectTimeout from io import BufferedReader from ixnetwork_restpy.errors import * from ixnetwork_restpy.files import Files try: ...
PypiClean
/kamispy-0.1.3.tar.gz/kamispy-0.1.3/kamis/models/daily_sales_list.py
import collections from dataclasses import InitVar, dataclass, field import datetime from typing import List, Optional, OrderedDict as OrderedDictType, Union from .common import BasicResponse, Direction, ProductClass, ResultCode __all__ = 'PriceResponse', 'Response' @dataclass(frozen=True) class PriceResponse: ...
PypiClean
/initor_bot_inference-2.0.5.tar.gz/initor_bot_inference-2.0.5/src/initor_bot_inference/fast_reid/projects/FastRetri/README.md
# FastRetri in FastReID This project provides a strong baseline for fine-grained image retrieval. ## Datasets Preparation We use `CUB200`, `CARS-196`, `Standford Online Products` and `In-Shop` to evaluate the model's performance. You can do data management following [dml_cross_entropy](https://github.com/jeromerony/...
PypiClean
/django-l10n-extensions-1.0.7.tar.gz/django-l10n-extensions-1.0.7/src/django_l10n_extensions/po_utils.py
import os import polib import sys import re from django.conf import settings from django.utils.translation import get_language def clean_po_entry(po_entry): if 'fuzzy' in po_entry.flags: po_entry.flags.remove('fuzzy') po_libs = {} def get_po_libs(locale): if locale in po_libs: return po...
PypiClean
/databricks-feature-store-0.14.2.tar.gz/databricks-feature-store-0.14.2/LICENSE.md
**DB license** Copyright (2022) Databricks, Inc. This library (the "Software") may not be used except in connection with the Licensee's use of the Databricks Platform Services pursuant to an Agreement (defined below) between Licensee (defined below) and Databricks, Inc. ("Databricks"). This Software shall be deemed p...
PypiClean
/ikaaro-0.75.0.tar.gz/ikaaro-0.75.0/ui/js/fancybox/jquery.easing-1.3.pack.js
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);retur...
PypiClean
/calpackage-1.0.tar.gz/calpackage-1.0/apimaticcalculator/http/requests_client.py
from cachecontrol import CacheControl from requests import session from requests.adapters import HTTPAdapter from urllib3.util.retry import Retry from apimaticcalculator.http.http_client import HttpClient from apimaticcalculator.http.http_method_enum import HttpMethodEnum from apimaticcalculator.http.http_response imp...
PypiClean
/python-appengine-1.9.15.tar.gz/python-appengine-1.9.15/google/appengine/tools/appengine_rpc_httplib2.py
import cStringIO import logging import os import re import types import urllib import urllib2 import httplib2 from oauth2client import client from oauth2client import file as oauth2client_file from oauth2client import tools from google.appengine.tools.value_mixin import ValueMixin logger = logging.getLogger('google....
PypiClean
/pytest_pyodide-0.53.0-py3-none-any.whl/pytest_pyodide/server.py
import contextlib import functools import http.server import multiprocessing import os import pathlib import queue import shutil import socketserver import sys import tempfile from io import BytesIO @functools.cache def _default_templates() -> dict[str, bytes]: templates_dir = pathlib.Path(__file__).parent / "_te...
PypiClean
/spire.xls-13.4.0-py3-none-any.whl/spire/xls/XlsComboBoxShape.py
from enum import Enum from plum import dispatch from typing import TypeVar,Union,Generic,List,Tuple from spire.common import * from spire.xls import * from ctypes import * import abc class XlsComboBoxShape ( XlsShape, IComboBoxShape) : """ """ @property def ComboType(self)->'ExcelComboType': ...
PypiClean
/tkinterDev-2.0.4.tar.gz/tkinterDev-2.0.4/src/tkdev/devdemo/__init__.py
from tkdev import DevAppBar, DevDrag, DevPopupWindow, DevStatusBar, DevSubWindow, DevToplevel from tkinter import * from tkinter import ttk, messagebox from ctypes import windll windll.user32.SetProcessDPIAware() name = "tkdev" version = "1.5.0" class DevAppBar_Demo(DevToplevel): def __init__(self): su...
PypiClean
/django-skylark-0.4.6.tar.gz/django-skylark-0.4.6/src/skylark/templates/chirp/media/dojox/encoding/crypto/RSAKey.js
if(!dojo._hasResource["dojox.encoding.crypto.RSAKey"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.encoding.crypto.RSAKey"] = true; dojo.provide("dojox.encoding.crypto.RSAKey"); dojo.require("dojox.math.BigInteger"); dojo.require("dojox.math.random.Simp...
PypiClean
/fds.sdk.SecuritizedDerivativesAPIforDigitalPortals-0.10.2-py3-none-any.whl/fds/sdk/SecuritizedDerivativesAPIforDigitalPortals/model/securitized_derivative_notation_screener_value_ranges_get_data_key_figures_outperformance_point.py
import re # noqa: F401 import sys # noqa: F401 from fds.sdk.SecuritizedDerivativesAPIforDigitalPortals.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetim...
PypiClean
/RAIL-0.6.tar.gz/RAIL-0.6/README.rst
RAIL ==== Risk Assessment Library .. image:: https://travis-ci.com/davidbailey/RAIL.svg?branch=master :target: https://travis-ci.com/davidbailey/RAIL .. image:: https://coveralls.io/repos/github/davidbailey/RAIL/badge.svg :target: https://coveralls.io/github/davidbailey/RAIL Installation ---- Source code is ...
PypiClean
/blockchain_COHEN_DA-0.1.1.tar.gz/blockchain_COHEN_DA-0.1.1/blockchain/covalenth.py
import json from datetime import datetime import requests import pandas as pd from .chain_interface import ChainInterface class CovalenthAPIClient(ChainInterface): """Defines CovalenthClass()""" def __init__(self, chain_id, block_explorer, ticker): super().__init__() self.ckey = 'ckey_d5a5850f...
PypiClean
/python-sources-3.10.5.tar.gz/python-sources-3.10.5/Python-3.10.5/Tools/freeze/freeze.py
# Import standard modules import modulefinder import getopt import os import sys import sysconfig # Import the freeze-private modules import checkextensions import makeconfig import makefreeze import makemakefile import parsesetup import bkfile # Main program def main(): # overridable context prefix = No...
PypiClean
/tumbo-server-0.4.12.tar.gz/tumbo-server-0.4.12/tumbo/core/plugins/__init__.py
import logging from core.plugins.models import PluginUserConfig from core.plugins.singleton import Singleton from core.plugins.registry import PluginRegistry, register_plugin logger = logging.getLogger(__name__) def call_plugin_func(obj, func): """ obj is an instance, which gets used as argument for the function ...
PypiClean
/minimalkv-1.8.1.tar.gz/minimalkv-1.8.1/docs/git.rst
Git-based stores **************** .. warning:: The git-based store here passes all tests, but may perform slower than expected. The code should be considered beta quality in this release. The functionality in this module requires the dulwich_ module (but no git binary). Repositories are mani...
PypiClean
/django-admin-adminlte-1.0.5.tar.gz/django-admin-adminlte-1.0.5/admin_adminlte/static/plugins/jqvmap/maps/jquery.vmap.usa.js
jQuery.fn.vectorMap('addMap', 'usa_en', {"width":959,"height":593,"paths":{"hi":{"path":"m244.66,512.25c-2.48,3.8 2.23,4.04 4.74,5.38 3.06,0.16 3.51,-4.28 2.66,-6.56 -2.72,-0.77 -5.01,-0.19 -7.41,1.19z m-9.31,3.97c-4.02,5.11 3.64,0.48 0.63,-0.09l-0.5,0.07 -0.14,0.02z m39.69,7.97c-0.62,2.09 1.91,6.73 4.39,6.2 2.41,-1.46...
PypiClean