id stringlengths 1 8 | text stringlengths 6 1.05M | dataset_id stringclasses 1
value |
|---|---|---|
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/domain/CarRentalGoodsInfo.py | import json
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.ExtraInfo import ExtraInfo
from alipay.aop.api.domain.CarRentalGoods import CarRentalGoods
class CarRentalGoodsInfo(object):
def __init__(self):
self._goods_extra_info = None
self._goods_list = None
... | PypiClean |
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_15/models/resource_space.py | import pprint
import re
import six
import typing
from ....properties import Property
if typing.TYPE_CHECKING:
from pypureclient.flasharray.FA_2_15 import models
class ResourceSpace(object):
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is ... | PypiClean |
/ora2-5.2.5-py3-none-any.whl/openassessment/xblock/submission_mixin.py | import copy
import json
import logging
import os
from django.core.exceptions import ObjectDoesNotExist
from django.utils.functional import cached_property
from xblock.core import XBlock
from xblock.exceptions import NoSuchServiceError
from submissions.team_api import get_team_submission
from openassessment.fileuploa... | PypiClean |
/minion_data-0.2.1-py3-none-any.whl/minion_data/preparation/_re_squiggled.py | import argparse
import logging
import gzip
import h5py
from os import path
import typing
import os
from tqdm import tqdm
from typing import NamedTuple
from .. import dataset_pb2
import numpy as np
import multiprocessing as mp
import threading
from glob import glob
from .common import fillDataPoint
from minion_data.insp... | PypiClean |
/llama_index-0.8.17.tar.gz/llama_index-0.8.17/llama_index/agent/openai_agent.py | import asyncio
import json
import logging
from abc import abstractmethod
from threading import Thread
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
from llama_index.agent.types import BaseAgent
from llama_index.callbacks import (
CallbackManager,
trace_method,
CBEventType,
... | PypiClean |
/fs-django-mdeditor-0.1.24.tar.gz/fs-django-mdeditor-0.1.24/mdeditor/static/mdeditor/js/lib/codemirror/mode/python/python.js |
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use... | PypiClean |
/text-tracker-1.0.1.tar.gz/text-tracker-1.0.1/text_tracker/text_tracker.py | def track(original_file, spoken_file):
"""
Main function of the text-tracker package.
:param original_file: file containing original text, with pages separated
by lines, opened in 'r' mode
:param spoken_file: file containing spoken text, with pages separated by
lines, opened in 'r' mode
:ret... | PypiClean |
/ploomber-engine-0.0.31.tar.gz/ploomber-engine-0.0.31/src/ploomber_engine/engine.py | import warnings
import nbformat
from papermill.engines import Engine
from papermill.utils import merge_kwargs, remove_args
from papermill.log import logger
from papermill.clientwrap import PapermillNotebookClient
from ploomber_engine.papermill import PapermillPloomberNotebookClient
from ploomber_engine.ipython impor... | PypiClean |
/accelbyte_py_sdk-0.48.0.tar.gz/accelbyte_py_sdk-0.48.0/accelbyte_py_sdk/api/platform/models/achievement_info.py |
# template file: ags_py_codegen
# AccelByte Gaming Services Platform Service (4.34.0)
# pylint: disable=duplicate-code
# pylint: disable=line-too-long
# pylint: disable=missing-function-docstring
# pylint: disable=missing-module-docstring
# pylint: disable=too-many-arguments
# pylint: disable=too-many-branches
# pyl... | PypiClean |
/fastapi-0.103.0.tar.gz/fastapi-0.103.0/docs/em/docs/how-to/conditional-openapi.md | # 🎲 🗄
🚥 👆 💪, 👆 💪 ⚙️ ⚒ & 🌐 🔢 🔗 🗄 ✔ ⚓️ 🔛 🌐, & ❎ ⚫️ 🍕.
## 🔃 💂♂, 🔗, & 🩺
🕵♂ 👆 🧾 👩💻 🔢 🏭 *🚫🔜 🚫* 🌌 🛡 👆 🛠️.
👈 🚫 🚮 🙆 ➕ 💂♂ 👆 🛠️, *➡ 🛠️* 🔜 💪 🌐❔ 👫.
🚥 📤 💂♂ ⚠ 👆 📟, ⚫️ 🔜 🔀.
🕵♂ 🧾 ⚒ ⚫️ 🌅 ⚠ 🤔 ❔ 🔗 ⏮️ 👆 🛠️, & 💪 ⚒ ⚫️ 🌅 ⚠ 👆 ℹ ⚫️ 🏭. ⚫️ 💪 🤔 🎯 📨 <a hre... | PypiClean |
/scikit_allel-1.3.6-cp311-cp311-macosx_10_9_x86_64.whl/allel/stats/selection.py | import multiprocessing
from multiprocessing.pool import ThreadPool
import numpy as np
from allel.compat import memoryview_safe
from allel.util import asarray_ndim, check_dim0_aligned, check_integer_dtype
from allel.model.ndarray import HaplotypeArray, AlleleCountsArray
from allel.stats.window import moving_statisti... | PypiClean |
/redguy-api-1.0.0.tar.gz/redguy-api-1.0.0/openapi_client/api_client.py | import json
import atexit
import mimetypes
from multiprocessing.pool import ThreadPool
import io
import os
import re
import typing
from urllib.parse import quote
from urllib3.fields import RequestField
from openapi_client import rest
from openapi_client.configuration import Configuration
from openapi_client.exception... | PypiClean |
/netoprmgr-1.3.5.tar.gz/netoprmgr-1.3.5/pip/_internal/configuration.py |
import locale
import logging
import os
import sys
from pip._vendor.six.moves import configparser
from pip._internal.exceptions import (
ConfigurationError,
ConfigurationFileCouldNotBeLoaded,
)
from pip._internal.utils import appdirs
from pip._internal.utils.compat import WINDOWS, expanduser
from pip._interna... | PypiClean |
/lppydsmc_taltos-0.0.4-py3-none-any.whl/lppydsmc/utils/wall_collision.py | import numpy as np
from random import random
import numpy.ma as ma
import numexpr
# ----------------------------- Wall collision -------------------------- #
# NOTE : THE THREE FOLLOWING FUNCTIONS ARE INPLACE
def make_collisions(arr, a, ct, cp, old_count = None): # ct : collision time, cp : collision position
cou... | PypiClean |
/stratuslab-libcloud-drivers-14.06.0_RC4.tar.gz/stratuslab-libcloud-drivers-14.06.0_RC4/docs/developer_info.md | Developer Info for StratusLab Libcloud Drivers
==============================================
[Libcloud][lc-web] provides abstractions for cloud servers, cloud
storage, load balancers, and DNS. The Libcloud abstraction for cloud
servers is similar to that for StratusLab, so it should be fairly
straightforward to prov... | PypiClean |
/ElectronCounting-1.0.0.tar.gz/ElectronCounting-1.0.0/CountingNN/blocks.py | from typing import Union, Tuple
import torch
import torch.nn as nn
import torch.nn.functional as F
class ConvBlock(nn.Module):
"""
Creates block of layers each consisting of convolution operation,
leaky relu and (optionally) dropout and batch normalization
Args:
ndim:
Data dimensi... | PypiClean |
/django-admin-kit-0.0.20.tar.gz/django-admin-kit-0.0.20/README.md | # Django Admin Kit



[:
return json.dumps(xmltodict.parse(xml_data))
def to_ascii(s):
'''
Convert the bytes string to a ASCII string
Usefull to remove accent (di... | PypiClean |
/behave-jenkins-1.2.5.1.zip/behave-jenkins-1.2.5.1/behave/tag_expression.py |
import six
class TagExpression(object):
"""
Tag expression, as logical boolean expression, to select
(include or exclude) model elements.
BOOLEAN LOGIC := (or_expr1) and (or_expr2) and ...
with or_exprN := [not] tag1 or [not] tag2 or ...
"""
def __init__(self, tag_expressions):
s... | PypiClean |
/manimgl-1.6.1-py38-none-any.whl/manimlib/utils/config_ops.py | import inspect
import itertools as it
def get_all_descendent_classes(Class):
awaiting_review = [Class]
result = []
while awaiting_review:
Child = awaiting_review.pop()
awaiting_review += Child.__subclasses__()
result.append(Child)
return result
def filtered_locals(caller_loca... | PypiClean |
/catchpoint-trace-0.0.4.tar.gz/catchpoint-trace-0.0.4/catchpoint/plugins/trace/patcher.py | from __future__ import absolute_import, unicode_literals
import sys
from importlib.machinery import PathFinder, ModuleSpec, SourceFileLoader
import catchpoint.utils as utils
from catchpoint import constants
from catchpoint.config import config_names
from catchpoint.config.config_provider import ConfigProvider
from ca... | PypiClean |
/iter2-1.1-py3-none-any.whl/iter2-1.1.dist-info/DESCRIPTION.rst | # iter2
This library provides implementation of
[rich-iterator](http://code.activestate.com/recipes/498272-rich-iterator-wrapper/)
concept, inspired by
[Rust's std::iter::Iterator](https://doc.rust-lang.org/std/iter/trait.Iterator.html),
[Java's Stream](https://docs.oracle.com/javase/8/docs/api/?java/util/stream/S... | PypiClean |
/nnisgf-0.4-py3-none-manylinux1_x86_64.whl/nnisgf-0.4.data/data/nni/node_modules/lodash/_createRecurry.js | var isLaziable = require('./_isLaziable'),
setData = require('./_setData'),
setWrapToString = require('./_setWrapToString');
/** Used to compose bitmasks for function metadata. */
var WRAP_BIND_FLAG = 1,
WRAP_BIND_KEY_FLAG = 2,
WRAP_CURRY_BOUND_FLAG = 4,
WRAP_CURRY_FLAG = 8,
WRAP_PARTIAL_FLAG =... | PypiClean |
/robotframework-drupallibrary-1.0.0a1.tar.gz/robotframework-drupallibrary-1.0.0a1/README.rst | ============================
robotframework-drupallibrary
============================
RobotFramework keywords and utilities for Drupal site acceptance testings.
You may learn about RobotFramework reading from http://robotframework.org
Full documentation and API
==========================
http://alterway.github.io/... | PypiClean |
/ParmEd-4.1.0.tar.gz/ParmEd-4.1.0/parmed/formats/pdbx/PdbxContainers.py | __docformat__ = "restructuredtext en"
__author__ = "John Westbrook"
__email__ = "jwest@rcsb.rutgers.edu"
__license__ = "Creative Commons Attribution 3.0 Unported"
__version__ = "V0.01"
import re,sys,traceback
class CifName(object):
''' Class of utilities for CIF-style data names -
'''
def __ini... | PypiClean |
/Products.TinyMCE-1.4.3.tar.gz/Products.TinyMCE-1.4.3/Products/TinyMCE/skins/tinymce/plugins/table/langs/pl_dlg.js | tinyMCE.addI18n('pl.table_dlg',{"rules_border":"granica","rules_box":"ramka","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"pod","rules_above":"nad","rules_void":"void",rules:"Prowadnice","frame_all":"wszystkie","frame_cols":"kolumny","frame_rows":"wiersze","frame_gro... | PypiClean |
/ais_dom-2023.7.2-py3-none-any.whl/homeassistant/components/androidtv/diagnostics.py | from __future__ import annotations
from typing import Any
import attr
from homeassistant.components.diagnostics import async_redact_data
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_CONNECTIONS, ATTR_IDENTIFIERS, CONF_UNIQUE_ID
from homeassistant.core import HomeAssistant... | PypiClean |
/lattice_agent-0.1.2-py3-none-any.whl/lattice/elastic/events/__init__.py |
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
"""
Module contains events processing mechanisms that are integrated with the standard python logging.
Example ... | PypiClean |
/ocs_sample_library_hub-0.1.20.tar.gz/ocs_sample_library_hub-0.1.20/ocs_sample_library_preview/SDS/SdsStreamViewProperty.py | import json.decoder
class SdsStreamViewProperty(object):
"""Sds StreamView Property definition"""
@property
def SourceId(self):
"""
required
:return:
"""
return self.__sourceId
@SourceId.setter
def SourceId(self, id):
"""
required
:p... | PypiClean |
/py-openapi-schema-to-json-schema-0.0.3.tar.gz/py-openapi-schema-to-json-schema-0.0.3/openapi_schema_to_json_schema/to_jsonschema.py | import json
class InvalidTypeError(ValueError):
def __init__(self, msg):
super(InvalidTypeError, self).__init__(msg)
def _prepare(schema, options=None):
notSupported = [
'nullable', 'discriminator', 'readOnly',
'writeOnly', 'xml', 'externalDocs',
'example', 'deprecated',
... | PypiClean |
/odoo14_addon_l10n_br_nfe-14.0.2.2.1-py3-none-any.whl/odoo/addons/l10n_br_nfe/models/res_company.py |
from odoo import api, fields
from odoo.addons.spec_driven_model.models import spec_models
from ..constants.nfe import (
NFCE_DANFE_LAYOUT_DEFAULT,
NFCE_DANFE_LAYOUTS,
NFE_DANFE_LAYOUT_DEFAULT,
NFE_DANFE_LAYOUTS,
NFE_ENVIRONMENT_DEFAULT,
NFE_ENVIRONMENTS,
NFE_TRANSMISSION_DEFAULT,
NFE_... | PypiClean |
/dynamo_release-1.3.2-py3-none-any.whl/dynamo/external/hodge.py |
# Code adapted from https://github.com/kazumits/ddhodge.
from typing import Union
import numpy as np
from anndata import AnnData
from scipy.sparse import csr_matrix, issparse
from ..dynamo_logger import main_finish_progress, main_info, main_log_time
# from ..vectorfield.scVectorField import graphize_vecfld
from ..... | PypiClean |
/pybanyan-openapi-client-1.0.0.tar.gz/pybanyan-openapi-client-1.0.0/openapi_client/paths/v1_events_count/get.py | from dataclasses import dataclass
import typing_extensions
import urllib3
from urllib3._collections import HTTPHeaderDict
from openapi_client import api_client, exceptions
from datetime import date, datetime # noqa: F401
import decimal # noqa: F401
import functools # noqa: F401
import io # noqa: F401
import re # ... | PypiClean |
/memoized-property-1.0.3.tar.gz/memoized-property-1.0.3/CONTRIBUTING.rst | ============
Contributing
============
Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions
----------------------
Report Bugs
~~~~~~~~~~~
Report bugs at https://github.com/estebistec/python-me... | PypiClean |
/sosreport-3.2.0a1.tar.gz/sosreport-3.2.0a1/sos/plugins/openstack_neutron.py |
# 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 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# bu... | PypiClean |
/125softNLP-0.0.1-py3-none-any.whl/pysoftNLP/kashgari/tasks/classification/models.py |
# author: BrikerMan
# contact: eliyar917@gmail.com
# blog: https://eliyar.biz
# file: models.py
# time: 2019-05-22 11:26
import logging
import tensorflow as tf
from typing import Dict, Any
from pysoftNLP.kashgari.layers import L, AttentionWeightedAverageLayer, KMaxPoolingLayer
from pysoftNLP.kashgari.tasks.classific... | PypiClean |
/test_poetry_vp-0.1.1-py3-none-any.whl/test_poetry_vp/api/nh/generator/stock/generate_struct.py | import importlib
class StructGenerator:
"""Struct生成器"""
def __init__(self, filename: str, prefix: str):
"""Constructor"""
self.filename = filename
self.prefix = prefix
self.typedefs = {}
self.current_struct = {}
self.load_constant()
def load_constant(sel... | PypiClean |
/ldmud_asyncio-0.0.4-py3-none-any.whl/ldmud_asyncio/__init__.py | import asyncio, collections, heapq, select, selectors, signal, threading
import ldmud
class LDMudSelector(selectors.BaseSelector):
"""LDMud selector.
This selector uses the LDMud backend loop to wait for a
socket to become ready. The select function here will not wait,
instead the select results will ... | PypiClean |
/dimagi-superset-2.0.1.tar.gz/dimagi-superset-2.0.1/superset/dao/base.py | from typing import Any, Dict, List, Optional, Type, Union
from flask_appbuilder.models.filters import BaseFilter
from flask_appbuilder.models.sqla import Model
from flask_appbuilder.models.sqla.interface import SQLAInterface
from sqlalchemy.exc import SQLAlchemyError, StatementError
from sqlalchemy.orm import Session
... | PypiClean |
/data-science-common-core-1.7.8.tar.gz/data-science-common-core-1.7.8/common/model.py | import logging
import os
import pickle
from multiprocessing import cpu_count
import numpy as np
import pandas as pd
import pgzip
from catboost import CatBoostClassifier, CatBoostRegressor
from sklearn.ensemble import HistGradientBoostingRegressor
from sklearn.multioutput import MultiOutputRegressor
from src.logic impo... | PypiClean |
/nemo_toolkit-1.20.0-py3-none-any.whl/nemo/collections/nlp/data/language_modeling/megatron/indexed_dataset.py |
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# Most of the code here has been copied from:
# fairseq/fairseq/data/indexed_dataset.py
# with some modifications:
# Removed IndexedRawTe... | PypiClean |
/yolov7_d2-0.0.3.tar.gz/yolov7_d2-0.0.3/yolov7/modeling/meta_arch/utils.py | from detectron2.layers.nms import batched_nms
import torch
from torchvision.ops import boxes as box_ops
def iou(boxes, top_box):
x1 = boxes[:, 0].clamp(min=top_box[0])
y1 = boxes[:, 1].clamp(min=top_box[1])
x2 = boxes[:, 2].clamp(max=top_box[2])
y2 = boxes[:, 3].clamp(max=top_box[3])
inters = (x2... | PypiClean |
/mayan-edms-4.4.8.tar.gz/mayan-edms-4.4.8/mayan/apps/authentication/forms.py | from django import forms
from django.contrib.auth import get_user_model
from django.contrib.auth.forms import AuthenticationForm
from django.utils.translation import ugettext_lazy as _
from mayan.apps.user_management.querysets import get_user_queryset
from mayan.apps.views.forms import FilteredSelectionForm
from .per... | PypiClean |
/heat-infoblox-2.0.0.tar.gz/heat-infoblox-2.0.0/heat_infoblox/resources/netmri_managed_resource.py |
import logging
from heat.common.i18n import _
from heat.engine import properties
from heat.engine import resource
from heat.engine import support
from heat_infoblox import constants
from heat_infoblox import netmri_resource_mixin as mri
from heat_infoblox import resource_utils
LOG = logging.getLogger(__name__)
cl... | PypiClean |
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojox/widget/README | -------------------------------------------------------------------------------
dojox.widget Collection
-------------------------------------------------------------------------------
Version 1.0
Release date: 10/31/2007
-------------------------------------------------------------------------------
Project state:
[Ca... | PypiClean |
/de-studiensuche-0.1.0.tar.gz/de-studiensuche-0.1.0/deutschland/studiensuche/model/response_studienangebot_region.py | import re # noqa: F401
import sys # noqa: F401
from deutschland.studiensuche.exceptions import ApiAttributeError
from deutschland.studiensuche.model_utils import ( # noqa: F401
ApiTypeError,
ModelComposed,
ModelNormal,
ModelSimple,
OpenApiModel,
cached_property,
change_keys_js_to_python,... | PypiClean |
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/me/mail_folders/item/mail_folder_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 |
/velo-python-2.26.124b1.tar.gz/velo-python-2.26.124b1/velo_payments/__init__.py |
# flake8: noqa
"""
Velo Payments APIs
## Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor.... | PypiClean |
/pk-dlp-2023.3.4.tar.gz/pk-dlp-2023.3.4/yt_dlp/extractor/acast.py | from .common import InfoExtractor
from ..utils import (
clean_html,
clean_podcast_url,
int_or_none,
parse_iso8601,
)
class ACastBaseIE(InfoExtractor):
def _extract_episode(self, episode, show_info):
title = episode['title']
info = {
'id': episode['id'],
'dis... | PypiClean |
/wdig_cli-0.1.2.tar.gz/wdig_cli-0.1.2/wdig/queries.py | from dataclasses import dataclass
from typing import List
import pandas as pd
from rich.console import Console
from datetime import timedelta, datetime
from wdig.database import DatabaseAppSession, Transaction
from sqlalchemy import text, func
console = Console()
def query_by_period(months_back: int = 6) -> pd.Data... | PypiClean |
/wine_wrap-0.1.0.tar.gz/wine_wrap-0.1.0/README.md | # wine_wrap
A versioned wine-prefix management tool with memory-shared prefixes.
This tool simplifies the maintenance of individual wine-prefixes per executable.
Each prefix is version-controlled using git, allowing for reproducible setups.
Furthermore (if supported by host system), the prefixes are stored as subvolu... | PypiClean |
/TCL_TV_Remote-0.0.1.tar.gz/TCL_TV_Remote-0.0.1/LICENSE.md | MIT License
Copyright (c) 2021 Patrik Johansson
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 |
/shareddata-3.80.0.tar.gz/shareddata-3.80.0/src/SharedData/TableIndexJit.py | from numba.typed import List
import numpy as np
from numba import njit
###################### DATE_SYMBOL ########################
@njit(cache=True)
def create_pkey_date_symbol_jit(records, count, pkey, dateiniidx, dateendidx, dateunit, start):
n = pkey.size-1
for i in range(start, count):
intdt = np.... | PypiClean |
/steam_sdk-2023.6.29-py3-none-any.whl/steam_sdk/data/DataLEDETOptions.py | from pydantic import BaseModel
from typing import (List, Union)
class TimeVectorLEDET(BaseModel):
"""
Level 2: Class for simulation time vector in LEDET
"""
time_vector_params: List[float] = []
class MagnetInductance(BaseModel):
"""
Level 2: Class for magnet inductance assignment
... | PypiClean |
/Microbe-1.2.tar.gz/Microbe-1.2/microbe/static/js/vizhash.min.js | var hexcase=0;var b64pad="";function hex_md5(a){return rstr2hex(rstr_md5(str2rstr_utf8(a)))}function rstr_md5(a){return binl2rstr(binl_md5(rstr2binl(a),a.length*8))}function rstr2hex(c){try{hexcase}catch(g){hexcase=0}var f=hexcase?"0123456789ABCDEF":"0123456789abcdef";var b="";var a;for(var d=0;d<c.length;d++){a=c.char... | PypiClean |
/Argonaut-0.3.4.tar.gz/Argonaut-0.3.4/argonaut/public/ckeditor/_source/lang/fr-ca.js | /*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Canadian French language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the dictiona... | PypiClean |
/more.jsonschema-0.2.tar.gz/more.jsonschema-0.2/CHANGES.rst | CHANGES
*******
0.2 (2020-04-26)
================
- **Removed**: Removed support for Python 2 and Python 3.4 and 3.5.
You have to upgrade to Python 3 if you want to use this version.
- Added support for Python 3.6, 3.7 and 3.8 and PyPy 3.6.
- Make Python 3.7 the default testing environment.
- Upgrade jsonsche... | PypiClean |
/Pillow-SIMD-9.0.0.post0.tar.gz/Pillow-SIMD-9.0.0.post0/src/PIL/GimpGradientFile.py | from math import log, pi, sin, sqrt
from ._binary import o8
EPSILON = 1e-10
"""""" # Enable auto-doc for data member
def linear(middle, pos):
if pos <= middle:
if middle < EPSILON:
return 0.0
else:
return 0.5 * pos / middle
else:
pos = pos - middle
mi... | PypiClean |
/django_bootstrap5-23.3.tar.gz/django_bootstrap5-23.3/CONTRIBUTING.md | # Contributing
Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
You can contribute in many ways:
## Types of Contributions
### Report Bugs
Report bugs at <https://github.com/zostera/django-bootstrap5/issues>.
If you are reporting a bug, please i... | PypiClean |
/django_watcher-1.2.3-py3-none-any.whl/django_watcher/mixins.py | from typing import TYPE_CHECKING, Any, Dict, List, Tuple, TypeVar, Union, cast
from django.db import models
from typing_extensions import TypedDict
from .abstract_watcher import AbstractWatcher
class _MetaParams(TypedDict):
source: str
operation_params: dict
class MetaParams(_MetaParams, total=False):
... | PypiClean |
/rsa_archer-0.1.9.tar.gz/rsa_archer-0.1.9/README.md | Library to work with Archer REST and Content APIs
===========================================
My original objective was to create Office365 mail to Archer Incidents application connector.Script captures the email, checks if there is an incident ID assigned and add the email to comments section (sub form) in archer reco... | PypiClean |
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/streptomycespurpureus.py | from typing import Dict
from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph
from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error
def StreptomycesPurpureus(
directed: bool = False,
verbose: int = 2,
cache_path: str = "graphs/string",
**additional_graph_kwargs: ... | PypiClean |
/ciefunctions-1.0.2.tar.gz/ciefunctions-1.0.2/tc1_97/MathJax-2.7.5/unpacked/jax/output/SVG/fonts/Asana-Math/Main/Regular/Main.js | MathJax.OutputJax['SVG'].FONTDATA.FONTS['AsanaMathJax_Main'] = {
directory: 'Main/Regular',
family: 'AsanaMathJax_Main',
id: 'ASANAMATHMAIN',
0x20: [0,0,249,0,0,''],
0x21: [694,5,277,81,197,'138 111c31 0 59 -28 59 -58c0 -31 -28 -58 -60 -58c-29 0 -56 28 -56 58s27 58 57 58zM160 694h34v-25c0 -56 -10 -109 -12 -14... | PypiClean |
/pyextoverlay-1.1.4-py3-none-any.whl/pyextoverlay.py | from PyQt5 import QtWidgets, QtCore, QtGui
import sys
# Coded by Xenely
# Структурные классы
class Alignment:
left = QtCore.Qt.AlignLeft
center = QtCore.Qt.AlignCenter
right = QtCore.Qt.AlignRight
class PenType:
dot = QtCore.Qt.DotLine
dash = QtCore.Qt.DashLine
solid = QtCore.Qt.SolidLine... | PypiClean |
/django-bulbs-3.25.0.tar.gz/django-bulbs-3.25.0/bulbs/content/migrations/0001_initial.py | from __future__ import unicode_literals
import django
from django.db import models, migrations
from django.conf import settings
import djbetty.fields
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
if django.VERSION >= (1,... | PypiClean |
/pixelpin-auth-core-1.0.3.tar.gz/pixelpin-auth-core-1.0.3/.eggs/nose-1.3.7-py2.7.egg/nose/plugins/debug.py | import pdb
from nose.plugins.base import Plugin
class Pdb(Plugin):
"""
Provides --pdb and --pdb-failures options that cause the test runner to
drop into pdb if it encounters an error or failure, respectively.
"""
enabled_for_errors = False
enabled_for_failures = False
score = 5 # run last, ... | PypiClean |
/fds.sdk.ForeignExchangeRate-1.0.6-py3-none-any.whl/fds/sdk/ForeignExchangeRate/api/forwards_api.py | import re # noqa: F401
import sys # noqa: F401
from multiprocessing.pool import ApplyResult
import typing
from fds.sdk.ForeignExchangeRate.api_client import ApiClient, Endpoint as _Endpoint
from fds.sdk.ForeignExchangeRate.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
... | PypiClean |
/schemaorg_types-0.4.0.tar.gz/schemaorg_types-0.4.0/schemaorg_types/DonateAction.py | from __future__ import annotations
from datetime import *
from time import *
from typing import *
from pydantic import *
class DonateAction(BaseModel):
"""The act of providing goods, services, or money without compensation, often for philanthropic reasons.
References:
https://schema.org/DonateActio... | PypiClean |
/picsellia_tf1-0.6-py3-none-any.whl/picsellia_tf1/object_detection/builders/calibration_builder.py | import tensorflow.compat.v1 as tf
from object_detection.utils import shape_utils
def _find_interval_containing_new_value(x, new_value):
"""Find the index of x (ascending-ordered) after which new_value occurs."""
new_value_shape = shape_utils.combined_static_and_dynamic_shape(new_value)[0]
x_shape = shape_utils.... | PypiClean |
/gardener_cicd_libs-1.2143.0-py3-none-any.whl/oci/platform.py | import dataclasses
import typing
import dacite
import oci.client as oc
import oci.model as om
def from_manifest(
image_reference: om.OciImageReference,
manifest: om.OciImageManifest,
oci_client: oc.Client=None,
base_platform: om.OciPlatform=None,
) -> om.OciPlatform:
if base_platform:
cf... | PypiClean |
/drf_stripe_subscription36-1.1.11.5-py3-none-any.whl/drf_stripe/migrations/0001_initial.py |
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
... | PypiClean |
/dschmidt-cdktf-provider-google_beta-0.1.0.tar.gz/dschmidt-cdktf-provider-google_beta-0.1.0/src/dschmidt_cdktf_provider_google_beta/google_cloudiot_registry_iam_member/__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
import constructs
class GoogleCloudiotRegistryIamMember(
cdktf.TerraformResource,
metaclass=jsii.JSIIMeta,
js... | PypiClean |
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/request/AlipayBusinessOrderCreateRequest.py | import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayBusinessOrderCreateModel import AlipayBusinessOrderCreateModel
class AlipayBusinessOrderCreateRequest(object):
def __init__(self, biz_model=None):
self._biz_mo... | PypiClean |
/oarepo_model_builder-4.0.38-py3-none-any.whl/oarepo_model_builder/datatypes/components/model/permissions.py | import marshmallow as ma
from oarepo_model_builder.datatypes import DataTypeComponent, ModelDataType
from oarepo_model_builder.utils.python_name import parent_module
from oarepo_model_builder.validation.utils import ImportSchema
from .defaults import DefaultsModelComponent
from .service import ServiceModelComponent
f... | PypiClean |
/cubicweb-web-1.2.1.tar.gz/cubicweb-web-1.2.1/cubicweb_web/data/jquery.tablesorter.js | *
* @description Create a sortable table with multi-column sorting capabilitys
*
* @example $('table').tablesorter();
* @desc Create a simple tablesorter interface.
*
* @example $('table').tablesorter({ sortList:[[0,0],[1,0]] });
* @desc Create a tablesorter interface and sort on the first and secound column co... | PypiClean |
/cdktf_cdktf_provider_launchdarkly-2.0.1-py3-none-any.whl/cdktf_cdktf_provider_launchdarkly/audit_log_subscription/__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 AuditLogSubscription(
_cdktf_9a9027ec.TerraformRes... | PypiClean |
/swift-2.32.0.tar.gz/swift-2.32.0/doc/source/metrics/container_auditor.rst | ``container-auditor`` Metrics
=============================
============================== ====================================================
Metric Name Description
------------------------------ ----------------------------------------------------
``container-auditor.errors`` Incremented w... | PypiClean |
/nats-py-2.3.1.tar.gz/nats-py-2.3.1/nats/aio/client.py |
from __future__ import annotations
import asyncio
import base64
import ipaddress
import json
import logging
import ssl
import time
import string
from dataclasses import dataclass
from email.parser import BytesParser
from random import shuffle
from secrets import token_hex
from typing import (
Any,
Awaitable,
... | PypiClean |
/bimdata_api_client-9.18.1-py3-none-any.whl/bimdata_api_client/model/user_project.py | import re # noqa: F401
import sys # noqa: F401
from bimdata_api_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 |
/pulumi_google_native-0.31.2a1689827148.tar.gz/pulumi_google_native-0.31.2a1689827148/pulumi_google_native/beyondcorp/v1alpha/net_connection_iam_binding.py |
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from ... import iam as _iam
__all__ = ['NetConnectionIamBindingArgs', 'NetConnectionIamBinding']
@pulumi.input_type
class NetConnectionIamBindingArgs:
de... | PypiClean |
/jupyros-0.7.0a0.tar.gz/jupyros-0.7.0a0/js/node_modules/three/examples/js/ShaderTerrain.js | THREE.ShaderTerrain = {
/* -------------------------------------------------------------------------
// Dynamic terrain shader
// - Blinn-Phong
// - height + normal + diffuse1 + diffuse2 + specular + detail maps
// - point, directional and hemisphere lights (use with "lights: true" material option)
// - shad... | PypiClean |
/dbpedia_ent-0.1.9-py3-none-any.whl/dbpedia_ent/dto/ent/n1/v/trie_vm.py |
d_trie_vm = {'_': ['vm2000', 'vm/386', 'vm-t', 'vm86'],
'a': ['vmayakovsky',
'vmat-203',
'vma-312',
'vma-542',
'vma-112',
'vma-513',
'vma-233',
'vma-141',
'vma-212',
'vma-142',
'vma-543',
'vma-241',
'vma-331',
'vma-311',
... | PypiClean |
/PyCIM-15.15.0.tar.gz/PyCIM-15.15.0/CIM14/ENTSOE/Dynamics/IEC61970/Dynamics/DynamicsMetaBlockConnectable.py |
from CIM14.ENTSOE.Dynamics.IEC61970.Core.CoreIdentifiedObject import CoreIdentifiedObject
class DynamicsMetaBlockConnectable(CoreIdentifiedObject):
def __init__(self, MetaBlockParameterReference=None, StandardControlBlock_MetaBlockInputReference=None, MetaBlockStateReference=None, StandardControlBlock_MetaBlockS... | PypiClean |
/nniv04-0.4.1-py3-none-any.whl/nniv04-0.4.1.data/data/nni/node_modules/moment/src/locale/fr.js |
import moment from '../moment';
export default moment.defineLocale('fr', {
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
monthsParseExact : true,
wee... | PypiClean |
/ansys_optislang_core-0.3.0-py3-none-any.whl/ansys/optislang/core/nodes.py | from __future__ import annotations
import copy
from enum import Enum
from typing import TYPE_CHECKING, Dict, Iterable, List, Tuple, Union
from ansys.optislang.core.project_parametric import (
ConstraintCriterion,
CriteriaManager,
Design,
LimitStateCriterion,
ObjectiveCriterion,
ParameterManage... | PypiClean |
/dschmidt-cdktf-provider-google-0.0.1.tar.gz/dschmidt-cdktf-provider-google-0.0.1/src/dschmidt_cdktf_provider_google/cloud_identity_group/__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
import constructs
class CloudIdentityGroup(
cdktf.TerraformResource,
metaclass=jsii.JSIIMeta,
jsii_type="@dsc... | PypiClean |
/PyCIM-15.15.0.tar.gz/PyCIM-15.15.0/CIM14/IEC61968/PaymentMetering/Receipt.py |
from CIM14.IEC61970.Core.IdentifiedObject import IdentifiedObject
class Receipt(IdentifiedObject):
"""Record of total receipted payment from customer.
"""
def __init__(self, isBankable=False, CashierShift=None, Tenders=None, VendorShift=None, Transactions=None, line=None, *args, **kw_args):
"""In... | PypiClean |
/humblesetuptools-3.4.5.tar.gz/humblesetuptools-3.4.5/setuptools/command/install_scripts.py | from distutils.command.install_scripts import install_scripts \
as _install_scripts
from pkg_resources import Distribution, PathMetadata, ensure_directory
import os
from distutils import log
class install_scripts(_install_scripts):
"""Do normal script install, plus any egg_info wrapper scripts"""
def ini... | PypiClean |
/genpipes-suite-0.0a0.tar.gz/genpipes-suite-0.0a0/genpipes/pipelines/rnaseq_denovo_assembly/rnaseq_denovo_assembly.py |
################################################################################
# Copyright (C) 2014, 2022 GenAP, McGill University and Genome Quebec Innovation Centre
#
# This file is part of MUGQIC Pipelines.
#
# MUGQIC Pipelines is free software: you can redistribute it and/or modify
# it under the terms of the GN... | PypiClean |
/IndustryGuesser-0.1.3.tar.gz/IndustryGuesser-0.1.3/industryguesser/encoder.py | import os
import re
import pickle
import logging
from sklearn.preprocessing import LabelEncoder
from tensorflow.keras.utils import to_categorical
from tensorflow.keras.preprocessing.text import Tokenizer
from tensorflow.keras.preprocessing.sequence import pad_sequences
from industryguesser import PARENT_DIR
logger = ... | PypiClean |
/fuzzy_search-2.0.1a0.tar.gz/fuzzy_search-2.0.1a0/fuzzy_search/search/phrase_searcher.py | import time
from typing import Dict, List, Union
from fuzzy_search.phrase.phrase_model import PhraseModel
from fuzzy_search.match.phrase_match import PhraseMatch
from fuzzy_search.match.phrase_match import Candidate
from fuzzy_search.match.phrase_match import adjust_match_offsets
from fuzzy_search.match.phrase_match i... | PypiClean |
/lightning-app-2.1.0rc0.tar.gz/lightning-app-2.1.0rc0/src/lightning_app/utilities/app_commands.py |
import logging
import os
import subprocess
from dataclasses import dataclass, field
from typing import List
from lightning_app.utilities.exceptions import MisconfigurationException
logger = logging.getLogger(__name__)
# These are common lines at the top of python files which conflict with our
# command syntax but w... | PypiClean |
/planetary_test_data-0.4.0.tar.gz/planetary_test_data-0.4.0/docs/index.rst | .. planetary_test_data documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Planetary Test Data's documentation!
==========================================... | PypiClean |
/dbpedia_ent-0.1.9-py3-none-any.whl/dbpedia_ent/dto/syn/n3/s/rev_se.py |
d_rev_se = {'se-r_spec_v': 'nissan_sentra',
'se_210_caravelle': 'sud_aviation_caravelle',
'se_da_guarda': 'cathedral_of_guarda',
'se_de_lisboa': 'lisbon_cathedral',
'se_gwang_ri': 'ri_se_gwang',
'se_lim_oh': 'oh_se-lim',
'se_pon_river': 'sepon_river',
'se_postal_area': 'london_postal_district',
'se_stiamo_ins... | PypiClean |
/refinitiv-data-1.3.1.tar.gz/refinitiv-data-1.3.1/refinitiv/data/content/ownership/consolidated/_breakdown_definition.py | from typing import Union, TYPE_CHECKING
from .._enums import StatTypes
from ..._content_data import Data
from ..._content_provider_layer import ContentUsageLoggerMixin
from ...._content_type import ContentType
from ...._tools import validate_types, validate_bool_value, try_copy_to_list
from ....delivery._data._data_pr... | PypiClean |
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_en-pk.js | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | PypiClean |
/tablib-garetjax-0.9.12.tar.gz/tablib-garetjax-0.9.12/tablib/packages/openpyxl/reader/iter_worksheet.py |
# Copyright (c) 2010 openpyxl
#
# 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, distribut... | PypiClean |
/vk.py-1.0.0a6-1.0.0.tar.gz/vk.py-1.0.0a6-1.0.0/vk/types/community.py | from .base import BaseModel
from .additional import City, Country, Place
from .attachments import MarketPriceCurrency
from enum import IntEnum
import typing
# https://vk.com/dev/objects/group
class CommunityBanInfo(BaseModel):
end_date: int = None
comment: str = None
class CommunityContacts(BaseModel):
... | PypiClean |
/pyorbit-package-10.0.7.tar.gz/pyorbit-package-10.0.7/pyorbit/models/correlated_jitter.py | import numpy.polynomial.polynomial
from pyorbit.models.abstract_model import *
class LocalCorrelatedJitter(AbstractModel):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.model_class = 'local_correlated_jitter'
self.jitter_model = True
self.list_pams_... | PypiClean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.