Saravanan666/pypi-org huggingface dataset:
Package: cbpi4-system
CraftBeerPi4 System Functions PluginFunctions:Plugin has capability to reboot Pi every day at a time that can be specified in the settings.SensorsPlugin will add system 'sensors' to monitor some system parameters. The psutil package is currently used for that purpose:CPU Load: 		CPU load in % (psutil: cpu_perc)Available Memory:	Available system memory in Mb (psutil: vitrual_memory -> available)Used memory:		Used memory in percent (psutil: vitrual_memory -> percent)CPU Temp:		CPU temperature (psutil: sensors_temperatures -> cpu_thermal)Each parameter has to be added as individual sensor.Installation:sudo pip3 install cbpi4-systemor install from repo: sudo pip3 installhttps://github.com/PiBrewing/cbpi4-system/archive/main.zipUsage:Add Hardware under Sensor and choose SystemSensor as TypeConfigure Autoreboot in settings (Default is 'No') and specify time of day (0-23 -> Full hour)Changelog:10.06.23: (0.0.9) change version to release02.06.23: (0.0.9.rc1) add cbpi4 version requirements16.04.23: (0.0.9.a6) fixed bug with creation of parameters05.04.23: (0.0.9.a5) test for gloabl plugin settings selection branch08.01.23: (0.0.8) updated requirements16.01.22: (0.0.5) Adaption for cbpi 4.0.1.212.01.22: (0.0.4) Reduced amount of mqtt traffic27.11.21: (0.0.3) New Readme file and link to plugin included in setup.py02.09.21: (0.0.2) Remove Actor to reboot / shutdown system. Add automatic reboot and add system sensors18.06.21: (0.0.1) Initial commit with Actor to shutdown/reboot system
Package: cbpi4-TriacHatActor
Triac Hat Actor for CraftBeerPi 4This is a plugin for using Waveshare's 2CH Triac Hat for controlling actors in CraftBeerPi 4. You can find the documentation for this device here:https://www.waveshare.com/wiki/2-CH_TRIAC_HATThis device is used for voltage regulation using a triac and have two channels for different actors.InstallationYou can install this package via Pypi.org using this command:sudopip3installcbpi4-TriacHatActorAlternatively you can download it using this command:sudopip3installgit+https://github.com/netanelklein/cbpi4-TriacHatActor.gitIn order to do so you have to have Git installed on your system. You can do this simply by using this command:sudoaptinstallgitActivating plugin in CraftBeerPiIn order for the plugin to show up in your CraftBeerPi system, you have to activate the plugin using this command:cbpiaddcbpi4-TriacHatActorSystem configurationYou will have to enable the Interface that you want to use in raspi-config. in order to get there, use this command:sudoraspi-configThen go toInterface Optionsand then toSerial Port. There you should choosenoforlet login shell be accessible over serialandyesforWould you like the serial port hardware to be enabled?If you want to use the I2C interface, you should enable it from theInterface OptionsunderI2C. I personally haven't tried to use the Triac Hat with I2C, so there may be bugs there.ParametersChannel- Choose which of the Triac Hat channels you want to assign to this actor.Interface- Choose between UART and I2C. Default is UART. Be aware that you must choose the same interface for all the actors that are connected to the Triac Hat.Device Port- Choose the serial port in which the triac is connected. Usually it's /dev/ttyS0 or /dev/ttySerial0, so choose this if you're not sure.Frequency- Your line frequency. 50 Hz is default as it is the most popular frequency around the world. In the US the frequency is 60 Hz.
Package: cbpi4-TwoKettleLogic
CraftBeerPi4 TwoKettleLogic PluginTwo Kettle LogicPlugin will provide the ability to apply temp control to two kettles in the same step. This can be useful if you're using the boil kettle to heat strike water and get the hot liquor tank up to temp all in the same step.Installation:sudo pip3 install cbpi4-TwoKettleLogicor install from repo: sudo pip3 installhttps://github.com/sjhoglund/cbpi4-TwoKettleLogic/archive/main.zipcbpi add cbpi4-TwoKettleLogicUsage:More to comeChangelog:01-29-22: (0.0.1) Updated README
Package: cbpi4-XiaomiScale
CBPi4 Xiaomi ScaleThis CBPi4 Plugin Contains A Sensor class of a Bluetooth Xiaomi scale and the logic of Fill step (filling a vessel with liquid)Installation:You can install it directly via pypi.org:sudo pip3 install cbpi4-XiaomiScaleAlternatively you can install (or clone) it from the GIT Repo. In case of updates, you will find them here first:sudo pip3 installhttps://github.com/madhatguy/cbpi4-XiaomiScale/archive/main.zipXiaomi ScaleSetupGet your scale's mac address. You can get it via the "zepp life" app:Download the app and connect your device as the device instructions show.Once the device has been connected open the app and go to the profile tab.You should see your device in the "My devices" section, tap it.The value in the "Bluetooth address" field is your device's mac address.*Works only on linux based systemsParameters:Configurable:Xiaomi Scale device Mac address.Offset (insert the base weight of the rig standing on the scale in KG).Gravity (insert the gravity of the liquid you want to measure, in SG). This field is irrelevant if Display type is Weight.Display Type. Choose whether you would like to see the sensor value as weight or as liquid volume.Fixed in Code:Sensor sampling interval (maybe made configurable in future releases)Fill StepParameters:Configurable:Volume. The target volume to fill.Actor. If none is given, this step only measures the volume.Sensor - to measure to volume.Reset - Choose whether you want to reset the sensor after this step is done.Changelog:28.01.23: (0.2.1) Added Toggle state (enable/disable sensor) action06.09.22: (0.2.0) Initial releaseA Word of CautionPlease be careful using a Xiaomi Bluetooth scale, namely - do not put it in direct contact with hot things, and be careful to not shutter the glass.
I'm not responsible for whatever damage or injury that may happen as a result of your use of a Xiaomi Scale, or any other instrument.CreditsThanks to lolouk44 for the code responsible for extracting the weight of the scale
Package: cbpickaxe
cbpickaxeA Python library and set of scripts for data mining the game Cassette Beasts.importcbpickaxeascbphoylake=cbp.Hoylake()hoylake.load_root("cassette_beasts","Cassette Beasts")formonster_forminhoylake.load_monster_forms("res://data/monster_forms/").values():monster_name=hoylake.translate(monster_form.name)print(path,monster_name,monster_form)InstallationLatest releasepipinstallcbpickaxeDevelopmentgitclonehttps://github.com/ExcaliburZero/cbpickaxe.gitcdcbpickaxe
pipinstall-e.ScriptsScriptDescriptiongenerate_docsGenerates HTML pages that document monsters, moves, items, etc. added by a mod.extract_translationExtracts the translations of given in-game textget_move_usersFinds all of the monster species that can use given moves.generate_monster_animationsCreates animated gifs of monster battle animations.
Package: cbquant
Comic Book QuantizerComic Book Quantizer (cbquant) is a command-line interface tool that converts images within comic book archive files to palette-based indexed images.Using cbquant can result in up to 9x smaller comic book archive files, while still preserving the majority of details. This tool is ideal for generating compressed comic books or manga for viewing on grayscale e-ink devices.FeaturesQuantization of comic book archive images to a specific number of colors, with dithering.Optional, separate quantization levels for color images and grayscale images.Resize images while maintaining aspect ratio.Parallelized conversion for fast quantization.InstallationFrom PyPi:pipinstallcbquantFrom Github:pipinstall-egit+https://github.com/Brikwerk/cbquantUsageCompress a single .cbz file (calledtest.cbz) to 2 colors for grayscale images and 4 colours for color images:pythoncbquant.pytest.cbz--ncolors2--color_ncolors4Compress a directory of comic book archive files and output all compressed files to a new folder:pythoncbquant.py"/path/to/files/*"--ncolors2--color_ncolors4--height1872--output./quantAcknowledgementsThanks tolibimagequantandlibimagequant-pythonfor the image quantization code used in this tool.
Package: cbra
Resourceshttps://tyk.io/blog/your-data-model-is-not-an-api/https://shekhargulati.com/2021/10/15/web-api-design-anti-pattern-exposing-your-database-modelhttps://cloud.google.com/blog/products/api-management/why-your-web-apis-should-be-entity-orientedhttps://cloud.google.com/blog/products/application-development/api-design-why-you-should-use-links-not-keys-to-represent-relationships-in-apishttps://tools.ietf.org/html/rfc7807https://www.iana.org/assignments/link-relations/link-relations.xhtmlhttps://thorben-janssen.com/dont-expose-entities-in-api/https://vaadin.com/blog/ddd-part-3-domain-driven-design-and-the-hexagonal-architecture
Package: cbrain
Linux/MacOS:Windows:A cross-platform client with a CLI and a Python API to perform collaborative and reproducible benchmarking and optimization of deep tech (AI, ML, quantum) via the open cKnowledge portal:https://cKnowledge.ioDocs:onlinePlatform support:As a host platformAs a target platformGeneric Linux✓✓Linux (Arm)✓✓Raspberry Pi✓✓MacOS✓✓Windows✓✓iOSTBDTBDAndroidprototyping✓Copyright 2020cTuning foundation
Package: cbr-client
cbr-clientКлиент для работы с api ЦБ РФОписание АПИ -https://cbr.ru/lk_uio/guide/rest_api/Установкаpipinstallcbr-clientЗависимостиhttpxpydanticИспользование# необходимо запускать python -m asynciofromcbr_clientimportClientconn_params=dict(url='https://portal5test.cbr.ru',login='test',password='test',user_agent='test app')client=Client(**conn_params)# или через контекстный менеджер# async with Client(**conn_params) as client:#     ...files=[('report.zip.enc',b'encrypted report content'),('report.zip.1.sig',b'operator signature'),('report.zip.2.sig',b'client signature')]# отправка отчета на портал ЦБ# создание сообщенияmsg=awaitclient.create_message(files,'1-ПИ')# загрузка файловforfinmsg.files:awaitclient.upload(f)# или опциональная загрузка чанкамиforfinmsg.files:awaitclient.upload(f,chunked=True,chunk_size=2**16)# финализация (закрытие сессии)awaitclient.finalize_message(msg)# получение квитанцийreceipts=awaitclient.get_receipts(msg_id=msg.oid)forrcptinreceipts:# получение файла из хранилищаforfinrcpt.files:# сохраняется в f.contentawaitclient.download(f)# получение сообщений по типу формыmessages=awaitclient.get_messages(form='1-ПИ')# или по статусуmessages=awaitclient.get_messages(status='draft')# или по типу сообщения (inbox/outbox)messages=awaitclient.get_messages(msg_type='outbox')# паджинация, по умолчанию возвращается первая страницаmessages=awaitclient.get_messages(status='draft',page=4)# или комбинировать параметры как требуется# получение файлов сообщенияmessages=awaitclient.get_messages()formsginmessages:# получение файла из хранилищаforfinmsg.files:# сохраняется в f.contentawaitclient.download(f)# получение списка возможных задачtasks=awaitclient.get_tasks()# получение списка справочников с даннымиdictionaries=awaitclient.get_dictionaries()# получение данных из определенного справочникаd=awaitclient.get_dictionary(oid='dictionary_id')# получение данных профиляprofile=awaitclient.get_profile()# получение доступной квоты использования хранилищаquota=awaitclient.get_profile_quota()# удаление сообщенияawaitclient.delete_message(msg_id='message_id')# в конце работы не забываем закрывать соединениеawaitclient.close()
Package: cbrctl
Carbonara CLICommand line tool for configuring and accessing Carbonara metrics in your clusterUsageUsage: cbrctl [OPTIONS] COMMAND [ARGS]...CLI tool to manage carbonara context of projectsOptions:
--help  Show this message and exit.Commands:
config   Configures target cluster with Carbonara packages.
eject    Uninstalls resources configured by Carbonara
init     Initialize Carbonara context.
refresh  Refreshes the Carbonara Agent.
show     Forward one or more local ports to a Grafana pod.
status   Current Status.
version  Version Info.DevelopmentRequirements: Python>=3.7Command to generate wheel:python setup sdistInstallable can be found indist\Command to test in local environment:python setup developRefer:https://packaging.python.org/en/latest/tutorials/packaging-projects/Installation❯ pip install cbrctl
Package: cbrf
cbrfWrapper for The Central Bank of the Russian Federation site APISiteandAPIof The Central Bank of the Russian Federation.InstallationStable version:pip install cbrfDev version:git clone https://github.com/Egregors/cbrf.git
    cd cbrf
    pip install -e .SettingsFor using with your own hostname set environment variables, for exampleexport CBRF_URL_SCHEME=https
