id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/summerepi-4.2.0a0.tar.gz/summerepi-4.2.0a0/summer/stochastic.py
from typing import Optional import numpy as np from numba import jit NO_DESTINATION = -1 def build_flow_map(flows) -> np.ndarray: """ Create an list that maps flows to the source and destination compartments. This is done because numba like ndarrays, and numba is fast. """ flow_map = [] for ...
PypiClean
/plexsim-3.0.tar.gz/plexsim-3.0/docs/build/html/_static/javascripts/lunr/lunr.no.js
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
PypiClean
/python-docx-1-0.0.2.tar.gz/python-docx-1-0.0.2/docs/dev/analysis/features/styles/paragraph-style.rst
Paragraph Style =============== A paragraph style provides character formatting (font) as well as paragraph formatting properties. Character formatting is inherited from |_CharacterStyle| and is predominantly embodied in the :attr:`font` property. Likewise, most paragraph-specific properties come from the |ParagraphF...
PypiClean
/tracardi-string-splitter-0.1.1.tar.gz/tracardi-string-splitter-0.1.1/LICENSE.md
# MIT License Copyright 2021 Bartosz Dobrosielski 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...
PypiClean
/gbtparser-1.0.8.tar.gz/gbtparser-1.0.8/cantools/database/utils.py
import os.path import re from collections import OrderedDict from typing import ( TYPE_CHECKING, Callable, Dict, Final, List, Literal, Optional, Sequence, Tuple, Union, ) from ..database.can.signal import NamedSignalValue from ..typechecking import ( ByteOrder, Choices,...
PypiClean
/pyrap-web-1.0.1.tar.gz/pyrap-web-1.0.1/pyrap/web/application.py
from __future__ import print_function from . import webapi as web from . import webapi, wsgi, utils, browser from .debugerror import debugerror from . import httpserver from .utils import lstrips, safeunicode from .py3helpers import iteritems, string_types, is_iter, PY2, text_type import sys import urllib import trac...
PypiClean
/decimer_segmentation-1.1.3.tar.gz/decimer_segmentation-1.1.3/decimer_segmentation/mrcnn/model.py
import os import datetime import re import math from collections import OrderedDict import multiprocessing import numpy as np import tensorflow as tf import tensorflow.keras as keras import tensorflow.keras.backend as K import tensorflow.keras.layers as KL import tensorflow.keras.utils as KU from tensorflow.python.eage...
PypiClean
/certora-cli-alpha-benkushigian-gambit-refactor-20230515.21.33.922374.tar.gz/certora-cli-alpha-benkushigian-gambit-refactor-20230515.21.33.922374/certora_cli/EVMVerifier/certoraContext.py
import argparse import json import logging import os import re import sys from pathlib import Path from typing import Dict, List, Optional, Tuple, Any scripts_dir_path = Path(__file__).parent.resolve() # containing directory sys.path.insert(0, str(scripts_dir_path)) from EVMVerifier.certoraContextClass import Certo...
PypiClean
/intel_tensorflow-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/tensorflow/include/external/libjpeg_turbo/LICENSE.md
libjpeg-turbo Licenses ====================== libjpeg-turbo is covered by three compatible BSD-style open source licenses: - The IJG (Independent JPEG Group) License, which is listed in [README.ijg](README.ijg) This license applies to the libjpeg API library and associated programs (any code inherited from lib...
PypiClean
/burp-ui-1.1.1.tar.gz/burp-ui-1.1.1/burpui/templates/js/admin-backends.js
{% import 'macros.html' as macros %} var _cache_id = _EXTRA; var __backends_icons = { 'authentication': '<i class="fa fa-fw fa-id-card-o" aria-hidden="true"></i>&nbsp;', 'authorization': '<i class="fa fa-fw fa-lock" aria-hidden="true"></i>&nbsp;', }; var app = angular.module('MainApp', ['ngSanitize', 'ui.select', '...
PypiClean
/dj-rit-auditlog-0.5.2.tar.gz/dj-rit-auditlog-0.5.2/src/auditlog/diff.py
from __future__ import unicode_literals from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from django.db.models import Model, NOT_PROVIDED, DateTimeField from django.utils import timezone from django.utils.encoding import smart_text def track_field(field): """ Returns whe...
PypiClean
/businessru-api-0.1.tar.gz/businessru-api-0.1/businessru_api/__init__.py
import hashlib import requests import json import logging from collections import OrderedDict from functools import partial from time import sleep from .exceptions import ( InvalidToken, ResponseNotValidated, UnexpectedResponse, UnknownHTTPMethod, BusinessruResponseError, TooManyRequests, E...
PypiClean
/azure-cli-shell-0.2.2.tar.gz/azure-cli-shell-0.2.2/azclishell/app.py
from __future__ import unicode_literals, print_function import json import math import os import subprocess import sys import jmespath from six.moves import configparser from prompt_toolkit.auto_suggest import AutoSuggestFromHistory from prompt_toolkit.buffer import Buffer from prompt_toolkit.document import Docume...
PypiClean
/ray_for_mars-1.12.1-cp38-cp38-manylinux2014_x86_64.whl/ray_for_mars-1.12.1.data/purelib/ray/tune/schedulers/pb2_utils.py
import numpy as np from scipy.optimize import minimize import GPy from GPy.kern import Kern from GPy.core import Param from sklearn.metrics import pairwise_distances from sklearn.metrics.pairwise import euclidean_distances class TV_SquaredExp(Kern): """Time varying squared exponential kernel. For more info s...
PypiClean
/scikit_learn_VAL-0.0.1-cp36-cp36m-macosx_10_15_x86_64.whl/sklearn/manifold/_isomap.py
# Author: Jake Vanderplas -- <vanderplas@astro.washington.edu> # License: BSD 3 clause (C) 2011 import numpy as np from ..base import BaseEstimator, TransformerMixin from ..neighbors import NearestNeighbors, kneighbors_graph from ..utils.deprecation import deprecated from ..utils.validation import check_is_fitted fr...
PypiClean
/coppertop-bones-demo-2022.7.30.tar.gz/coppertop-bones-demo-2022.7.30/dm/core/reordering.py
BONES_MODULE = 'dm.core' import sys if hasattr(sys, '_TRACE_IMPORTS') and sys._TRACE_IMPORTS: print(__name__) from coppertop.pipe import * from bones.core.errors import NotYetImplemented from dm.core.structs import tvstruct from dm.core.types import adhoc, agg, pydict, pylist, pyfunc # ***************************...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/network/v20180101/get_virtual_network_gateway_connection.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'GetVirtualNetworkGatewayConnectionResult', 'AwaitableGetVirtualNetworkGatewayConnectionResult', 'get_virtual_network_gateway...
PypiClean
/runestone-petljadoc-3.1.2.5.tar.gz/runestone-petljadoc-3.1.2.5/runestone/common/js/jquery_i18n/CLDRPluralRuleParser.js
* Evaluates a plural rule in CLDR syntax for a number * @param {string} rule * @param {integer} number * @return {boolean} true if evaluation passed, false if evaluation failed. */ // UMD returnExports https://github.com/umdjs/umd/blob/master/returnExports.js (function(root, factory) { if (typeof define === 'fun...
PypiClean
/masai-0.2.alpha.1.tar.gz/masai-0.2.alpha.1/doc/sphinxext/docscrape_sphinx.py
import re, inspect, textwrap, pydoc import sphinx from docscrape import NumpyDocString, FunctionDoc, ClassDoc class SphinxDocString(NumpyDocString): def __init__(self, docstring, config={}): self.use_plots = config.get('use_plots', False) NumpyDocString.__init__(self, docstring, config=config) ...
PypiClean
/smartautomatic_server_frontend-20220907.2-py3-none-any.whl/sas_frontend/frontend_latest/eb50f326.js
"use strict";(self.webpackChunksmartautomatic_server_frontend=self.webpackChunksmartautomatic_server_frontend||[]).push([[51644],{8621:(e,t,n)=>{n.d(t,{G:()=>f});n(48175);var i={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},s={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",3...
PypiClean
/pygame_gui-0.6.9-py3-none-any.whl/pygame_gui/core/text/text_effects/fade_in_effect.py
from typing import Dict, Any, Optional import pygame from pygame_gui._constants import UI_TEXT_EFFECT_FINISHED, TEXT_EFFECT_FADE_IN from pygame_gui.core.interfaces.text_owner_interface import IUITextOwnerInterface from pygame_gui.core.text.text_effects.text_effect import TextEffect from pygame_gui.core.text.text_line...
PypiClean
/apple_reading_list_to_sqlite-0.2.2.tar.gz/apple_reading_list_to_sqlite-0.2.2/README.md
# apple-reading-list-to-sqlite Export Apple Reading List to SQLite ## Install $ pip install apple-reading-list-to-sqlite ## Usage $ apple-reading-list-to-sqlite --help Usage: apple-reading-list-to-sqlite [OPTIONS] [DB_PATH] Export Apple Reading List to SQLite Arguments: [DB_PATH] ...
PypiClean
/pymle-diffusion-0.0.3.tar.gz/pymle-diffusion-0.0.3/pymle/models/ModifiedCIR.py
from typing import Union import numpy as np from pymle.core.Model import Model1D class ModifiedCIR(Model1D): """ Model for Modified CIR process Parameters: [kappa, sigma] dX(t) = mu(X,t)*dt + sigma(X,t)*dW_t where: mu(X,t) = -kappa * X sigma(X,t) = sigma * sqrt(1 + X^2) "...
PypiClean
/py-elevator-0.5c.tar.gz/py-elevator-0.5c/pyelevator/base.py
# Copyright (c) 2012 theo crevon # # See the file LICENSE for copying permission. from __future__ import absolute_import import zmq from .constants import FAILURE_STATUS from .message import Request, Response, ResponseHeader from .error import ELEVATOR_ERROR, TimeoutError from .utils.snippets import sec_to_ms, ms_t...
PypiClean
/cloudwatch-metrics-buffer-0.1.0.tar.gz/cloudwatch-metrics-buffer-0.1.0/README.md
# cloudwatch-metrics-buffer ![Python 3](https://img.shields.io/badge/Python-3-brightgreen.svg) This is a wrapper library for publishing metrics to **[AWS CloudWatch](https://aws.amazon.com/cloudwatch/)**. While playing around with lambdas and serveless frameworks, I needed a library to help me with publishing metric...
PypiClean
/git-deps-1.1.0.zip/git-deps-1.1.0/git_deps/html/node_modules/has-symbols/README.md
# has-symbols <sup>[![Version Badge][2]][1]</sup> [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][11]][1] Determine if the JS environment has Symbol support. Supports spec, or shams. ## Example ```js...
PypiClean
/sch-askbot-1.0.1.tar.gz/sch-askbot-1.0.1/askbot/conf/external_keys.py
from askbot import const from askbot.conf.settings_wrapper import settings from askbot.conf.super_groups import EXTERNAL_SERVICES from askbot.deps import livesettings from django.utils.translation import ugettext_lazy as _ from django.conf import settings as django_settings EXTERNAL_KEYS = livesettings.ConfigurationGr...
PypiClean
/jax-relax-0.1.6.tar.gz/jax-relax-0.1.6/relax/evaluate.py
# %% ../nbs/06_evaluate.ipynb 3 from __future__ import annotations from .import_essentials import * from .trainer import TrainingConfigs from .data import TabularDataModule from .utils import accuracy, proximity from .methods.base import BaseCFModule, BaseParametricCFModule, BasePredFnCFModule from .methods.counternet...
PypiClean
/xs_transformers-1.0.7-py3-none-any.whl/xs_transformers/pipelines/image_segmentation.py
from typing import Any, Dict, List, Union import numpy as np from ..utils import ( add_end_docstrings, is_torch_available, is_vision_available, logging, requires_backends, ) from .base import PIPELINE_INIT_ARGS, Pipeline if is_vision_available(): from PIL import Image from ..image_utils ...
PypiClean
/streamlit-lchart-card-1.0.1.tar.gz/streamlit-lchart-card-1.0.1/README.md
# Streamlit LChart Card ## Installation Install the package with the following command : ``` pip3 install streamlit_lchart_card ``` You can use Python>=3.6 and Streamlit to use this component. ## Definition Streamlit component using Chartjs/React/MUI to display dataframe numeric data into a line chart. <div style=...
PypiClean
/hybridbackend_tf115_cu121-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl/hybridbackend/tensorflow/training/session.py
r'''Servers using hybrid parallelism. ''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow._api.v1 import train as train_v1 from tensorflow.python.framework import ops from tensorflow.python.training import basic_session_run_hooks from tenso...
PypiClean
/eea.exhibit-8.9.zip/eea.exhibit-8.9/eea/exhibit/simile/timeline/2.3.1/api/scripts/themes.js
* Classic Theme *================================================== */ Timeline.ClassicTheme = new Object(); Timeline.ClassicTheme.implementations = []; Timeline.ClassicTheme.create = function(locale) { if (locale == null) { locale = Timeline.getDefaultLocale(); } var f = Timeline.Clas...
PypiClean
/dh-scikit-optimize-0.9.6.tar.gz/dh-scikit-optimize-0.9.6/examples/strategy-comparison.py
print(__doc__) import numpy as np np.random.seed(123) import matplotlib.pyplot as plt ############################################################################# # Toy model # ========= # # We will use the :class:`benchmarks.branin` function as toy model for the expensive function. # In a real world application this...
PypiClean
/QuaPy-0.1.7.tar.gz/QuaPy-0.1.7/quapy/protocol.py
from copy import deepcopy import quapy as qp import numpy as np import itertools from contextlib import ExitStack from abc import ABCMeta, abstractmethod from quapy.data import LabelledCollection import quapy.functional as F from os.path import exists from glob import glob class AbstractProtocol(metaclass=ABCMeta): ...
PypiClean
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbiersubdomainlist_e392fab58663b756ea9ae50d89caf0aa.py
import sys from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files if sys.version_info >= (3, 5): from typing import List, Any, Union class IsisBierSubDomainList(Base): """ISIS BIER Sub Domain The IsisBierSubDomainList class encapsulates a required isisBierSubDomainList resource w...
PypiClean
/edp-amundsen-databuilder-2.0.0.tar.gz/edp-amundsen-databuilder-2.0.0/databuilder/utils/hive_complex_type_parser.py
from typing import Union from pyparsing import ( Forward, Group, Keyword, OneOrMore, Optional, Word, alphanums, delimitedList, nestedExpr, nums, originalTextFor, ) from databuilder.models.table_metadata import ColumnMetadata from databuilder.models.type_metadata import ( ArrayTypeMetadata, MapTypeMetadata, S...
PypiClean
/elastic-apm-6.18.0.tar.gz/elastic-apm-6.18.0/elasticapm/transport/base.py
# BSD 3-Clause License # # Copyright (c) 2019, Elasticsearch BV # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, ...
PypiClean
/js.extjs-4.2.1.883.tar.gz/js.extjs-4.2.1.883/js/extjs/resources/src/dd/DD.js
* This is a derivative of the similarly named class in the YUI Library. * The original license: * Copyright (c) 2006, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://developer.yahoo.net/yui/license.txt */ /** * A DragDrop implementation where the linked element follows the * m...
PypiClean
/bericht-0.1.6.tar.gz/bericht-0.1.6/README.rst
bericht |pypi| |travis| |coverage| ================================== Incremental HTML to PDF converter with support for extremely large documents. Bericht does not hold the HTML or the PDF in memory as it generates PDF pages; instead, it requires you to pass a generator which produces HTML snippets and **bericht** gi...
PypiClean
/python_pyq-0.0.4-py3-none-any.whl/pyq/expr.py
import ast from dataclasses import dataclass from typing import Any @dataclass class ExprParseResult: lines_var: str eval_input: str class ExprParseError(Exception): expr: str def __init__(self, msg, expr): super().__init__(msg) self.expr = expr def _get_expr(parse_result: Any) ->...
PypiClean
/yhproject_pkg_0.02-0.0.2.tar.gz/yhproject_pkg_0.02-0.0.2/page/sjgk_page/flgl_page.py
from yhproject_pkg.framework.key_word.keyword_web import WebKeys import pyautogui class FlglPage(WebKeys): # 新增分类 def button_add(self): self.locator("xpath", "//*[@id='app']/section/div/div[1]/div/div/div[1]/button").click() def input_flmc(self, words_key): self.locator("xpath", "//*[@id=...
PypiClean
/rage_ts-0.4.18-py3-none-any.whl/ragex/community/interface/static/js/2.b48bcf0b.chunk.js
(this["webpackJsonpucess-talk-admin"]=this["webpackJsonpucess-talk-admin"]||[]).push([[2],{1008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Timeline",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"TimelineEvent",{enumerable:!0,get:fu...
PypiClean
/use_context-0.0.3.tar.gz/use_context-0.0.3/README.md
# use-context ![GitHub](https://img.shields.io/github/license/Cologler/use-context-python.svg) [![Build Status](https://travis-ci.com/Cologler/use-context-python.svg?branch=master)](https://travis-ci.com/Cologler/use-context-python) [![PyPI](https://img.shields.io/pypi/v/use-context.svg)](https://pypi.org/project/use-...
PypiClean
/sphinxjp.themes.impressjs-0.1.4.tar.gz/sphinxjp.themes.impressjs-0.1.4/src/README.txt
=========================== sphinxjp.themes.impressjs =========================== Impress.js presentation style theme for Sphinx. Output sample ============= :output: http://packages.python.org/sphinxjp.themes.impressjs :source: http://packages.python.org/sphinxjp.themes.impressjs/_sources/index.txt Feature =====...
PypiClean
/django-social-auth3-0.7.23.tar.gz/django-social-auth3-0.7.23/social_auth/backends/steam.py
import re import urllib.request, urllib.parse, urllib.error try: from urllib.request import urlopen except ImportError: from urllib.request import urlopen from django.utils import simplejson from social_auth.backends import OpenIdAuth, OpenIDBackend from social_auth.exceptions import AuthFailed from social_a...
PypiClean
/loopDB-0.2.3a.tar.gz/loopDB-0.2.3/README.rst
Welcome to LoopDB ================= LoopDB is a module for creating and storing DNA parts for Loop Assembly. It comes with a prebuilt schema for implementing original Loop Assembly protocol, but is completely general and allows alternative schema definitions ( see *manual-example* ). For a quick introduction please r...
PypiClean
/pytorch_gan_zoo-0.0.6-py3-none-any.whl/ganzoo/lit_modules/lit_data_vision.py
import os from pathlib import Path from typing import Tuple, Union import torch from torch.utils.data import random_split, DataLoader import torchvision from torchvision import datasets import pytorch_lightning as pl from ganzoo.constants import names root_dir = os.path.join(Path.home(), '.ganzoo_data') class Lit...
PypiClean
/scrapyd_dash-0.1.2.tar.gz/scrapyd_dash-0.1.2/scrapyd_dash/static/vendors/bootstrap/dist/js/bootstrap.min.js
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,h){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=...
PypiClean
/ncap-vaip-0.1.23.tar.gz/ncap-vaip-0.1.23/vaip/kg/client/neptune.py
import json import requests from io import BytesIO from rdflib.query import Result from yurl import URL from vaip.utilities import log_helper class NeptuneClient: def __init__(self, endpoint="https://ncap-archive-neptune-dev." "cluster-c4xlxig1zmvp.us-east-1.neptune.amazonaws.com/sp...
PypiClean
/frules-0.1.2.tar.gz/frules-0.1.2/README.md
[![Build Status](https://travis-ci.org/swistakm/frules.svg?branch=master)](https://travis-ci.org/swistakm/frules) [![Coverage Status](https://coveralls.io/repos/swistakm/frules/badge.svg?branch=master)](https://coveralls.io/r/swistakm/frules?branch=master) # frules - simple functional fuzzy rules Frules stands for *...
PypiClean
/smc-python-0.6.2.tar.gz/smc-python-0.6.2/smc-monitoring/smc_monitoring/monitors/alerts.py
from smc_monitoring.models.query import Query from smc_monitoring.models.constants import LogField class ActiveAlertQuery(Query): """ Active Alert Query is an interface to the alert log viewer in SMC. This query type provides the ability to fetch and filter on active alerts. You can create a ...
PypiClean
/dbnd-1.0.14.1.tar.gz/dbnd-1.0.14.1/src/targets/values/datetime_value.py
import datetime import pytz from dbnd._core.utils.timezone import utcnow from dbnd._vendor import pendulum from targets.values import ValueType class DateAlias(object): now = "now" today = "today" yesterday = "yesterday" class DateValueType(ValueType): """ ValueType whose value is a :py:class...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_20/models/app.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_20 import models class App(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute ...
PypiClean
/singly_linked_list/linked_list.py
class Node: def __init__(self, value, node=None): self.__value = value self.__next = node @property def value(self): return self.__value @value.setter def value(self, new_value): self.__value = new_value @property def next(self): return self.__next ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_8/models/logs_async.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flashblade.FB_2_8 import models class LogsAsync(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is attri...
PypiClean
/elasticsearch-bdoc-2.4.1.tar.gz/elasticsearch-bdoc-2.4.1/elasticsearch/client/tasks.py
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH class TasksClient(NamespacedClient): @query_params('actions', 'node_id', 'parent_node', 'parent_task') def cancel(self, task_id=None, params=None): """ `<http://www.elastic.co/guide/en/elasticsearch/reference/current/ta...
PypiClean
/askbot-tuanpa-0.7.48.zip/askbot-tuanpa-0.7.48/askbot/setup_templates/static/tiny_mce/plugins/fullpage/langs/ms_dlg.js
tinyMCE.addI18n('ms.fullpage_dlg',{title:"Alatan dokumen","meta_tab":"Am","appearance_tab":"Penglihatan","advanced_tab":"Lanjutan","meta_props":"Meta informasi",langprops:"Bahasa dan enkod","meta_title":"Tajuk","meta_keywords":"Kata kunci","meta_description":"Huraian","meta_robots":"Robot",doctypes:"Doctype",langcode:"...
PypiClean
/tensorflow_fedora28-1.9.0rc01-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_fedora28-1.9.0rc0.data/purelib/tensorflow/python/estimator/gc.py
r"""System for specifying garbage collection (GC) of path based data. This framework allows for GC of data specified by path names, for example files on disk. gc.Path objects each represent a single item stored at a path and may be a base directory, /tmp/exports/0/... /tmp/exports/1/... ... or a fully qualifie...
PypiClean
/onshape-test-client-1.0.0.tar.gz/onshape-test-client-1.0.0/onshape_client/oas/model/bt_color_params.py
import re # noqa: F401 import sys # noqa: F401 from onshape_client.oas.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type,...
PypiClean
/django-tasktracker-0.2.tar.gz/django-tasktracker-0.2/README.rst
============ Task Tracker ============ Task Tracker is a basic Django app to record and track stories, tasks and invested time. Loosely based on Extreme Programming methodology. Quick start ----------- 1. Use an old Django project or start a new project in desired location:: $ django-admin startproject mysite 2. ...
PypiClean
/safegate-pro-frontend-20210805.0.tar.gz/safegate-pro-frontend-20210805.0/hass_frontend/frontend_latest/chunk.2505ce54fee61ca834a5.js
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[2539,8101,1927,2519,4940],{12198:(e,t,r)=>{"use strict";r.d(t,{p6:()=>s,mn:()=>c,D_:()=>u});var i=r(68928),n=r(14516),o=r(43274);const a=(0,n.Z)((e=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"long",day:"numeric...
PypiClean
/pp-1.6.5.tar.gz/pp-1.6.5/pp.py
import os import threading import logging import inspect import sys import types import time import atexit import user import cPickle as pickle import pptransport import ppauto import ppcommon copyright = "Copyright (c) 2005-2012 Vitalii Vanovschi. All rights reserved" version = "1.6.5" # Reconnect persistent rworker...
PypiClean
/tickit-0.4.1.tar.gz/tickit-0.4.1/docs/user/tutorials/creating-a-simulation.rst
Creating a Simulation ===================== This tutorial shows how to create a simulated system consisting of several included devices using the tickit framework - specifically a ``RandomTrampoline`` and a `Sink`. Configuration File ------------------ We shall begin by creating a new YAML file named ``my_simulation...
PypiClean
/ka-lite-static-0.17.6b2.tar.gz/ka-lite-static-0.17.6b2/kalite/packages/dist/django/utils/unittest/result.py
import sys import traceback import unittest from StringIO import StringIO from django.utils.unittest import util from django.utils.unittest.compatibility import wraps __unittest = True def failfast(method): @wraps(method) def inner(self, *args, **kw): if getattr(self, 'failfast', False): ...
PypiClean
/wmcore-2.2.4rc1.tar.gz/wmcore-2.2.4rc1/src/python/WMQuality/Emulators/WMSpecGenerator/Samples/BasicProductionWorkload.py
from WMCore.WMSpec.WMWorkload import newWorkload from WMCore.WMSpec.StdSpecs.TaskChain import TaskChainWorkloadFactory # // # // Set up the basic workload task and step structure #// def createWorkload(name="BasicProduction"): workload = newWorkload(name) workload.setOwner("DMWMTest") workload.setStartPol...
PypiClean
/Products.OpenXml-1.2.1.zip/Products.OpenXml-1.2.1/Products/OpenXml/transform.py
import mimetypes import openxmllib from openxmllib import contenttypes as ct from Products.PortalTransforms.interfaces import itransform from config import SITE_CHARSET, TRANSFORM_NAME from Products.OpenXml import logger try: # Plone 4 from Products.PortalTransforms.interfaces import ITransform except ImportEr...
PypiClean
/download-center-5.3.3.tar.gz/download-center-5.3.3/download_center/store/baidu_cookies.py
import redis import time from download_center.store import config class baiduCookie(object): def __init__(self): self.redisPool = redis.ConnectionPool(**(config.DOWNLOADER_CENTER_REDIS[config.ENVIR])) self.redisClient = redis.StrictRedis(connection_pool=self.redisPool) self.pc_cookie_key ...
PypiClean
/easydata_python-0.5.1-py3-none-any.whl/easydata/deploy/ppcv/ops/models/detection/preprocess.py
import cv2 import numpy as np def decode_image(im_file, im_info): """read rgb image Args: im_file (str|np.ndarray): input can be image path or np.ndarray im_info (dict): info of image Returns: im (np.ndarray): processed image (np.ndarray) im_info (dict): info of processed...
PypiClean
/hcs_cli-0.1.90-py3-none-any.whl/vhcs/sglib/auth.py
import time import jwt import json import hashlib import logging from vhcs.ctxp import profile, panic, jsondot from .csp import CspClient from .login_support import create_oauth_client, refresh_oauth_token log = logging.getLogger(__name__) def _get_profile_auth_hash(): csp = profile.current().csp text = json...
PypiClean
/chainer-ibmopt-4.0.0a3.tar.gz/chainer-ibmopt-4.0.0a3/chainer/training/extensions/progress_bar.py
from __future__ import division import datetime import os import sys import time from chainer.training import extension from chainer.training.extensions import util class ProgressBar(extension.Extension): """Trainer extension to print a progress bar and recent training status. This extension prints a progr...
PypiClean
/iocbio.kinetics-1.5.0.tar.gz/iocbio.kinetics-1.5.0/README.md
# Kinetics analysis program IOCBIO Kinetics is a cross-platform application for analysis of different traces, as described by its plugins. While originally developed for analysis of enzyme kinetics, the other types of traces can be analyzed as well. It is designed to analyze traces where some measured parameter depend...
PypiClean
/gymnasium-robotics-1.2.2.tar.gz/gymnasium-robotics-1.2.2/gymnasium_robotics/__init__.py
from gymnasium.envs.registration import register from gymnasium_robotics.core import GoalEnv from gymnasium_robotics.envs.maze import maps from gymnasium_robotics.envs.multiagent_mujoco import mamujoco_v0 def register_robotics_envs(): """Register all environment ID's to Gymnasium.""" def _merge(a, b): ...
PypiClean
/koda_validate-3.1.2.tar.gz/koda_validate-3.1.2/koda_validate/dataclasses.py
import inspect import sys from dataclasses import is_dataclass from typing import ( Any, Awaitable, Callable, ClassVar, Dict, Optional, Protocol, Set, Type, TypeVar, get_type_hints, ) from koda import Just, Maybe, nothing from koda_validate._internal import ( _raise_can...
PypiClean
/apache-airflow-zack-1.10.15.9.tar.gz/apache-airflow-zack-1.10.15.9/airflow/contrib/operators/aws_athena_operator.py
from uuid import uuid4 from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults from airflow.contrib.hooks.aws_athena_hook import AWSAthenaHook class AWSAthenaOperator(BaseOperator): """ An operator that submit presto query to athena. If ``do_xcom_push`` is True, the ...
PypiClean
/pecoret_default_templates-0.0.1-py3-none-any.whl/pecoret_default_templates/vulnerability_templates/sensitive-data-url/locale/de/description.md
Sensible Informationen, die in der URL übertragen werden, können an verschiedenen Stellen protokolliert werden, z. B. im Browserverlauf, in den Webserverprotokollen und in jedem Proxy, der zwischen dem Client und der Anwendung steht. Sie können auch über den Referer-Header an Websites von Dritten gesendet werden, indem...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/thiomicrospiraspmilost1.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def ThiomicrospiraSpMilost1( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs...
PypiClean
/snips-app-helpers-0.0.11.tar.gz/snips-app-helpers-0.0.11/src/snips_app_helpers/snips/assistant.py
import json import datetime from . import Dataset from .. import utils class AssistantIntent(utils.BaseObj): def __init__(self, name, id, slots, version): self.name = name self.id = id self.slots = slots self.version = version @classmethod def load(cls, dic_info): ...
PypiClean
/DLTA-AI-1.1.tar.gz/DLTA-AI-1.1/DLTA-AI-1.1/DLTA_AI_app/mmdetection/configs/centernet/centernet_resnet18_dcnv2_140e_coco.py
_base_ = [ '../_base_/datasets/coco_detection.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( type='CenterNet', backbone=dict( type='ResNet', depth=18, norm_eval=False, norm_cfg=dict(type='BN'), init_cfg=dict(type='Pretra...
PypiClean
/odooku_odoo_base-11.0.7-py35-none-any.whl/odoo/addons/web/static/lib/moment/locale/eo.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
/alacritty_circadian-0.9.8-py3-none-any.whl/alacritty_circadian/alacritty_circadian.py
# Std imports from os.path import expandvars from pathlib import Path from datetime import datetime, timezone, timedelta from threading import Timer, Lock import sys # External imports from ruamel.yaml import YAML from astral import Observer from astral.sun import sun # Create global thread lock lock = Lock() # Init...
PypiClean
/RsCMPX_LteMeas-4.0.185.tar.gz/RsCMPX_LteMeas-4.0.185/RsCMPX_LteMeas/Implementations/LteMeas/MultiEval/ListPy/Modulation/Evm/Peak/High/Extreme.py
from typing import List from .........Internal.Core import Core from .........Internal.CommandsGroup import CommandsGroup from .........Internal import Conversions from .........Internal.ArgSingleSuppressed import ArgSingleSuppressed from .........Internal.Types import DataType # noinspection PyPep8Naming,PyAttribut...
PypiClean
/DeSide-1.0.2.tar.gz/DeSide-1.0.2/deside/plot/plot_nn.py
import os # import importlib # import umap import numpy as np import pandas as pd import seaborn as sns # import scipy.stats as stats import matplotlib.pyplot as plt # from joblib import dump, load from .plot_gene import compare_exp_between_group from ..utility import read_cancer_purity, check_dir, read_df, log2_transf...
PypiClean
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_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
/tencentcloud-sdk-python-3.0.973.tar.gz/tencentcloud-sdk-python-3.0.973/tencentcloud/gpm/v20200820/errorcodes.py
# CAM签名/鉴权错误。 AUTHFAILURE = 'AuthFailure' # DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = 'DryRunOperation' # 操作失败。 FAILEDOPERATION = 'FailedOperation' # 匹配日志开通失败,请在线咨询。 FAILEDOPERATION_CLSFAILEDOPERATION = 'FailedOperation.CLSFailedOperation' # 频率限制。玩家重复请求匹配的间隔不小于100ms。 FAILEDOPERATION_FREQUENCYSAMEPLA...
PypiClean
/easy_tasks-0.0.11.tar.gz/easy_tasks-0.0.11/easy_tasks/list_printer.py
from copy import deepcopy from varname import nameof from colorful_terminal import * def pretty_print_list( List: list, print_list_name: bool = True, colored: bool = True, name_rgb=(255, 175, 0), value_rgb=(0, 255, 255), syntax_rgb=(200, 200, 200), ): if colored: n_color = Fore.rgb...
PypiClean
/kidx-nlu-0.0.1a3.tar.gz/kidx-nlu-0.0.1a3/kidx_nlu/project.py
import time import datetime import logging import os import tempfile import zipfile from io import BytesIO as IOReader from requests.exceptions import InvalidURL, RequestException from threading import Lock, Thread from typing import List, Optional, Text from kidx_nlu import utils from kidx_nlu.classifiers.keyword_in...
PypiClean
/coastalhazardstoolkit-0.2.0.tar.gz/coastalhazardstoolkit-0.2.0/src/cht/bathymetry/tiling.py
import os import rasterio import xarray as xr import numpy as np import math import wget import yaml from pyproj import CRS import cht.misc.fileops as fo import cht.misc.xmlkit as xml class TiledDatasetLevel: def __init__(self, name, path, ilev): self.name = name self.path = os.path.join(path, "...
PypiClean
/benchling_api_client-2.0.207-py3-none-any.whl/benchling_api_client/models/user_input_ui_block.py
from typing import Any, cast, Dict, List, Optional, Type, TypeVar, Union import attr from ..extensions import NotPresentError from ..types import UNSET, Unset T = TypeVar("T", bound="UserInputUiBlock") @attr.s(auto_attribs=True, repr=False) class UserInputUiBlock: """ """ _id: str _value: Optional[st...
PypiClean
/certora_cli_alpha_jtoman_cert_2191-20230520.2.39.161285-py3-none-any.whl/certora_cli/certoraRun.py
import sys import time import logging from typing import List, Optional from pathlib import Path scripts_dir_path = Path(__file__).parent.resolve() # containing directory sys.path.insert(0, str(scripts_dir_path)) from Shared.certoraUtils import run_jar_cmd from Shared.certoraUtils import check_results_from_file, is...
PypiClean
/zc.zservertracelog-3.0.tar.gz/zc.zservertracelog-3.0/CHANGES.rst
Changes ======= 3.0 (2023-01-23) ---------------- - Drop support for Python 2.7, 3.4, 3.5, 3.6. - Add support for Python 3.8, 3.9, 3.10, 3.11. 2.0.0 (2019-02-26) ------------------ - Fix logic bug in seconds_difference() that could introduce error up to nearly a whole second for any particular event. - Limit n...
PypiClean
/Pmw-py3-2.1.tar.gz/Pmw-py3-2.1/Pmw/Pmw_2_1/demos/SpecialCounter.py
title = 'Subclassing Pmw.Counter' # Import Pmw from this directory tree. import sys sys.path[:0] = ['../../..'] import string import time import types import tkinter import Pmw class LabeledDateCounter(Pmw.Counter): def __init__(self, parent=None , **kw): # Need to use long ints here because on the Mac...
PypiClean
/aquirdturtle_collapsible_headings-3.1.0.tar.gz/aquirdturtle_collapsible_headings-3.1.0/src/index.ts
import { JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { ICommandPalette } from '@jupyterlab/apputils'; import { INotebookTracker, NotebookActions } from '@jupyterlab/notebook'; import { Cell } from '@jupyterlab/cells'; import { ElementExt } from '@phosphor/domutils'; import {...
PypiClean
/full_fred-0.0.9a1.tar.gz/full_fred-0.0.9a1/README.md
# full_fred `full_fred` is a Python interface to [FRED (Federal Reserve Economic Data)](https://fred.stlouisfed.org/) that prioritizes user preference, flexibility, and speed. `full_fred`'s API translates to Python [every type of request FRED supports](https://fred.stlouisfed.org/docs/api/fred/): each query for Categ...
PypiClean
/llm_toys-0.1.1-py3-none-any.whl/llm_toys/hf/transformers/models/gpt_neo/__init__.py
from typing import TYPE_CHECKING from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_flax_available, is_torch_available _import_structure = { "configuration_gpt_neo": ["GPT_NEO_PRETRAINED_CONFIG_ARCHIVE_MAP", "GPTNeoConfig", "GPTNeoOnnxConfig"], } try: if not is_torch_available(): r...
PypiClean
/dbt-helper-0.5.0.tar.gz/dbt-helper-0.5.0/README.md
# `dbt-helper` (beta) NOTE: `dbt-helper` currently only works with dbt version >= 0.17.1. This is still in extremely-limited beta release. We'd love your help, testing it though! Until we're out of beta, please don't build this into anything production-touching as it will surely get broken sooner rather than later `d...
PypiClean
/trollflow2-0.14.0.tar.gz/trollflow2-0.14.0/AUTHORS.md
# Project Contributors The following people have made contributions to this project: <!--- Use your GitHub account or any other personal reference URL ---> <!--- If you wish to not use your real name, please use your github username ---> <!--- The list should be alphabetical by last name if possible, with github user...
PypiClean
/AIBias-Oddgeir-0.1.0.tar.gz/AIBias-Oddgeir-0.1.0/aibias/algorithms/in_processing.py
import sys import numpy as np import pandas as pd import tqdm import tensorflow_addons as tfa import aibias.dataset as ds import tensorflow as tf from tensorflow import keras from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from sklearn.preprocessing import LabelEncoder fr...
PypiClean
/mmaction2-1.1.0.tar.gz/mmaction2-1.1.0/mmaction/.mim/configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb8-8x8x1-20e_ava21-rgb.py
_base_ = '../../_base_/default_runtime.py' url = ('https://download.openmmlab.com/mmaction/recognition/slowfast/' 'slowfast_r50_8x8x1_256e_kinetics400_rgb/' 'slowfast_r50_8x8x1_256e_kinetics400_rgb_20200716-73547d2b.pth') model = dict( type='FastRCNN', _scope_='mmdet', init_cfg=dict(type='Pr...
PypiClean
/eppy-0.5.63.tar.gz/eppy-0.5.63/docs/installation.rst
.. highlight:: shell ============ Installation ============ Stable release -------------- To install eppy, run this command in your terminal: .. code-block:: console $ pip install eppy This is the preferred method to install eppy, as it will always install the most recent stable release. If you don't have `...
PypiClean
/examples/widgets/tetrix/doc/tetrix.rst
Tetrix ====== The Tetrix example is a Qt version of the classic Tetrix game. .. image:: tetrix-screenshot.png :width: 400 :alt: Tetrix main window The object of the game is to stack pieces dropped from the top of the playing area so that they fill entire rows at the bottom of the playing area. When a row is fil...
PypiClean