id
stringlengths
1
265
text
stringlengths
6
5.19M
dataset_id
stringclasses
7 values
/Flask-CKEditor-0.4.6.tar.gz/Flask-CKEditor-0.4.6/flask_ckeditor/static/standard/plugins/a11yhelp/dialogs/lang/af.js
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("a11yhelp","af",{title:"Toeganglikheid instruksies",contents:"Hulp inhoud. Druk ESC om toe te maak.",legend:[{name:"Algemeen",ite...
PypiClean
/DA4RDM_Vis_VectorBased-0.1.1-py3-none-any.whl/DA4RDM_Vis_VectorBased/Evaluate.py
def eval_corr(data_path, project_id, start_date="", end_date="", operation_list_path="", eval_feature="pearson", eval_type="binary"): import sys from DA4RDM_Vis_VectorBased.Timestamp import extract_timestamp from dateutil.relativedelta import relativedelta import pandas as pd from DA4R...
PypiClean
/CSCN73030_Attendance_Module-0.18.0-py3-none-any.whl/Attendance/static/scripts/index.js
function goHome() { fetch("/api/home_url") .then(res => res.json()) .then((j) => { if ("url" in j) { console.log("Going to ", j.url) window.location = (j.url) } else { alert("Error trying to go home. Received: " + j.toString()) ...
PypiClean
/observations-0.1.4.tar.gz/observations-0.1.4/observations/r/us_classified_docs.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def us_classified_docs(path): """Official Secrecy of the United States Government Data on clas...
PypiClean
/HybridUI-0.0.1.tar.gz/HybridUI-0.0.1/hybrid/elements/menu.py
from typing import List, Union, Literal, Callable, Optional from ..element import Element # Annahme: `Element` und andere Abhängigkeiten sind bereits definiert class Menu(Element): def __init__( self, content: List[Element] = None, defaultOpenKeys = None, defaultSelectedKeys= None,...
PypiClean
/searchspaces/DARTS_rerun_config.py
import ConfigSpace as CS import ConfigSpace.hyperparameters as CSH import os import csv import time from HPO.utils.ConfigStruct import Parameter, Cumulative_Integer_Struct, LTP_Parameter """ TODO Seperate Pooling and Convolution Layers Add more convolution operations (kernalSize and maybe stride) """ def init_conf...
PypiClean
/CADPR-0.1.1-py3-none-any.whl/_SnowflakeDependencies.py
class SnowflakeDependencies: import pandas def snowflake_dependencies(self, tables: str | list, username: str, warehouse: str, role: str, database: str | No...
PypiClean
/NlpToolkit-Deasciifier-1.0.18.tar.gz/NlpToolkit-Deasciifier-1.0.18/Deasciifier/SimpleAsciifier.py
from Corpus.Sentence import Sentence from Dictionary.Word import Word from Deasciifier.Asciifier import Asciifier class SimpleAsciifier(Asciifier): def asciifyWord(self, word: Word) -> str: """ The asciifyWord method takes a Word as an input. Then, loops i times where i ranges from 0 to ...
PypiClean
/BIA_OBS-1.0.3.tar.gz/BIA_OBS-1.0.3/BIA/static/dist/node_modules/postcss-import/lib/parse-statements.js
"use strict" // external tooling const valueParser = require("postcss-value-parser") // extended tooling const { stringify } = valueParser function split(params, start) { const list = [] const last = params.reduce((item, node, index) => { if (index < start) return "" if (node.type === "div" && node.value...
PypiClean
/ICD_Interfaces-1.0-py3-none-any.whl/ICD_Interfaces/RAM.py
from models.interfaces import OutputSignal, InputSignal class RAM_OUTPUT_MESSAGE(OutputSignal): def __init__(self)->None: super().__init__() self.name = '' self.application_name = '' self.ram_port_id = '' self.port_type = '' self.port_length = '' self.port_...
PypiClean
/Elixir-0.7.1.tar.gz/Elixir-0.7.1/elixir/ext/associable.py
from elixir.statements import Statement import sqlalchemy as sa __doc_all__ = ['associable'] def associable(assoc_entity, plural_name=None, lazy=True): ''' Generate an associable Elixir Statement ''' interface_name = assoc_entity._descriptor.tablename able_name = interface_name + 'able' if p...
PypiClean
/MezzanineFor1.7-3.1.10.tar.gz/MezzanineFor1.7-3.1.10/mezzanine/blog/management/commands/import_wordpress.py
from __future__ import unicode_literals from future.builtins import int from collections import defaultdict from datetime import datetime, timedelta from optparse import make_option import re from time import mktime, timezone from xml.dom.minidom import parse from django.core.management.base import CommandError from ...
PypiClean
/Office365_REST_with_timeout-0.1.1-py3-none-any.whl/office365/directory/audit/audit_log_root.py
from office365.directory.audit.directory_audit import DirectoryAudit from office365.directory.audit.provisioning_object_summary import ProvisioningObjectSummary from office365.directory.audit.signIn import SignIn from office365.entity import Entity from office365.entity_collection import EntityCollection from office365...
PypiClean
/ARGs_OAP-2.3.2.tar.gz/ARGs_OAP-2.3.2/ARGs_OAP/bin/bbmap/a_sample_mt.sh
usage(){ echo " Written by Brian Bushnell Last modified July 31, 2019 Description: Does nothing. Should be fast. This is a template for making wrappers for new tools. Usage: a_sample_mt.sh in=<input file> out=<output file> Input may be fasta or fastq, compressed or uncompressed. Standard parameters: in=<file> ...
PypiClean
/NewsAnalyzer-0.0.2.tar.gz/NewsAnalyzer-0.0.2/newsanalyzer/dataTransform.py
import pandas as pd import numpy as np import time import csv import spacy from spacy import displacy from collections import Counter from dict2CSV import to_dict import en_core_web_sm from dataCleaning import time_checker from financial_data import get_fin_data from multiprocessing import Pool import dask.dataframe as...
PypiClean
/FlaskCms-0.0.4.tar.gz/FlaskCms-0.0.4/flask_cms/static/js/ckeditor/plugins/codemirror/js/mode/javascript/javascript.js
// TODO actually recognize syntax of TypeScript constructs (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 brows...
PypiClean
/Ctrax-0.5.8.linux-x86_64.tar.gz/usr/local/lib/python2.7/dist-packages/psutil/_pswindows.py
import contextlib import errno import functools import os import sys from collections import namedtuple from . import _common from . import _psutil_windows as cext from ._common import conn_tmap from ._common import isfile_strict from ._common import parse_environ_block from ._common import sockfam_to_enum from ._comm...
PypiClean
/KegStorage-0.5.11.tar.gz/KegStorage-0.5.11/keg_storage/backends/base.py
import enum import hashlib import time import typing from datetime import datetime import arrow from authlib import jose from keg_storage.utils import expire_time_to_seconds ProgressCallback = typing.Callable[[int], None] class ListEntry(typing.NamedTuple): name: str last_modified: arrow.Arrow size: in...
PypiClean
/Flask_BS4-5.3.1.0-py3-none-any.whl/flask_bs4/static/popper.min.js
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=...
PypiClean
/GailBot-0.2a0-py3-none-any.whl/gailbot/services/converter/payload/payloadObject.py
from abc import ABC from typing import List, Dict import os from enum import Enum from datetime import datetime from gailbot.core.utils.general import write_json, copy, is_file from gailbot.configs import OutputFolder, TemporaryFolder from gailbot.core.utils.logger import makelogger from ...organizer.source import Sour...
PypiClean
/IM-1.14.0.tar.gz/IM-1.14.0/contextualization/ctxt_agent.py
import argparse import sys import os import getpass import json import time from IM.CtxtAgentBase import CtxtAgentBase class CtxtAgent(CtxtAgentBase): def wait_thread(self, thread_data, output=None): """ Wait for a thread to finish """ thread, result = thread_data threa...
PypiClean
/Config-editor-0.9.2.tar.gz/Config-editor-0.9.2/config_editor/json_editor.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
PypiClean
/DendroPy_calver-2023.330.2-py3-none-any.whl/dendropy/utility/deprecate.py
############################################################################## ## DendroPy Phylogenetic Computing Library. ## ## Copyright 2010-2015 Jeet Sukumaran and Mark T. Holder. ## All rights reserved. ## ## See "LICENSE.rst" for terms and conditions of usage. ## ## If you use this work or any portion there...
PypiClean
/FamcyDev-0.3.71-py3-none-any.whl/Famcy/bower_components/bootstrap-table/src/locale/README.md
[List of All Locales and Their Short Codes](https://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm) Table bellow is sorted ascending by language code. If case of add new translation, please remove missing from comment. | Language Name | Language ...
PypiClean
/HDRezka-3.0.3.tar.gz/HDRezka-3.0.3/hdrezka/post/post.py
from .info import PostInfo from .urls import long_url, short_url from .._bs4 import BeautifulSoup from ..api.http import get_response from ..translators import Translators __all__ = ('Post',) class Post: """Stores information about the post""" __slots__ = ('url', 'translator_id', 'id', 'name', 'type', 'info'...
PypiClean
/CompOSE_to_SC-1.0.2-py3-none-any.whl/CompOSE_to_SC/conversion.py
import numpy as np import os import h5py from CompOSE_to_SC.ConstantsAndConversions import * from collections import OrderedDict import warnings def conv_h5(filename,new_file): """Convert H5 Convert an H5 file from the CompOSE format to the stellarcollapse format Args: filename (str): input file ...
PypiClean
/LumberMill-0.9.5.7-py3-none-any.whl/lumbermill/utils/Decorators.py
import codecs import sys import functools import threading import re import ast import collections def Singleton(class_): instances = {} def getinstance(*args, **kwargs): if class_ not in instances: instances[class_] = class_(*args, **kwargs) return instances[class_] return g...
PypiClean
/Newcalls-0.0.1-cp37-cp37m-win_amd64.whl/newcalls/node_modules/@types/node/stream/web.d.ts
declare module 'stream/web' { // stub module, pending copy&paste from .d.ts or manual impl // copy from lib.dom.d.ts interface ReadableWritablePair<R = any, W = any> { readable: ReadableStream<R>; /** * Provides a convenient, chainable way of piping this readable stream * t...
PypiClean
/GraphQL_core_next-1.1.1-py3-none-any.whl/graphql/validation/rules/known_directives.py
from typing import cast, Dict, List, Union from ...error import GraphQLError from ...language import ( DirectiveLocation, DirectiveDefinitionNode, DirectiveNode, Node, OperationDefinitionNode, ) from ...type import specified_directives from . import ASTValidationRule, SDLValidationContext, Validati...
PypiClean
/LabExT_pkg-2.2.0.tar.gz/LabExT_pkg-2.2.0/LabExT/Instruments/InstrumentAPI/_Instrument.py
import logging from functools import wraps import pyvisa from pyvisa import InvalidSession from LabExT.Instruments.ReusingResourceManager import ReusingResourceManager from LabExT.Utils import get_visa_lib_string try: from LabExT.ExperimentManager import RESOURCE_MANAGER except ImportError: RESOURCE_MANAGER ...
PypiClean
/MacSyFinder-2.1.2.tar.gz/MacSyFinder-2.1.2/macsypy/solution.py
import itertools import networkx as nx from macsypy.system import RejectedCandidate class Solution: """ Handle Solution, a solution is a set of compatible Systems when compare solutions we check the following criteria 1. The number of hits 2. The number of systems 3. The averag...
PypiClean
/icingadirectorapi-1.0.7.tar.gz/icingadirectorapi-1.0.7/README.md
# IcingaDirectorAPI IcingaDirectorAPI is a small module to interact with the [Icinga Director REST API](https://icinga.com/docs/icinga-director/latest/doc/70-REST-API/), written in [Python](http://www.python.org). It is compatible with the most recent Director version (1.10) only. # Features - simple authentication ...
PypiClean
/MetaGram-2.0.2.tar.gz/MetaGram-2.0.2/pyrogram/methods/messages/stream_media.py
import math from typing import Union, Optional, BinaryIO import pyrogram from pyrogram import types from pyrogram.file_id import FileId class StreamMedia: async def stream_media( self: "pyrogram.Client", message: Union["types.Message", str], limit: int = 0, offset: int = 0 ) ...
PypiClean
/Lantz-0.3.zip/Lantz-0.3/lantz/drivers/legacy/tektronix/tds2024b.py
import struct import numpy as np from lantz.feat import Feat from lantz.action import Action from lantz.drivers.legacy.visa import VisaDriver class TDS2024(VisaDriver): """Tektronix TDS2024 200 MHz 4 Channel Digital Real-Time Oscilloscope """ def __init__(self, port): super().__init__(port) ...
PypiClean
/EZlogR-0.1.tar.gz/EZlogR-0.1/ezlogr/__init__.py
import json import logging import datetime class Ezlogr(object): def __init__(self, filename=None, tags=None): """Thisis the main setup method for Ezlogr. Here we pull in the filename and tags, as well as setup the logger. The formatting here is minimal because we will be saving everything ...
PypiClean
/Feedjack-16.8.1.tar.gz/Feedjack-16.8.1/feedjack/templatetags/html.py
from __future__ import unicode_literals import itertools as it, operator as op, functools as ft from hashlib import sha256 as hash_func from django.template.defaultfilters import stringfilter from django.utils.safestring import SafeData, mark_safe from django import template register = template.Library() from feed...
PypiClean
/GFP_TEST-0.1.0.tar.gz/GFP_TEST-0.1.0/util/tools.py
import json import os import re import logging import requests from scrapy.utils.response import get_base_url from urllib.parse import urljoin from scrapy.http import Response import arrow def mrkdir(path): if not os.path.isdir(path): mrkdir(os.path.split(path)[0]) else: return os.mkdir(pa...
PypiClean
/Generic%20model%20class-0.0.3.tar.gz/Generic model class-0.0.3/MontyCarlo/materials/photon/incoherent/incoherent.py
#External Imports from numpy import * from scipy.interpolate import * from scipy.integrate import * from numba import njit #Internal Imports #from .photon import Photon from ....tools.CStools import TotalCrossSection from ....tools.RITA import RationalInterpolation from ....tools.data import getAxis #dealing with pa...
PypiClean
/Mantissa-0.9.0.tar.gz/Mantissa-0.9.0/xmantissa/signup.py
import os, rfc822, hashlib, time, random from itertools import chain from zope.interface import Interface, implements from twisted.cred.portal import IRealm from twisted.python.components import registerAdapter from twisted.mail import smtp, relaymanager from twisted.python.util import sibpath from twisted.python im...
PypiClean
/FlexGet-3.9.6-py3-none-any.whl/flexget/components/status/db.py
import datetime from datetime import timedelta from loguru import logger from sqlalchemy import Boolean, Column, DateTime, Index, Integer, String, func, select from sqlalchemy.ext.hybrid import hybrid_property from sqlalchemy.orm import relationship from sqlalchemy.schema import ForeignKey from flexget import db_sche...
PypiClean
/MatchZoo-test-1.0.tar.gz/MatchZoo-test-1.0/matchzoo/modules/matching.py
import typing import torch import torch.nn as nn import torch.nn.functional as F class Matching(nn.Module): """ Module that computes a matching matrix between samples in two tensors. :param normalize: Whether to L2-normalize samples along the dot product axis before taking the dot product. ...
PypiClean
/CADET-Process-0.7.3.tar.gz/CADET-Process-0.7.3/CADETProcess/fractionation/fractionator.py
from functools import wraps import os from addict import Dict import numpy as np from CADETProcess import CADETProcessError from CADETProcess import settings from CADETProcess.dataStructure import String from CADETProcess.dynamicEvents import EventHandler from CADETProcess import plotting from CADETProcess.performanc...
PypiClean
/Bempp-cl-0.3.1.tar.gz/Bempp-cl-0.3.1/bempp/api/integration/gauss.py
# This file is based on the Hyena file gausstria.hpp, # which was released under the MIT License for the Bempp project. # The original license message is below # Copyright (C) 2009-2010 Matthias Messner, Michael Messner, Franz # Rammerstorfer, Peter Urthaler # # Permission is hereby granted, free of charge, to any pe...
PypiClean
/DjangoPackage-0.0.2.tar.gz/DjangoPackage-0.0.2/README.rst
===== DjangoAWS ===== Polls is a simple Django app to conduct Web-based polls. For each question, visitors can choose between a fixed number of answers. Detailed documentation is in the "docs" directory. Quick start ----------- 1. Add "blog" to your INSTALLED_APPS setting like this:: INSTALLED_APPS = [ ...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/jax/output/HTML-CSS/fonts/STIX-Web/Normal/Bold/Main.js
MathJax.OutputJax["HTML-CSS"].FONTDATA.FONTS["STIXMathJax_Normal-bold"]={directory:"Normal/Bold",family:"STIXMathJax_Normal",weight:"bold",testString:"\u00A0\u210E\uD835\uDC00\uD835\uDC01\uD835\uDC02\uD835\uDC03\uD835\uDC04\uD835\uDC05\uD835\uDC06\uD835\uDC07\uD835\uDC08\uD835\uDC09\uD835\uDC0A\uD835\uDC0B\uD835\uDC0C"...
PypiClean
/GoogleLocationUtility-0.1.0a1.tar.gz/GoogleLocationUtility-0.1.0a1/docs/Mapping.md
#### Function Pages [Location Processing](/docs/Location%20Processing.md) • [Location Filtering](/docs/Location%20Filtering.md) • [Location Reporting](/docs/Location%20Reporting.md) • [geoTag and geoStrip](/docs/geoTag.md) [Getting Started](/docs#getting-started) # Location Mapping [mapMe.py](/src/GLU/mapMe.py) **...
PypiClean
/MAVR-0.93.tar.gz/MAVR-0.93/scripts/annotation/exonerate/prepare_hints_from_exonerate_target_output.py
__author__ = 'Sergei F. Kliver' import argparse from RouToolPa.Tools.Annotation import Exonerate, AUGUSTUS from RouToolPa.Routines.File import make_list_of_path_to_files parser = argparse.ArgumentParser() parser.add_argument("-i", "--input", action="store", dest="input", required=True, type=lambd...
PypiClean
/NeuralPlayground-0.0.7.tar.gz/NeuralPlayground-0.0.7/neuralplayground/agents/stachenfeld_2018.py
import random import sys from typing import Union import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np from neuralplayground.plotting.plot_utils import make_plot_rate_map from .agent_core import AgentCore sys.path.append("../") class Stachenfeld2018(AgentCore): """ Implementation fo...
PypiClean
/Djblets-3.3.tar.gz/Djblets-3.3/docs/releasenotes/0.9.6.rst
=========================== Djblets 0.9.6 Release Notes =========================== **Release date**: February 15, 2017 djblets.configforms =================== * Fixed a bug where :py:class:`djblets.configforms.forms.ConfigPageForm` would always render, even if set to be invisible. djblets.log =========== * Fi...
PypiClean
/MultifunctionTools-1.0.0b3.tar.gz/MultifunctionTools-1.0.0b3/README.md
# MultifunctionTools Python Library The `MultifunctionTools` library is a comprehensive collection of handy utilities and tools designed to enhance your Python coding experience. Whether you're a beginner or an experienced developer, `MultifunctionTools` provides a set of functionalities to simplify and streamline var...
PypiClean
/MetaCalls-0.0.5-cp310-cp310-manylinux2014_x86_64.whl/metacalls/node_modules/make-dir/readme.md
# make-dir [![Build Status](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir) > Make a directory and its parents if needed - Th...
PypiClean
/Newgram-0.0.5.tar.gz/Newgram-0.0.5/newgram/methods/invite_links/edit_chat_invite_link.py
from datetime import datetime from typing import Union import newgram from newgram import raw, utils from newgram import types class EditChatInviteLink: async def edit_chat_invite_link( self: "newgram.Client", chat_id: Union[int, str], invite_link: str, name: str = None, ...
PypiClean
/Blogmaker-0.6.tar.gz/Blogmaker-0.6/blogmaker/blog/models.py
import datetime, logging, re, socket, threading, xmlrpclib from django.db import models from django.contrib.auth.models import User from django.contrib.sites.models import Site from django.contrib.markup.templatetags.markup import markdown from django.conf import settings from django.utils.html import strip_tags fro...
PypiClean
/Fluence-0.1.7-py3-none-any.whl/fluence/meta/meta_dataset.py
import logging from collections import defaultdict import torch from tqdm import trange logger = logging.getLogger(__name__) class MetaDataset(torch.utils.data.Dataset): def __init__(self, dataset): self.dataset = dataset self.args = self.dataset.args self.processor = self.dataset.proce...
PypiClean
/DeepSurrogatepin-1.7-py3-none-any.whl/model/deepsurrogate.py
import pandas as pd import time from tqdm import tqdm import tensorflow as tf import tensorflow_probability as tfp # https://www.tensorflow.org/probability?hl=fr try: from ml_model import NetworkModel except ModuleNotFoundError: from model.ml_model import NetworkModel try: from parameters import * except M...
PypiClean
/BaiduSpider-1.0.2.6.tar.gz/BaiduSpider-1.0.2.6/baiduspider/mobile/parser/__init__.py
from baiduspider._spider import BaseSpider from baiduspider.mobile.parser.subparser import WebSubParser from baiduspider.util import handle_err from bs4 import BeautifulSoup class MobileParser(BaseSpider): def __init__(self) -> None: """百度移动端搜索解析器""" super().__init__() self.webSubParser = ...
PypiClean
/LitleSdkPython3-9.3.1b0.tar.gz/LitleSdkPython3-9.3.1b0/litleSdkPythonTest/unit/TestCreateFromDom.py
import os, sys lib_path = os.path.abspath('../all') sys.path.append(lib_path) from SetupTest import * import unittest class TestCreateFromDom(unittest.TestCase): def testSimpleExtraField(self): xml_text = "<litleOnlineResponse version='8.13' response='0' message='Valid Format' \ xmln...
PypiClean
/FamcyDev-0.3.71-py3-none-any.whl/Famcy/bower_components/bootstrap/site/content/docs/5.0/components/pagination.md
--- layout: docs title: Pagination description: Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages. group: components toc: true --- ## Overview We use a large block of connected links for our pagination, making links hard to miss and easily scalable—...
PypiClean
/AVOScript-0.11.5.tar.gz/AVOScript-0.11.5/src/avoscript/parser/__init__.py
from functools import reduce from pprint import pprint from .combinator import * from ..ast import expressions, statements from ..lexer.types import Token, TokenType def keyword(kw: str) -> Reserved: return Reserved(kw, TokenType.RESERVED) def operator(kw: str) -> Reserved: return Reserved(kw, TokenType.OP...
PypiClean
/NERP-1.0.2.2-py3-none-win32.whl/NERDA_framework/precooked.py
from .datasets import get_dane_data, get_conll_data from .models import NERDA import os import urllib from pathlib import Path from progressbar import ProgressBar pbar = None # helper function to show progressbar def show_progress(block_num, block_size, total_size): global pbar if pbar is None: pbar =...
PypiClean
/MYframe01-0.3.tar.gz/MYframe01-0.3/Carhome/CarH/CarH/settings.py
BOT_NAME = 'CarH' SPIDER_MODULES = ['CarH.spiders'] NEWSPIDER_MODULE = 'CarH.spiders' # Crawl responsibly by identifying yourself (and your website) on the user-agent #USER_AGENT = 'CarH (+http://www.yourdomain.com)' # Obey robots.txt rules ROBOTSTXT_OBEY = False # Configure maximum concurrent requests performed ...
PypiClean
/Mathics_Django-6.0.0-py3-none-any.whl/mathics_django/web/media/js/mathjax/jax/output/SVG/fonts/Gyre-Termes/Arrows/Regular/Main.js
MathJax.OutputJax.SVG.FONTDATA.FONTS.GyreTermesMathJax_Arrows={directory:"Arrows/Regular",family:"GyreTermesMathJax_Arrows",id:"GYRETERMESARROWS",32:[0,0,250,0,0,""],160:[0,0,250,0,0,""],8607:[690,180,520,80,440,"440 282l-154 154v-616h-52v616l-154 -154v65l154 154v98l-154 -154v65l180 180l180 -180v-65l-154 154v-98l154 -1...
PypiClean
/Django-Bootstrap3-Validator-0.3.3.zip/Django-Bootstrap3-Validator-0.3.3/bootstrap_validator/validators.py
from warnings import warn from django.utils.encoding import force_text class BaseBV(object): code = '' message = None def __call__(self, value): # value = force_text(value) # TODO: support server side validation warn("Bootstrap_Validator.%s not support server side validation now....
PypiClean
/DendroPy-4.6.1.tar.gz/DendroPy-4.6.1/src/dendropy/calculate/statistics.py
############################################################################## ## DendroPy Phylogenetic Computing Library. ## ## Copyright 2010-2015 Jeet Sukumaran and Mark T. Holder. ## All rights reserved. ## ## See "LICENSE.rst" for terms and conditions of usage. ## ## If you use this work or any portion there...
PypiClean
/CTGUAstronomy-testlib-1.0.2.tar.gz/CTGUAstronomy-testlib-1.0.2/package/ikernal23.py
import numpy as np import math class Ikernal23: """ 实现对局部数据的拟合,并求出相应的各阶偏导数, 进而得到相应的滤波算子 程序可以对二维数据和三维数据进行工作 """ def __init__(self, ker_size, p1, p2, sigam2, gama, step, dimension): """ :param ker_size:核的“半径”,卷积核的尺寸为:2n+1*2n+1 :param p1:多项式的阶数 :param p...
PypiClean
/CodeCounter-1.1.0.tar.gz/CodeCounter-1.1.0/LICENSE.md
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. {http://fsf.org/} Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU Genera...
PypiClean
/NlpToolkit-PropBank-1.0.21.tar.gz/NlpToolkit-PropBank-1.0.21/PropBank/FramesetList.py
import xml import pkg_resources from PropBank.Frameset import Frameset import xml.etree.ElementTree class FramesetList(object): __frames: list def __init__(self, fileName = pkg_resources.resource_filename(__name__, 'data/turkish-propbank.xml')): """ A constructor of FramesetList class whic...
PypiClean
/MODApy-0.7.3.tar.gz/MODApy-0.7.3/README.md
# MODA Multi-Omics Data Analysis (MODA) is an analitical platform for presicion medicine in Python and R, the MODApy and MODAr family. It allows easy and friendly analysis the Whole Exome Sequencing (WES) data or clinical applications such as SNP identification and priorization and SNP database generation from analyzed...
PypiClean
/FishPie-1.0.1.tar.gz/FishPie-1.0.1/README.md
# Fishpie Fishpie is web application for sharing large files. ## Installation Get the package from PyPI: ```bash python3 -m pip install fishpie ``` Create a WSGI wrapper script: ```python import datetime import fishpie import fishpie.wordpress app = fishpie.app app.secret_key = "SOME_VERY_SECRET_BINARY_DATA" ap...
PypiClean
/Fabric3-1.14.post1.tar.gz/Fabric3-1.14.post1/sites/docs/usage/library.rst
=========== Library Use =========== Fabric's primary use case is via fabfiles and the :doc:`fab </usage/fab>` tool, and this is reflected in much of the documentation. However, Fabric's internals are written in such a manner as to be easily used without ``fab`` or fabfiles at all -- this document will show you how. T...
PypiClean
/Kallithea-0.7.0.tar.gz/Kallithea-0.7.0/docs/dev/i18n.rst
.. _translations: ============ Translations ============ Translations are available on Hosted Weblate at the following URL: https://hosted.weblate.org/projects/kallithea/kallithea/ Registered users may contribute to the existing languages, or request a new language translation. Translating using Weblate -----...
PypiClean
/Electrum-CHI-3.3.8.tar.gz/Electrum-CHI-3.3.8/electrum_chi/electrum/plugins/ledger/qt.py
from functools import partial from PyQt5.QtCore import pyqtSignal from PyQt5.QtWidgets import QInputDialog, QLabel, QVBoxLayout, QLineEdit from electrum.i18n import _ from electrum.plugin import hook from electrum.wallet import Standard_Wallet from electrum.gui.qt.util import WindowModalDialog from .ledger import Le...
PypiClean
/Nuitka_winsvc-1.7.10-cp310-cp310-win_amd64.whl/nuitka/build/inline_copy/lib/scons-4.3.0/SCons/Script/SConsOptions.py
import gettext import optparse import re import sys import textwrap import SCons.Node.FS import SCons.Platform.virtualenv import SCons.Warnings from . import Main no_hyphen_re = re.compile(r'(\s+|(?<=[\w!\"\'&.,?])-{2,}(?=\w))') _ = gettext.gettext OptionValueError = optparse.OptionValueError SUPPRESS_HELP = optpars...
PypiClean
/MoonNectar-0.6.0.tar.gz/MoonNectar-0.6.0/mnectar/appinit.py
import logging import pathlib import sys from . import logConfig from .config import Configurable from .config import SettingManager from .registry import Registry from .signalcontrol import SignalControl from .util.signal import Signal _logger = logging.getLogger(__name__) class Ap...
PypiClean
/BenchExec-3.17.tar.gz/BenchExec-3.17/doc/table-generator.md
<!-- This file is part of BenchExec, a framework for reliable benchmarking: https://github.com/sosy-lab/benchexec SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> SPDX-License-Identifier: Apache-2.0 --> # BenchExec: table-generator ## Generating Tables of Results The program `table-generator`...
PypiClean
/Kivy-2.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/kivy/input/postproc/calibration.py
__all__ = ('InputPostprocCalibration', ) from kivy.config import Config from kivy.logger import Logger from kivy.input import providers from kivy.input.factory import MotionEventFactory from kivy.input.motionevent import MotionEvent class InputPostprocCalibration(object): '''Recalibrate the inputs. The conf...
PypiClean
/123_object_detection-0.1.tar.gz/123_object_detection-0.1/object_detection/export_tflite_graph_tf2.py
r"""Exports TF2 detection SavedModel for conversion to TensorFlow Lite. Link to the TF2 Detection Zoo: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md The output folder will contain an intermediate SavedModel that can be used with the TfLite converter. NOTE: This ...
PypiClean
/MUSE_OS-1.0.2.tar.gz/MUSE_OS-1.0.2/src/muse/interactions.py
__all__ = [ "register_interaction_net", "register_agent_interaction", "factory", "new_to_retro_net", "transfer_assets", ] from typing import Callable, List, Mapping, Optional, Sequence, Text, Tuple, Union from muse.agents import AbstractAgent, Agent from muse.errors import NoInteractionsFound from...
PypiClean
/AstroKundli-2.0.0.tar.gz/AstroKundli-2.0.0/FlatlibAstroSidereal/ephem/tools.py
from . import swe from FlatlibAstroSidereal import angle from FlatlibAstroSidereal import const from FlatlibAstroSidereal import utils # One arc-second error for iterative algorithms MAX_ERROR = 0.0003 # === Object positions === # def pfLon(jd, lat, lon): """ Returns the ecliptic longitude of Pars Fortuna. ...
PypiClean
/Editra-0.7.20.tar.gz/Editra-0.7.20/src/syntax/_pascal.py
__author__ = "Cody Precord <cprecord@editra.org>" __svnid__ = "$Id: _pascal.py 66108 2010-11-10 21:04:54Z CJP $" __revision__ = "$Revision: 66108 $" #-----------------------------------------------------------------------------# # Imports import wx import wx.stc as stc # Local Imports import syndata #---------------...
PypiClean
/AstroKundli-2.0.0.tar.gz/AstroKundli-2.0.0/FlatlibAstroSidereal/tools/arabicparts.py
from FlatlibAstroSidereal import const from FlatlibAstroSidereal.object import GenericObject from FlatlibAstroSidereal.dignities import essential # Define arabic parts PARS_FORTUNA = const.PARS_FORTUNA PARS_SPIRIT = 'Pars Spirit' PARS_FAITH = 'Pars Faith' PARS_SUBSTANCE = 'Pars Substance' PARS_WEDDING_MALE = 'Pars We...
PypiClean
/KratosCoSimulationApplication-9.4-cp39-cp39-win_amd64.whl/KratosMultiphysics/CoSimulationApplication/solver_wrappers/sdof/sdof_solver.py
from KratosMultiphysics.CoSimulationApplication.function_callback_utility import GenericCallFunction # Other imports import numpy as np import json import os class SDoFSolver(object): """ This class implements an SDof solver, independent of Kratos Several types of applying loads are available """ def ...
PypiClean
/NREL_reV-0.8.1-py3-none-any.whl/reV/config/cli_project_points.py
import click import logging from reV.config.project_points import ProjectPoints from reV.utilities.exceptions import ProjectPointsValueError from reV.utilities import log_versions from reV import __version__ from rex.utilities.cli_dtypes import STR from rex.utilities.loggers import init_logger from rex.utilities.util...
PypiClean
/churchtoolsapi-0.0.2rc65.post1.tar.gz/churchtoolsapi-0.0.2rc65.post1/SECURITY.md
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK --> ## Security Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), ...
PypiClean
/DreamDash-0.1.2.tar.gz/DreamDash-0.1.2/python_easy_installer.py
import httplib, urllib import MySQLdb import getpass import ConfigParser import getpass import optparse import os import pprint import random import signal import string import subprocess import sys import tempfile import time import urllib import urllib2 class ConfigData(object): def directory_create(self, ...
PypiClean
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dijit/Menu.js
define("dijit/Menu",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_1,...
PypiClean
/Argonaut-0.3.4.tar.gz/Argonaut-0.3.4/argonaut/public/ckeditor/lang/bs.js
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang.bs={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'HTML kôd',newPage:'Novi dokument',s...
PypiClean
/Ngoto-0.0.39-py3-none-any.whl/ngoto/core/util/rich/__main__.py
import colorsys import io from time import process_time from ngoto.core.util.rich import box from ngoto.core.util.rich.color import Color from ngoto.core.util.rich.console import Console, ConsoleOptions, Group, RenderableType, RenderResult from ngoto.core.util.rich.markdown import Markdown from ngoto.core.util.rich.me...
PypiClean
/Logria-0.9.14.tar.gz/Logria-0.9.14/logria/utilities/command_parser.py
import os from pathlib import Path from typing import List from logria.logger.default_logger import setup_default_logger # Setup default logger LOGGER = setup_default_logger(__name__) class Resolver(): """ Resolves a tool to its fully qualified name if it exists on the user's PATH """ def __init__(...
PypiClean
/GSAS-II-WONDER_linux-1.0.1.tar.gz/GSAS-II-WONDER_linux-1.0.1/GSAS-II-WONDER/config_example.py
debug = False '''Set to True to turn on debugging mode.This enables use of IPython on exceptions and on calls to :func:`GSASIIpath.IPyBreak`. Calls to :func:`GSASIIpath.pdbBreak` will invoke pdb at that location. If debug is False, calls to :func:`GSASIIpath.IPyBreak` and :func:`GSASIIpath.pdbBreak` are ignored. ''' ...
PypiClean
/7Wonder-RL-Lib-0.1.1.tar.gz/7Wonder-RL-Lib-0.1.1/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior...
PypiClean
/Chrysalio-1.0.tar.gz/Chrysalio-1.0/chrysalio/includes/clipboard.py
from pyramid.config import Configurator from ..lib.i18n import _ from ..lib.panel import PANEL_ITEM_PREFIX, Panel from ..models.dbsettings import SETTINGS_DEFAULTS CLIPBOARD_LABEL_MAX_LENGTH = 96 CLIPBOARD_LABEL_MAX_ITEMS = 8 # ============================================================================= def incl...
PypiClean
/MPInterfaces-2020.6.19.tar.gz/MPInterfaces-2020.6.19/mpinterfaces/mat2d/pourbaix/startup.py
from __future__ import print_function, division, unicode_literals import os import yaml from monty.serialization import loadfn from pymatgen.core.composition import Composition from pymatgen.core.periodic_table import Element from pymatgen.io.vasp.inputs import Incar from pymatgen.io.vasp.outputs import Vasprun fro...
PypiClean
/ClueDojo-1.4.3-1.tar.gz/ClueDojo-1.4.3-1/src/cluedojo/static/dojox/html/format.js
if(!dojo._hasResource["dojox.html.format"]){ dojo._hasResource["dojox.html.format"]=true; dojo.provide("dojox.html.format"); dojo.require("dojox.html.entities"); (function(){ dojox.html.format.prettyPrint=function(_1,_2,_3,_4,_5){ var _6=[]; var _7=0; var _8=[]; var _9="\t"; var _a=""; var _b=[]; var i; var _c=/[=]([^"...
PypiClean
/EzTg-0.2.2.tar.gz/EzTg-0.2.2/README.rst
EzTg ========== .. image:: https://img.shields.io/pypi/v/EzTg :target: https://pypi.python.org/pypi/EzTg :alt: PyPI version info .. image:: https://img.shields.io/pypi/pyversions/EzTg :target: https://pypi.python.org/pypi/EzTg :alt: PyPI supported Python versions .. image:: https://readthedocs.org/projects...
PypiClean
/GCN4LP-0.1-py3-none-any.whl/src/graph_att_gan/model.py
import torch import torch.nn as nn from torch.nn.parameter import Parameter import torch.nn.functional as F DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu') class GraphAttentionLayer(nn.Module): def __init__(self, input_dim, output_dim, dropout, alpha): super(GraphAttentionLayer, self...
PypiClean
/FESTIM-0.11.1-py3-none-any.whl/festim/exports/exports.py
import festim import fenics as f class Exports: def __init__(self, exports=[]) -> None: self.exports = exports self.t = None self.V_DG1 = None self.final_time = None self.nb_iterations = 0 def write(self, label_to_function, dt): for export in self.exports: ...
PypiClean
/Learon-0.5.tar.gz/Learon-0.5/learon/__init__.py
from sklearn import tree as tr class Classifier: def __init__(self): self.tree = None self.features = {"other": 0} self.labels = {} def train(self, dataset): sample = [ [ ["yellow", 140, "smooth"], "apple" ], ...
PypiClean
/Chrysalio-1.0.tar.gz/Chrysalio-1.0/chrysalio/Static/Js/jquery.js
var jQuery=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t="undefined"!=typeof globalThis?globalThis:"undefi...
PypiClean
/NeuroDynamics-0.1.1.tar.gz/NeuroDynamics-0.1.1/brainpy/visualization/__init__.py
import numpy as np import matplotlib.pyplot as plt from matplotlib import rcParams from matplotlib import animation from matplotlib.gridspec import GridSpec __all__ = [ 'get_figure', 'mpl_style1', 'plot_value', 'plot_potential', 'plot_raster', 'animation_potential', ] def get_figure(n_row,...
PypiClean