export CBRF_URL_HOST=www.my-own-cbr.ruHow to useAPITo get raw XML answers you should usecbrf.apimethods:>>> import cbrf

>>> cbrf.get_currencies_info()
<Element 'Valuta' at 0x10b91f688>

>>> cbrf.get_daily_rates()
<Element 'ValCurs' at 0x10b82b9a8>

>>> date_1 = datetime(2001, 3, 2)
>>> date_2 = datetime(2001, 3, 14)
>>> get_dynamic_rates(date_req1=date_1, date_req2=date_2, currency_id='R01235')
<Element 'ValCurs' at 0x1107017c8>ModelsYou can use base models for work with API (see examples in the tests).CurrenciesInfo>>> from cbrf.models import CurrenciesInfo

>>> c_info = CurrenciesInfo()
>>> c_info.get_by_id("R01305").name
'Ирландский фунт'
>>> c_info.get_by_id("R01305").eng_name
'Irish Pound'DailyCurrenciesRates>>> from cbrf.models import DailyCurrenciesRates

>>> daily = DailyCurrenciesRates()
>>> daily.date
datetime.datetime(2017, 3, 11, 0, 0)
>>> daily.get_by_id('R01035').name
'Фунт стерлингов Соединенного королевства'
>>> daily.get_by_id('R01035').value
Decimal('72.0143')DynamicCurrenciesRates>>> from cbrf.models import DynamicCurrenciesRates

