id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/python-opensesame-3.3.15a1.tar.gz/python-opensesame-3.3.15a1/openexp/_canvas/psycho.py
from libopensesame.py3compat import * from collections import OrderedDict from libopensesame.oslogging import oslogger from openexp.backend import configurable from openexp._canvas.canvas import Canvas from openexp._coordinates.psycho import Psycho as PsychoCoordinates from openexp.color import Color from openexp.canva...
PypiClean
/ally-py-0.9.0.tar.gz/ally-py-0.9.0/ally/core/http/impl/processor/error_populator.py
from ally.container.ioc import injected from ally.design.processor.attribute import requires, defines from ally.design.processor.context import Context from ally.design.processor.handler import HandlerProcessorProceed from ally.http.spec.codes import PATH_NOT_FOUND import logging # ------------------------------------...
PypiClean
/vortexpy-4.0.0.tar.gz/vortexpy-4.0.0/vortex/VortexServerHttpResource.py
import collections import logging from _pyio import BytesIO from typing import Deque from twisted.internet import task from twisted.internet.defer import inlineCallbacks from twisted.web.resource import Resource from twisted.web.server import NOT_DONE_YET from vortex.PayloadEnvelope import PayloadEnvelope from vortex...
PypiClean
/superset-2.0.0-custom-test-0.0.1.tar.gz/superset-2.0.0-custom-test-0.0.1/superset/reports/schemas.py
from typing import Any, Dict, Union from croniter import croniter from flask_babel import gettext as _ from marshmallow import fields, Schema, validate, validates_schema from marshmallow.validate import Length, Range, ValidationError from marshmallow_enum import EnumField from pytz import all_timezones from superset....
PypiClean
/infoblox-netmri-3.8.0.0.tar.gz/infoblox-netmri-3.8.0.0/infoblox_netmri/api/broker/v2_2_0/changes_device_viewer_grid_broker.py
from ..broker import Broker class ChangesDeviceViewerGridBroker(Broker): controller = "changes_device_viewer_grids" def index(self, **kwargs): """Lists the available changes device viewer grids. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various w...
PypiClean
/sendbird_platform_sdk-0.0.16-py3-none-any.whl/sendbird_platform_sdk/model/add_fcm_push_configuration_data.py
import re # noqa: F401 import sys # noqa: F401 from sendbird_platform_sdk.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_ty...
PypiClean
/wagon_tools-1.1.2.tar.gz/wagon_tools-1.1.2/wagon_tools/data/skeleton/proj/lib.py
from os.path import split import pandas as pd import datetime pd.set_option('display.width', 200) def clean_data(data): """ clean data """ # Remove columns starts with vote cols = [x for x in data.columns if x.find('vote') >= 0] data.drop(cols, axis=1, inplace=True) # Remove special character...
PypiClean
/highcharts_stock-1.3.0.tar.gz/highcharts_stock-1.3.0/docs/visualizations.rst
################################ Supported Visualizations ################################ .. contents:: :depth: 3 :backlinks: entry -------------- As the tables below make clear, the **Highcharts for Python Toolkit** and the `Highcharts <https://www.highcharts.com/>`__ suite of JavaScript libraries are likely t...
PypiClean
/pubmed_types-0.2.0.tar.gz/pubmed_types-0.2.0/src/pubmed_types/models/jats/floats_group.py
from dataclasses import field from pydantic.dataclasses import dataclass from typing import List, Optional from .access_date import ( Alternatives, BlockAlternatives, BoxedText, ChemStructWrap, Code, Fig, FigGroup, Graphic, Media, Preformat, SupplementaryMaterial, TableWr...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/cloudguard/managed_list.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ManagedListArgs', 'ManagedList'] @pulumi.input_type class ManagedListArgs: def __init__(__self__, *, compartment_id: pulumi.I...
PypiClean
/sqlalchemy_searchable-2.0.0.tar.gz/sqlalchemy_searchable-2.0.0/sqlalchemy_searchable/vectorizers.py
from functools import wraps from inspect import isclass import sqlalchemy as sa from sqlalchemy.orm.attributes import InstrumentedAttribute from sqlalchemy.sql.type_api import TypeEngine class Vectorizer: def __init__(self, type_vectorizers=None, column_vectorizers=None): self.type_vectorizers = {} if ty...
PypiClean
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/request/KoubeiRetailWmsOutboundworkCreateRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiRetailWmsOutboundworkCreateModel import KoubeiRetailWmsOutboundworkCreateModel class KoubeiRetailWmsOutboundworkCreateRequest(object): def __init__(self, biz_model=Non...
PypiClean
/morphine_optics-0.9.3-py3-none-any.whl/morphine/zernike.py
import inspect from math import factorial import jax.numpy as np from jax.ops import index_update, index import sys import logging import astropy.units as u from morphine.morphine_core import Wavefront from functools import lru_cache __all__ = [ 'R', 'cached_zernike1', 'hex_aperture', 'hexike_basis', 'noll_ind...
PypiClean
/moto-improved-cognitoidentity-1.3.tar.gz/moto-improved-cognitoidentity-1.3/moto/ram/models.py
import re import string from datetime import datetime from moto.core import BaseBackend, BackendDict, BaseModel from moto.core.utils import unix_time from moto.moto_api._internal import mock_random as random from moto.organizations import organizations_backends from moto.ram.exceptions import ( MalformedArnExcepti...
PypiClean
/bob.paper.btas_j2016-1.0.3.zip/bob.paper.btas_j2016-1.0.3/bob/paper/btas_j2016/plot_det_from_sets.py
from __future__ import print_function """This script evaluates the given score files and computes EER and Spoofing FAR with regards to 10 types of voice attacks""" import bob.measure import argparse import numpy, math import os import os.path import sys import matplotlib.pyplot as mpl import matplotlib.font_manage...
PypiClean
/js.yui-2.8.2-1.tar.gz/js.yui-2.8.2-1/js/yui/resources/connection/connection-debug.js
* The Connection Manager provides a simplified interface to the XMLHttpRequest * object. It handles cross-browser instantiantion of XMLHttpRequest, negotiates the * interactive states and server response, returning the results to a pre-defined * callback you create. * * @namespace YAHOO.util * @module connectio...
PypiClean
/find_class-0.0.1.tar.gz/find_class-0.0.1/README.md
find_class ========== This little package finds and loads a class by fully qualified string. Let's assume there is a file in `package/sub/animal.py` with ```python class Animal: def say_somthing(self): return 'wau' def a_little_function(): return 'wuff' a_tone = 'wiiiiii' ``` Then, you can use ...
PypiClean
/django-clearable-widget-1.0.0.tar.gz/django-clearable-widget-1.0.0/README.rst
django-clearable-widget ======================= .. image:: https://img.shields.io/pypi/v/django-clearable-widget.svg :target: https://pypi.python.org/pypi/django-clearable-widget/ .. image:: https://img.shields.io/pypi/dm/django-clearable-widget.svg :target: https://pypi.python.org/pypi/django-clearable-widge...
PypiClean
/opensesame_core-4.0.5-py3-none-any.whl/opensesame_extensions/core/help/locale/fr/offline_help.md
# Aide OpenSesame *Ceci est la page d'aide hors ligne. Si vous êtes connecté à Internet, vous pouvez trouver la documentation en ligne à l'adresse <http://osdoc.cogsci.nl>.* ## Introduction OpenSesame est un créateur d'expériences graphiques pour les sciences sociales. Avec OpenSesame, vous pouvez facilement créer d...
PypiClean
/adafruit-circuitpython-veml7700-1.1.20.tar.gz/adafruit-circuitpython-veml7700-1.1.20/adafruit_veml7700.py
from micropython import const import adafruit_bus_device.i2c_device as i2cdevice from adafruit_register.i2c_struct import UnaryStruct, ROUnaryStruct from adafruit_register.i2c_bits import RWBits from adafruit_register.i2c_bit import RWBit, ROBit try: import typing # pylint: disable=unused-import from busio im...
PypiClean
/azure_ml_component-0.9.18-py3-none-any.whl/azure/ml/component/_pipeline_parameters.py
from enum import Enum from pathlib import Path from azureml.core import Dataset from azureml.data.data_reference import DataReference from azureml.data.datapath import DataPath from azureml.data.abstract_dataset import AbstractDataset from azureml.data.dataset_consumption_config import DatasetConsumptionConfig from az...
PypiClean
/prosemirror-python-0.0.4.tar.gz/prosemirror-python-0.0.4/prosemirror/js_lib.py
__all__ = ['js_lib'] # Don't look below, you will not understand this Python code :) I don't. from js2py.pyjs import * # setting scope var = Scope( JS_BUILTINS ) set_global_object(var) # Code follows: var.registers([]) @Js def PyJs_anonymous_0_(exports, this, arguments, var=var): var = Scope({'exports':exports, ...
PypiClean
/stor-blockchain-1.0.4.tar.gz/stor-blockchain-1.0.4/stor/wallet/puzzles/prefarm/make_prefarm_ph.py
from clvm.casts import int_from_bytes from clvm_tools import binutils from stor.consensus.block_rewards import calculate_base_farmer_reward, calculate_pool_reward from stor.types.blockchain_format.program import Program from stor.types.condition_opcodes import ConditionOpcode from stor.util.bech32m import decode_puzzl...
PypiClean
/django_adminlte3-0.1.6-py3-none-any.whl/adminlte3/static/admin-lte/plugins/moment/locale/ne.js
;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; ...
PypiClean
/lux-api-0.5.1.tar.gz/lux-api-0.5.1/lux/vislib/altair/AltairChart.py
import re import lux import numpy as np import pandas as pd from lux.utils.date_utils import compute_date_granularity import altair as alt class AltairChart: """ AltairChart is a representation of a chart. Common utilities for charts that is independent of chart types should go here. See Also ...
PypiClean
/django-perm-filter-0.2.1.tar.gz/django-perm-filter-0.2.1/README.md
# Django Perm Filter A simple app that can be included in Django projects which hides app specific permissions from any type of User. Easily add entire apps, specific permissions or models and it will take care of the rest. Non-destructive (Does **not** delete permissions). For example, typically we have **no reaso...
PypiClean
/eisen-core-0.0.9.tar.gz/eisen-core-0.0.9/eisen/models/segmentation/unet.py
import torch import torch.nn as nn import torch.nn.functional as F # This implementation of UNet has been obtained from https://github.com/milesial/Pytorch-UNet # The implementation has been adapted to better fit Eisen framework. # WARNING: The code contained in this file is licensed under the GNU General Public Lic...
PypiClean
/django-dmcadmin-0.1.1.tar.gz/django-dmcadmin-0.1.1/dmcadmin/static/AdminLTE/plugins/moment/locale/tlh.js
;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; ...
PypiClean
/clickhouse-cli-0.3.8.tar.gz/clickhouse-cli-0.3.8/clickhouse_cli/ui/parseutils/ctes.py
from sqlparse import parse from sqlparse.tokens import Keyword, CTE, DML from sqlparse.sql import Identifier, IdentifierList, Parenthesis from collections import namedtuple from .meta import TableMetadata, ColumnMetadata # TableExpression is a namedtuple representing a CTE, used internally # name: cte alias assigned ...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/color-convert/README.md
# color-convert [![Build Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/color-convert) Color-convert is a color conversion library for JavaScript and node. It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keywor...
PypiClean
/TeleDoge-1.24.0-py3-none-any.whl/telethon/client/auth.py
import getpass import inspect import os import sys import typing import warnings from .. import utils, helpers, errors, password as pwd_mod from ..tl import types, functions, custom if typing.TYPE_CHECKING: from .telegramclient import TelegramClient class AuthMethods: # region Public methods def start...
PypiClean
/v2/model/list_measure_units_response.py
import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListMeasureUnitsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key i...
PypiClean
/quadpy-gpl-0.16.10.tar.gz/quadpy-gpl-0.16.10/src/quadpy/t2/_tools.py
import numpy as np from ..tn import get_vol from ._dunavant import dunavant_05, dunavant_10 def _numpy_all_except(a, axis=-1): axes = np.arange(a.ndim) axes = np.delete(axes, axis) return np.all(a, axis=tuple(axes)) def integrate_adaptive( f, triangles, eps, minimum_triangle_area=None, ...
PypiClean
/retort-cgi-1.0.1.tar.gz/retort-cgi-1.0.1/retort/data.py
# http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml http_status_codes = { 100: '100 Continue', 101: '101 Switching Protocols', 102: '102 Processing', 200: '200 OK', 201: '201 Created', 202: '202 Accepted', 203: '203 Non-Authoritative Information', 204: '204 No Co...
PypiClean
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/debug/dijit/form/CurrencyTextBox.js
define("dijit/form/CurrencyTextBox", [ "dojo/currency", // currency._mixInDefaults currency.format currency.parse currency.regexp "dojo/_base/declare", // declare "dojo/_base/lang", // lang.hitch "./NumberTextBox" ], function(currency, declare, lang, NumberTextBox){ // module: // dijit/form/CurrencyTextBox /*...
PypiClean
/bci_framework-1.3.2-py3-none-any.whl/bci_framework/default_extensions/OpenBCI_Raw_EEG_spectrum1/main.py
from bci_framework.extensions.visualizations import EEGStream, Widgets, interact from bci_framework.extensions.data_analysis import loop_consumer, fake_loop_consumer from bci_framework.extensions import properties as prop import numpy as np from scipy.fftpack import fft, fftfreq, fftshift from scipy.signal import welch...
PypiClean
/dagcheck-0.1.2.tar.gz/dagcheck-0.1.2/README.md
# Airflow DAG invariant testing Note: **Contributions welcome**. I hope this library will belong to the Airflow community. Dagcheck is a framework to assert for DAG invariants. Users of dagcheck can define DAG invariants to test via assertions, and dagcheck will generate DAG run scenarios that verify these invariants...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/drives/item/items/item/workbook/functions/n/n_request_builder.py
from __future__ import annotations from dataclasses import dataclass from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAdapter from kiota_abstractions.request_information import RequestInformation fro...
PypiClean
/ansible-tower-cli-3.3.9.tar.gz/ansible-tower-cli-3.3.9/tower_cli/api.py
import contextlib import copy import functools import json import os import stat import warnings try: from urlparse import urljoin, urlparse except Exception: from urllib.parse import urljoin, urlparse from datetime import datetime as dt from requests.exceptions import ConnectionError, SSLError from request...
PypiClean
/pytest_aioworkers-0.4.0a1.tar.gz/pytest_aioworkers-0.4.0a1/README.rst
================= pytest-aioworkers ================= .. image:: https://github.com/aioworkers/pytest-aioworkers/workflows/Tests/badge.svg :target: https://github.com/aioworkers/pytest-aioworkers/actions?query=workflow%3ATests .. image:: https://codecov.io/gh/aioworkers/pytest-aioworkers/branch/master/graph/badge.s...
PypiClean
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/@blueprintjs/core/lib/cjs/hooks/hotkeys/useHotkeys.js
"use strict"; /* * Copyright 2021 Palantir Technologies, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
PypiClean
/Flask-SQLAlchemy-Custom-3.0.3.tar.gz/Flask-SQLAlchemy-Custom-3.0.3/src/flask_sqlalchemy/record_queries.py
from __future__ import annotations import dataclasses import inspect import typing as t from time import perf_counter import sqlalchemy as sa import sqlalchemy.event from flask import current_app from flask import g from flask import has_app_context def get_recorded_queries() -> list[_QueryInfo]: """Get the lis...
PypiClean
/cubicweb_fds-1.6.5-py3-none-any.whl/cubicweb_fds/views/navigation.py
from logilab.common.decorators import monkeypatch from logilab.mtconverter import xml_escape from cubicweb.view import View from cubicweb.web.component import NavigationComponent from cubicweb.web.views.navigation import (NextPrevNavigationComponent, SortedNavigation, ...
PypiClean
/azureml_core-1.53.0-py3-none-any.whl/azureml/_restclient/models/node_state_counts.py
from msrest.serialization import Model class NodeStateCounts(Model): """Counts of various compute node states on the amlCompute. Variables are only populated by the server, and will be ignored when sending a request. :ivar idle_node_count: Idle node count. Number of compute nodes in idle state...
PypiClean
/peek-plugin-eventdb-3.4.11.tar.gz/peek-plugin-eventdb-3.4.11/peek_plugin_eventdb/admin-doc/admin_tasks.rst
Admin Tasks ----------- Edit Properties Tab ``````````````````` This screen is used to configure how even properties are displayed in the Alarms/Events Screen. **Value Map** - Displays the data stored in Peek for a Property. **Key** - The key of the Property from ADMS **Name** - The name Peek will displ...
PypiClean
/multivar_hypergeom-0.0.1.tar.gz/multivar_hypergeom-0.0.1/ci/bootstrap.py
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import os import subprocess import sys from os.path import abspath from os.path import dirname from os.path import exists from os.path import join base_path = dirname(dirname(abspath(__file__))) def ...
PypiClean
/nexus3-cli-4.1.8.tar.gz/nexus3-cli-4.1.8/src/nexuscli/nexus_client.py
import logging from typing import List, Optional from nexuscli.nexus_config import NexusConfig from nexuscli.nexus_http import NexusHttp from nexuscli.api.blobstore import BlobstoreCollection from nexuscli.api.cleanup_policy import CleanupPolicyCollection from nexuscli.api.repository import RepositoryCollection from ...
PypiClean
/hand_detector_test-0.0.0.3.tar.gz/hand_detector_test-0.0.0.3/utils/learning_schedules.py
import tensorflow as tf def exponential_decay_with_burnin(global_step, learning_rate_base, learning_rate_decay_steps, learning_rate_decay_factor, burnin_learning_rate=0.0, ...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/network/v20190801/application_gateway.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._enums import * from ._inputs import * __all__ = ['ApplicationGateway'] class ApplicationGateway(pulumi.CustomResource): def __init__(__s...
PypiClean
/Euphorie-15.0.2.tar.gz/Euphorie-15.0.2/src/euphorie/client/resources/oira/script/chunks/86479.01b760a3ded1f32c4806.min.js
(self.webpackChunk_patternslib_patternslib=self.webpackChunk_patternslib_patternslib||[]).push([[86479],{86479:function(e){function n(e){return e?"string"==typeof e?e:e.source:null}function t(...e){return e.map((e=>n(e))).join("")}function a(...e){return"("+e.map((e=>n(e))).join("|")+")"}e.exports=function(e){const n=/...
PypiClean
/codechecker-6.22.2.tar.gz/codechecker-6.22.2/build_dist/CodeChecker/lib/python3/codechecker_server/database/run_db_model.py
from datetime import datetime, timedelta from math import ceil import os from sqlalchemy import MetaData, Column, Integer, UniqueConstraint, String, \ DateTime, Boolean, ForeignKey, Binary, Enum, Table, Text from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalc...
PypiClean
/zhmc-ansible-modules-0.8.4.tar.gz/zhmc-ansible-modules-0.8.4/get_facts.py
import sys import os from collections import namedtuple from pprint import pprint from ansible.parsing.dataloader import DataLoader from ansible.vars.manager import VariableManager from ansible.inventory.manager import InventoryManager from ansible.playbook.play import Play from ansible.executor.task_queue_manager imp...
PypiClean
/cdktf-cdktf-provider-google_beta-9.0.1.tar.gz/cdktf-cdktf-provider-google_beta-9.0.1/src/cdktf_cdktf_provider_google_beta/data_google_compute_snapshot/__init__.py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from typeguard import check_type from .._jsii import * import cdktf as _cdktf_9a9027ec import constructs as _constructs_77d1e7e8 class DataGoogleComputeSnapshot( _cdktf_9a9027ec.Terrafo...
PypiClean
/bpy_optix-2.82-cp37-cp37m-win_amd64.whl/bpy_optix-2.82.data/scripts/2.82/scripts/startup/bl_ui/space_graph.py
# <pep8 compliant> from bpy.types import Header, Menu, Panel from bl_ui.space_dopesheet import ( DopesheetFilterPopoverBase, dopesheet_filter, ) class GRAPH_HT_header(Header): bl_space_type = 'GRAPH_EDITOR' def draw(self, context): layout = self.layout tool_settings = context.tool_s...
PypiClean
/glue_core-1.13.1-py3-none-any.whl/glue/core/fitters.py
import numpy as np from glue.core.simpleforms import IntOption, Option __all__ = ['BaseFitter1D', 'PolynomialFitter', 'AstropyFitter1D', 'SimpleAstropyGaussianFitter', 'BasicGaussianFitter'] class BaseFitter1D(object): """ Base class for 1D fitters. This abs...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/testem/node_modules/glob/sync.js
module.exports = globSync globSync.GlobSync = GlobSync var fs = require('fs') var rp = require('fs.realpath') var minimatch = require('minimatch') var Minimatch = minimatch.Minimatch var Glob = require('./glob.js').Glob var util = require('util') var path = require('path') var assert = require('assert') var isAbsolute...
PypiClean
/aiida-fenics-0.1.0.tar.gz/aiida-fenics-0.1.0/aiida_fenics/calculation/pfdisloc.py
# pylint: disable=too-many-locals import os import yaml from aiida import orm from aiida.common import datastructures from aiida.engine import CalcJob # from aiida.plugins import DataFactory class PfdislocCalculation(CalcJob): """ AiiDA calculation plugin wrapping a pfdisloc simulation. """ _CONFI...
PypiClean
/asm2d-0.2.3.tar.gz/asm2d-0.2.3/docs/assembly.md
# Assembly language quick overview The assembly language is very simple for now: * Subset of the 68HC11 instructions. * New instructions for 2D drawing. * Syntax for data segment elements. * Simple macros for constants. For a full description of the grammar, see `asmgrammar.py`. ## Instructions The basic form of a...
PypiClean
/nni-3.0rc1-py3-none-macosx_10_9_x86_64.whl/nni_node/node_modules/semver/bin/semver.js
// Standalone semver comparison program. // Exits successfully and prints matching version(s) if // any supplied version is valid and passes all tests. const argv = process.argv.slice(2) let versions = [] const range = [] let inc = null const version = require('../package.json').version let loose = false let inc...
PypiClean
/GraphQL_core_next-1.1.1-py3-none-any.whl/graphql/validation/rules/values_of_correct_type.py
from typing import List, Sequence, cast from ...error import GraphQLError from ...language import ( BooleanValueNode, EnumValueNode, FloatValueNode, IntValueNode, NullValueNode, ListValueNode, ObjectFieldNode, ObjectValueNode, StringValueNode, ValueNode, print_ast, ) from .....
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/me/events/item/instances/item/exception_occurrences/item/cancel/cancel_post_request_body.py
from __future__ import annotations from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union class CancelPostRequestBody(AdditionalDataHolder, Parsable): def __init__(self,) -> None: ...
PypiClean
/pyelastica-0.3.1.tar.gz/pyelastica-0.3.1/elastica/__init__.py
from collections import defaultdict from elastica.rod.knot_theory import KnotTheory, KnotTheoryCompatibleProtocol from elastica.rod.rod_base import RodBase from elastica.rod.cosserat_rod import CosseratRod from elastica.rigidbody.rigid_body import RigidBodyBase from elastica.rigidbody.cylinder import Cylinder from elas...
PypiClean
/fcust-1.0.0.tar.gz/fcust-1.0.0/docs/fcust.rst
fcust package ============= Submodules ---------- fcust.cli module ---------------- .. automodule:: fcust.cli :members: :undoc-members: :show-inheritance: fcust.fcust module ------------------ .. automodule:: fcust.fcust :members: :undoc-members: :show-inheritance: fcust.service module ---------...
PypiClean
/cobblequery-0.1.1.tar.gz/cobblequery-0.1.1/cobblelib/commands.py
from . import parsers from . import utils from . import query_language from . import aggregators from .extractor import Extractor from contextlib import contextmanager import os import sys import json class SkipError(ValueError): pass class GenerateSeries(): is_generator = True preparsed_arguments = True...
PypiClean
/ss-acryl-datahub-0.9.6.4.post15.tar.gz/ss-acryl-datahub-0.9.6.4.post15/src/datahub/ingestion/source/snowflake/snowflake_schema.py
import logging from collections import defaultdict from dataclasses import dataclass, field from datetime import datetime from typing import Dict, List, Optional import pandas as pd from snowflake.connector import SnowflakeConnection from datahub.ingestion.source.snowflake.constants import SnowflakeObjectDomain from ...
PypiClean
/nb_offline_convert-0.1.1.tar.gz/nb_offline_convert-0.1.1/share/jupyter/nbconvert/templates/lab_offline/static/MathJax/jax/output/SVG/autoload/mmultiscripts.js
MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var b="2.7.7";var a=MathJax.ElementJax.mml,c=MathJax.OutputJax.SVG;a.mmultiscripts.Augment({toSVG:function(G,z){this.SVGgetStyles();var B=this.SVG(),N=this.SVGgetScale(B);this.SVGhandleSpace(B);var j=(this.data[this.base]?this.SVGdataStretched(this.base,G,z):c...
PypiClean
/pytorch_pqrnn-0.1.0-py3-none-any.whl/pytorch_pqrnn/dataset.py
from typing import Any, Dict, List, Tuple, Union from pathlib import Path import numpy as np import pandas as pd import regex as re import torch from datasets import load_dataset from rich.console import Console from sklearn.model_selection import train_test_split from torch.utils.data import DataLoader, Dataset from...
PypiClean
/cbcflow-0.3.1.tar.gz/cbcflow-0.3.1/docs/source/_templates/custom-class-template.rst
{{ fullname | escape | underline}} .. currentmodule:: {{ module }} .. autoclass:: {{ objname }} :members: :show-inheritance: :inherited-members: {% block methods %} .. automethod:: __init__ {% if methods %} .. rubric:: {{ _('Methods') }} ....
PypiClean
/DjangoDjangoAppCenter-0.0.11-py3-none-any.whl/AppCenter/simpleui/static/admin/simpleui-x/elementui/umd/locale/ta.js
(function (global, factory) { if (typeof define === "function" && define.amd) { define('element/locale/ta', ['module', 'exports'], factory); } else if (typeof exports !== "undefined") { factory(module, exports); } else { var mod = { exports: {} }; factory(...
PypiClean
/jdcloud_sdk-1.6.243.tar.gz/jdcloud_sdk-1.6.243/jdcloud_sdk/services/cdn/apis/SetDomainConfigRequest.py
# Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
PypiClean
/deepaugment-1.1.2.tar.gz/deepaugment-1.1.2/README.md
# DeepAugment ![pypi](https://img.shields.io/pypi/v/deepaugment.svg?style=flat) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) DeepAugment disc...
PypiClean
/dhm_module_base-0.0.1.tar.gz/dhm_module_base-0.0.1/README.md
# DHM Base Module Basic module which uses software principles used in the repository "surfclass". Build status: [![CircleCI](https://circleci.com/gh/Kortforsyningen/dhm-module-base.svg?style=svg)](https://circleci.com/gh/Kortforsyningen/dhm-module-base) This is a basis module, meant as a "mother" module for internal ...
PypiClean
/typycal-0.7.0.tar.gz/typycal-0.7.0/README.rst
==================================================== `typycal` -- A handy tool to make type-aware classes ==================================================== .. image:: https://img.shields.io/pypi/v/typycal.svg :target: https://pypi.org/project/typycal/ .. image:: https://img.shields.io/pypi/pyversions/typycal.s...
PypiClean
/csharpstring-0.0.4.tar.gz/csharpstring-0.0.4/README.md
# csharpstring A general class that provides dot-net style syntax for python string manipulations. ## Static & Instance Namespaces To more easily separate the objective, from non-objective functionality there are two classes internally that can be used. 1. `csharpstring.instance` 2. `csharpstring.static` ## Instance...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/machinelearningservices/v20230601preview/get_compute.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__ = [ 'GetComputeResult', 'AwaitableGetComputeResult', 'get_compute', 'get_compute_output', ] @pulumi.output_type...
PypiClean
/ansible-8.3.0-py3-none-any.whl/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_nat_rule_facts.py
from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = { "metadata_version": "1.1", "status": ["preview"], "supported_by": "community", } DOCUMENTATION = """ --- module: cp_mgmt_nat_rule_facts short_description: Get nat-rule objects facts on Checkpoint o...
PypiClean
/dtxg-2.0.1.tar.gz/dtxg-2.0.1/README.rst
dtxg - powerful extensions to dateutil ========================================== |pypi| |support| |licence| |gitter| |readthedocs| |travis| |appveyor| |pipelines| |coverage| .. |pypi| image:: https://img.shields.io/pypi/v/python-dateutil.svg?style=flat-square :target: https://pypi.org/project/python-dateutil/ ...
PypiClean
/fiduswriter_ojs-3.11.4-py3-none-any.whl/fiduswriter/ojs/helpers.py
from os import path from httpx import AsyncClient from tenacity import retry, stop_after_attempt, wait_fixed from document.models import Document from usermedia.models import Image, DocumentImage from django.conf import settings from django.core.files import File def create_doc( owner, template, title, ...
PypiClean
/tensorflow_ascend-1.15.0-cp37-cp37m-manylinux2014_aarch64.whl/tensorflow_core/contrib/distributions/python/ops/bijectors/weibull.py
"""Weibull bijector.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.framework import constant_op from tensorflow.python.framework import ops from tensorflow.python.ops import check_ops from tensorflow.python.ops import control_flo...
PypiClean
/DendroPy-4.6.1.tar.gz/DendroPy-4.6.1/src/dendropy/legacy/ncbi.py
############################################################################## ## DendroPy Phylogenetic Computing Library. ## ## Copyright 2010-2015 Jeet Sukumaran and Mark T. Holder. ## All rights reserved. ## ## See "LICENSE.rst" for terms and conditions of usage. ## ## If you use this work or any portion there...
PypiClean
/python-olm-3.2.15.tar.gz/python-olm-3.2.15/olm/utility.py
# pylint: disable=redefined-builtin,unused-import from typing import AnyStr, Type # pylint: disable=no-name-in-module from _libolm import ffi, lib # type: ignore from ._compat import to_bytearray, to_bytes from ._finalize import track_for_finalization def _clear_utility(utility): # pragma: no cover # type: (f...
PypiClean
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/min/dojox/atom/io/Connection.js
define("dojox/atom/io/Connection",["dojo/_base/declare","dojo/_base/kernel","dojo/_base/xhr","./model"],function(_1,_2,_3,_4){ return _1("dojox.atom.io.Connection",null,{constructor:function(_5,_6){ this.sync=_5; this.preventCache=_6; },preventCache:false,alertsEnabled:false,getFeed:function(_7,_8,_9,_a){ this._getXmlD...
PypiClean
/django_adminlte_x-0.22.1-py3-none-any.whl/adminlte/static/plugins/ckeditor/lang/fr.js
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['fr']={"editor":"Éditeur de Texte Enrichi","editorPanel":"Tableau de bord de l'éditeur de texte enrichi","common":{"editorHelp":"Appuyez sur ALT-0 pour l'aide","b...
PypiClean
/ray_delvewheel-1.3.0.0-cp38-cp38-win_amd64.whl/ray-1.3.0.data/purelib/ray/rllib/env/policy_client.py
import logging import threading import time from typing import Union, Optional import ray.cloudpickle as pickle from ray.rllib.env import ExternalEnv, MultiAgentEnv, ExternalMultiAgentEnv from ray.rllib.policy.sample_batch import MultiAgentBatch from ray.rllib.utils.annotations import PublicAPI from ray.rllib.utils.ty...
PypiClean
/google-cloud-compute-1.14.0.tar.gz/google-cloud-compute-1.14.0/google/cloud/compute_v1/services/machine_types/client.py
from collections import OrderedDict import os import re from typing import ( Dict, Mapping, MutableMapping, MutableSequence, Optional, Sequence, Tuple, Type, Union, cast, ) from google.api_core import client_options as client_options_lib from google.api_core import exceptions as...
PypiClean
/spinnaker_spinner-2.5.0.tar.gz/spinnaker_spinner-2.5.0/spinner/scripts/proxy_server.py
import argparse import logging from spinner.scripts import arguments from spinner.probe import WiringProbe from spinner.proxy import ProxyServer, DEFAULT_PORT from rig.machine_control import BMPController def main(args=None): parser = argparse.ArgumentParser( description="Start a proxy server to enable multip...
PypiClean
/python-hush-0.3.1.tar.gz/python-hush-0.3.1/docs/source/plugins.md
# How to write your own plugin for Hush? Hush uses [pluggy][1] to manage its plugin system. As such, the instructions for creating a new external plugin for Hush are mostly the same as they are for any other application with a plugin-architecture that uses pluggy (e.g. [pytest][2]). ## Examples A good, general-purpo...
PypiClean
/find-ff-604.tar.gz/find-ff-604/libff/arguments.py
import os import sys import shlex from . import MAX_CPU from .ignore import IGNORE_FILES from .argparse import ArgumentParser, type_set, type_jobs, type_list, \ type_slice, type_ranges from .exceptions import EX_OK, UsageError class Defaults: """Provide the defaults for both the ArgumentParser as well as th...
PypiClean
/django-datatable-view-2.1.6.tar.gz/django-datatable-view-2.1.6/datatableview/helpers.py
from functools import partial, wraps import operator from django.db.models import Model from django.forms.utils import flatatt from .utils import resolve_orm_path, XEDITABLE_FIELD_TYPES from django.utils.timezone import localtime def keyed_helper(helper): """ Decorator for helper functions that operate on ...
PypiClean
/bankbarcode-0.1.4.tar.gz/bankbarcode-0.1.4/README.rst
=========== BankBarcode =========== .. image:: https://travis-ci.org/gisce/bankbarcode.svg?branch=master :target: https://travis-ci.org/gisce/bankbarcode Python library to generate barcodes for financial documents Currently only the following codes are implemented: * cuaderno57, Cobros por ventanilla y autoserv...
PypiClean
/azure_ai_formrecognizer-3.3.0b1-py3-none-any.whl/azure/ai/formrecognizer/_generated/aio/_form_recognizer_client.py
from typing import Any, Optional, TYPE_CHECKING from msrest import Deserializer, Serializer from azure.core import AsyncPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin from ._configuration import FormRecognizerClientConfigurati...
PypiClean
/st2-auth-backend-flat-file-0.1.0.tar.gz/st2-auth-backend-flat-file-0.1.0/st2auth_flat_file_backend/flat_file.py
import logging from passlib.apache import HtpasswdFile __all__ = [ 'FlatFileAuthenticationBackend' ] LOG = logging.getLogger(__name__) COMMENT_MARKER = '**COMMENTIGNORE**' class HttpasswdFileWithComments(HtpasswdFile): """ Custom HtpasswdFile implementation which supports comments (lines starting ...
PypiClean
/gammapy-1.1.tar.gz/gammapy-1.1/docs/development/pigs/pig-009.rst
.. include:: ../../references.txt .. _pig-009: ********************** PIG 9 - Event sampling ********************** * Author: Fabio Pintore, Andrea Giuliani, Axel Donath * Created: May 03, 2019 * Accepted: Aug 30, 2019 * Status: accepted * Discussion: `GH 2136`_ Abstract ======== An event sampler for gamma events ...
PypiClean
/adlinear_staging-1.0.202.tar.gz/adlinear_staging-1.0.202/build/lib/adlinear/imputer.py
import numpy as np import pandas as pd from . import utilities as utl from . import nmfmodel as nmf from . import ntfmodel as ntf from . import clusterizer as cls from typing import Union, Tuple from datetime import datetime from adganinference import AdCritic class Imputer: def __init__(self, m...
PypiClean
/muted_http_request_randomizer-0.0.7.tar.gz/muted_http_request_randomizer-0.0.7/muted_http_request_randomizer/requests/runners/proxyList.py
import argparse import logging import sys import pkg_resources from muted_http_request_randomizer.requests.parsers.FreeProxyParser import FreeProxyParser from muted_http_request_randomizer.requests.parsers.ProxyForEuParser import ProxyForEuParser from muted_http_request_randomizer.requests.parsers.RebroWeeblyParser i...
PypiClean
/tiddlywebwiki-0.69.0.tar.gz/tiddlywebwiki-0.69.0/wikklytext/wikino/core.py
from boodebr.config import * import os, sys from wikklytext.store import WikklyItem, makeFSname from boodebr.util import makeSHA from wikklytext.port import * import threading def nopfunc(*args, **kwargs): pass # root directory for config files (subdir of wiki path) WIKIROOT = '.wik' # wiki settings are stored here...
PypiClean
/ka-lite-0.17.6b4.tar.gz/ka-lite-0.17.6b4/kalite/distributed/static/js/distributed/perseus/ke/local-only/localeplanet/icu.zh-TW.js
(function() { var dfs = {"am_pm":["上午","下午"],"day_name":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"day_short":["週日","週一","週二","週三","週四","週五","週六"],"era":["西元前","西元"],"era_name":["西元前","西元"],"month_name":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"month_short":["1月","2月","3月","4月","5月","6月","7月...
PypiClean
/stylo_metrix-0.1.6.tar.gz/stylo_metrix-0.1.6/src/stylo_metrix/metrics/pl/new_lexis.py
from ...structures import Metric, Category from ...utils import ratio vulgarisms = ['chuj', 'chuja', 'chujek', 'chuju', 'chujem', 'chujnia', 'chujowy', 'chujowa', 'chujowe', 'cipa', 'cipę', 'cipe', 'cipą', 'cipie', 'dojebać', 'dojebac', 'dojebie', 'dojebał', 'dojebal', 'dojebała', 'dojebala', 'dojebałem', 'dojebalem',...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/codemirror/CHANGELOG.md
## 5.61.1 (2021-05-20) ### Bug fixes Fix a bug where changing the editor's document could confuse text-direction management. Fix a bug in horizontally scrolling the cursor into view. Optimize adding lots of marks in a single transaction. [simple mode addon](https://codemirror.net/demo/simplemode.html): Support reg...
PypiClean
/py_base_layer-1.0.0-py3-none-any.whl/tencentcloud/vm/v20200709/vm_client.py
import json from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException from tencentcloud.common.abstract_client import AbstractClient from tencentcloud.vm.v20200709 import models class VmClient(AbstractClient): _apiVersion = '2020-07-09' _endpoint = 'vm.tencentcloudapi.co...
PypiClean