id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/nef_pipelines-0.1.46.tar.gz/nef_pipelines-0.1.46/src/nef_pipelines/tools/frames/delete.py | import inspect
import sys
from fnmatch import fnmatch
from typing import List
import typer
from pynmrstar import Entry
from nef_pipelines.lib.util import exit_error, running_in_pycharm
from nef_pipelines.tools.frames import frames_app
UNDERSCORE = "_"
parser = None
# noinspection PyUnusedLocal
@frames_app.command... | PypiClean |
/smart_home_tng-2023.1.3.tar.gz/smart_home_tng-2023.1.3/nodejs/frontend/src/panels/lovelace/cards/energy/hui-energy-compare-card.ts | import { differenceInDays, endOfDay } from "date-fns";
import { UnsubscribeFunc } from "home-assistant-js-websocket";
import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit";
import { customElement, property, state } from "lit/decorators";
import { formatDate } from "../../../../common/datetime/form... | PypiClean |
/django-dedupe-backend-0.0.2.tar.gz/django-dedupe-backend-0.0.2/dedupebackend/fields.py | from django import forms
from django.contrib.admin.widgets import ForeignKeyRawIdWidget, RelatedFieldWidgetWrapper
from django.core.files.base import File
from django.db.models import ForeignKey
from django.template.loader import render_to_string
from django.utils.safestring import mark_safe
from dedupebackend.storage... | PypiClean |
/monaco-qt-0.1.7.tar.gz/monaco-qt-0.1.7/monaco/monaco-editor/min/vs/basic-languages/systemverilog/systemverilog.js | define("vs/basic-languages/systemverilog/systemverilog", ["require","require"],(require)=>{
var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=n=>r(n,"__esModule",{value:!0});var l=(n,e)=>{for(var i in e)... | PypiClean |
/apachecn_sec_zh_pt2-2022.9.27.0-py3-none-any.whl/ApachecnSecZhPt2/docs/real-world-crypto/07.md | # 七、签名和零知识证明
本章涵盖了
* 零知识证明和密码签名
* 现有的加密签名标准
* 签名的微妙行为和避免它们的陷阱
您将了解到最普遍、最强大的加密原语之一——数字签名。简而言之,数字签名类似于您所熟悉的现实生活中的签名,即您在支票和合同上书写的签名。当然,除了数字签名是加密的,因此它们比它们的笔和纸等价物提供了更多的保证。
在协议的世界里,数字签名开启了许多不同的可能性,在本书的第二部分你会一次又一次地遇到它们。在这一章中,我将介绍这个新的原语是什么,它如何在现实世界中使用,以及现代数字签名标准是什么。最后,我将谈谈安全考虑和使用数字签名的危险。
注 签名在密码学中通常被称为*数字签名*或*签名方案*。... | PypiClean |
/apache_airflow_providers_apache_sqoop-4.0.0rc1-py3-none-any.whl/airflow/providers/apache/sqoop/operators/sqoop.py | """This module contains a sqoop 1 operator."""
from __future__ import annotations
import os
import signal
from typing import TYPE_CHECKING, Any, Sequence
from airflow.exceptions import AirflowException
from airflow.models import BaseOperator
from airflow.providers.apache.sqoop.hooks.sqoop import SqoopHook
if TYPE_CH... | PypiClean |
/XCorVar-0.1.2.tar.gz/XCorVar-0.1.2/sample/toolbox/diffusion/scheme.py |
import copy as cpy
import numpy as np
import math as mth
from sample.toolbox.diffusion.utilities import Step, State, SuperState, StoDifEq
class Scheme:
#public:
def __init__ (self, init, sto_dif_eq, step):
self.state = cpy.copy (init)
self.sto_dif_eq = sto_dif_eq
se... | PypiClean |
/peachapisec-ci-jira-1.5.41.tar.gz/peachapisec-ci-jira-1.5.41/README.rst | # Peach API Security CI JIRA Integration
This package provides the Peach API Security JIRA Integration
scripts. The integration scripts allow populating found issues
into JIRA when running from a CI system.
## Installation
This integration is available as a pip installable package.
`$ pip install peachapisec-ci-ji... | PypiClean |
/oct-firecam-0.1.3.tar.gz/oct-firecam-0.1.3/firecam/lib/img_archive.py | from firecam.lib import goog_helper
import os
import logging
import urllib.request
import time, datetime, dateutil.parser
from html.parser import HTMLParser
import requests
import re
from PIL import Image, ImageMath
def getImgPath(outputDir, cameraID, timestamp, cropCoords=None, diffMinutes=0):
"""Generate prope... | PypiClean |
/cdktf_cdktf_provider_aws-17.0.2-py3-none-any.whl/cdktf_cdktf_provider_aws/data_aws_route53_traffic_policy_document/__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 DataAwsRoute53TrafficPolicyDocument(
_cdktf_9a9027... | PypiClean |
/openid-selector-0.2.zip/openid-selector-0.2/js/openid-prototype.js | var providers;
var openid = {
version : '1.3', // version constant
demo : false,
demo_text : null,
cookie_expires : 6 * 30, // 6 months.
cookie_name : 'openid_provider',
cookie_path : '/',
img_path : 'images/',
locale : null, // is set in openid-<locale>.js
sprite : null, // usually equals to locale, is set ... | PypiClean |
/lcr-api-2-0.5.0.tar.gz/lcr-api-2-0.5.0/lcr/__init__.py |
import re
import json
import logging
import requests
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as ec
from webdriver_manager.chrome import ChromeDriverManager
_LOGGER = l... | PypiClean |
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/domain/AlipayUserBenefitCreateModel.py | import json
from alipay.aop.api.constant.ParamConstants import *
class AlipayUserBenefitCreateModel(object):
def __init__(self):
self._benefit_area_code = None
self._benefit_icon_url = None
self._benefit_name = None
self._benefit_name_as_area_subtitle = None
self._benefit... | PypiClean |
/yandexcloud-0.229.0-py3-none-any.whl/yandex/cloud/compute/v1/placement_group_service_pb2_grpc.py | """Client and server classes corresponding to protobuf-defined services."""
import grpc
from yandex.cloud.compute.v1 import placement_group_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_placement__group__pb2
from yandex.cloud.compute.v1 import placement_group_service_pb2 as yandex_dot_cloud_dot_compute_dot_v1_dot_pla... | PypiClean |
/django-rbac-auth-0.0.2.tar.gz/django-rbac-auth-0.0.2/django_rbac/migrations/0001_initial.py |
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Permission',
fields=[
('id', models.AutoField(auto_created... | PypiClean |
/AGouTI-1.0.3.tar.gz/AGouTI-1.0.3/agouti_pkg/agouti_annotate.py |
import os
import sys
import codecs
from agouti_pkg.eprint import eprint
import agouti_pkg.gffutils
import agouti_pkg.gffutils.inspect as inspect
from operator import attrgetter
from agouti_pkg.database import Database
from agouti_pkg.argument_parser import (parse_arguments,
create_attribut... | PypiClean |
/msaf_test-0.1.70-py3-none-any.whl/msaf/pymf/aa.py | import numpy as np
from .dist import vq
from cvxopt import solvers, base
from .svd import pinv
from .nmf import NMF
__all__ = ["AA"]
class AA(NMF):
"""
AA(data, num_bases=4)
Archetypal Analysis. Factorize a data matrix into two matrices s.t.
F = | data - W*H | = | data - data*beta*H| is minimal. H a... | PypiClean |
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojox/drawing/tools/Path.js | define(["dijit","dojo","dojox"],function(_1,_2,_3){
_2.provide("dojox.drawing.tools.Path");
_3.drawing.tools.Path=_3.drawing.util.oo.declare(_3.drawing.stencil.Path,function(){
this.pathMode="";
this.currentPathMode="";
this._started=false;
this.oddEvenClicks=0;
},{draws:true,onDown:function(_4){
if(!this._started){
th... | PypiClean |
/fnal-column-analysis-tools-0.4.23.tar.gz/fnal-column-analysis-tools-0.4.23/fnal_column_analysis_tools/jetmet_tools/JetTransformer.py | from .FactorizedJetCorrector import FactorizedJetCorrector
from .JetResolution import JetResolution
from .JetResolutionScaleFactor import JetResolutionScaleFactor
from .JetCorrectionUncertainty import JetCorrectionUncertainty
from ..analysis_objects.JaggedCandidateArray import JaggedCandidateArray
import numpy as np
... | PypiClean |
/experimaestro-ir-1.0.0.zip/experimaestro-ir-1.0.0/src/xpmir/letor/learner.py | import logging
import json
from pathlib import Path
from typing import Dict, Iterator
from datamaestro_text.data.ir import Adhoc
from experimaestro import Param, pathgenerator, Annotated
import numpy as np
from xpmir.utils.utils import easylog
from xpmir.evaluation import evaluate
from xpmir.learning.context import (
... | PypiClean |
/api-buddy-0.4.0.tar.gz/api-buddy-0.4.0/README.md | # API Buddy
[](https://travis-ci.org/fonsecapeter/api-buddy.svg)
[](https://badge.fury.io/py/api-buddy)

class ArgumentError(Exception):
def __init__(self, message: str):
self.message = message
def get_args_parser() -> argparse.ArgumentParser:... | PypiClean |
/datasette-surveys-1.1.8.tar.gz/datasette-surveys-1.1.8/datasette_surveys/static/lib/datatables.net-plugins/Readme.md | DataTables Plugins
==================
This repository contains a collection of plug-ins for the jQuery [DataTables](http://datatables.net) table enhancer. These plug-ins are feature enhancing for the DataTables library, adding extra options to core functionality such as additional sort algorithms, API methods and pagi... | PypiClean |
/jax_dips-0.2.1-py3-none-any.whl/jax_dips/solvers/free_boundary/solver_poisson_advection.py | import os
import pickle
import jax
from jax import config, grad, jit
from jax import numpy as jnp
from jax import random, value_and_grad, vmap
from jax_dips.geometry.level_set import geometric_integrations_per_point
config.update("jax_debug_nans", False)
from functools import partial
import haiku as hk
import optax... | PypiClean |
/matrix-47-0.1.2.tar.gz/matrix-47-0.1.2/README.md | # matrix
```
__ _
__ _ ___ _/ /_____(_)_ __
/ ' \/ _ `/ __/ __/ /\ \ /
/_/_/_/\_,_/\__/_/ /_//_\_\
```
A python package for matrix operations and manipulations.
## Contents
* [Back-Story](#back-story)
* [Features](#features)
* [Installation](#installation)
* [Usage](#usage)
* [Uninstallatio... | PypiClean |
/opal-azure-cli-servicebus-0.3.9.tar.gz/opal-azure-cli-servicebus-0.3.9/azure/cli/command_modules/servicebus/_params.py |
from azure.cli.core.commands.parameters import tags_type, get_enum_type, resource_group_name_type, name_type, get_location_type, get_three_state_flag, get_resource_name_completion_list
from azure.cli.core.commands.validators import get_default_location_from_resource_group
def load_arguments_sb(self, _):
from azu... | PypiClean |
/LWTools-1.0.5.tar.gz/LWTools-1.0.5/LWT/lmtanalysis/BuildEventNest3.py | '''
Created on 6 sept. 2017
@author: Fab
'''
import sqlite3
from time import *
from lmtanalysis.Chronometer import Chronometer
from lmtanalysis.Animal import *
from lmtanalysis.Detection import *
from lmtanalysis.Measure import *
import matplotlib.pyplot as plt
import numpy as np
from lmtanalysis.Event import *
from... | PypiClean |
/stem4tob-1.7.1.post1.tar.gz/stem4tob-1.7.1.post1/test/runner.py | import logging
import os
import shutil
import stat
import tempfile
import threading
import time
import uuid
import stem.connection
import stem.prereq
import stem.process
import stem.socket
import stem.util.conf
import stem.util.enum
import test
from test.output import println, STATUS, ERROR, SUBSTATUS, NO_NL
CONFIG ... | PypiClean |
/graphene-django-patch-2.15.0.0.tar.gz/graphene-django-patch-2.15.0.0/graphene_django/converter.py | from collections import OrderedDict
from django.db import models
from django.utils.encoding import force_str
from django.utils.module_loading import import_string
from graphene import (
ID,
Boolean,
Dynamic,
Enum,
Field,
Float,
Int,
List,
NonNull,
String,
UUID,
DateTime,... | PypiClean |
/herbie_data-2023.3.0-py3-none-any.whl/herbie/accessors.py | import functools
import cartopy.crs as ccrs
import metpy # * Needed for metpy accessor
import numpy as np
import pandas as pd
import xarray as xr
import pygrib
from pyproj import CRS
from pathlib import Path
import re
import shapely
from shapely.geometry import Polygon, MultiPoint, Point
_level_units = dict(
adi... | PypiClean |
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/debug/dojox/grid/enhanced/plugins/filter/FilterDefDialog.js.uncompressed.js | require({cache:{
'url:dojox/grid/enhanced/templates/FilterDefPane.html':"<div class=\"dojoxGridFDPane\">\n\t<div class=\"dojoxGridFDPaneRelation\">${_relMsgFront}\n\t<span class=\"dojoxGridFDPaneModes\" dojoAttachPoint=\"criteriaModeNode\">\n\t\t<select dojoAttachPoint=\"_relSelect\" dojoType=\"dijit.form.Select\" dojo... | PypiClean |
/compose.db2-0.2.0.2.tar.gz/compose.db2-0.2.0.2/compose/db2/utils/hadr.py | import os
import socket
import re
from compose.db2.utils.sqlUtils import Db2SQL
from compose.db2 import configuration, formation
class Db2HADR():
def __init__(self, conf=None):
if conf is None:
conf = configuration.Configuration()
self.conf = conf
def build_hadr_standby_list(self)... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_10/models/support_remote_assist_paths.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flashblade.FB_2_10 import models
class SupportRemoteAssistPaths(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and th... | PypiClean |
/RPD-0.6.0.tar.gz/RPD-0.6.0/rpd/apps/bot.py |
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# cop... | PypiClean |
/django-widgy-0.9.2.tar.gz/django-widgy-0.9.2/widgy/static/widgy/js/lib/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","cy",{title:"Canllawiau Hygyrchedd",contents:"Cynnwys Cymorth. I gau y deialog hwn, pwyswch ESC.",legend:[{name:"Cyffredinol",items:[{name... | PypiClean |
/Stetl-2.1.tar.gz/Stetl-2.1/examples/basics/10_jinja2_templating/readme.txt | This example, or better a series of examples, shows an unconventional but exciting new
way for transforming source data into complex/rich XML/GML. Possibly "transforming"
is not the proper term but "substitution".
Enter the Jinja...Within many web-frameworks, the use of "templating" is common.
think of JSP (Java), ASP... | PypiClean |
/pulumi_gcp-6.65.0a1693462587.tar.gz/pulumi_gcp-6.65.0a1693462587/pulumi_gcp/gameservices/game_server_deployment_rollout.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__ = ['GameServerDeploymentRolloutArgs', 'GameServerDeploymentRollout']
@pulumi.input_type
class GameServerD... | PypiClean |
/apache_superset_iteco-2.1.1.4-py3-none-any.whl/superset/static/assets/8989.5a7ea49dc49b9f447815.entry.js | "use strict";(globalThis.webpackChunksuperset=globalThis.webpackChunksuperset||[]).push([[8989],{48989:(e,t,o)=>{o.r(t),o.d(t,{COLUMN_NAME_ALIASES:()=>j.DS,COMPARATOR:()=>L.O9,ColumnOption:()=>me.E,ColumnTypeLabel:()=>Re.j,D3_FORMAT_DOCS:()=>Y.YD,D3_FORMAT_OPTIONS:()=>Y.F6,D3_NUMBER_FORMAT_DESCRIPTION_PERCENTAGE_TEXT:(... | PypiClean |
/featureform-enterprise-0.10.3.tar.gz/featureform-enterprise-0.10.3/src/featureform/dashboard/out/_next/static/chunks/react-syntax-highlighter_languages_refractor_glsl.aaa801f4d5c6da96.js | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[158,8950],{65806:function(a){function b(a){a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"c... | PypiClean |
/pykit-sci-0.2.1.tar.gz/pykit-sci-0.2.1/pksci/tools/mpltools/_cmaps.py | from __future__ import division, absolute_import, print_function
from __future__ import unicode_literals
from builtins import object
__docformat__ = 'restructuredtext'
import matplotlib as mpl
__all__ = ['COLORS', 'CustomColormap']
COLORS = {}
#COLOR_MAPS = {}
#_BlYlGr_dict = {'red': ((0.0, 51 / 255, 51 / 255),
# ... | PypiClean |
/Roots-0.0.4.tar.gz/Roots-0.0.4/roots/visualization.py | import numpy as np
from mayavi import mlab
import os
from roots.swcToolkit import swcToolkit
class swcVisualizer():
"""
mfile = 'fileonpath.swc'
visualizer = swcVisualizer()
visualizer.mplot_mfile(mfile)
"""
def __init__(self):
self.swcTool = swcToolkit()
def create_cylinders(self,coords,diams,data... | PypiClean |
/RAMSTK-1.0.1.tar.gz/RAMSTK-1.0.1/docs/api/source/ramstk.gui.gtk.widgets.rst | Widgets Package
===============================================================================
.. toctree::
.. automodule:: ramstk.gui.gtk.ramstk.View
:members:
:undoc-members:
:private-members:
:show-inheritance:
.. automodule:: ramstk.gui.gtk.ramstk.Button
:members:
:undoc-members:
:pr... | PypiClean |
/energistics/etp/v12/datatypes/supported_protocol.py | import typing
from pydantic import validator
from etptypes import ETPModel, Field, Strict
from etptypes.energistics.etp.v12.datatypes.version import Version
from etptypes.energistics.etp.v12.datatypes.data_value import DataValue
avro_schema: typing.Final[
str
] = '{"type": "record", "namespace": "Energistics.E... | PypiClean |
/django-birdland-0.1a1.tar.gz/django-birdland-0.1a1/src/birdland/models.py | import datetime
from django.db import models
from django.db.models import permalink
from django.utils.translation import ugettext_lazy as _
from django.utils.dateformat import format
from django.contrib.auth.models import User
from django.dispatch import dispatcher
from birdland import managers, signals
from birdland... | PypiClean |
/tensorflow-gpu-macosx-1.8.1.tar.gz/tensorflow/contrib/distributions/python/ops/bijectors/softmax_centered.py | """SoftmaxCentered bijector."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.contrib.distributions.python.ops import distribution_util
from tensorflow.python.framework import tensor_shape
from tensorflow.python.ops import array_ops
from t... | PypiClean |
/pyBAR-3.1.2.tar.gz/pyBAR-3.1.2/pybar/daq/fei4_record.py | from collections import OrderedDict
from basil.utils.BitLogic import BitLogic
from pybar.daq.readout_utils import is_data_header, is_address_record, is_value_record, is_service_record, is_data_record
flavors = ('fei4a', 'fei4b')
class FEI4Record(object):
"""Record Object
"""
def __init__(self, data_wo... | PypiClean |
/nni_daily-1.5.2005180104-py3-none-manylinux1_x86_64.whl/nni_daily-1.5.2005180104.data/data/nni/node_modules/lodash/_createHybrid.js | var composeArgs = require('./_composeArgs'),
composeArgsRight = require('./_composeArgsRight'),
countHolders = require('./_countHolders'),
createCtor = require('./_createCtor'),
createRecurry = require('./_createRecurry'),
getHolder = require('./_getHolder'),
reorder = require('./_reorder'),
... | PypiClean |
/gda-score-code-test-2.5.13.tar.gz/gda-score-code-test-2.5.13/gdascore/gdaAttack.py | import re
import subprocess
import coloredlogs, logging
import sqlite3
import simplejson
import psycopg2
import queue
import threading
import sys
import os
import copy
import base64
import time
import pprint
import datetime
import signal
import atexit
import random
import requests
import functools
coloredlogs.DEFAUL... | PypiClean |
/ka-lite-static-0.17.6b2.tar.gz/ka-lite-static-0.17.6b2/kalite/packages/bundled/django/contrib/admin/validation.py | from django.core.exceptions import ImproperlyConfigured
from django.db import models
from django.db.models.fields import FieldDoesNotExist
from django.forms.models import (BaseModelForm, BaseModelFormSet, fields_for_model,
_get_foreign_key)
from django.contrib.admin import ListFilter, FieldListFilter
from django.co... | PypiClean |
/adafruit-circuitpython-tc74-1.0.15.tar.gz/adafruit-circuitpython-tc74-1.0.15/adafruit_tc74.py | from adafruit_register.i2c_struct import ROUnaryStruct
from adafruit_register.i2c_bit import RWBit, ROBit
import adafruit_bus_device.i2c_device as i2cdevice
try:
import typing # pylint: disable=unused-import
from busio import I2C
except ImportError:
pass
__version__ = "1.0.15"
__repo__ = "https://github.... | PypiClean |
/apache-superset-3.0.0rc3.tar.gz/apache-superset-3.0.0rc3/superset/static/assets/spa.62a9c98ebce8578c1ce7.entry.js | (()=>{var e,t,a,n,r,i,l,o,d={80760:(e,t,a)=>{var n=a(89881);e.exports=function(e,t){var a=[];return n(e,(function(e,n,r){t(e,n,r)&&a.push(e)})),a}},63105:(e,t,a)=>{var n=a(34963),r=a(80760),i=a(67206),l=a(1469);e.exports=function(e,t){return(l(e)?n:r)(e,i(t,3))}},43063:(e,t,a)=>{var n=a(34963),r=a(80760),i=a(67206),l=a... | PypiClean |
/python-opensesame-3.3.15a1.tar.gz/python-opensesame-3.3.15a1/opensesame_plugins/advanced_delay/locale/fr_FR/advanced_delay.md | # Advanced_delay
Le plugin `advanced_delay` retarde l'expérimentation d'une durée pré-spécifiée ajoutée à une durée aléatoire.
- *Durée* correspond à la durée moyenne du délai en millisecondes.
- *Variabilité* correspond à la taille de la variation du délai en millisecondes.
- *Mode de la variabilité* correspond à la ... | PypiClean |
/Flask-Minify-0.42.tar.gz/Flask-Minify-0.42/README.md | <h1 align='center'> flask_minify </h1>
<p align='center'>
<a href='https://pypi.org/project/Flask-Minify/'>
<img src='https://img.shields.io/github/v/tag/mrf345/flask_minify' alt='Latest Release' />
</a>
<a href='https://github.com/mrf345/flask_minify/actions/workflows/ci.yml'>
<img src='https://github.com/mrf345... | PypiClean |
/opendig-0.1.0.tar.gz/opendig-0.1.0/namecoinrpc/proxy.py | try:
import http.client as httplib
except ImportError:
import httplib
import base64
import json
import decimal
try:
import urllib.parse as urlparse
except ImportError:
import urlparse
USER_AGENT = "AuthServiceProxy/0.1"
HTTP_TIMEOUT = 30
class JSONRPCException(Exception):
def __init__(self, rpcE... | PypiClean |
/anime-pgen-1.0.1.tar.gz/anime-pgen-1.0.1/README.md | # Генератор превью для Shikimori

<p align="center"><i>Демо</i></p>
[](https://pypi.org/project/anime-pgen)
## Описание
`anime-pgen` представляет собой `cl... | PypiClean |
/openNPL-0.5.tar.gz/openNPL-0.5/docs/source/installation.rst | Installation
=======================
You can install and use the openNPL package in any system that supports *python* **or** *docker*
Installation via Docker
-----------------------
Installation via docker is recommended as it provides a streamlined and fast setup of an openNPL instance. If you do not want to use doc... | PypiClean |
/safegate_pro-2021.7.6-py3-none-any.whl/homeassistant/components/numato/switch.py | import logging
from numato_gpio import NumatoGpioError
from homeassistant.const import (
CONF_DEVICES,
CONF_ID,
CONF_SWITCHES,
DEVICE_DEFAULT_NAME,
)
from homeassistant.helpers.entity import ToggleEntity
from . import CONF_INVERT_LOGIC, CONF_PORTS, DATA_API, DOMAIN
_LOGGER = logging.getLogger(__name... | PypiClean |
/introspection-1.5.2.tar.gz/introspection-1.5.2/docs/build/html/_static/copybutton.js | const messages = {
'en': {
'copy': 'Copy',
'copy_to_clipboard': 'Copy to clipboard',
'copy_success': 'Copied!',
'copy_failure': 'Failed to copy',
},
'es' : {
'copy': 'Copiar',
'copy_to_clipboard': 'Copiar al portapapeles',
'copy_success': '¡Copiado!',
'copy_failure': 'Error al copi... | PypiClean |
/laskea-2022.11.7.tar.gz/laskea-2022.11.7/gen_licenses.py | import functools
import json
import pathlib
import pkg_resources
import string
import subprocess # nosec
from typing import List, Tuple
__all__ = ['dependency_tree_console_text', 'direct_dependencies_table', 'indirect_dependencies_table']
ENCODING = 'utf-8'
TP_PATH = pathlib.Path('docs', 'third-party')
TABLE_KEYS =... | PypiClean |
/manimlib-0.2.0.tar.gz/manimlib-0.2.0/from_3b1b/active/diffyq/part1/pi_scenes.py | from manimlib.imports import *
from active_projects.diffyq.part1.shared_constructs import *
class SomeOfYouWatching(TeacherStudentsScene):
CONFIG = {
"camera_config": {
"background_color": DARKER_GREY,
}
}
def construct(self):
screen = self.screen
screen.scale(... | PypiClean |
/fake_bpy_module_3.1-20230117-py3-none-any.whl/mathutils/__init__.py | import sys
import typing
from . import kdtree
from . import geometry
from . import noise
from . import bvhtree
from . import interpolate
GenericType = typing.TypeVar("GenericType")
class Color:
''' This object gives access to Colors in Blender. :param rgb: (r, g, b) color values :type rgb: 3d vector
'''
... | PypiClean |
/pywren_ibm_cloud-1.7.3.tar.gz/pywren_ibm_cloud-1.7.3/pywren_ibm_cloud/storage/backends/infinispan/infinispan.py |
import logging
import requests
import json
import base64
from requests.auth import HTTPBasicAuth
from pywren_ibm_cloud.utils import is_pywren_function
logger = logging.getLogger(__name__)
class InfinispanBackend:
"""
Infinispan backend
"""
def __init__(self, infinispan_config, **kwargs):
l... | PypiClean |
/code-checker-0.2.2.post1.tar.gz/code-checker-0.2.2.post1/codechecker/scripts/runner.py | import sys
import fnmatch
import yaml
from codechecker import worker
from codechecker import git
from codechecker.checker.builder import (CheckListBuilder,
TaskCreator)
from codechecker.checkers_spec import (PROJECT_CHECKERS,
FILE_CHECKER... | PypiClean |
/RestForce-1.0.0.tar.gz/RestForce-1.0.0/restforce/login.py | from utensils import getUniqueElementValueFromXmlString
from httplib2 import Http, ServerNotFoundError
def readLoginCredentialsFromFile(credentialsFilePath):
with open(credentialsFilePath, 'r') as f:
username = f.readline().rstrip('\n')
password = f.readline().rstrip('\n')
securityToken... | PypiClean |
/Nevow-0.14.5.tar.gz/Nevow-0.14.5/doc/howto/intro.rst | ============
Introduction
============
Summary
-------
Nevow is a next-generation web application templating system, based on
the ideas developed in the Twisted Woven package. Its main focus is on
separating the HTML template from both the business logic and the
display logic, while allowing the programmer to write p... | PypiClean |
/intel_optimization_for_horovod-0.28.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/horovod/ray/elastic.py | from typing import Callable, List, Any, Dict, Optional
import logging
import socket
import time
import os
import random
import math
import threading
import warnings
from horovod.runner.common.util import timeout, secret
from horovod.runner.http.http_server import RendezvousServer
from horovod.runner.gloo_run import (... | PypiClean |
/opensesame_extension_osweb-2.0.1.0.tar.gz/opensesame_extension_osweb-2.0.1.0/osweb/src/js/_shared.js | function defineErrorAlert() {
if (!alertify.errorAlert) {
//define a new errorAlert base on alert
alertify.dialog('errorAlert', function factory() {
return {
build: function () {
this.setHeader('Application Error')
},
ho... | PypiClean |
/omero_py-5.15.0-py3-none-any.whl/omero_model_LaserMediumI.py | try:
unicode
except NameError:
# Python 3: "unicode" is built-in
unicode = str
import Ice
import IceImport
import omero
IceImport.load("omero_model_DetailsI")
IceImport.load("omero_model_LaserMedium_ice")
from omero.rtypes import rlong
from collections import namedtuple
_omero = Ice.openModule("omero")
_omero_... | PypiClean |
/tf-models-no-deps-2.11.2.tar.gz/tf-models-no-deps-2.11.2/official/legacy/xlnet/optimization.py | from absl import logging
import tensorflow as tf
from official.nlp import optimization
class WarmUp(tf.keras.optimizers.schedules.LearningRateSchedule):
"""Applys a warmup schedule on a given learning rate decay schedule."""
def __init__(self,
initial_learning_rate,
decay_schedule_f... | PypiClean |
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/user_training_event_info.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
if TYPE_CHECKING:
from . import training_status, user_training_content_event_info
class UserTr... | PypiClean |
/second_brain_tools-0.0.4.tar.gz/second_brain_tools-0.0.4/docs/index.md | # Welcome to Second-Brain-Tools
Please note that the Second-Brain-Tools project is intended solely as a public archive and is not to be considered a production version. The tools provided within this project are meant for informational and educational purposes only. While efforts have been made to ensure the accuracy ... | PypiClean |
/python-pyparts-1.0.0.tar.gz/python-pyparts-1.0.0/src/pyparts/platforms/raspberrypi_platform.py | import RPi.GPIO as gpio
from pyparts.platforms import base_platform
from pyparts.platforms.gpio import raspberrypi_gpio as rpi_gpio
from pyparts.platforms.pwm import raspberrypi_pwm as rpi_pwm
from pyparts.platforms.spi import raspberrypi_spi as rpi_spi
# Create local copies of the numbering schemes for conveinence.
... | PypiClean |
/featureform-enterprise-0.10.3.tar.gz/featureform-enterprise-0.10.3/src/featureform/local_cache.py | import json
import os
from functools import lru_cache
from typing import Callable, Set
import pandas as pd
from featureform import SQLiteMetadata
from featureform.local_utils import get_sql_transformation_sources
from featureform.resources import SourceType # fix to do client.source.import
from pandas.core.generic im... | PypiClean |
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/mo-ka-xi-lie/魔卡新课《恋爱脊椎框架推拉》:8错误的框架已经形成,还有救吗.md | # 魔卡新课《恋爱脊椎 框架推拉》:8错误的框架已经形成,还有救吗
你好 课程听到这里 也许你已经觉得霍然开朗,想明白了之前为什么有那么多事情会是那样的一个结果,也许你很震撼 从来不知道看似感性无规力的情感原理,里面原来有这么多的内在逻辑结构。
又或者你还很困惑 知识大概都明白了,但是现在你正处于一段关系当中,而且因为之前没有框架的概念导致什么呢,现在的关系只量很低,它也不开心 也不开心,想改变又没有办法 错误的框架已经形成了。
现在还有机会吗 其实是有的,不过风险性也很高,所以在你往下看之前 我要提醒你,这一刻是一纪猛药,很有可能 你拿捏不好 你们的关系就会走向分手,所以请你再三考虑 根据情况谨慎的应对。
要想好 如果有不... | PypiClean |
/zodbshootout-0.8.0.tar.gz/zodbshootout-0.8.0/doc/index.rst | ================
ZODB Shoot Out
================
This application measures and compares the performance of various
ZODB storages and configurations. It is derived from the RelStorage
speedtest script, but this version allows arbitrary storage types and
configurations, provides more measurements, and produces numbers ... | PypiClean |
/smx-client-3.2.14.tar.gz/smx-client-3.2.14/xms_client/api_client.py | from __future__ import absolute_import
import datetime
import json
import mimetypes
from multiprocessing.pool import ThreadPool
import os
import re
import tempfile
# python 2 and python 3 compatibility library
import six
from six.moves.urllib.parse import quote
from xms_client.configuration import Configuration
impo... | PypiClean |
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/AlipayUserWufufukaAliyunRefundRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayUserWufufukaAliyunRefundModel import AlipayUserWufufukaAliyunRefundModel
class AlipayUserWufufukaAliyunRefundRequest(object):
def __init__(self, biz_model=None):
... | PypiClean |
/acvt45-1.1.3.tar.gz/acvt45-1.1.3/acv_app/sdp_app.py | from acv_app.colors import _colors as colors
import pandas as pd
import numpy as np
import streamlit as st
import matplotlib.pyplot as plt
from acv_explainers.utils import extend_partition
labels = {
'MAIN_EFFECT': "SHAP main effect value for\n%s",
'INTERACTION_VALUE': "SHAP interaction value",
'INTERACTIO... | PypiClean |
/Grid2Op-1.9.3-py3-none-any.whl/grid2op/Reward/combinedScaledReward.py |
import numpy as np
from grid2op.Reward.combinedReward import CombinedReward
from grid2op.dtypes import dt_float
class CombinedScaledReward(CombinedReward):
"""
This class allows to combine multiple rewards.
It will compute a scaled reward of the weighted sum of the registered rewards.
Scaling is don... | PypiClean |
/django_unicorn_gbusby-0.50.3-py3-none-any.whl/django_unicorn/static/unicorn/js/utils.js | export function isEmpty(obj) {
return (
typeof obj === "undefined" ||
obj === null ||
(Object.keys(obj).length === 0 && obj.constructor === Object) ||
obj === ""
);
}
/**
* Checks if an object has a value.
*/
export function hasValue(obj) {
return !isEmpty(obj);
}
/**
* Checks if an object is... | PypiClean |
/pycxx-0.0.4.tar.gz/pycxx-0.0.4/README.md | # Cxx
### simple crypting library
## installation
```bash
pip install pycxx
```
## usage
```python
import pycxx
c = pycxx.Cxx(key="password", expires=0)
"""${expires} is the Time in milliseconds for the
encrypted password to be destroyed
setting ${encrypted} to 0 implies the data would
not be destroyed
"""
# to en... | PypiClean |
/nautobot_ssot_infoblox-0.8.0.tar.gz/nautobot_ssot_infoblox-0.8.0/nautobot_ssot_infoblox/diffsync/adapters/infoblox.py | import ipaddress
import re
from diffsync import DiffSync
from diffsync.enum import DiffSyncFlags
from nautobot.extras.plugins.exceptions import PluginImproperlyConfigured
from nautobot_ssot_infoblox.constant import PLUGIN_CFG
from nautobot_ssot_infoblox.utils.client import get_default_ext_attrs, get_dns_name
from naut... | PypiClean |
/allianceauth-blacklist-0.1.1.tar.gz/allianceauth-blacklist-0.1.1/blacklist/tasks.py | from allianceauth.services.hooks import get_extension_logger
from celery import shared_task
from allianceauth.authentication.models import State
from allianceauth.eveonline.models import EveCharacter, EveAllianceInfo, EveCorporationInfo
from . import models
from . import app_settings
logger = get_extension_logger(__n... | PypiClean |
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/@lumino/domutils/types/element.d.ts | export declare namespace ElementExt {
/**
* An object which holds the border and padding data for an element.
*/
interface IBoxSizing {
/**
* The top border width, in pixels.
*/
borderTop: number;
/**
* The left border width, in pixels.
*/
... | PypiClean |
/nni_upload_test-0.7.1904290925-py3-none-win_amd64.whl/nni_upload_test-0.7.1904290925.data/data/nni/node_modules/moment/locale/sd.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 |
/moto-improved-cognitoidentity-1.3.tar.gz/moto-improved-cognitoidentity-1.3/moto/cloudformation/utils.py | import yaml
import os
import string
from moto.moto_api._internal import mock_random as random
from typing import Any, List
from urllib.parse import urlparse
def generate_stack_id(stack_name: str, region: str, account: str) -> str:
random_id = random.uuid4()
return f"arn:aws:cloudformation:{region}:{account}:s... | PypiClean |
/FAST_OAD_CS23-1.2.0-py3-none-any.whl/fastga/models/geometry/geom_components/wing_tank/compute_mfw_simple.py | # This file is part of FAST-OAD_CS23 : A framework for rapid Overall Aircraft Design
# Copyright (C) 2022 ONERA & ISAE-SUPAERO
# FAST is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of t... | PypiClean |
/panddas-0.2.14.tar.gz/panddas-0.2.14/lib-python/pandda/inspect/ligands.py | import os, shutil, string
import gtk
from bamboo.ccp4_utils import generate_ligand_with_acedrg
def modal_msg(msg):
"""Display an error window - model"""
d = gtk.MessageDialog( type = gtk.MESSAGE_INFO,
buttons = gtk.BUTTONS_CLOSE,
message_format = msg... | PypiClean |
/protean-flask-0.0.11.tar.gz/protean-flask-0.0.11/README.rst | ========
Overview
========
.. start-badges
.. list-table::
:stub-columns: 1
* - docs
- |docs|
* - tests
- |
|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|
.. |docs| image:: https://readthedocs.org/projects/protean-flask/badge/?style=fla... | PypiClean |
/tensorflow-gpu-macosx-1.8.1.tar.gz/tensorflow/tools/gcs_test/python/gcs_smoke.py | """Smoke test for reading records from GCS to TensorFlow."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import random
import sys
import time
import numpy as np
import tensorflow as tf
from tensorflow.core.example import example_pb2
from tensorflow.pyth... | PypiClean |
/dialog_api-1.901.0-py3-none-any.whl/dialog_api/event_bus_pb2_grpc.py | """Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import event_bus_pb2 as event__bus__pb2
from . import miscellaneous_pb2 as miscellaneous__pb2
class EventBusStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):... | PypiClean |
/ansible-8.3.0-py3-none-any.whl/ansible_collections/cisco/dnac/plugins/modules/interface_network_device_info.py |
# Copyright (c) 2021, Cisco Systems
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
DOCUMENTATION = r"""
---
module: interface_network_device_info
short_description: Information module for Interface Network Device
description:
- Get Interface Network Device by id.
- Return... | PypiClean |
/terraformlintingcli-0.1.0.tar.gz/terraformlintingcli-0.1.0/docs/terraformlintingcli.rst | terraformlintingcli package
===========================
Submodules
----------
terraformlintingcli.terraformlintingcli module
----------------------------------------------
.. automodule:: terraformlintingcli.terraformlintingcli
:members:
:undoc-members:
:show-inheritance:
terraformlintingcli.terraformli... | PypiClean |
/neuro_pypes-1.1.2.tar.gz/neuro_pypes-1.1.2/neuro_pypes/pet/utils.py | from nipype.interfaces.base import traits
from nipype.interfaces.utility import Merge, Function, IdentityInterface
from nipype.pipeline import Workflow
from neuro_pypes.config import setup_node
from neuro_pypes.interfaces.nilearn import math_img, concat_imgs, resample_to_img
from neuro_pypes.preproc import PETPVC
from... | PypiClean |
/model-driven-inference-its-1.0.3.tar.gz/model-driven-inference-its-1.0.3/docs/_build/html/_static/js/theme.js | !function(n){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... | PypiClean |
/odoo14_addon_ssi_helpdesk-14.0.2.13.0-py3-none-any.whl/odoo/addons/ssi_helpdesk/models/helpdesk_ticket.py |
from odoo import api, fields, models
class HelpdeskTicket(models.Model):
_name = "helpdesk_ticket"
_inherit = [
"mixin.transaction_open",
"mixin.transaction_confirm",
"mixin.transaction_done",
"mixin.transaction_cancel",
"mixin.transaction_terminate",
]
_descri... | PypiClean |
/ciefunctions-1.0.2.tar.gz/ciefunctions-1.0.2/tc1_97/MathJax-2.7.5/unpacked/localization/lki/MathML.js | MathJax.Localization.addTranslation("lki","MathML",{
version: "2.7.5",
isLoaded: true,
strings: {
BadMglyph: "mglyph \u0646\u0627\u0645\u0646\u0627\u0633\u0628: %1",
BadMglyphFont: "\u0642\u0644\u0645 \u0646\u0627\u0645\u0646\u0627\u0633\u0628: %1",
MathPlayer: "Mat... | PypiClean |
/mxnet_cu101-2.0.0a0-py3-none-manylinux2014_x86_64.whl/mxnet/ndarray/gen_random.py | from ._internal import NDArrayBase
from ..base import _Null
def exponential(lam=_Null, shape=_Null, ctx=_Null, dtype=_Null, out=None, name=None, **kwargs):
r"""Draw random samples from an exponential distribution.
Samples are distributed according to an exponential distribution parametrized by *lambda* (rate)... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.