>>> date_1 = datetime(2001, 3, 2)
... date_2 = datetime(2001, 3, 14)
... id_code = 'R01235'
>>> dynamic_rates = DynamicCurrenciesRates(date_1, date_2, id_code)
>>> dynamic_rates.get_by_date(datetime(2001, 3, 8)).value
Decimal('28.6200')Also, you can showDEBUGinfo, by setting logger level to DEBUG in your code:importlogginglogging.basicConfig(level=logging.DEBUG)Linting & TestsTo run lint & tests:makelint
maketestsYou should installpytestfirstContributingBug reports, bug fixes, and new features are always welcome.
Please open issues, and submit pull requests for any new code.
Package: cbrf_rates
cbrf_rates - это модуль для скачивания курсов валют с сайта cbr.ru (Центральный банк
Российской Федерации)Лицензия MIT.Зависимостиrequests >= 2.5.0xmltodict >= 0.9.0УстановкаКак обычно:$ pip install cbrf_ratesили$ easy_install cbrf_ratesили$ git clone https://github.com/moskrc/cbrf_rates.git
$ cd cbrf_rates
$ python setup.py installИспользованиеfromcbrf_ratesimportget_ratesrates=get_rates()printrates['USD']OrderedDict([(u’@ID’, u’R01235’), (u’NumCode’, u’840’), (u’CharCode’, u’USD’), (u’Nominal’, u’1’), (u’Name’, u’Доллар США’), (u’Value’, 56.8919)])printrates['USD']['Value']56.8919printrates['date']13.12.2014
Package: cbrkit
CBRkitPyPI|Docs|ExampleCustomizable Case-Based Reasoning (CBR) toolkit for Python with a built-in API and CLI.CBRkit[!caution]
The project is under active development and does not yet adhere to semantic versioning.
Breaking changes may occur at any time for versions0.x.y.
Once the project reaches version1.0, semantic versioning will be applied.InstallationThe library is available onPyPI, so you can install it withpip:pipinstallcbrkitIt comes with several optional dependencies for certain tasks like NLP which can be installed with:pipinstallcbrkit[EXTRA_NAME,...]whereEXTRA_NAMEis one of the following:nlp: Natural Language Processing (NLP), includingspacy,openai, andsentence-transformerscli: Command Line Interface (CLI)api: REST API Serverall: All of the aboveUsageCBRkit allows the definition of similarity metrics throughcomposition.
This means that you can easily build even complex similarities by mixing built-in and/or custom measures.
CBRkit also includes predefined aggregation functions.
A working retrieval example can be found as part of ourtesting suite.The following modules are part of CBRkit:sim: Similarity generator functions for various data types (e.g., strings, numbers).global_sim: Similarity generator functions for aggregating the above ones.retrieval: Functions for retrieving cases based on a query.typing: Generic type definitions for defining custom functions.
Package: cbrrr
dag-cbrrrConvert between DAG-CBOR and Python objects at hundreds of megabytes per second. Take a look at thebenchmarksOther than speed, a distinguishing feature is that it operatesnon-recursively. This means you can parse arbitrarily deeply nested objects without running out of call stack (although of course you might still run out of heap)Status: WIP, but almost in a usable state!Installationgit clone https://github.com/DavidBuchanan314/dag-cbrrr
cd dag-cbrrr
python3 -m pip install -v .QuickstartHere's the basics.importcbrrrencoded=cbrrr.encode_dag_cbor({"hello":[b"world",1,2,3]})print(encoded)# b'\xa1ehello\x84Eworld\x01\x02\x03'decoded=cbrrr.decode_dag_cbor(encoded)print(decoded)# {'hello': [b'world', 1, 2, 3]}For more detailed API information, take a look at the commentedpython source, which provides an ergonomic type-annotated wraper for the native module (more docs coming soon™)
Package: cbs
This software lists all positions in given bam files, that have no or only
very limited coverage and stores the result in a hdf5 file.Usagecbs [-h] [--min-cov MIN_COV] files [files ...] outputIf multiple files are given, a position is designated a blind spot, if no file
contains a coverage of at least MIN_COV at this position.OutputThe output is a hdf5 file with the following structure. For every chromosome a
group is created, that contains a dataset calledmissing_cov. The dataset
contains rows of tuples of 32bit integer, representing the first blind spot and
the first position having enough coverage.InstallThis software requires python3, samtools, hdf5, numpy and h5py. All python
dependencies can be installed by installing cbs via pip:pip install cbs
Package: cbsa
Constraint-Based Simulation Algorithm (CBSA)CBSA is a Python package for simulation of biochemical systems using the Constraint-Based Simulation Algorithm.Table of contentsInstallationUsageLicenseInstallationCBSA can be installed on your computer using pip.Just run the following command:python3 -m pip install cbsa --user --upgradeUsageCBSASimple reaction exampleConsider the following reaction system:Using the Constrain-Based Modeling, the Stoichiometric matrix becomes:A sample code to simulate this system is:importcbsaimportmatplotlib.pyplotaspltimportnumpyasnpS=[[-1,1,0],[1,-1,-1],[0,0,1]]init_mols=[50,0,0]k=[0.5,0.1,0.8]max_dt=0.1total_sim_time=10sim=cbsa.ReactionSystem(S)sim.setup()sim.set_x(init_mols)sim.set_k(k)sim.set_max_dt(max_dt)sim.setup_simulation()sim.compute_simulation(total_sim_time)sim_data=np.array(sim.simulation_data)plt.plot(sim_data[:,0],sim_data[:,1],label="A")plt.plot(sim_data[:,0],sim_data[:,2],label="B")plt.plot(sim_data[:,0],sim_data[:,3],label="C")plt.legend()plt.show()LicenseCBSA is licensed under the MIT License.  Please see the fileLICENCEfor more information.
Package: cbseg
Circular Binary SegmentationCircular Binary Segmentation (CBS) is an algorithm tests for change-points
using a maximal t-statistic with a permutation reference distribution to obtain
the corresponding p-value.All citations should reference tooriginal paper.InstallIf you dont already have numpy and scipy installed, it is best to downloadAnaconda, a python distribution that has them included.https://continuum.io/downloadsDependencies can be installed by:pip install -r requirements.txtPyPI install, presuming you have all its requirements installed:pip install cbsegUsagefromcbsegimportdetermine_cbs_stat,determine_t_stat,determine_cbs,segment,validateimportnumpyasnp# Create datanp.random.seed(10)x=np.random.random(300000)x[10000:20000]=x[10000:20000]+0.1x[25000:27000]=x[25000:27000]-1# Calculate segmentsL=segment(x,shuffles=1000,p=0.05)forlinL:print(l)# Interval(0-9998, 0, 0.8195453778139452)# Interval(9998-20005, 0, 0.6922370217962109)# Interval(20005-23672, 0, 0.37855730268017107)# Interval(23672-24999, 0, 0.47507824637709734)# Interval(24999-27000, 0, 1.106086021061645)# Interval(27000-27765, 0, 0.20298421273826422)# Interval(27765-300000, 0, 0.4615259909041863)# Validate segmentsSV=validate(x,L,shuffles=1000,p=0.05)forlinSV:print(l)# Interval(0-9998, 0, 59.217947014694886)# Interval(9998-20005, 0, 24.51595009558689)# Interval(20005-24999, 0, 1426.421130519047)# Interval(24999-27000, 0, 214.73719913960934)# Interval(27000-27765, 0, 1446.2331071442745)# Interval(27765-300000, 0, 1446.2331071442745)Original paperE. S. Venkatraman, Adam B. Olshen; A faster circular binary segmentation algorithm for the analysis of array CGH data, Bioinformatics,https://doi.org/10.1093/bioinformatics/btl646
Package: cbshell
cbshell - interactive python shell for couchbase================================================Prerequisites-------------* Python 2.6* pipInstallation------------pip install cbshellRunning-------$ ./cbshell -hUsage: cbshell [options] couchbase-addressInteractive python shell for Couchbase.A couchbase-address is a couchbase cluster REST address:HOST[:PORT][/BUCKET]Examples:cbshell localhostcbshell 10.3.121.192cbshell 10.3.121.192:8091cbshell 10.3.121.192:8091/defaultcbshell 10.3.121.192/defaultcbshell localhost/defaultcbshell localhost/my-bucket -u Administrator -p passwordOptions:-h, --help            show this help message and exit-u USERNAME, --username=USERNAMEREST username for cluster or server node-p PASSWORD, --password=PASSWORDREST password for cluster or server nodeUsing-----$ ./cbshell 10.3.121.192 -u Administrator -p couchbaseR0ck$connecting to couchbase: 10.3.121.192:8091connected.cb     = couchbase '10.3.121.192:8091'bucket = cb['default']b      = cb['default']type "help()" for help>>>>>> b['user-001'] = 'steve'>>> user = b['user-001']>>> print userGetting more help examples-------------------------->>> help()License-------Apache 2.0 License
Package: cbs-hist-downloader
cbs_hist_downloaderA Python-based tool using Selenium to download books to your harddrive rather than accessing the pictures through the API at historisch.cbs.nlDependenciesSelenium (pip install selenium), time, os, webdriver-manager (pip install webdriver-manager)Example how to use:In the console:pip install cbs_hist_downloaderAfter installation, in a python environment, you start off with the first URL of the book/volume you want to download:import cbs_hist_downloader as chd

