Saravanan666/pypi-org huggingface dataset:
Package: cacholote
cacholoteEfficiently cache calls to functionsQuick Start>>>importcacholote>>>cacholote.config.set(cache_db_urlpath="sqlite://")<cacholote.config.set...>>>@cacholote.cacheable...defnow():...importdatetime...returndatetime.datetime.now()>>>now()==now()True>>>withcacholote.config.set(use_cache=False):...now()==now()FalseCache files>>>importcacholote>>>importtempfile>>>tmpdir=tempfile.TemporaryDirectory().name>>>cacholote.config.set(...cache_db_urlpath="sqlite://",...cache_files_urlpath=tmpdir,...)<cacholote.config.set...>>>cached_open=cacholote.cacheable(open)>>>cached_file=cached_open("README.md")>>>cached_file.name.startswith(tmpdir)True>>>importfilecmp>>>filecmp.cmp("README.md",cached_file.name)TrueCache Xarray objects>>>importcacholote>>>importpytest>>>xr=pytest.importorskip("xarray")>>>importtempfile>>>tmpdir=tempfile.TemporaryDirectory().name>>>cacholote.config.set(...cache_db_urlpath="sqlite://",...cache_files_urlpath=tmpdir,...)<cacholote.config.set...>>>@cacholote.cacheable...defdataset_from_dict(ds_dict):...returnxr.Dataset(ds_dict)>>>ds=dataset_from_dict({"foo":0})>>>ds<xarray.Dataset>Dimensions:()Datavariables:fooint64...>>>ds.encoding["source"].startswith(tmpdir)TrueConfigurationConfiguration settings can be accessed usingcacholote.config.get()and modified usingcacholote.config.set(**kwargs). It is possible to usecacholote.config.seteither as a context manager, or to configure global settings. Seehelp(cacholote.config.set).Defaults are controlled by environment variables and dotenv files. Seehelp(cacholote.config.reset).Workflow for developers/contributorsFor best experience create a new conda environment (e.g. DEVELOP) with Python 3.11:conda create -n DEVELOP -c conda-forge python=3.11
conda activate DEVELOPBefore pushing to GitHub, run the following commands:Update conda environment:make conda-env-updateInstall this package:pip install -e .Sync with the latesttemplate(optional):make template-updateRun quality assurance checks:make qaRun tests:make unit-testsRun the static type checker:make type-checkBuild the documentation (seeSphinx tutorial):make docs-buildLicenseCopyright 2019, B-Open Solutions srl.
Copyright 2022, European Union.

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
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: cacode-framework
Welcome to CACodeFramework 👋pip命令：pip install CACodeFrameworkAuthor👤CACodeGithub:@cctvadminQQ: 2075383131wechat: cacodeemail:cacode@163.com先决条件python >=3.6项目地址:https://gitee.com/cacode_cctvadmin/CACodeFramework-python-ORM项目文档：http://doc.cacode.ren统一市面上所有的数据库创建者，并分配连接池和缓存结语如果这个框架对你有帮助的话，请给个星点个starCACode
Package: cacophonyapi
Cacophony Project API Client for PythonPython client for theCacophony REST API.InstallationThis API client requires Python 3.6 or later. At present the library is not yet available on PyPI.To install, create a virtualenv using your preferred method then:git clone https://github.com/TheCacophonyProject/python-api.git
cd python-api
pip install .If you plan on making changes to python-api, you'll want to install the test dependencies as well:pip install -r .[test]Using the package (User API)Client setupOpen an instance of the client and use credentials directlyfromcacophonyapi.userimportUserAPIclient=UserAPI(baseurl=<SERVER-URL>,username=<USER-NAME>,password=<USER-PASSWORD>)Alternatively, using credentials stored in a configuration file:fromcacophonyapi.userimportUserAPIfromcacophonyapi.configimportConfigconfig=Config().load_config(config_file=os.path.join(os.getcwd(),'defaultconfig.json'))cp_client=UserAPI(config.api_url,username=config.admin_username,password=config.admin_password)API callsBy default the most recent 100 recordings accessible to the user
account are queried butUserAPI.query()does support a number of
filtering options. The API server supports arbitrary queries so feel
free to extendUserAPI.query()if required.Testing#TODO: expand testing in bothtest_client_user_without_server.pyandtest_client_user_with_server.pyTesting uses the pythony unittest framework where by both unit and integration testing is done.test\test_client_user_without_server.pyis tests without requiring a servernose2 --verbosity 2  cacophonyapi.test.test_client_user_without_serverandtest\test_client_user_with_serveris full integration testing against a server. This is also part of the travis testnose2 --verbosity 2 CacophonyClient.test.test_client_user_with_server.
This integration testing does require a local server setup seetravis.ymlFor individual testnose2 --verbosity 2  cacophonyapi.test.test_client_user_with_server.mockedCacophonyServer.test_query#TODO: Docs improve PEP257 compliance for cacophonyapi UserApi etc,  don't know why it is not failingtox -e pep257
Package: cacpanel
==================python-cloudatcost==================``cac-panel`` is a python wrapper for `panel.cloudatcost.com`_---------usage CLI---------CACpy Provides a cli for panel and api:::cac-panel --help-------------usage Library-------------::from cacpanel import CACpanelpanel = CACpanel('email@example.com','password')print(panel.settings())More details and the latest updates can be found on the `GitHub Project Page`_... _GitHub Project Page: https://github.com/makefu/cac-panel
Package: cac-panel
==================python-cloudatcost==================``cac-panel`` is a python wrapper for `panel.cloudatcost.com`_---------usage CLI---------CACpy Provides a cli for panel and api:::cac-panel --help-------------usage Library-------------::from cacpanel import CACpanelpanel = CACpanel('email@example.com','password')print(panel.settings())More details and the latest updates can be found on the `GitHub Project Page`_... _GitHub Project Page: https://github.com/makefu/cac-panel
Package: cactice
cacticeOverviewUsageConventionsOverviewcacticestands forcomputingagriculturalcrop lattices. This repository explores questions about regular spatial arrangements of plant phenotypes (e.g., in a field or greenhouse). For instance:How does environmental context influence morphological development?What mechanisms underlie spatial patterning?Is a given phenotype distribution highly structured or mostly random? In either case, why?If structure is evident, can we formalize or predict it? If so, from which (and how much) information?This repository is exploratory, unstable, and currently very minimal.UsageCheck out thenotebooks/explore.ipynbnotebook for some examples.ConventionsThis library makes several assumptions about datasets to which the user must conform:Class values are parsed as strings (and mapped internally to integers). Each distinct string is a class, regardless of numeric value: for instance,9.5and9.5000are considered distinct.
Package: cactive
What is this?This is a collection of Cactive's NPM Modules rewritten in PythonHow to install and use?First, by using these modules you agree to our LICENSE:https://github.com/CactiveNetwork/cactive-rewrites/tree/main/python/LICENSE.mdInstall:pipinstallcactiveTo find out the documentation for all modules please type:importcactivecactive.get_started()
Package: cad
##基于redis的AES加解密工具包2/4/2020   Bruce  0.8.2   初始版本2/5/2020   Bruce  0.8.3   补充调用及配置说明，更新引用方式2/5/2020   Bruce  0.9.1   新增鉴权模块3/9/2020   Bruce  0.9.9   bugfix7/23/2020  Bruce  0.9.9.3 新增代理模块，用于修饰需要鉴权的函数8/18/2020  Bruce  1.0     新增日志记录功能###使用方法：####1、配置全局变量变量名|类型|用途|示例
REDIS_ADDRESS|字符串|redis服务器地址,需要带上ip、端口、库号|127.0.0.1:6379/1
COMMON_SALT|字符串|解密密钥|0648ea5562efffee
APPLICATION_NAME|字符串|cad应用名|mms
APP_CONFIG_PREFIX|字符串|cad配置前缀|app-config####2、引入模块from cad.cad_util import CadUtil  # 数据获取模块
from cad.app_config_util import AppConfigUtil  # 用户鉴权模块
from cad.proxy import cad_proxy  # 鉴权代理模块####3、使用cad_util = CadUtil()res = util.get(ak)ak为应用对应的ak键res 即得到的解析结果结果格式如下{ "ak": "0648ea5562efffee", "sk": "1e058d312eb61448", "permissions": { "app_1": ["auth_1", "auth_2"], "app_2': ["auth_3", "auth_4"] } }格式说明:ak: 字符串,应用的aksk: 字符串,应用的skpermissions: 字典,应用的权限清单permissions的每个键为该ak所拥有的其他应用的权限的应用名称permissions每个键的值为该ak所拥有的对应应用的权限列表app_config_util = AppConfigUtil(app_id)校验ak是否有某应用的某个权限权限
app_config_util.check(ak, sk, auth_code)
校验ak是否有某应用的任意权限
app_config_util.check(ak,sk)参数说明：ak: 传入的aksk: 传入的skapp_id: 判断ak是否有该应用的权限auth_code: 判断ak是否有app下auth_code的权限，如果不传则判断ak是否有app的任意权限结果说明：True: 校验成功
False: 校验失败，原因如下：aksk不匹配ak没有对应app的权限ak没有对应app的auth_code权限
抛出异常CadException：ak不存在@cad_proxy(auth_code, error_response)def view(self, request):passauth_code 为被修饰方法view对应的权限code，由中台管理系统统一配置error_response 为处理异常的对象，可以不传，默认抛出ProxyException类，可以自行定义。自行定义的对象需要接受一个参数，用于表示异常的原因
Package: cada
CADAA simplistic interface to search and consult CADA advices.This is the engine behindhttps://cada.data.gouv.fr.CompatibilityCADA has been tested on Python 2.7, MongoDB 3.2 and ElasticSearch 2.4.TheElasticSearch ICU Analysis pluginis required.You can install it with:bin/plugin install analysis-icuInstallationYou can install Cada with pip:$pipinstallcadaYou need to create the cada working directory, denoted by$HOMEin this documentation:$mkdir-p$HOME&&cd$HOME$vimcada.cfg# See configuration$wgethttps://cada.data.gouv.fr/export-Odata.csv
$cadaloaddata.csv# Load initial data$cadastatic# Optional: collect static assets for proper caching$cadarunserverlocal development environmentPlease make sure you are in a cleanvirtualenv.$gitclonehttps://github.com/etalab/cada
$cdcada
$docker-composeup-d
$pipinstall-e.
$wgethttps://cada.data.gouv.fr/export-Odata.csv
$cadaloaddata.csv
$cadareindex
$cadarunserverConfigurationAll configuration is done through thecada.cfgfile in$HOME.
It's basically a Python file with constants defined in it:SERVER_NAME: the public server name. Mainly used in emails.SECRET_KEY: the common crypto hash. e.g. sessions.openssl rand -hex 24should be a good start.ELASTICSEARCH_URL: the ElasticSearch server URL inhost:portformat. Default tolocalhost:9200if not setMONGODB_SETTINGS: a dictionary to configure MongoDB. Default to{'DB': 'cada'}. Seethe official flask-mongoengine documentationfor more details.MailsMail server configuration is done through the following variables:MAIL_SERVER: SMTP server hostname. Default tolocalhost.MAIL_PORT: SMTP server port. Default to25.MAIL_USE_TLS: activate TLS. Default toFalse.MAIL_USE_SSL: activate SSL. Default toFalse.MAIL_USERNAME: optional SMTP server username.MAIL_PASSWORD: optional SMTP server password.MAIL_DEFAULT_SENDER: Sender email used for mailings. Default tocada@localhost.ANON_ALERT_MAIL: destination mail for anonymisation alerts. Default tocada.alert@localhost.See theofficial Flask-Mail documentationfor more details.SentryThere is an optional support for Sentry.
You need to install the required dependencies:$pipinstallraven[flask]# Or to install it with cada$pipinstallcada[sentry]You need to add your Sentry DSN to the configurationSENTRY_DSN='https://xxxxx:xxxxxx@sentry.mydomain.com/id'PiwikThere is an optional Piwik support.
You simply need to add your Piwik server URL and your Piwik project ID to the configuration:PIWIK_URL='piwik.mydomain.com'PIWIK_ID=X1.0.0 (2019-07-19)Add aburnthemallcommand#25Usetqdmfor major commands with loops#25Python 3#28Elastic Search 7.2#29Mongo 4.1#29Improved pseudonymization#32Display sample of api calls#33Fix text query#330.2.1 (2019-07-15)Fix advice part roman numerals handling#13Colorize advices labels#14Fixes about page#11Fix the cli encoding handling as well as some formatting issues#18Footer fixes (svg logo, alignments, https links)#20Upgrade jQuery, Bootstrap and Flatly assets and fixes responsive layout#21Fix unicode issue#260.2.0 (2018-10-05)Upgrade stack to latest dependencies (Flask 1.0 withflask.cli, pytest...)#6Test and fix alert mails#7Added "about" page#9Handle type IV advices#100.1.0 (2014-04-14)Initial release
Package: cada-prio
CADA: The Next GenerationThis is a re-implementation of theCADAmethod for phenotype-similarity prioritization.Free software: MIT licenseDocumentation:https://cada-prio.readthedocs.io/en/latest/Discussion Forum:https://github.com/bihealth/cada-prio/discussionsBug Reports:https://github.com/bihealth/cada-prio/issuesRunning Hyperparameter TuningInstall withtunefeature enabled:pip install cada-prio[tune]Run tuning, e.g., on the "classic" model.
Thanks tooptuna, you can run this in parallel as long as the database is shared.
Each run will use 4 CPUs in the example below and perform 1 trial.cada-prio tune run-optuna \
    sqlite:///local_data/cada-tune.sqlite \
    --path-hgnc-json data/classic/hgnc_complete_set.json \
    --path-hpo-genes-to-phenotype data/classic/genes_to_phenotype.all_source_all_freqs_etc.txt \
    --path-hpo-obo data/classic/hp.obo \
    --path-clinvar-phenotype-links data/classic/cases_train.jsonl \
    --path-validation-links data/classic/cases_validate.jsonl \
    --n-trials 1 \
    --cpus=4Managing GitHub Project with Terraform# export GITHUB_OWNER=bihealth
