id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/konstrukteur-0.1.14.zip/konstrukteur-0.1.14/konstrukteurlibs/watchdog/src/watchdog/observers/api.py | from __future__ import with_statement
import threading
try:
import queue # IGNORE:F0401
except ImportError:
import Queue as queue # IGNORE:F0401
from watchdog.utils import DaemonThread
from watchdog.utils.bricks import SkipRepeatsQueue
DEFAULT_EMITTER_TIMEOUT = 1 # in seconds.
DEFAULT_OBSERVER_TIMEOUT =... | PypiClean |
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/caniuse-lite/data/regions/GA.js | module.exports={C:{"30":0.00287,"31":0.00287,"35":0.00575,"39":0.00287,"48":0.00287,"52":0.01724,"54":0.02298,"68":0.01149,"72":0.00862,"78":0.02586,"85":0.00287,"88":0.05459,"89":0.00575,"91":0.06608,"92":0.00287,"93":0.01724,"94":0.04597,"95":0.03448,"96":0.77284,"97":1.54567,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1... | PypiClean |
/pai_easycv-0.11.4-py3-none-any.whl/easycv/models/utils/multi_pooling.py | import torch.nn as nn
import torch.nn.functional as F
class GeMPooling(nn.Module):
"""GemPooling used for image retrival
p = 1, avgpooling
p > 1 : increases the contrast of the pooled feature map and focuses on the salient features of the image
p = infinite : spatial max-pooling layer
"""... | PypiClean |
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/machinelearningservices/v20230601preview/model_container.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__ = ['ModelContainerInitArgs', 'ModelContainer']
@pulumi.input_type
class ModelContainerInitArgs:
def ... | PypiClean |
/NeuroDynamics-0.1.1.tar.gz/NeuroDynamics-0.1.1/brainpy/core_system/types.py |
from collections import OrderedDict
from .. import numpy as np
from .. import profile
try:
import numba as nb
except ImportError as e:
if profile.is_numba_bk():
raise e
nb = None
__all__ = [
'TypeChecker',
'TypeMismatchError',
'ObjState',
'NeuState',
'SynState',
'ListCon... | PypiClean |
/robotframework-webscreens-0.1.1.tar.gz/robotframework-webscreens-0.1.1/README.md | # robotframework-webscreens
A library to simulate different screen resolutions on current/given url

[](https://pepy.tech/project/robotframework-webscreens)
, (x_test, y_test) = mnist.load_data()
# 第一个维度是样本数目,第二维度是通道数表示颜色通道数,第三维度是高,第四个维度是宽
x_train = x_train.reshape(x_train... | PypiClean |
/ci_watson-0.6.2.tar.gz/ci_watson-0.6.2/LICENSE.md | BSD 3-Clause License
Copyright (c) 2018-2021, Space Telescope Science Institute, AURA
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 no... | PypiClean |
/experimaestro-ir-1.0.0.zip/experimaestro-ir-1.0.0/src/xpmir/papers/duobert/experiment.py |
# An imitation of examples/msmarco-reranking.py
from functools import partial
import logging
from experimaestro.launcherfinder import find_launcher
from xpmir.distributed import DistributedHook
from xpmir.learning.learner import Learner
from xpmir.letor.learner import ValidationListener
from xpmir.learning.optim imp... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/datashare/v20191101/data_set_mapping.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from ._enums import *
__all__ = ['DataSetMapping']
class DataSetMapping(pulumi.CustomResource):
def __init__(__self__,
resource_name: str,
... | PypiClean |
/tf-models-official-2.13.1.tar.gz/tf-models-official-2.13.1/official/projects/panoptic/tasks/panoptic_deeplab.py |
"""Panoptic Deeplab task definition."""
from typing import Any, Dict, List, Mapping, Optional, Tuple
from absl import logging
import tensorflow as tf
from official.common import dataset_fn
from official.core import base_task
from official.core import task_factory
from official.projects.panoptic.configs import panopt... | PypiClean |
/twython-3.9.1.tar.gz/twython-3.9.1/docs/_themes/basicstrap/static/js/bootstrap.min.js | !function($){"use strict";$(function(){$.support.transition=function(){var transitionEnd=function(){var name,el=document.createElement("bootstrap"),transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(name in... | PypiClean |
/python-watcher-10.0.0.tar.gz/python-watcher-10.0.0/watcher/db/sqlalchemy/job_store.py |
from oslo_serialization import jsonutils
from apscheduler.jobstores.base import ConflictingIdError
from apscheduler.jobstores import sqlalchemy
from apscheduler.util import datetime_to_utc_timestamp
from apscheduler.util import maybe_ref
from watcher.common import context
from watcher.common import service
from watc... | PypiClean |
/django-m2m-fix-1.0.0.tar.gz/django-m2m-fix-1.0.0/django/db/backends/sqlite3/introspection.py | import re
from collections import namedtuple
import sqlparse
from django.db.backends.base.introspection import (
BaseDatabaseIntrospection, FieldInfo as BaseFieldInfo, TableInfo,
)
from django.db.models.indexes import Index
FieldInfo = namedtuple('FieldInfo', BaseFieldInfo._fields + ('pk',))
field_size_re = re.... | PypiClean |
/secretflow_ray-2.2.0-cp38-cp38-macosx_10_16_x86_64.whl/secretflow_ray-2.2.0.data/purelib/ray/util/client/__init__.py | import logging
import os
import sys
import threading
from typing import Any, Dict, List, Optional, Tuple
import grpc
import ray._private.ray_constants as ray_constants
from ray._private.client_mode_hook import (
_explicitly_disable_client_mode,
_explicitly_enable_client_mode,
)
from ray._private.ray_logging i... | PypiClean |
/delta-lake-reader-0.2.13.tar.gz/delta-lake-reader-0.2.13/README.md | 

[](https://pepy.tech/project/delta-lake-reader)
# Delta Lake Reader
The [Delta](https://github.c... | PypiClean |
/sparshik-kyc-0.2.2.tar.gz/sparshik-kyc-0.2.2/sparshik/kyc/documents.py | from .utils import request
def parse_doc(file_path, attributes=None, doc_type=None, user_request_id=None, image_crops=None, delete_at=None,
image_url=None, data_uri=None):
""" Identify or Parse KYC Documents such as Aadhaar, Pan, Passport and Voter ID.
Args:
file_path : Path to File or Image or Data URL
at... | PypiClean |
/ovos-stt-plugin-whispercpp-0.0.0a8.tar.gz/ovos-stt-plugin-whispercpp-0.0.0a8/README.md | ## Description
OpenVoiceOS STT plugin for [whispercpp](https://github.com/ggerganov/whisper.cpp)
High-performance inference of [OpenAI's Whisper](https://github.com/openai/whisper) automatic speech recognition (ASR) model:
- Plain C/C++ implementation without dependencies
- Apple silicon first-class citizen - optimi... | PypiClean |
/bpython-0.24.tar.gz/bpython-0.24/doc/sphinx/source/django.rst | .. _django:
Django / Pinax
==============
Django is a web framework for professionals with deadlines. People like to
interactively talk to their Django models. Currently Django comes with two
hardcoded options. Either you use the standard Python REPL, or you use IPython.
Pinax is an integrated collection of Django ap... | PypiClean |
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/helpers/update_coordinator.py | import asyncio
from datetime import datetime, timedelta
import logging
from time import monotonic
from typing import Awaitable, Callable, Generic, List, Optional, TypeVar
import urllib.error
import aiohttp
import requests
from homeassistant.core import CALLBACK_TYPE, HassJob, HomeAssistant, callback
from homeassistan... | PypiClean |
/feed-to-exporter-1.0.3.tar.gz/feed-to-exporter-1.0.3/feed_to_exporter/model.py | import abc
import json
import os.path
import datetime
from typing import Callable, List
from types import SimpleNamespace
from pluginbase import PluginBase
from .exceptions import FeedToWordpressException, \
FeedToWordpressNotValidInfoFound
class AbstractFeedInfo(object):
def __init__(self,
... | PypiClean |
/sdnn-cl-2.2.0.tar.gz/sdnn-cl-2.2.0/tvm/micro/class_factory.py | import importlib
import json
import typing
JsonSerializable = typing.Union[int, float, str, None, bool]
class SerializedFactoryError(Exception):
"""Raised when ClassFactory.from_json is invoked with an invalid JSON blob."""
class ClassFactory:
"""Describes a JSON-serializable class instantiation, for use ... | PypiClean |
/camcops_server-2.4.17.tar.gz/camcops_server-2.4.17/camcops_server/alembic/versions/0016_gbo_goal_progress_chart.py | # =============================================================================
# Imports
# =============================================================================
from alembic import op
import sqlalchemy as sa
from camcops_server.cc_modules.cc_sqla_coltypes import (
PendulumDateTimeAsIsoTextColType,
Se... | PypiClean |
/aws_pcluster_dask_gateway-0.1.0.tar.gz/aws_pcluster_dask_gateway-0.1.0/README.rst | =========================
aws_pcluster_dask_gateway
=========================
.. image:: https://img.shields.io/pypi/v/aws_pcluster_dask_gateway.svg
:target: https://pypi.python.org/pypi/aws_pcluster_dask_gateway
.. image:: https://img.shields.io/travis/bioanalyze/aws_pcluster_dask_gateway.svg
:targe... | PypiClean |
/test_stockpyl-0.0.9-py3-none-any.whl/stockpyl/sim.py | import datetime
import warnings
import numpy as np
from scipy import stats
from tqdm import tqdm # progress bar
from stockpyl import helpers
# from tests.instances_ssm_serial import *
from stockpyl.instances import load_instance
from stockpyl.sim_io import write_instance_and_states
# from stockpyl.datatypes import... | PypiClean |
/ansible-8.3.0-py3-none-any.whl/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_hotspot20_h2qpconncapability.py | from __future__ import absolute_import, division, print_function
# Copyright 2019-2023 Fortinet, Inc.
#
# This program 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 the License, or
# (at ... | PypiClean |
/django-banzai-0.2.tar.gz/django-banzai-0.2/banzai/migrations/0001_initial.py | import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Package'
db.create_table('banzai_package', (
('id', self.gf('django.db.models.fields.AutoField')(primary... | PypiClean |
/tensorflow_text-2.14.0rc0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/tensorflow_text/python/ops/pad_along_dimension_op.py | from __future__ import absolute_import
from __future__ import print_function
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import errors
from tensorflow.python.framework import ops
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import math_ops
from tensorflow.p... | PypiClean |
/nfp-0.3.9.tar.gz/nfp-0.3.9/README.md | [](https://travis-ci.org/NREL/nfp)
[](https://badge.fury.io/py/nfp)
[](https://zenodo.org/badge/latestdoi/158466097)
# Neural fingerprint (nfp)
Keras layers f... | PypiClean |
/nextcord-unaliased-2.4.0.tar.gz/nextcord-unaliased-2.4.0/nextcord/oggparse.py |
from __future__ import annotations
import struct
from typing import IO, TYPE_CHECKING, ClassVar, Generator, Optional, Tuple
from .errors import DiscordException
__all__ = (
"OggError",
"OggPage",
"OggStream",
)
class OggError(DiscordException):
"""An exception that is thrown for Ogg stream parsing... | PypiClean |
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/drives/item/root/permissions/item/grant/grant_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 |
/lenio-ai-prompt-engineer-1.4.13.tar.gz/lenio-ai-prompt-engineer-1.4.13/cli/evals/classification.py | import openai
from ..cost import input, output
class Classification:
def __init__(self, test_cases, number_of_prompts, model_test, model_test_temperature, model_test_max_tokens, model_generation, model_generation_temperature, prompts, best_prompts):
"""
Initialize a Classification instance... | PypiClean |
/PyKotor-1.6.2.tar.gz/PyKotor-1.6.2/pykotor/gl/models/read_mdl.py | import struct
from typing import List, Optional
import glm
from glm import mat4, vec3, vec4
from pykotor.common.stream import BinaryReader
from pykotor.gl.models.mdl import Node, Mesh, Model
def _load_node(scene, node: Optional[Node], mdl: BinaryReader, mdx: BinaryReader, offset: int, names: List[str]) -> Node:
... | PypiClean |
/django-mobileu-1.1.3.tar.gz/django-mobileu-1.1.3/gamification/migrations/0001_initial.py | from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
depends_on = (
("organisation", "0001_initial"),
("auth", "0001_initial"),
)
def forwards(self, orm):
# A... | PypiClean |
/interpretdl-0.8.0.tar.gz/interpretdl-0.8.0/tutorials/assets/lrp_model/vgg_lrp.py | import paddle.nn as nn
import paddle
from ._layers_lrp import *
__all__ = [
'VGG', 'vgg16'
]
model_urls = {
'vgg16': ('https://paddle-hapi.bj.bcebos.com/models/vgg16.pdparams',
'89bbffc0f87d260be9b8cdc169c991c4')
}
class VGG(nn.Layer):
def __init__(self, features, num_classes=1000):
... | PypiClean |
/om_simple_encoder-0.1.3.tar.gz/om_simple_encoder-0.1.3/om_simple_encoder/wrapper_clip.py | import torch
import torch.nn as nn
import torch.nn.functional as F
import pytorch_lightning as pl
import numpy as np
import math
import yaml
import copy
from .model import CLIP
import clip
class CLIPWrapper(pl.LightningModule):
def __init__(self,
model_name: str,
config: dict,
... | PypiClean |
/sosse-1.5.0.tar.gz/sosse-1.5.0/se/html_cache.py |
import logging
import os
from datetime import timedelta
from hashlib import md5
from mimetypes import guess_extension
from urllib.parse import quote, unquote_plus
from django.conf import settings
from django.utils import timezone
from .browser import RequestBrowser
from .html_asset import HTMLAsset
from .url import... | PypiClean |
/bpy_cuda-2.82-cp37-cp37m-win_amd64.whl/bpy_cuda-2.82.data/scripts/2.82/scripts/modules/bpy_extras/anim_utils.py |
# <pep8 compliant>
__all__ = (
"bake_action",
"bake_action_objects",
"bake_action_iter",
"bake_action_objects_iter",
)
import bpy
def bake_action(
obj,
*,
action, frames,
**kwargs
):
"""
:arg obj: Object to bake.
:type obj: :class:`bpy.types.Object`
... | PypiClean |
/collective.sidebar-1.5.0.tar.gz/collective.sidebar-1.5.0/docs/index.rst | ==================
User Documentation
==================
Sidebar Links (portal_actions)
------------------------------
The sidebar links are configured through the Plone ``portal_actions`` menu in the ZMI.
To change the links displayed in the sidebar, navigate to your Plone instance in the ZMI (you must be logged i... | PypiClean |
/Cubane-1.0.11.tar.gz/Cubane-1.0.11/cubane/payment/deko.py | from __future__ import unicode_literals
from base import PaymentGateway, RegistrationContext
from django.http import HttpResponseRedirect, HttpResponse
from django.core.urlresolvers import reverse
import datetime
from django.conf import settings
from decimal import Decimal
import requests
from bs4 import BeautifulSoup
... | PypiClean |
/comt-2.6.4.tar.gz/comt-2.6.4/src/cm/media/js/lib/yui/yui3-3.15.0/build/series-area/series-area.js | YUI.add('series-area', function (Y, NAME) {
/**
* Provides functionality for creating a area series.
*
* @module charts
* @submodule series-area
*/
/**
* The AreaSeries class renders quantitative data on a graph by creating a fill between 0
* and the relevant data points.
*
* @class AreaSeries
* @extends Car... | PypiClean |
/scikit-mobility-unofficial-1.0.tar.gz/scikit-mobility-unofficial-1.0/skmob/core/flowdataframe.py | import pandas as pd
import geopandas as gpd
from ..utils import constants, utils, plot
import numpy as np
from warnings import warn
from ..tessellation.tilers import tiler
from shapely.geometry import Point, Polygon
class FlowSeries(pd.Series):
@property
def _constructor(self):
return FlowSeries
... | PypiClean |
/fds.sdk.FactSetBenchmarks-1.2.1-py3-none-any.whl/fds/sdk/FactSetBenchmarks/model/benchmark_id_list_request.py | import re # noqa: F401
import sys # noqa: F401
from fds.sdk.FactSetBenchmarks.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,
non... | PypiClean |
/retro_data_structures-0.23.0-py3-none-any.whl/retro_data_structures/properties/dkc_returns/archetypes/VolcanoBossBodyPartStructA.py | import dataclasses
import struct
import typing
from retro_data_structures.game_check import Game
from retro_data_structures.properties.base_property import BaseProperty
import retro_data_structures.enums.dkc_returns as enums
@dataclasses.dataclass()
class VolcanoBossBodyPartStructA(BaseProperty):
attack_type: en... | PypiClean |
/asyncio_redis-0.16.0.tar.gz/asyncio_redis-0.16.0/README.rst | Redis client for Python asyncio.
================================
|Build Status|
..
# Don't show the Build status on drone.io. Update script first. It's still
# using an older Redis version.
# |Build Status2|
Redis client for the `PEP 3156`_ Python event loop.
.. _PEP 3156: http://legacy.python.org/de... | PypiClean |
/dsin100daysv34-6.0.1.tar.gz/dsin100daysv34-6.0.1/notebook/static/components/MathJax/jax/output/SVG/fonts/STIX-Web/Main/Regular/Main.js | MathJax.OutputJax.SVG.FONTDATA.FONTS.STIXMathJax_Main={directory:"Main/Regular",family:"STIXMathJax_Main",id:"STIXWEBMAIN",32:[0,0,250,0,0,""],33:[676,9,333,130,236,"175 176l-42 381c-2 20 -3 32 -3 43c0 43 15 76 53 76c34 0 53 -32 53 -81c0 -12 -1 -27 -2 -38l-45 -381h-14zM236 42c0 -29 -23 -51 -54 -51c-30 0 -52 22 -52 52s2... | PypiClean |
/abqpy-2023.5.6-py3-none-any.whl/abaqus/Material/Elastic/Linear/Elastic.py | from typing_extensions import Literal
from abqpy.decorators import abaqus_class_doc, abaqus_method_doc
from ....UtilityAndView.abaqusConstants import ISOTROPIC, LONG_TERM, OFF, Boolean
from ....UtilityAndView.abaqusConstants import abaqusConstants as C
from .FailStrain import FailStrain
from .FailStress import FailSt... | PypiClean |
/dask-saturn-0.4.3.tar.gz/dask-saturn-0.4.3/dask_saturn/core.py | import os
import json
import logging
import warnings
import weakref
from packaging.version import parse as parse_version
from typing import Any, Dict, List, Optional
from urllib.parse import urljoin
import requests
from distributed import Client, SpecCluster
from distributed.security import Security
import distribut... | PypiClean |
/URF-0.0.5.tar.gz/URF-0.0.5/README.rst | URF: Unsupervised Random Forest
==============================================
URF (Unsupervised Random Forest, or Random Forest Clustering) is a python implementation of the paper: Shi, T., & Horvath, S. (2006). Unsupervised learning with random forest predictors. *Journal of Computational and Graphical Statistics*, ... | PypiClean |
/enhanced-dpy-1.7.3.7.post2.tar.gz/enhanced-dpy-1.7.3.7.post2/discord/http.py | import asyncio
import json
import logging
import sys
from urllib.parse import quote as _uriquote
import weakref
import aiohttp
from .errors import HTTPException, Forbidden, NotFound, LoginFailure, DiscordServerError, GatewayNotFound
from .gateway import DiscordClientWebSocketResponse
from . import __version__, utils
... | PypiClean |
/de_berufssprachkurssuche-0.1.0-py3-none-any.whl/deutschland/berufssprachkurssuche/model/response_embedded_aggregations_beginntermin.py | import re # noqa: F401
import sys # noqa: F401
from deutschland.berufssprachkurssuche.exceptions import ApiAttributeError
from deutschland.berufssprachkurssuche.model_utils import ( # noqa: F401
ApiTypeError,
ModelComposed,
ModelNormal,
ModelSimple,
OpenApiModel,
cached_property,
change_... | PypiClean |
/longship-2023.8.23-py3-none-any.whl/longship_api_client/api/localtokengroups/local_token_group_put.py | from http import HTTPStatus
from typing import Any, Dict, Optional, Union, cast
import httpx
from ... import errors
from ...client import Client
from ...models.local_token_group_put_dto import LocalTokenGroupPutDto
from ...models.longship_error import LongshipError
from ...types import Response
def _get_kwargs(
... | PypiClean |
/distributions_aks-0.1.tar.gz/distributions_aks-0.1/distributions_aks/Gaussiandistribution.py | import math
import matplotlib.pyplot as plt
from .Generaldistribution import Distribution
class Gaussian(Distribution):
""" Gaussian distribution class for calculating and
visualizing a Gaussian distribution.
Attributes:
mean (float) representing the mean value of the distribution
stdev (float) representing ... | PypiClean |
/deep-leaps-0.0.14.tar.gz/deep-leaps-0.0.14/deepleaps/app/Format.py | from deepleaps.app.app import App, SingletoneInstance
from pyparsing import nestedExpr
import re
import os
class Formatter():
def __init__(self, runnable_controller, contents={}, format=''):
"""
Manages various formats.
This class is dependent on the current Controller and configuration saf... | PypiClean |
/zestreleaser.towncrier-1.3.0.tar.gz/zestreleaser.towncrier-1.3.0/src/zestreleaser/towncrier/__init__.py | import io
import logging
import os
import sys
from copy import deepcopy
from textwrap import dedent
from zest.releaser import utils
try:
# We prefer tomli, as pip and towncrier use it.
import tomli
toml = None
except ImportError:
# But tomli is not available on Python 2.
tomli = None
import t... | PypiClean |
/funkiio-1.0.1-py3-none-any.whl/homeassistant/components/demo/light.py | import random
from homeassistant.components.light import (
ATTR_BRIGHTNESS, ATTR_COLOR_TEMP, ATTR_EFFECT, ATTR_HS_COLOR,
ATTR_WHITE_VALUE, SUPPORT_BRIGHTNESS, SUPPORT_COLOR, SUPPORT_COLOR_TEMP,
SUPPORT_EFFECT, SUPPORT_WHITE_VALUE, Light)
LIGHT_COLORS = [
(56, 86),
(345, 75),
]
LIGHT_EFFECT_LIST =... | PypiClean |
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/@svgr/plugin-jsx/CHANGELOG.md | # Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [4.3.3](https://github.com/smooth-code/svgr/tree/master/packages/plugin-jsx/compare/v4.3.2...v4.3.3) (2019-09-24)
**Note:** Version bump only for pac... | PypiClean |
/sktime-0.22.0-py3-none-any.whl/docs/source/about/citation.md | # How to cite sktime
If you use sktime in a scientific publication, we would appreciate
citations to the following papers:
* [Markus Löning, Anthony Bagnall, Sajaysurya Ganesh, Viktor Kazakov, Jason Lines, Franz Király (2019): "sktime: A Unified Interface for Machine Learning with Time Series"](http://learningsys.org... | PypiClean |
/pyVLMP-1.0.22.tar.gz/pyVLMP-1.0.22/VLMP/components/simulationSteps/patchPolymersMeasurement.py | import sys, os
import logging
from . import simulationStepBase
class patchPolymersMeasurement(simulationStepBase):
"""
Component name: patchPolymers
Component type: simulationStep
Author: Pablo Ibáñez-Freire
Date: 7/05/2023
This step is used to measure properties of the
polymers created... | PypiClean |
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/request/AlipayMerchantOrderCancelRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayMerchantOrderCancelModel import AlipayMerchantOrderCancelModel
class AlipayMerchantOrderCancelRequest(object):
def __init__(self, biz_model=None):
self._biz_mo... | PypiClean |
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/components/doorbird/switch.py | import datetime
from homeassistant.components.switch import SwitchEntity
from homeassistant.core import callback
from homeassistant.helpers.event import async_track_point_in_utc_time
import homeassistant.util.dt as dt_util
from .const import DOMAIN, DOOR_STATION, DOOR_STATION_INFO
from .entity import DoorBirdEntity
... | PypiClean |
/vuln_runner-0.1.5.tar.gz/vuln_runner-0.1.5/docker_vuln_runner/vuln.py | from yaml import safe_load, load, SafeLoader, dump
from pathlib import Path
from docker_vuln_runner.helper import log, err, get_compose_name
import os
import glob
from git import Repo
import git
import json
from python_on_whales import DockerClient, docker as docker_cli
class VulnRepo:
"""A vulnerable repository ... | PypiClean |
/tensorflow_rocm_enhanced-2.4.3-cp36-cp36m-manylinux1_x86_64.whl/tensorflow/python/ops/random_ops.py | """Operations for generating random numbers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.python.eager import context
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from t... | PypiClean |
/scrooge-2.4.0.tar.gz/scrooge-2.4.0/src/ralph_pricing/migrations/0013_auto__add_field_venture_is_active.py | import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Venture.is_active'
db.add_column('ralph_pricing_venture', 'is_active',
self.gf('django.db.mode... | PypiClean |
/mcnn-1.1.2.tar.gz/mcnn-1.1.2/README.md | # MakeCNN
More and more people each day want to apply machine learning and AI into their products. As ML expands beyond the traditional fields, those
who do want to jump into the fun may find themselves confused with the technical concepts involved and amount of learning required to successfully
apply ML to their job... | PypiClean |
/django-richtemplates-0.3.12.tar.gz/django-richtemplates-0.3.12/richtemplates/media/js/jquery-1.4.2.min.js | (function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){v... | PypiClean |
/invenio-sse-1.0.0a1.tar.gz/invenio-sse-1.0.0a1/docs/authors.rst | ..
This file is part of Invenio.
Copyright (C) 2016 CERN.
Invenio 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 2 of the
License, or (at your option) any later version.
... | PypiClean |
/orion-ml-0.5.1.tar.gz/orion-ml-0.5.1/docs/user_guides/primitives_pipelines/primitives/AER.rst | .. highlight:: shell
AER
~~~~~~
**path**: ``orion.primitives.aer.AER``
**description**: this an autoencoder-based model capable of creating both prediction-based and reconstruction-based anomaly scores.
see `json <https://github.com/sintel-dev/Orion/tree/master/orion/primitives/jsons/orion.primitives.aer.AER.json>`... | PypiClean |
/py7zr-0.20.6.tar.gz/py7zr-0.20.6/docs/api.rst | .. _api_documentation:
*****************
API Documentation
*****************
:mod:`py7zr` --- 7-Zip archive library
======================================
.. module:: py7zr
:synopsis: Read and write 7Z-format archive files.
.. moduleauthor:: Hiroshi Miura <miurahr@linux.com>
The module is built upon awesome de... | PypiClean |
/prompt_toolkit2-2.0.11-py3-none-any.whl/prompt_toolkit2/key_binding/bindings/page_navigation.py | from __future__ import unicode_literals
from prompt_toolkit2.filters import buffer_has_focus, emacs_mode, vi_mode
from prompt_toolkit2.key_binding.key_bindings import (
ConditionalKeyBindings,
KeyBindings,
merge_key_bindings,
)
from .scroll import (
scroll_backward,
scroll_forward,
scroll_half... | PypiClean |
/vader_sentiment-3.2.1.1.tar.gz/vader_sentiment-3.2.1.1/README.rst | ====================================
VADER-Sentiment-Analysis
====================================
VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is *specifically attuned to sentiments expressed in social media*. It is fully open-sourced under the `[MIT... | PypiClean |
/alipay-sdk-python-pycryptodome-3.3.202.tar.gz/alipay-sdk-python-pycryptodome-3.3.202/alipay/aop/api/request/AlipayUserAccountDeviceInfoUploadRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayUserAccountDeviceInfoUploadModel import AlipayUserAccountDeviceInfoUploadModel
class AlipayUserAccountDeviceInfoUploadRequest(object):
def __init__(self, biz_model=Non... | PypiClean |
/unified_planning-1.0.0-py3-none-any.whl/unified_planning/model/action.py | import unified_planning as up
from unified_planning.environment import get_environment, Environment
from unified_planning.exceptions import (
UPTypeError,
UPUnboundedVariablesError,
UPProblemDefinitionError,
UPUsageError,
)
from unified_planning.model.mixins.timed_conds_effs import TimedCondsEffs
from a... | PypiClean |
/starlink-pywrapper-0.3.tar.gz/starlink-pywrapper-0.3/starlink/atools_help/astpolygon.rst |
ASTPOLYGON
==========
Purpose
~~~~~~~
Create a Polygon
Description
~~~~~~~~~~~
This application creates a new Polygon and optionally initialises its
attributes. The Polygon class implements a polygonal area, defined by
a collection of vertices, within a 2-dimensional Frame. The vertices
are connected together by ... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_2/models/directory_service_roles_get_response.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flashblade.FB_2_2 import models
class DirectoryServiceRolesGetResponse(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
... | PypiClean |
/nutra-0.2.7.tar.gz/nutra-0.2.7/ntclient/services/recipe/utils.py | import os
import shutil
from ntclient.models import Recipe
from ntclient.services.recipe import RECIPE_HOME, RECIPE_STOCK, csv_utils
def recipes_init(_force: bool = True) -> tuple:
"""
A filesystem function which copies the stock data into
os.path.join(NUTRA_HOME, "recipes")
TODO: put filesystem ... | PypiClean |
/jk_sysinfo-0.2023.2.10.1.tar.gz/jk_sysinfo-0.2023.2.10.1/jk_sysinfo/get_apt_list_upgradable.py | import re
from jk_cachefunccalls import cacheCalls
from .parsing_utils import *
from .invoke_utils import run
#
# Returns:
#
# {
# "install": [
# "containerd",
# "linux-headers-4.4.0-159",
# "linux-headers-4.4.0-159-generic",
# "linux-image-4.4.0-159-generic",
# "linux-modules-4.4.0-159-generic",
# "l... | PypiClean |
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/querystringify/README.md | # querystringify
[](https://www.npmjs.com/package/querystringify)[](https://travis-ci.org/unshiftio/querystringify)[](https://mybinder.org/v2/gh/pyiron/pyiron_ontology/HEAD?labpath=example.ipynb)
## Overview
`pyiron_ontology` is a new pyiron project built on top of `owlready2` for ontologically-guided workflow design.
This project is currently in alpha-stage and sub... | PypiClean |
/ak_simulator-0.0.9.tar.gz/ak_simulator-0.0.9/src/gui_simulation/about_simulation_window.py | import os
import tkinter as tk
import webbrowser
from gui_simulation.gui_simulation_config import GUISimulationConfig
class AboutSimulationWindow(tk.Toplevel):
author_str = 'Juan Carlos Miranda'
author_site_str = 'https://github.com/juancarlosmiranda'
title_str = 'Azure Kinect Size Estimation & Weight Pre... | PypiClean |
/django-rte-0.4.0.tar.gz/django-rte-0.4.0/rte/static/rte/tiny_mce/plugins/media/langs/de_dlg.js | tinyMCE.addI18n('de.media_dlg',{list:"Liste",file:"Datei/URL",advanced:"Erweitert",general:"Allgemein",title:"Multimedia-Inhalte einf\u00fcgen/bearbeiten","align_top_left":"Oben Links","align_center":"Zentriert","align_left":"Links","align_bottom":"Unten","align_right":"Rechts","align_top":"Oben","qt_stream_warn":"In d... | PypiClean |
/cielcg-0.0.0.1.tar.gz/cielcg-0.0.0.1/README.md | # cielcg
alternative cgroup-tools (cgexec) implementation for both cgroup v1 and v2 (cgroup2)
following subcommands are implemented (some options might not be implemented though):
- cgclassify
- cgcreate
- cgdelete
- cgexec
- cgget
- cgset
- lscgroup
- lssubsys
these commands work for **cgroup v2** as well.
for yo... | PypiClean |
/vcd-6.0.0.tar.gz/vcd-6.0.0/tools/draw/vcd_draw_bbox.py | import cv2 as cv
import numpy as np
import vcd.core as core
import vcd.draw as draw
import vcd.schema as schema
import vcd.scl as scl
openlabel_version_name = "openlabel" + schema.openlabel_schema_version.replace(".", "")
vcd_version_name = openlabel_version_name
def draw_bboxes(vcd_file_name, image_file_name, save... | PypiClean |
/cdktf-cdktf-provider-kubernetes-9.0.0.tar.gz/cdktf-cdktf-provider-kubernetes-9.0.0/src/cdktf_cdktf_provider_kubernetes/data_kubernetes_secret_v1/__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 DataKubernetesSecretV1(
_cdktf_9a9027ec.TerraformD... | PypiClean |
/nlp_architect-0.5.4-py3-none-any.whl/nlp_architect/models/crossling_emb.py | from __future__ import print_function, division
import io
import os
import time
import numpy as np
import scipy
import tensorflow as tf
class Discriminator:
def __init__(self, input_data, Y, lr_ph):
self.input_data = input_data
self.lr_ph = lr_ph
self.do_ph = tf.placeholder(name="dropout... | PypiClean |
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/AlipayFundWalletSceneSignRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayFundWalletSceneSignModel import AlipayFundWalletSceneSignModel
class AlipayFundWalletSceneSignRequest(object):
def __init__(self, biz_model=None):
self._biz_mo... | PypiClean |
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/apimanagement/v20191201preview/get_product_policy.py |
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__all__ = [
'GetProductPolicyResult',
'AwaitableGetProductPolicyResult',
'get_product_policy',
]
@pulumi.output_type
class GetProductPolicyResult:
"""
... | PypiClean |
/wasp-launcher-0.0.2.tar.gz/wasp-launcher-0.0.2/wasp_launcher/static/angular/latest/i18n/angular-locale_fr-bi.js | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"dimanche",
"lu... | PypiClean |
/DarkNeurons-1.3.11.tar.gz/DarkNeurons-1.3.11/README.md | # Welcome to DarkNeuron !
**Dark Neuron** will deal with implementation of Automatic Deep Learning which can reduce the time and Complexity for non-technical users to train their own netwroks without Comprimising Accuracies for Classification of Images and Object Detection, most demanding tecniques for **Autonomous... | PypiClean |
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/domain/ParkingScene.py | import json
from alipay.aop.api.constant.ParamConstants import *
class ParkingScene(object):
def __init__(self):
self._car_number = None
self._in_time = None
self._parking_id = None
self._parking_name = None
@property
def car_number(self):
return self._car_number... | PypiClean |
/groupdocs-annotation-cloud-23.4.tar.gz/groupdocs-annotation-cloud-23.4/groupdocs_annotation_cloud/apis/info_api.py |
# -----------------------------------------------------------------------------------
# <copyright company="Aspose Pty Ltd">
# Copyright (c) 2003-2023 Aspose Pty Ltd
# </copyright>
# <summary>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated document... | PypiClean |
/cli/download.py | import json
import requests
import subprocess
from ..utils.video import VideoInfo
from ..utils.bangumi import BangumiInfo
from ..utils.tools import *
from ..utils.download import Downloader
class Info:
quality = 0
class DownloadUtils:
def __init__(self, type, episodes_selection, onError):
self.type,... | PypiClean |
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/contacts/item/transitive_member_of/item/graph_group/graph_group_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 |
/hyko_sdk-0.4.11.tar.gz/hyko_sdk-0.4.11/hyko_sdk/utils.py | from typing import Type
from fastapi import HTTPException, status
from pydantic import BaseModel
from .types import PyObjectId
from .metadata import HykoJsonSchemaExt, MetaData, MetaDataBase
from uuid import UUID
from io import BytesIO
import base64
import json
import httpx
from .metadata import HykoJsonSchemaExt, IOPo... | PypiClean |
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/device_management/compliance_management_partners/count/count_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 |
/holoviews-1.17.1.tar.gz/holoviews-1.17.1/examples/reference/streams/bokeh/Bounds.ipynb | #### **Title**: Bounds & selection stream example
**Description**: A linked streams example demonstrating how to use Bounds and Selection streams together.
**Dependencies** Bokeh
**Backends** [Bokeh](./Bounds.ipynb), [Plotly](../plotly/Bounds.ipynb)
```
import numpy as np
import holoviews as hv
from holoviews impo... | PypiClean |
/nexuscloud-client-1.0.9.tar.gz/nexuscloud-client-1.0.9/nexuscloud_client/model/nexus_insights_api_v1_reports_details_get200_response_entries_inner.py | import re # noqa: F401
import sys # noqa: F401
from nexuscloud_client.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 |
/cupy-13.0.0a1.tar.gz/cupy-13.0.0a1/cupyx/scipy/sparse/linalg/_eigen.py | import numpy
import cupy
from cupy import cublas
from cupyx import cusparse
from cupy._core import _dtype
from cupy.cuda import device
from cupy_backends.cuda.libs import cublas as _cublas
from cupy_backends.cuda.libs import cusparse as _cusparse
from cupyx.scipy.sparse import _csr
from cupyx.scipy.sparse.linalg impor... | PypiClean |
/octavia-12.0.0.0rc1.tar.gz/octavia-12.0.0.0rc1/doc/source/index.rst | .. octavia documentation master file
=====================
Octavia Documentation
=====================
Welcome to the OpenStack Octavia project documentation. Octavia brings
network load balancing to OpenStack.
See :doc:`reference/introduction` for an overview of Octavia.
For information on what is new see the `Oct... | PypiClean |
/coltra_rl-0.1.0.tar.gz/coltra_rl-0.1.0/coltra/schedule.py | from __future__ import annotations
from typing import Dict, Union, Any, Callable, Optional
import numpy as np
INT_MAX = 2**31 - 1
BASE_CONFIG: dict[str, int | str | float | bool | None] = {
"num_agents": 20,
"initializer": "Circle",
"dynamics": "PolarAcceleration",
"observer": "Egocentric",
"rew... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.