id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/js.yui-2.8.2-1.tar.gz/js.yui-2.8.2-1/js/yui/resources/datemath/datemath-min.js | YAHOO.widget.DateMath={DAY:"D",WEEK:"W",YEAR:"Y",MONTH:"M",ONE_DAY_MS:1000*60*60*24,WEEK_ONE_JAN_DATE:1,add:function(A,D,C){var F=new Date(A.getTime());switch(D){case this.MONTH:var E=A.getMonth()+C;var B=0;if(E<0){while(E<0){E+=12;B-=1;}}else{if(E>11){while(E>11){E-=12;B+=1;}}}F.setMonth(E);F.setFullYear(A.getFullYear... | PypiClean |
/plp_design-0.1.0.tar.gz/plp_design-0.1.0/bin/PLP_design.py | def extractseq(goi,ref):
import pandas as pd
from pandas import DataFrame
import Bio
from Bio import SeqIO
from Bio.SeqUtils import GC
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
from Bio.Align import MultipleSeqAlignment
from Bio.Align.Applications import ClustalwCo... | PypiClean |
/bisos.things-0.4.tar.gz/bisos.things-0.4/README.rst | ====================
bisos.things Library
====================
.. contents::
:depth: 3
..
Overview
========
BISOS (ByStar Internet Services OS) Things Library contains Abstractions
Of Things For GOSSONOT (Generalized Open-Source Self Organizing Network
Of Things)
Support
=======
| For support, criticism, commen... | PypiClean |
/cerebralcortex_kernel-3.3.16-py3-none-any.whl/cerebralcortex/core/data_manager/sql/stream_handler.py |
import uuid
from typing import List
from cerebralcortex.core.data_manager.sql.orm_models import Stream
from cerebralcortex.core.metadata_manager.stream.metadata import Metadata
class StreamHandler:
###################################################################
################## STORE DATA METHODS ###... | PypiClean |
/zgyio-0.0.4.tar.gz/zgyio-0.0.4/openzgy/impl/zfp_compress.py |
##@package openzgy.impl.zfp_compress
import math
import numpy as np
import time
import sys
from ..impl import enum as impl_enum
from ..exception import *
from ..impl.compress import CompressFactoryImpl, CompressPlugin, CompressStats, CompressionResult
try:
zfpy_ok = False
from zfpy import compress_numpy as ... | PypiClean |
/petname-2.6.tar.gz/petname-2.6/README.md | # petname
## Name
**petname** − an [RFC1178](https://tools.ietf.org/html/rfc1178) implementation to generate pronounceable, sometimes even memorable, "pet names", consisting of a random combination of adverbs, an adjective, and an animal name
## Synopsis
- Complete version:
```
usage: petname [-w|--words INT] [-l|-... | PypiClean |
/sycomore-0.5.0.tar.gz/sycomore-0.5.0/docs/installation.rst | Installing Sycomore
===================
Packaged
--------
.. code-block:: shell
pip3 install sycomore
From source
-----------
Sycomore requires a C++11 compiler, Python (≥ 3.5) and `pybind11`_. To take full advantage of your CPU, `OpenMP`_ is strongly recommended. If you want to validate your build of Sycomore... | PypiClean |
/aio_swagger-0.5.tar.gz/aio_swagger-0.5/aio_swagger/swagger_ui/lib/handlebars-4.0.5.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 if(typeof exports === 'object')
exports["Handlebars"] = factory();
else
root["Ha... | PypiClean |
/2022_2_gces_ifpf-0.3.0.tar.gz/2022_2_gces_ifpf-0.3.0/src/parser/model_parser.py | from parser.parser_base import ParserBase
from parser.const import model_type
class ModelParser(ParserBase):
def __init__(self, columns_alias):
self.columns_alias = columns_alias
self.default_keyboard_smash_values = {
'ksmash_sequence_vowels': 1.00,
'ksmash_sequence_conson... | PypiClean |
/neuro-sdk-23.7.0.tar.gz/neuro-sdk-23.7.0/src/neuro_sdk/_jobs.py | import asyncio
import enum
import json
import logging
from contextlib import asynccontextmanager, suppress
from dataclasses import dataclass, field
from datetime import datetime, timezone
from decimal import Decimal
from functools import partial
from typing import (
Any,
AsyncIterator,
Dict,
Iterable,
... | PypiClean |
/azure-cli-2.51.0.tar.gz/azure-cli-2.51.0/azure/cli/command_modules/network/aaz/2017_03_09_profile/network/nic/ip_config/_create.py |
# pylint: skip-file
# flake8: noqa
from azure.cli.core.aaz import *
@register_command(
"network nic ip-config create",
)
class Create(AAZCommand):
"""Create an IP configuration.
You must have the Microsoft.Network/AllowMultipleIpConfigurationsPerNic feature enabled for your subscription. Only one confi... | PypiClean |
/grig-1.0.0.tar.gz/grig-1.0.0/docs/credits.rst | *******************
Authors and Credits
*******************
The Grig package was originally developed as part of the data reduction
pipelines for the SOFIA project, as sofia_redux.toolkit.resampling. The
Python package was principally developed by Dan Perera, with reference to
an IDL implementation by Melanie Clarke,... | PypiClean |
/bm_utilities-0.1.5.tar.gz/bm_utilities-0.1.5/docs/installation.md | # Installation
## Stable release
To install bm_utilities, run this command in your terminal:
```
pip install bm_utilities
```
This is the preferred method to install bm_utilities, as it will always install the most recent stable release.
If you don't have [pip](https://pip.pypa.io) installed, this [Python installa... | PypiClean |
/m2_rec2taps-0.9-py3-none-any.whl/m2/rec2taps/__init__.py | import logging
import numpy as np
from scipy.signal import find_peaks, fftconvolve
from scipy.io import wavfile
from m2.rec2taps import errors
from m2.rec2taps.defaults import DEFAULT_DISTANCE, DEFAULT_PROMINENCE
def prominence_amp(data, prominence=DEFAULT_PROMINENCE):
prominence_amp = data.std() * prominence
... | PypiClean |
/letter_algo-1.0.3.tar.gz/letter_algo-1.0.3/letter_algo.py | """The letter Algorithm - Arabic text Decryption (Steganography)"""
__version__ = "1.0.3"
__description__ ="The letter Algorithm - Arabic text Decryption (Steganography)"
import arabic_reshaper as ar
from os import system
class database:
def __init__(self):
self.DB={
"ا":1, "ب":2, "ج":3,"د":4,"ه"... | PypiClean |
/planetrl-1.0.0.tar.gz/planetrl-1.0.0/planet/control/planning.py |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow_probability import distributions as tfd
import tensorflow as tf
from planet.control import discounted_return
from planet import tools
def cross_entropy_method(
cell, objective_fn, state,... | PypiClean |
/v1/model/show_subnet_request.py |
import pprint
import re
import six
class ShowSubnetRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in d... | PypiClean |
/Toolkit_5G-0.0.0.4-py3-none-any.whl/channelModels/nodeMobility/MobilityModels/dropVehiclesHighway.py | from ....pyarmor_runtime_005046 import __pyarmor__
__pyarmor__(__name__, __file__, b'PY005046\x00\x03\x0b\x00\xa7\r\r\n\x80\x00\x01\x00\x08\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00\xdf,\x00\x00\x12\t\x06\x00H\x9e\x82\xb2c\xfdN\xbf\xb3A\';\xd7\x9cnw\x00\x00\x00\x00\x00\x00\x00\x00\xd6\xac\xc6\xe4\x99\xa5J\xdcut\x1f\xfd\... | PypiClean |
/ninja_vs_zombies-0.0.5-py3-none-any.whl/ninja_vs_zombies/ninja.py | import pygame, sys
import random
import math
from pygame import mixer
from pygame.locals import *
#############################################################################################
#Funcoes de mapa
#Funcao para carregar o arquivo de texto contendo o mapa
def load_map(path):
f=open(path + '.txt','r')
... | PypiClean |
/gcloud_utils-2.20.5.tar.gz/gcloud_utils-2.20.5/gcloud_utils/bigquery/bigquery.py |
import logging
from google.api_core.exceptions import NotFound
from google.cloud import bigquery
from gcloud_utils.base_client import BaseClient
from gcloud_utils.bigquery.query_builder import QueryBuilder
class Bigquery(BaseClient):
"""Google-Bigquery handler"""
FILE_FORMATS = {
"csv": "CSV",
... | PypiClean |
/django-adminlte-3-0.1.6.tar.gz/django-adminlte-3-0.1.6/adminlte3/static/admin-lte/plugins/datatables-buttons/js/buttons.print.js | (function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net', 'datatables.net-buttons'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
module.exports = function (root, $) {
i... | PypiClean |
/napalm-yang-0.1.0.tar.gz/napalm-yang-0.1.0/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/global_/igp_shortcuts/afi/config/__init__.py | from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListType
from pyangbind.lib.ya... | PypiClean |
/omg-tools-0.1.3.tar.gz/omg-tools-0.1.3/omgtools/problems/dualmethod.py |
from problem import Problem
from distributedproblem import DistributedProblem
from casadi import SX, MX, DM
from casadi.tools import struct, entry, structure
import collections as col
def _create_struct_from_dict(dictionary):
entries = []
for key, data in dictionary.items():
if isinstance(data, dict)... | PypiClean |
/rca-django-simple-history-1.9.1.tar.gz/rca-django-simple-history-1.9.1/docs/reference.rst | Common Issues
=============
- ``fields.E300``::
ERRORS:
custom_user.HistoricalCustomUser.history_user: (fields.E300) Field defines a relation with model 'custom_user.CustomUser', which is either not installed, or is abstract.
Use ``register()`` to track changes to the custom user model
inst... | PypiClean |
/cupy_cuda110-12.2.0-cp310-cp310-manylinux2014_x86_64.whl/cupy/_math/arithmetic.py | from cupy import _core
from cupy._core import fusion
add = _core.add
reciprocal = _core.create_ufunc(
'cupy_reciprocal',
('b', 'B', 'h', 'H', 'i', 'I', 'l', 'L', 'q', 'Q',
('e', 'out0 = 1 / in0'),
('f', 'out0 = 1 / in0'),
('d', 'out0 = 1 / in0'),
('F', 'out0 = in0_type(1) / in0'),
(... | PypiClean |
/wmcore-2.2.4rc1.tar.gz/wmcore-2.2.4rc1/src/python/WMCore/WMSpec/StdSpecs/ReReco.py | from __future__ import division
import json
from future.utils import viewitems
from Utils.Utilities import makeList
from WMCore.WMSpec.StdSpecs.DataProcessing import DataProcessing
from WMCore.WMSpec.WMWorkloadTools import validateArgumentsCreate
class ReRecoWorkloadFactory(DataProcessing):
"""
_ReRecoWork... | PypiClean |
/l-thonny-4.1.2.tar.gz/l-thonny-4.1.2/thonny/running.py | import collections
import os.path
import re
import shlex
import subprocess
import sys
import time
import tkinter as tk
import traceback
import warnings
from abc import ABC, abstractmethod
from logging import getLogger
from threading import Thread
from time import sleep
from tkinter import messagebox, ttk
from typing im... | PypiClean |
/code-RTC-1.0.2.tar.gz/code-RTC-1.0.2/code_rtc/static/lib/monaco-editor/esm/vs/platform/accessibility/common/accessibilityService.js | var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... | PypiClean |
/pyTMCL-1.0.10.tar.gz/pyTMCL-1.0.10/README.md | Python TMCL client library
==========================
<p align="center">
<a><img src="https://img.shields.io/github/last-commit/LukeSkywalker92/pyTMCL.svg" alt="Latest Comit"></a>
<a href="https://travis-ci.com/LukeSkywalker92/pyTMCL"><img src="https://travis-ci.com/LukeSkywalker92/pyTMCL.svg?branch=master" alt="Tra... | PypiClean |
/python-aliyun-sdk-rds-2.7.43.tar.gz/python-aliyun-sdk-rds-2.7.43/aliyunsdkrds/request/v20140815/ListUserBackupFilesRequest.py |
from aliyunsdkcore.request import RpcRequest
from aliyunsdkrds.endpoint import endpoint_data
class ListUserBackupFilesRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'ListUserBackupFiles')
self.set_method('POST')
if hasattr(self, "endpoint_map"):
setattr(self, "endp... | PypiClean |
/hub-rest-client-0.1.5.tar.gz/hub-rest-client-0.1.5/hub_rest_client/models/profileattributeprototypes_page.py | from typing import Any, Dict, List, Type, TypeVar, Union
import attr
from ..types import UNSET, Unset
T = TypeVar("T", bound="ProfileattributeprototypesPage")
try:
from ..models import base_page
except ImportError:
import sys
base_page = sys.modules[__package__ + "base_page"]
@attr.s(auto_attribs=Tr... | PypiClean |
/iot_services_sdk-2.0.2.tar.gz/iot_services_sdk-2.0.2/iot_services_sdk/tenant_iot_service.py |
from .iot_service import IoTService
from .response import Response
class TenantIoTService(IoTService):
def __init__(self, instance: str, user: str, password: str, tenant_id: str):
"""Instantiate IoT Service object
Arguments:
instance {str} -- IoT Service instance
user {st... | PypiClean |
/fr_models-0.1.14.tar.gz/fr_models-0.1.14/src/fr_models/geom/curve.py | import abc
import torch
from fr_models import _torch
class PCurve(abc.ABC, _torch.utils.TensorStruct):
"""
A parametric curve in D-dimesional space
"""
@property
@abc.abstractmethod
def D(self):
pass
# class Hyperplane(_torch.utils.TensorStruct):
# """
# Define a M-dimens... | PypiClean |
/vnccollab.common-1.0.6.tar.gz/vnccollab.common-1.0.6/docs/INSTALL.rst | vnccollab.common Installation
-----------------------------
To install vnccollab.common into the global Python environment (or a workingenv),
using a traditional Zope 2 instance, you can do this:
* When you're reading this you have probably already run
``easy_install vnccollab.common``. Find out how to install setu... | PypiClean |
/mr.igor-1.4.zip/mr.igor-1.4/README.rst | Overview
--------
mr.igor is an extension to pyflakes that will learn where you import
things from, and then automatically fill in missing imports from the
place they are most often imported.
But how does it know?
"It'th a knack."
Usage: igor [--print | --reap] filename
This script will record all imports from f... | PypiClean |
/golismero-2.0.3.tar.gz/golismero-2.0.3/tools/sqlmap/CONTRIBUTING.md | # Contributing to sqlmap
## Reporting bugs
**Bug reports are welcome**!
Please report all bugs on the [issue tracker](https://github.com/sqlmapproject/sqlmap/issues) or, alternatively, to the [mailing list](https://lists.sourceforge.net/lists/listinfo/sqlmap-users).
### Guidelines
* Before you submit a bug report, ... | PypiClean |
/rage_ts-0.4.18-py3-none-any.whl/ragex/community/interface/static/js/runtime-main.a5b7c128.js | !function(e){function t(t){for(var n,o,u=t[0],f=t[1],i=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t... | PypiClean |
/dsin100days603v38-6.0.3.tar.gz/dsin100days603v38-6.0.3/notebook/static/components/MathJax/extensions/Safe.js | (function(d,c){var f="2.7.9";var a=MathJax.Hub.CombineConfig("Safe",{allow:{URLs:"safe",classes:"safe",cssIDs:"safe",styles:"safe",fontsize:"all",require:"safe"},sizeMin:0.7,sizeMax:1.44,lengthMax:3,safeProtocols:{http:true,https:true,file:true,javascript:false},safeStyles:{color:true,backgroundColor:true,border:true,c... | PypiClean |
/sentinels-1.0.0.tar.gz/sentinels-1.0.0/README.rst | Overview
--------
The sentinels module is a small utility providing the Sentinel class, along with useful instances.
What are Sentinels?
-------------------
Sentinels are objects with special meanings. They can be thought of as singletons, but they service the need of having 'special' values in your code, that have ... | PypiClean |
/ais_dom_frontend-20230831.0-py3-none-any.whl/hass_frontend/frontend_es5/48723-Aes-1TU9UQQ.js | "use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[48723],{48723:function(t,e,i){i.r(e);var n,a,r,o,s=i(88962),d=i(99312),u=i(81043),c=i(33368),h=i(71650),l=i(82390),p=i(69205),f=i(70906),g=i(91808),v=i(34541),m=i(47838),b=i(68144),y=i(79932),k=i(62877),x=i(47181... | PypiClean |
/lilypond-2.25.7-0-py3-none-manylinux2014_x86_64.whl/lilypond-binaries/lib/python3.10/datetime.py | __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
"MINYEAR", "MAXYEAR")
import time as _time
import math as _math
import sys
from operator import index as _index
def _cmp(x, y):
return 0 if x == y else 1 if x > y else -1
MINYEAR = 1
MAXYEAR = 9999
_MAXORDINAL = 3652059 # date... | PypiClean |
/simpel-payments-0.1.tar.gz/simpel-payments-0.1/simpel_payments/admin.py | from django.contrib import admin
from django.template.loader import render_to_string
from import_export.admin import ImportExportMixin
from polymorphic.admin import PolymorphicChildModelAdmin, PolymorphicParentModelAdmin
from simpel_actions.admin import AdminActivityMixin
from simpel_admin.base import AdminPrintViewMix... | PypiClean |
/sparrow-order-lib-0.2.6.tar.gz/sparrow-order-lib-0.2.6/src/sparrow_order_lib/core/constants.py | class MemberLevel(object):
'''会员级别'''
MEMBER_ALL = "ALL"
MEMBER_L1 = 'MEMBER_L1' # 银卡会员
MEMBER_L2 = "MEMBER_L2" # 金卡会员
MEMBER_L0 = "MEMBER_L0" # 普卡会员
class PayType(object):
'''支付类型'''
CASH = "1"
CHECK = "2"
HG_DISCOUNT = "4"
WECHAT = "17"
ALIPAY = "18"
C_COUPON = "13... | PypiClean |
/Sympathy-4.0.1-py3-none-any.whl/sympathy/utils/prim.py | from itertools import islice
from contextlib import contextmanager
import re
import os
import sys
import json
import datetime
import urllib
import urllib.request
import urllib.parse
def is_windows():
"""Return True if Sympathy is running on Windows."""
return sys.platform == 'win32'
def is_linux():
"""R... | PypiClean |
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/timeseriesinsights/v20210630preview/access_policy.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from ._enums import *
__all__ = ['AccessPolicyArgs', 'AccessPolicy']
@pulumi.input_type
class AccessPolicyArgs:
def __init__(__self__, *,
... | PypiClean |
/ka-lite-0.17.6b4.tar.gz/ka-lite-0.17.6b4/kalite/distributed/static/js/distributed/perseus/ke/third_party/MathJax/2.1/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js | MathJax.Hub.Insert(MathJax.OutputJax["HTML-CSS"].FONTDATA.FONTS["MathJax_SansSerif-italic"],{32:[0,0,250,0,0],33:[694,0,319,110,355],34:[694,-471,500,133,472],35:[694,194,833,87,851],36:[750,56,500,56,565],37:[750,56,833,165,815],38:[716,22,758,71,747],39:[694,-471,278,190,335],40:[750,250,389,104,491],41:[750,250,389,... | PypiClean |
/sssegmentation-1.1.0.tar.gz/sssegmentation-1.1.0/ssseg/modules/models/losses/diceloss.py | import torch
import torch.nn.functional as F
'''
Function:
DiceLoss
Arguments:
--prediction: prediction of the network
--target: ground truth
--scale_factor: scale the loss for loss balance
--lowest_loss_value: added inspired by ICML2020, "Do We Need Zero Training Loss After Achieving Zero Trainin... | PypiClean |
/buildout.wheel-0.2.0.tar.gz/buildout.wheel-0.2.0/src/buildout/wheel/__init__.py | import logging
import os
import os.path
import shutil
import sys
import pkg_resources
import setuptools.package_index
import wheel.install
import pip.pep425tags
import zc.buildout.easy_install
import distutils.command.install
logger = logging.getLogger(__name__)
NAMESPACE_STUB_PATH = os.path.join(os.path.dirname(__f... | PypiClean |
/cubeai_model_runner-2.3.6-py3-none-any.whl/cubeai_model_runner/cubeai_onboarding.py | import json
import yaml
import getpass
import requests
from urllib.parse import quote
from urllib3 import encode_multipart_formdata
def get_tokens(url_server):
url_login = '{}/api/data'.format(url_server)
print('即将向CubeAI平台推送模型并生成微服务...')
print('请输入您在CubeAI平台注册的用户名和口令:\n')
username = input('username:... | PypiClean |
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/eas_email_profile_configuration_base.py | from __future__ import annotations
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union
if TYPE_CHECKING:
from . import device_configuration, domain_name_source, ios_eas_email_profile_configuration, userna... | PypiClean |
/aces_apps-1.5.4.tar.gz/aces_apps-1.5.4/scripts/survey_to_casda.py | import sys
import os
import re
import time
import argparse as ap
from pathlib import Path
import glob
from aces.racs.racs_survey import ASKAP_Survey_factory
import aces.racs.survey_utils as sut
from astropy.time import Time
from astropy.io import fits
import tarfile
NOFORMAT = '{noformat}\n'
explanation = __doc__
ca... | PypiClean |
/perin_parser-0.0.12.tar.gz/perin_parser-0.0.12/perin_parser/thirdparty/mtool/ucca/README.md | Universal Conceptual Cognitive Annotation
============================
UCCA is a linguistic framework for semantic annotation, whose details
are available at [the following paper](http://www.cs.huji.ac.il/~oabend/papers/ucca_acl.pdf):
@inproceedings{abend2013universal,
author={Abend, Omri and Rappoport, Ar... | PypiClean |
/ecreall_dace-1.1.0.tar.gz/ecreall_dace-1.1.0/dace/processinstance/lock.py |
# licence: AGPL
# author: Amen Souissi
from substanced.locking import (lock_resource,
unlock_resource,
could_lock_resource,
LockError,
UnlockError)
from dace.objectofcollaboration.principal... | PypiClean |
/seedot-3.0.tar.gz/seedot-3.0/README.md | <!-- <h1 align="center">
<img src="https://gitlab.com/anna.giabelli/TaxoSS/-/blob/master/img/logo.svg" alt="TaxoSS" width="400">
</h1> -->
<h1 align="center">SEEDOT</h1>
<p align="center">
<a href="#description">Description</a> •
<a href="#installation">Installation</a> •
<a href="#usage">Usage</a>
</p>
---
##... | PypiClean |
/opencopilot-ai-0.3.4.tar.gz/opencopilot-ai-0.3.4/opencopilot/repository/conversation_logs_repository.py | import json
import os
from typing import Dict
from typing import List
from uuid import UUID
from langchain.schema import Document
from opencopilot.logger import api_logger
logger = api_logger.get()
DEFAULT_CONVERSATION_LOGS_DIR = "logs/conversation_logs"
class ConversationLogsRepositoryLocal:
def __init__(sel... | PypiClean |
/threemystic_common-0.1.17-py3-none-any.whl/threemystic_common/domain/helpers/type/datetime.py | from datetime import datetime, timedelta
from dateutil import tz as dateutil_tz
from threemystic_common.base_class.base_common import base
from zoneinfo import ZoneInfo
import math
class helper_type_datetime(base):
"""This is a set of library wrappers to help around expending datetime libary"""
def __init__(s... | PypiClean |
/microfire_mod_ec-0.9.0-py3-none-any.whl/Microfire_Mod_EC/Microfire_Mod_EC.py | import math
import struct
import time
import smbus # pylint: disable=E0401
UFIRE_MOD_EC = 0x0a
MEASURE_EC_TASK = 80 # Command to start an EC measure
MEASURE_TEMP_TASK = 40 # Command to measure temperature
CALIBRATE_LOW_TASK = 20 # Command to calibrate the probe
CALIBRATE_MID_TASK = 10 # Command to cali... | PypiClean |
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/components/solaredge/config_flow.py | from requests.exceptions import ConnectTimeout, HTTPError
import solaredge
import voluptuous as vol
from homeassistant import config_entries
from homeassistant.const import CONF_API_KEY, CONF_NAME
from homeassistant.core import HomeAssistant, callback
from homeassistant.util import slugify
from .const import CONF_SIT... | PypiClean |
/jupyros-0.7.0a0.tar.gz/jupyros-0.7.0a0/js/node_modules/fastest-levenshtein/esm/mod.js | const peq = new Uint32Array(0x10000);
const myers_32 = (a, b) => {
const n = a.length;
const m = b.length;
const lst = 1 << (n - 1);
let pv = -1;
let mv = 0;
let sc = n;
let i = n;
while (i--) {
peq[a.charCodeAt(i)] |= 1 << i;
}
for (i = 0; i < m; i++) {
let eq = ... | PypiClean |
/ndx-fret-0.2.1.tar.gz/ndx-fret-0.2.1/README.md | # ndx-fret
[](https://badge.fury.io/py/ndx-fret)
NWB extension for storing Fluorescence Resonance Energy Transfer (FRET) experimental data.
A collaboration with [Jaeger Lab](https://scholarblogs.emory.edu/jaegerlab/), [Emory University](https://www.emory.edu/home/i... | PypiClean |
/pyschism-0.1.10.tar.gz/pyschism-0.1.10/docs/source/api/pyschism.cmd.rst | pyschism.cmd package
====================
Subpackages
-----------
.. toctree::
:maxdepth: 4
pyschism.cmd.server
Submodules
----------
pyschism.cmd.argument\_parser module
------------------------------------
.. automodule:: pyschism.cmd.argument_parser
:members:
:undoc-members:
:show-inheritance:
... | PypiClean |
/connectomemapper-3.1.0-py3-none-any.whl/cmp/bidsappmanager/stages/diffusion/reconstruction.py | # General imports
import re
import os
import pkg_resources
from traits.api import *
from traitsui.api import *
# Own imports
from cmp.stages.diffusion.reconstruction import DipyReconConfig, MRtrixReconConfig
# Reconstruction configuration
class Dipy_recon_configUI(DipyReconConfig):
"""Class that extends the :cl... | PypiClean |
/lark-oapi-1.0.19.tar.gz/lark-oapi-1.0.19/lark_oapi/api/bitable/v1/model/list_app_table_form_field_request.py |
from typing import *
from lark_oapi.core.enum import HttpMethod, AccessTokenType
from lark_oapi.core.model import BaseRequest
class ListAppTableFormFieldRequest(BaseRequest):
def __init__(self) -> None:
super().__init__()
self.page_size: Optional[int] = None
self.page_token: Optional[str... | PypiClean |
/ltchiptool-4.4.0-py3-none-any.whl/uf2tool/cli.py |
import logging
from logging import debug, warning
from os import makedirs
from os.path import join
from shutil import SameFileError, copyfile
from time import time
from typing import IO, Optional, Tuple
import click
from ltchiptool import Board
from ltchiptool.models import BoardParamType
from ltchiptool.util.misc i... | PypiClean |
/auditree-harvest-1.3.0.tar.gz/auditree-harvest-1.3.0/README.md | [![OS Compatibility][platform-badge]](#prerequisites)
[![Python Compatibility][python-badge]][python-dl]
[![pre-commit][pre-commit-badge]][pre-commit]
[][lint-test]
[:
pass
class HFModel(PreTrainedModel, BaseModel):
config_class = Config
def __init__(self, *args, i... | PypiClean |
/xl_tables-1.0.2.tar.gz/xl_tables-1.0.2/xl_tables/table.py | import os
from .prop_utils import HashDict
from .excel_attributes import Workbook
from .fields import is_iterable
__all__ = ['get_row_text', 'get_table_text', 'save_table', 'text_to_table', 'parse_table', 'Table']
def get_row_text(values, delimiter='\t', serializer=None):
"""Return a text row for the given list... | PypiClean |
/neompy-et-0.0.17.tar.gz/neompy-et-0.0.17/neom/core/ioc.py |
from typing import get_type_hints
def AutoWire(cls):
def new_decoration(new_method, type_hints):
def wrapper(cls, *args, **kwargs):
self = new_method(cls)
for name, key in type_hints.items():
call = manager.pairs[key]
setattr(self, name, call())
... | PypiClean |
/twilio-fatisar-5.4.1.tar.gz/twilio-fatisar-5.4.1/twilio/rest/trunking.py | from twilio.rest.base import TwilioClient
from twilio.rest.resources.trunking import (
CredentialLists,
IpAccessControlLists,
OriginationUrls,
PhoneNumbers,
Trunks
)
from twilio.rest.resources import UNSET_TIMEOUT
class TwilioTrunkingClient(TwilioClient):
"""
A client for accessing the Twi... | PypiClean |
/aifs_nni-1.9.5-py3-none-manylinux1_x86_64.whl/aifs_nni-1.9.5.data/data/nni/node_modules/moment/locale/de-ch.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 |
/fds.sdk.SPAREngine-0.22.2-py3-none-any.whl/fds/sdk/SPAREngine/api/documents_api.py | import re # noqa: F401
import sys # noqa: F401
from multiprocessing.pool import ApplyResult
import typing
from fds.sdk.SPAREngine.api_client import ApiClient, Endpoint as _Endpoint
from fds.sdk.SPAREngine.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
datetime,
... | PypiClean |
/Chips-0.1.2.tar.gz/Chips-0.1.2/chips/instruction.py | from inspect import currentframe, getsourcefile
from chips_exceptions import ChipsSyntaxError
__author__ = "Jon Dawson"
__copyright__ = "Copyright 2010, Jonathan P Dawson"
__license__ = "MIT"
__version__ = "0.1.2"
__maintainer__ = "Jon Dawson"
__email__ = "chips@jondawson.org.uk"
__status__ = "Prototype"
class Statem... | PypiClean |
/hgblog-0.7.1.tar.gz/hgblog-0.7.1/sphinx/util/nodes.py | import re
from docutils import nodes
from sphinx import addnodes
from sphinx.locale import pairindextypes
class WarningStream(object):
def __init__(self, warnfunc):
self.warnfunc = warnfunc
self._re = re.compile(r'\((DEBUG|INFO|WARNING|ERROR|SEVERE)/[0-4]\)')
def write(self, text):
... | PypiClean |
/django-staticfiles-timelinejs_static-2.18.tar.gz/django-staticfiles-timelinejs_static-2.18/timelinejs_static/static/timelinejs_static/js/timeline-min.js | Begin VMM.StoryJS.License.js
********************************************** *//*!
StoryJS
Designed and built by Zach Wise at VéritéCo
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozi... | PypiClean |
/pylibacl-0.7.0.tar.gz/pylibacl-0.7.0/SECURITY.md | # Security Policy
To report a (potential or confirmed) security issue, please email
<iustin@k1024.org> with a description of the issue, steps to reproduce
it, affected versions, and if known, mitigations for the issue.
Since this is a small project, there's no list of supported
versions. I will attempt to reply to re... | PypiClean |
/django-auth-policy-0.9.13.tar.gz/django-auth-policy-0.9.13/django_auth_policy/migrations/0002_users_nullable.py | from __future__ import unicode_literals
from django.db import models, migrations
import django.db.models.deletion
from django.conf import settings
def fill_repr(apps, schema_editor):
from django.contrib.auth import get_user_model
User = get_user_model()
LoginAttempt = apps.get_model("django_auth_policy"... | PypiClean |
/fwif-0.1.0.tar.gz/fwif-0.1.0/README.md | # fwif
[](https://github.com/youssef-attai/fwif/blob/main/LICENSE)
fwif (Floating Window Framework) is a powerful Python framework built on top of [Tkinter](https://docs.python.org/3/library/tkinter.html). It allows users to create highly configurable, keyb... | PypiClean |
/lava-tool-0.11.1.tar.gz/lava-tool-0.11.1/lava_dashboard_tool/commands.py | import argparse
import contextlib
import errno
import os
import re
import socket
import sys
import urllib
import urlparse
import xmlrpclib
import simplejson
from json_schema_validator.extensions import datetime_extension
from lava_tool.authtoken import AuthenticatingServerProxy, KeyringAuthBackend
from lava.tool.comm... | PypiClean |
/s4-clarity-1.5.0.tar.gz/s4-clarity-1.5.0/s4/clarity/scripts/htmllogging.py |
import six
import logging
import time
from xml.sax.saxutils import escape
from textwrap import dedent
class HtmlFormatter(logging.Formatter):
# must be uncode, or python logging dies on non-ascii messages
basic_format = u"[%(asctime)s] [%(levelname)s] - %(message)s"
multiline_format = u"[%(asctime)s] [%... | PypiClean |
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/models/aggregation_option_collection_response.py | from __future__ import annotations
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
from typing import Any, Callable, Dict, List, Optional, Union
from . import aggregation_option, base_collection_pagination_count_response
class AggregationOptionCollectionResponse(base_collection_p... | PypiClean |
/encuentro-4.0.tar.gz/encuentro-4.0/external/youtube-dl/youtube_dl/extractor/tvp.py | from __future__ import unicode_literals
import re
from .common import InfoExtractor
class TvpIE(InfoExtractor):
IE_NAME = 'tvp.pl'
_VALID_URL = r'https?://(?:vod|www)\.tvp\.pl/.*/(?P<id>\d+)$'
_TESTS = [{
'url': 'http://vod.tvp.pl/filmy-fabularne/filmy-za-darmo/ogniem-i-mieczem/wideo/odc-2/4278... | PypiClean |
/billzio_api-1.0.6.tar.gz/billzio_api-1.0.6/README.md | # billzio-api
Asynchronous Python wrapper for [Billz.io](https://billz.io) Public API (v2)
## Installation
`pip install billzio-api`
## Supported Billz API methods
- [x] Auth login
- [x] Get Products list
- [x] Get Categories list
- [x] Get Shops list
- [x] Get Currencies list
- [x] Get Payment types list
- [x] Get B... | PypiClean |
/ax-platform-0.3.4.tar.gz/ax-platform-0.3.4/ax/modelbridge/transforms/choice_encode.py |
from typing import Dict, List, Optional, Tuple, TYPE_CHECKING
import numpy as np
from ax.core.observation import Observation, ObservationFeatures
from ax.core.parameter import ChoiceParameter, Parameter, ParameterType, RangeParameter
from ax.core.search_space import SearchSpace
from ax.core.types import TParamValue
f... | PypiClean |
/streamlit_ace-0.1.1-py3-none-any.whl/streamlit_ace/frontend/build/0a5881488d0716c88f53445871de5791.js | ace.define("ace/mode/puppet_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var i=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:["keyword.type.puppet","constant.class.puppet","keyword.i... | PypiClean |
/pmagpy_cli-4.2.114-py3-none-any.whl/programs/curie.py | from __future__ import division
from __future__ import print_function
from builtins import input
from builtins import str
from builtins import range
from past.utils import old_div
import sys
import numpy
import matplotlib
if matplotlib.get_backend() != "TKAgg":
matplotlib.use("TKAgg")
from pylab import *
import pmag... | PypiClean |
/panel-1.2.2.tar.gz/panel-1.2.2/examples/reference/panes/VTK.ipynb | ```
import panel as pn
pn.extension('vtk')
```
The ``VTK`` pane renders a VTK scene inside a panel, making it possible to interact with complex geometries in 3D.
It allows keeping state synchronized between the ``vtkRenderWindow`` defined on the python side and the one displayed in the pane through vtk-js.
Here Python ... | PypiClean |
/blueprint_client-1.0.1.tar.gz/blueprint_client-1.0.1/README.md | *Please :star: this repo if you find it useful*
# Blueprint Client
[![PyPI version][pypi-shield]][pypi]
[![PyPI Python version][pypi-pyversion]][pypi]
[![Maintained][Maintained]](#)
[![Project Maintenance][maintainer-shield]][maintainer]
_Blueprint sample client library._
## Installation
```bash
python3 -m pip in... | PypiClean |
/biomedsheets-0.11.7.tar.gz/biomedsheets-0.11.7/docs/source/index.rst | .. _index:
==============================
Welcome to BioMed Sample Sheet
==============================
This document describes the biomedical sample sheets file format and software.
.. figure:: img/Overview_Usage.png
:align: center
Biomedical sample sheet files are files for saving the necessary information on... | PypiClean |
/ckanext-scheming-3.0.0.tar.gz/ckanext-scheming-3.0.0/ckanext/scheming/validation.py | import json
import datetime
from collections import defaultdict
import itertools
import pytz
import six
import ckan.lib.helpers as h
from ckan.lib.navl.dictization_functions import convert
from ckantoolkit import (
get_validator,
UnknownValidator,
missing,
Invalid,
StopOnError,
_,
unicode_... | PypiClean |
/sila2lib_implementations-0.1.1-py3-none-any.whl/sila2lib_implementations/LAUDA/LAUDA_ThermostatService/DeviceServicer/DeviceServicer_simulation.py | __version__ = "1.0"
# import general packages
import logging
import time # used for observables
import uuid # used for observables
import grpc # used for type hinting only
# import SiLA2 library
import sila2lib.framework.SiLAFramework_pb2 as silaFW_pb2
# import gRPC modules for this feature
f... | PypiClean |
/dh-scikit-optimize-0.9.6.tar.gz/dh-scikit-optimize-0.9.6/examples/plots/partial-dependence-plot-2D.py | print(__doc__)
import numpy as np
from math import exp
from skopt import gp_minimize
from skopt.space import Real, Categorical, Integer
from skopt.plots import plot_histogram, plot_objective_2D, plot_objective
from skopt.utils import point_asdict
np.random.seed(123)
import matplotlib.pyplot as plt
####################... | PypiClean |
/preerpost-0.0.92.tar.gz/preerpost-0.0.92/README.md | [](https://travis-ci.org/CSDTs/Django-pre-post)[](https://pyup.io/repos/github/CSDTs/Django-pre-post/)
# Django-pre-post
This Django app provides the ability to create... | PypiClean |
/kiwitcms-12.4.tar.gz/kiwitcms-12.4/tcms/node_modules/html5sortable/dist/html5sortable.min.js | var sortable=function(){"use strict";function d(e,t,n){if(void 0===n)return e&&e.h5s&&e.h5s.data&&e.h5s.data[t];e.h5s=e.h5s||{},e.h5s.data=e.h5s.data||{},e.h5s.data[t]=n}var v=function(e,t){if(!(e instanceof NodeList||e instanceof HTMLCollection||e instanceof Array))throw new Error("You must provide a nodeList/HTMLColl... | PypiClean |
/arline-benchmarks-0.1.8.tar.gz/arline-benchmarks-0.1.8/arline_benchmarks/metrics/gate_chain_analyser.py |
from arline_quantum.gates import __gates_by_names__
DEBUG = 0
class Analyser:
"""General analyser class
"""
def __init__(self, anls_list=None):
self.report = {}
self.anls_list = None
def run_all(self, target, gate_chain):
for f_name in self.available_anls():
get... | PypiClean |
/djangocms_text_ckeditor-5.1.3-py3-none-any.whl/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/lang/fo.js | /*
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license/
*/
CKEDITOR.lang['fo']={"application":"Rich Text Editor","editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Trýst ALT og... | PypiClean |
/upaas-admin-0.3.1.tar.gz/upaas-admin-0.3.1/upaas_admin/var/static/js/libs/jquery-migrate-1.1.1.996f42cfa6d6.js | (function( jQuery, window, undefined ) {
// See http://bugs.jquery.com/ticket/13335
// "use strict";
var warnedAbout = {};
// List of warnings already given; public read only
jQuery.migrateWarnings = [];
// Set to true to prevent console output; migrateWarnings still maintained
// jQuery.migrateMute = false;
// Sh... | PypiClean |
/lfl_mysql_migrate-0.0.1-py3-none-any.whl/sitelfl/views/recreated_urls.py | from isc_common.http.DSResponse import DSResponseUpdate, DSResponseAdd, DSResponse, JsonResponseWithException
from isc_common.http.RPCResponse import RPCResponseConstant
from isc_common.http.response import JsonResponse
from sitelfl.models.recreated_urls import Recreated_urls
@JsonResponseWithException()
def Recreate... | PypiClean |
/cl_ext.lang-0.1.0.tar.gz/cl_ext.lang-0.1.0/src/cl_ext/lang/lang.py | from __future__ import absolute_import
import re
from parsimonious.grammar import Grammar
from parsimonious.nodes import NodeVisitor
from compare_locales.parser.base import Comment, LiteralEntity, Junk, Parser
from compare_locales.paths import File
BLANK_LINE = 'blank_line'
TAG_REGEX = re.compile(r'\{(ok)\}', re.I... | PypiClean |
/azure-mgmt-containerregistry-10.1.0.zip/azure-mgmt-containerregistry-10.1.0/azure/mgmt/containerregistry/v2020_11_01_preview/aio/operations/_private_endpoint_connections_operations.py | import sys
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
import urllib.parse
from azure.core.async_paging import AsyncItemPaged, AsyncList
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
Resourc... | PypiClean |
/dnamlops-0.0.3-py3-none-any.whl/mlopsdna/nannyml/calibration.py | import abc
from typing import Any, Callable, List, Optional, Tuple
import numpy as np
import pandas as pd
from sklearn.isotonic import IsotonicRegression
from sklearn.metrics import roc_auc_score
from sklearn.model_selection import StratifiedShuffleSplit
from mlopsdna.nannyml.exceptions import InvalidArgumentsExcepti... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.