# export GITHUB_TOKEN=ghp_<thetoken>

# cd utils/terraform

# terraform init
# terraform import github_repository.cada-prio cada-prio
# terraform validate
# terraform fmt
# terraform plan
# terraform applyChangelog0.6.1(2023-11-16)Bug Fixespinning python to 3.11 for build so we have setuptools (#36) (54d4e8c)0.6.0(2023-11-16)Featuresadding API prefix, OpenAPI and docs to REST server (#35) (1a2f605)adding classic and current model (#25) (44ddf24)0.5.0(2023-09-18)Featuresadding "tune run-optuna" command (#23) (6cc753b)re-useable implementation of "tune train-eval" (#21) (c80c4bf)0.4.0(2023-09-14)Featuresadding dump-graph to cli (#18) (3aace31)adding param-opt command with single parameter evaluation (#20) (83141c6)allow running with legacy model/graph data (#16) (9d3cc7c)embedding parameters can be provided via CLI and contains seeds (#19) (bbd5d86)0.3.1(2023-09-13)Bug Fixesadd missing line endings to hgnc_info.jsonl (#13) (aa14b9b)properly parsing comma-separated list on REST API (#14) (97fdfee)0.3.0(2023-09-11)Featuresalso adding gene-to-phen edges from HPO (#9) (d5a8337)0.2.1(2023-09-08)Bug Fixesremoving spurious debug print statement (#7) (98e7443)0.2.0(2023-09-08)Featuresgene to phenotype links file can be gziped (#5) (66c48bf)0.1.0 (2023-09-07)Featuresadding REST API server for prediction (#4) (8bb7516)initial training implementation (#1) (10d3a7c)prioritization prediction with model (#3) (48d504c)
Package: cadati
The cadati package provides CAlender, DAte and TIme functions.CitationIf you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.Please select your specific version athttps://doi.org/10.5281/zenodo.3832082to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.You can find additional information regarding DOI versioning athttp://help.zenodo.org/#versioningContributeWe are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.NoteThis project has been set up using PyScaffold 3.2.3. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: cadbiom
CADBIOM (Computer Aided Design of Biological Models) is an open source modelling software.
Based on Guarded transition semantic, it gives a formal framework to help the modelling of
biological systems such as cell signaling network.# InstallationSee the official website: [link](http://cadbiom.genouest.org/download.html).# LicenseCADBIOM is freely available on cadbiom.genouest.org,
and distributed under the terms of the GNU General Public License.
Package: cadCAD
cadCAD (complex adaptive systems computer-aided design) is a python based, unified modeling framework for stochastic
dynamical systems and differential games for research, validation, and Computer Aided Design of economic systems created
by BlockScience. It is capable of modeling systems at all levels of abstraction from Agent Based Modeling (ABM) to
System Dynamics (SD), and enabling smooth integration of computational social science simulations with empirical data
science workflows.An economic system is treated as a state-based model and defined through a set of endogenous and exogenous state
variables which are updated through mechanisms and environmental processes, respectively. Behavioral models, which may
be deterministic or stochastic, provide the evolution of the system within the action space of the mechanisms.
Mathematical formulations of these economic games treat agent utility as derived from the state rather than direct from
an action, creating a rich, dynamic modeling framework. Simulations may be run with a range of initial conditions and
parameters for states, behaviors, mechanisms, and environmental processes to understand and visualize network behavior
under various conditions. Support for A/B testing policies, Monte Carlo analysis, and other common numerical methods is
provided.
Package: cadcetrans
Canadian Astronomy Data Centre - electronic transfercadc-etransis an application for electronic transfer of data and
metadata to the Canadian Astronomy Data Centre (CADC). Files to be
processed bycadc-etransare to be placed in one of the following
subdirectories of a source directory specified by the user:new - for files expected to be new to the CADC archive.cadc-etransflags as errors when this is not the case.replaced - for files expected to be in the CADC archive already.cadc-etransflags it as an error if the files are missing.any - for files whose presence in the CADC archive is not importantcadc-etranscan be configured to perform checks on the names of the files
according to provided rules and checks on the type of the file. Files that
fail these checks are moved to a rejected subdirectory and grouped according
to the type of the encountered error. Users are expected to fix the problems
and placed the files back in the source directory for reprocessing.Files that pass all the verifications are sent to the CADC archive.NOTE: To ensure that a file is fully received before attempting to transfer
it, it must spend a minimum amount of time (5min) in the input directory
without being modified/updated prior to its processing.Functionality ofcadc-etransis configured by modifying the~/.config/cadc-etransfile.Usagecadc-etransis usually used with a crontab. Example below processes files
every 15 min.*/15 * * * * cadc-etrans data --cert /home/auser/.ssl/cadcproxy.pem
-c /home/auser/.config/cadc/dao-namecheck.xml sourcedircadc-etranscan backup the transfer logs to a vospace:0 11 * * * cadc-etrans status -b --cert /home/auser/.ssl/cadcproxy.pem
sourcedirDocker UsageTo avoid deploying the application environment (e.g. installing fitsverify on
the host), the application can be run from a docker container.
To build the container, download the content of thehttps://github.com/opencadc/cadctools/tree/master/cadcetrans/dockerdirectory
customize the config filescadc-etrans-configandnamecheck.xmland
build the container:cd docker
docker build -t cadcetrans .To invoke it:docker run --rm --mount type=bind,source=/tmp/logs,target=/logging
--mount type=bind,source=/tmp/input/,target=/input cadcetrans statusor:docker run --rm --mount type=bind,source=/tmp/logs,target=/logging
--mount type=bind,source=/tmp/input/,target=/input cadcetrans dataNote the two mounts that are required: one where the transfer logs will be
recorded so that they are available outside the container and the other
one for the source directory (source=<>part is what needs to be customized
to point to directories on the local host.
Package: cadcutils
cadcutilsCanadian Astronomy Data Centre (CADC) library of utilities commonly used
by CADC Python clientsCommand Line Interface APIThis library installs a number of CLI applications. Please consult their
helpers for details on how to invoke them.cadc-get-certApplication that retrieves a CADC X509 user proxy certificate. This
certificate is used to authenticate with a number of CADC clients.cadc-groupsApplication that interacts with the CADC Group Management Service (GMS).
GMS is used to check user membership in appropriate groups in order to
determine authorization access to resources. The application is used
to manipulate CADC groups.
Package: caddie
CaddieCaddie is a collection of bivariate discrete causal inference methods based on information-theoretic Additive Noise Models (ANM) and MDL-based instantiation of Algorithmic Independence of Conditionals (AIC).Caddie Module InstallationThe recommended way to install thecaddiemodule is to simply usepip:$pipinstallcaddieCaddie officially supports Python >= 3.6.How to use caddie?>>>X=[1]*1000>>>Y=[-1]*1000>>>fromcaddieimportcisc>>>cisc.cisc(X,Y)# CISC(0.0, 0.0)>>>fromcaddieimportanm,measures>>>anm.fit_both_dir(X,Y,measures.StochasticComplexity)# CRISP(0.0, 0.0)>>>anm.fit_both_dir(X,Y,measures.ChiSquaredTest)# DR(1.0, 1.0)>>>anm.fit_both_dir(X,Y,measures.ShannonEntropy)# ACID(0.0, 0.0)>>>fromcaddieimportsimulations>>>simulations.simulate_decision_rate_against_data_type('/results/dir/')# for decision rate vs data type plots...>>>simulations.simulate_accuracy_against_sample_size('/results/dir/')# for accuracy/decidability vs sample size plots...How to cite the paper?Todo: Add the citation to thesis.
Package: caddo-data-factory
data-factoryThis repository contains source code of program used to generate.caddofiles. Files taht are used intool- which can be found in this organisation.🔌 How to runuser@computer:~$ pip install caddo-data-factoryImplement all functions and run from command lineuser@computer:~$ caddo-data-factory📕 Any documentation?Yes sure, please check our wiki for documentation
Package: cadence-detector
cadence_detectorA python package for cadence detection on music xml scores.
The scan returns files with measure and offset locations of PACs, IACs, and HCs, as well as a musicxml file with cadence labels on the score.Installationpip install cadence_detectorRunning on single filefrom cadence_detector import cadence_detectorcadence_detector.detect_cadences_in_file(full_path=<your_file_path>,output_path=<your_output_path>)Running on folderfrom cadence_detector import cadence_detectorcadence_detector.detect_cadences_in_folder(input_dir=<your_folder_path>, file_ending=<your_file_endings>, output_dir=<your_output_path>, do_parallel=True)
Package: cade-task
Task (cade-task)Task is a light CLI wrapper around Reminders.app (reminders-cli) with sane defaults to remove friction from GTD.Quick StartInstallpipx:pipxinstallcade-taskMoreinstall optionsavailble.Set your project directoryExportTASK_PROJECT_DIRfor your shell environment:exportTASK_PROJECT_DIR="${HOME}/awesome_stuff"Go$tasklistTasks
┌───┬─────────────────────────────┐
│0│Refactorcode,allofit│
│1│Addtestingtogenerator│
│2│PushtoprodFridayevening│
└───┴─────────────────────────────┘Check outusageor--helpfor more commands.CaveatsTask wrapsKeith Smiley’s reminders-cli. Task is intended as a backend-agnostic wrapper that standardizes use without being tied to a specific implementation— I don’t want to retrain muscle memory if a new killer app comes along.LicenseThis project is distributed under an MIT license, seeLICENSEfor more information.Made it this far?You deserve a hug.
Package: ca-dingtalk-sdk
企联AI DevConnectAI定位为一个帮助公司更快地建立AI内部工具的平台产品背景由于各个公司的内部管理流程不同，会有很多无法标准化的长尾AI需求企业内部技术团队需要将1/3的时间用来开发维护这些内部AI工具如果能将低代码用于AI内部工具的开发，无疑将极大地提升企业技术团队的效率既然AI需求是无法标准化的，那么就标准化这些长尾AI需求的开发工具以低代码的方式提高内部AI工具开发效率