url = "https://historisch.cbs.nl/detail.php?nav_id=2-1&index=10&id=395291474"

chd.scrape_book(url)The files will be downloaded to your Downloads folder.Suggestions / Commentsa dot h dot machielsen at uu dot nl
Package: cbsi
This is a very simple library that perform CBSI (Choice Based Sensor Independent) Operations on satellite images. Use the Github link:https://github.com/abhinav-alangadan/CBSIfor more details.Change Log0.0.1 (14/09/2022)
-First Release0.0.2 (09/02/2023)
-CBSI NDSI is added to the library.
Package: cbsm
Compartment based scaledown modelCompartment based scaledown model (cbsm)is a Python package for creating compartments of a bioreactor.UsageInstallInstall the latest version ofcbsm:pip install cbsmBugsPlease report any bugs using theissuesor contribute and fix the bug by following the steps in theContribution Guide. We welcome all contributions!LicenseReleased under theMIT license(see LICENSE.txt)
Package: cbsSeatCalendar
Add study seat/group room bookings to CBS calendarFor CBS students onlySimple little program to add your CBS study seat and/or group room bookings to your calendar conected to your CBS mail account.InstallingSimply run:pip install cbsSeatCalendarUsageIn the terminal write:cbsCalendarUpdateYou will then be promted to put in username, then password.A message should tell you which bookings have been updated
(or if it couldn't find any relevant bookings).
Package: cbs-sentry-dingding
Sentry-DingDingSentry的钉钉通知插件安装$pipinstallsentry-dingding使用在项目的所有集成页面找到DingDing插件，启用，并设置Access Token在插件上使用Test Plugin进行测试，当配置好Access Token后，在钉钉群内会得到以下警告点击href按钮，打开异常详情页面。