Saravanan666/pypi-org huggingface dataset:
Package: cbms
CBMS Api to the Sedona Virtual Machine=======================The CBMS API provides read/write capability from Python to the products from `CBMS Studio<http://www.cbmsstudio.com>`_'s `.The CBMS products can be used as a gateway between a Python application and BACnet or Modbus systems.For example, a Python program can be written to read/write from KNX and used to expose the values as BACnet objects.----The CBMS Studio Server runs on Windows, Linux, Raspberry PI and Blackberry and it exposes aREST web service for updating the IO values. These IO values can be exposed as BACnet or Modbus pointsor they can be used within a Sedona Wiresheet for control and monitoring.The CBMS API connects to the REST web service by sending HTTP Post messages to the server forupdating the IO values. The API provides an easy to user interface for sending the HTTP requests on tothe CBMS Server.
Package: cbmshell
cbmshellThis Python module provides an interactive shell to read and write files to disk image files (.d64, .d71, .d80, .d81, .d82) and tape image files (.t64, .tap) used by various Commodore microcomputer emulators and tools.It permits moving files between images and the local file system as well as other actions such as directory listing and file deletion.It provides many common benefits of a traditional UNIX shell including filename completion, command history and output redirection.Quickstart GuideThe shell is started by running thecbm-shellcommand, this presents the prompt(cbm)The list of available commands is shown by thehelpcommand(cbm) help

Documented commands (use 'help -v' for verbose/'help <topic>' for details):
===========================================================================
alias   detach     from_petscii  lock   rename        shell       unlist
attach  directory  help          macro  renumber      shortcuts   unlock
cat     edit       history       merge  run_pyscript  text        untext
copy    file       images        mkdir  run_script    to_petscii
delete  format     list          quit   set           token_setDetailed information for a command is shown usinghelp <command>.Images need to be attached to a drive number in order to be used.(cbm) attach mydisk.d64
Attached mydisk.d64 to 0Up to ten images can be attached at any one time.Files in an image can be addressed by prefixing the drive number followed by a colon. For example, to list a BASIC program in the image(cbm) list 0:PRINT
5 INPUT"UPPER OR LOWER";C$:SA=0:IFC$="L"THENSA=7
10 INPUT"FILENAME";F$
11 OPEN4,4,SA
15 OPEN2,8,2,F$+",S,R"
20 GET#2,A$:IFST<>0THENPRINT#4:CLOSE4:CLOSE2:END
21 IFA$="π"THENA$=","
30 PRINT#4,A$;:GOTO20Full documentation onRead the Docs.TODOmore commandsbetter error handling
Package: cboe-downloader2
Downloads SPX and VIX option data from www.cboe.com/ n
You will need Chrome installed and chromedriver.exe in your C:WindowsSystem32directory nFunction download_cboe_data need two arguments: n
refresh_seconds (int) eg. 60 n
output_path (string) eg. “C:\temp" n
If you parse 0 seconds to download_cboe_data() it will only run once. nClosing the Chrome browser will terminate the program.
Package: cbook
cbookOverviewThis is an app to manage recipes.Features:Create, edit, delete recipesChange servings of a recipe on the recipe view pageFilter for tags in the recipe listText in this app is only in german for now!
Other language support shall be implemented in the future (at least English)!DependenciesThis app (and it's installation) depends on:pythonpipInstallationThis app is hosted on PyPI so it can be installed usingpip:$ python -m pip install cbook
Package: cbor
An implementation of RFC 7049 - Concise Binary Object Representation (CBOR).CBOR is comparable to JSON, has a superset of JSON’s ability, but serializes to a binary format which is smaller and faster to generate and parse.The two primary functions are cbor.loads() and cbor.dumps().This library includes a C implementation which runs 3-5 times faster than the Python standard library’s C-accelerated implementanion of JSON. This is also includes a 100% Python implementation.
Package: cbor2
AboutThis library provides encoding and decoding for the Concise Binary Object Representation (CBOR)
(RFC 8949) serialization format. The specification is fully compatible with the original RFC 7049.Read the docsto learn more.It is implemented in pure python with an optional C backend.On PyPy, cbor2 runs with almost identical performance to the C backend.FeaturesSimple api likejsonorpicklemodules.Support manyCBOR tagswithstdlib objects.Generic tag decoding.Shared valuereferences including cyclic references.String referencescompact encoding with repeated strings replaced with indices.Optional C module backend tested on big- and little-endian architectures.Extensibletagged value handlingusingtag_hookandobject_hookon decode anddefaulton encode.Command-line diagnostic tool, converting CBOR file or stream to JSONpython-mcbor2.tool(This is a lossy conversion, for diagnostics only)Thorough test suite.Installationpip install cbor2RequirementsPython >= 3.8 (orPyPy33.8+)C-extension: Any C compiler that can build Python extensions.
Any modern libc with the exception of Glibc<2.9Building the C-ExtensionTo force building of the optional C-extension, set OS envCBOR2_BUILD_C_EXTENSION=1.
To disable building of the optional C-extension, set OS envCBOR2_BUILD_C_EXTENSION=0.
If this environment variable is unset, setup.py will default to auto detecting a compatible C library and
attempt to compile the extension.UsageBasic UsageCommand-line UsageThe provided command line tool (cbor2) converts CBOR data in raw binary or base64
encoding into a representation that allows printing as JSON. This is a lossy
transformation as each datatype is converted into something that can be represented as a
JSON value.The tool can alternatively be invoked withpython-mcbor2.tool.Usage:# Pass hexadecimal through xxd.
$ echo a16568656c6c6f65776f726c64 | xxd -r -ps | cbor2 --pretty
{
    "hello": "world"
}
# Decode Base64 directly
$ echo ggEC | python -m cbor2.tool --decode
[1, 2]
# Read from a file encoded in Base64
$ python -m cbor2.tool -d tests/examples.cbor.b64
{...}It can be used in a pipeline with json processing tools likejqto allow syntax
coloring, field extraction and more.CBOR data items concatenated into a sequence can be decoded also:$ echo ggECggMEggUG | cbor2 -d --sequence
[1, 2]
[3, 4]
[5, 6]Multiple files can also be sent to a single output file:$ cbor2 -o all_files.json file1.cbor file2.cbor ... fileN.cborSecurityThis library has not been tested against malicious input. In theory it should be
as safe as JSON, since unlikepicklethe decoder does not execute any code.
Package: cbor-diag
This Python module is a minimal wapper around thecbor-diag crate.
Unlike the crate,
which offers lots of functionality for manipulating an AST,
this module only exposes two very simple functions:diag2cbor, which parses diagnostic notation and produces a corresponding CBOR binary string, andcbor2diag, which does the inverse.It is recommended to use thecbor2package to actually process the CBOR data.Documentation is availableon readthedocs.InstallationThis project can be installedfrom PyPI;
binary wheels are available there for the common platforms.MaintenanceThis package is considered feature-complete at release,
and maintainened reactively –
when changes to the ecosystem threaten to make it unusable.New features are only expected to be added
if they are already present in the underlyingcbor-diag crate,
and will likely manifest as extra arguments tocbor2diag.This package is built usingmaturinandpyo3and largely follows their template.
The built module is renamed fromcbor_diagto_cbor_diag(and consequently wrapped manually)
to avoid it being part of the package’s public API.The package is currently hosted on GitHub athttps://github.com/chrysn/cbor-diag-pybecause maturin cannot yetbuild pipelines for GitLab or codeberg.LicenseThis package was written by Christian Amsüss <chrysn@fsfe.org>,
and is published under the terms ofMITorApache-2.0license,
at the user’s choice.Credit for its functionality goes to Nemo157
as the maintainer of the underlyingcbor-diag crate.
Package: cbork2
**This is just a fork of `cbor2`_ by Alex Grönholm.**.. _cbor2: https://github.com/agronholm/cbor2This library provides encoding and decoding for the Concise Binary Object Representation (CBOR)(`RFC 7049`_) serialization format.There exists another Python CBOR implementation (cbor) which is faster on CPython due to its Cextensions. On PyPy, cbor2 and cbor are almost identical in performance. The other implementationalso lacks documentation and a comprehensive test suite, does not support most standard extensiontags and is known to crash (segfault) when passed a cyclic structure (say, a list containingitself)... _RFC 7049: https://tools.ietf.org/html/rfc7049Upstream project links-------------* `Documentation <http://cbor2.readthedocs.org/>`_* `Source code <https://github.com/agronholm/cbor2>`_* `Issue tracker <https://github.com/agronholm/cbor2/issues>`_
Package: cbors
cbo-rsA Python CBOR (de)serialization module, powered by Rust.Wraps the excellentserde_cborcrate and provides a pythonic interface viapyo3.InstallationPython>=3.5 is required due to the requirements of pyo3.Recommended to install fromPyPI, e.g.pip install cborsTo install from source, usematurinto build a wheel from repository root.maturin build -i python3
pip install target/wheels/*.whlUsageSerialize data viacbors.dumpb, deserialize viacbors.loadb.Interface is similar to the standard library'sjsonmodule.importcborsb=cbors.dumpb("foo")assert(b==b"cfoo")s=cbors.loadb(b)assert(s="foo")LimitationsAs this usesserde_cborunder the hood, the same limitations apply here.Notably, tags are not currently supported (seepyfisch/cbor#3).If this functionality is important to you,cbor2might be a better choice.DevelopmentFor local development, it is recommended to create a virtual environment, and build the module viamaturin develop.A Dockerfile is provided which will build and install the module and run the test suite.If you do not want to use docker, it is recommended to usetoxfor testing.Pull requests welcome!
Package: cbot
cbota chinese chat robotIntroduction to cbot usage：version：0.1.0####how to install cbot:
#####pip install cbot
#####if you got an error when install python-Levenshtein package
#####you can download .whl file and install this package:python-levenshtein####If you want to use it locally:from cbot import CBot
cbot = CBot('cbotName')

# If you start from scratch
# cbot.train()
# while True:
#     que = input('me：')
#     reponse = cbot.get_response(str(que))
#     print('cbot：', reponse)


# If you want to train some data first
# The data set must be list type.
# And the next sentence is the answer to the last sentence.
trainList = [
    '早',
    '早上好',
    '早饭吃了么',
    '还没呢！，你呢？',
    '我也没吃',
    '我们一起吃早饭去吧',
    '好呀'
]

cbot.train(trainList)
while True:
    que = input('me：')
    reponse = cbot.get_response(str(que))
    print('cbot：', reponse)####If you want to use it with turing api:from cbot import CBot

cbot = CBot('felix')
cbot.turing_key = ''  # you should git an api key at http://www.tuling123.com/
while True:
    que = input('我：')
    reponse = cbot.get_response(str(que), api='turing')
    print('CBot：', reponse)###Now have fun!
###If you get a bug,you can send the bug to my email.
###Here is my email:felix2@foxmail.com
Package: cbp
clone-by-pathA small CLI tool to infer the clone URL by the current path and arguments.SetupThere are now two versions. One is in Python, one is in D. If you're a static-typed guy, follow the instructions below. But if you have Python, just runpip install cbpand continue to the next section,Usage.Linux, place thecbpfile in/usr/bin/and make it executable withsudo chmod +x /usr/bin/cbp.Windows, savecbp.exesomewhere and expose its location to your system PATH environment variable.UsageThe best way to understand how this works is to read the source code. It can be a little confusing otherwise.cbp <repo> [args...]CBP assumes that each repository URL is three parts. The domain, the author, and the repository name.
It is also assumed that these are delimited by a forward-slash (/). All arguments after the<repo>position are passed as arguments to the subsequentgit clonecommand.There are several examples to help you understand how the command works.
Pay attention to the current working directory, the generated clone command, and the directory to clone into.spikespaz@jacob-linux:~$ cbp github.com/spikespaz/clone-by-path
> git clone https://github.com/spikespaz/clone-by-path.git github.com/spikespaz/clone-by-path
Cloning into 'github.com/spikespaz/clone-by-path'...
...spikespaz@jacob-windows:~/github.com$ cbp spikespaz/clone-by-path
> git clone https://github.com/spikespaz/clone-by-path.git spikespaz/clone-by-path
Cloning into 'spikespaz/clone-by-path'...
...spikespaz@jacob-windows:~/github.com/spikespaz$ cbp clone-by-path
> git clone https://github.com/spikespaz/clone-by-path.git clone-by-path
Cloning into 'clone-by-path'...
...spikespaz@jacob-windows:~/github.com/spikespaz/clone-by-path$ cbp .
> git clone https://github.com/spikespaz/clone-by-path.git .
Cloning into '.'...
...DonationsIf you would like to show appreciation for my work, I would gladly accept a small donation!I will accept donations through PayPal.Me, Buy Me a Coffee, or Patreon.
Package: cbpa
cbpaCoinbase Pro Automation for making buy orders from a default bank account.QuickstartInstall with pippipinstallcbpaCreate a Coinbase API Key, you will need to select all fields of access.(Optional).Create a Discord webhook.Make your config file. See theexamplesfor more.---api:key:"myKey"secret:"mySecret"passphrase:"myPassphrase"url:"https://api.pro.coinbase.com"discord:webhook:https://discord.com/api/webhooks/123/abcaccount:auto_funding_limit:20fiat_currency:USDbuys:-send_currency:USDsend_amount:2receive_currency:BTC-send_currency:USDsend_amount:2receive_currency:ETH-send_currency:USDsend_amount:2receive_currency:DOGEMake your orders!cbparun-fmy-buys.yamlRunningcbpain Google Cloud RunYou can runcbpaas a server in Google Cloud Run, which can called by Google Cloud Scheduler to automatically place buys for you each day, or on any cron schedule you like.These steps assume you have installed and configuredgcloudalready.Store your buy order file as a secret in GCP.gcloudsecretsversionsaddmy_buys--data-file=my-buys.yamlBuild and push your docker container to Google Cloud, and then deploy your container../scripts/docker-build.sh&&./scripts/docker-push.sh;SECRET_ID=my_buys./scripts/gcloud-run-deploy.shCreate an authenticated schedulerthat uses an http target to hit thebuyendpoint.
Package: cb-palettes
cb-palettesA collection of cb-friendly color palettesInstallationFrom PyPI:$ pip install cb-palettesFrom source:$ git clone https://github.com/tjkessler/cb-palettes
$ cd cb-palettes
$ pip install .Built-in palettes:Paul Tol: brightfromcb_palettesimportTolBrightcolors_hex:Tuple[str]=TolBright().hexcolors_hsv:Tuple[Tuple[float]]=TolBright().hsvcolors_rgb:Tuple[Tuple[int]]=TolBright().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolBright().rgb_normPaul Tol: darkfromcb_palettesimportTolDarkcolors_hex:Tuple[str]=TolDark().hexcolors_hsv:Tuple[Tuple[float]]=TolDark().hsvcolors_rgb:Tuple[Tuple[int]]=TolDark().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolDark().rgb_normPaul Tol: high contrastfromcb_palettesimportTolHighContrastcolors_hex:Tuple[str]=TolHighContrast().hexcolors_hsv:Tuple[Tuple[float]]=TolHighContrast().hsvcolors_rgb:Tuple[Tuple[int]]=TolHighContrast().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolHighContrast().rgb_normPaul Tol: lightfromcb_palettesimportTolLightcolors_hex:Tuple[str]=TolLight().hexcolors_hsv:Tuple[Tuple[float]]=TolLight().hsvcolors_rgb:Tuple[Tuple[int]]=TolLight().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolLight().rgb_normPaul Tol: medium contrastfromcb_palettesimportTolMediumContrastcolors_hex:Tuple[str]=TolMediumContrast().hexcolors_hsv:Tuple[Tuple[float]]=TolMediumContrast().hsvcolors_rgb:Tuple[Tuple[int]]=TolMediumContrast().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolMediumContrast().rgb_normPaul Tol: mutedfromcb_palettesimportTolMutedcolors_hex:Tuple[str]=TolMuted().hexcolors_hsv:Tuple[Tuple[float]]=TolMuted().hsvcolors_rgb:Tuple[Tuple[int]]=TolMuted().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolMuted().rgb_normPaul Tol: palefromcb_palettesimportTolPalecolors_hex:Tuple[str]=TolPale().hexcolors_hsv:Tuple[Tuple[float]]=TolPale().hsvcolors_rgb:Tuple[Tuple[int]]=TolPale().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolPale().rgb_normPaul Tol: vibrantfromcb_palettesimportTolVibrantcolors_hex:Tuple[str]=TolVibrant().hexcolors_hsv:Tuple[Tuple[float]]=TolVibrant().hsvcolors_rgb:Tuple[Tuple[int]]=TolVibrant().rgbcolors_rgb_norm:Tuple[Tuple[float]]=TolVibrant().rgb_norm
Package: cbpi4
CraftBeerPi 4CraftBeerPi 4 is an open source software solution to control the brewing and
fermentation of beer :beer:.📚 DocumentationInstructions on how to install CraftBeerPi and use its plugins is described
in the documentation, that can be found here:gitbook.io.PluginsPlugins extend the base functionality of CraftBeerPi 4.
You can find a list of available pluginshere.🧑‍🤝‍🧑 ContributeYou want to help develop CraftBeerPi4? To get you quickly stated, this repository comes with a preconfigured
development environment. To be able to use this environment you need 2 things installed on your computer:dockervisual studio code (vscode)To start developing clone this repository, open the folder in vscode and use thedevelopment containerfeature. The command is calledReopen in container. Please note that this quick start setup does not work if you want to develop directly on a 32bit raspberry pi os because docker is only available for 64bit arm plattform. Please use the regular development setup for that.For a more detailed description of a development setup without thedevelopment containerfeature see the documentation page:gitbook.ioContributorsThanks to all the people who have contributed
Package: cbpi4-Actori2cPWM
CraftBeerPi4 Actor i2cPWM PluginActor i2cPWMPlugin will provide the ability to run actors using Adafruit's DC & Stepper Motor HAT for Raspberry Pi. Reason for using this HAT is to take advantage of a the fully-dedicated PWM driver chip. The PWM control is amazing!Installation:First two steps can be combined.install i2c support:sudo raspi-configInterface OptionsI2CEnable by selectingsudo rebootAfter reboot, make sure it's working:sudo i2cdetect -y 1configure SPI:sudo raspi-configSPIEnable by selectingsudo rebootAfter reboot, make sure it's working:"ls -l /dev/spidev*"sudo pip3 install cbpi4-Actori2cPWMor install from repo: sudo pip3 installhttps://github.com/sjhoglund/cbpi4-Actori2cPWM/archive/main.zipcbpi add cbpi4-Actori2cPWMUsage:More to comeHardware:Adafruit DC & Stepper Motor HAThttps://www.adafruit.com/product/2348Changelog:01-29-22: (0.0.1) Updated README
Package: cbpi4-BM-PID-SmartBoilWithPump
CBPi4 Braumeister Smart Boil with Pump KettleLogicThis Kettle Logic can be used to run a Speidel Braumeister with CraftbeerPi4. It is based on this cbpi3 Plugin (https://github.com/cgspeck/cbpi-pidsmartboil-withpump)Mash & Boil in single Kettle (e.g. Speidel Braumeister)The Kettle logic is intended to be used in a single Kettle. It is a PID logic. PID parameters can be for instance derived from the PID AutoTune plugin (https://github.com/avollkopf/cbpi4-PIDAutoTune)It runs on PID control until it reaches a specified temperature. Above that temperature it heates w/o PID logic until a specified boil temp is reached.Power to run boil can be specified in the pluginPump Intervals cen be set to have a pump rest on specified intervals for a specified time (e.g. 60 seconds every 600 seconds which is a default for the Braumeister controller)Installation:You can install it directly via pypi.org:sudo pip3 install cbpi4-BM-PID-SmartBoilWithPumpAlternativeley 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/avollkopf/cbpi4-BM_PID_SmartBoilWithPump/archive/main.zipParameters:Configurable:P: Proportional - Takes current value into accountI: Integral - Takes past values into accountD: Derivative - Takes future values into accountSampleTime - 2 or 5 seconds -> how often the logic calculates the power settingMax Pump Temp: Pump is switched off above this temperature and cannot be switched back onMax Boil Output: Maximum Power during when Boil Temp is reachedMax Boil Temp: When Temp is reached, power is set to Max Boil OutputMax PID Temp: PID is switched off above this temperatureRest Interval: Time interval in seconds after which Pump is switched offRest Time: Pump is switched off for specified time in secondsFixed in Code:Max Output: Maximum Power (%) to be used for PID during Ramp up -> 100%Changelog:14.06.22: (0.1.6) Disable pump pause during temperature ramp -> pause will take effect only on active timer11.05.22: (0.1.5) Updated README (removed cbpi add)10.05.22: (0.1.4) removed cbpi dependency30.12.21: (0.1.3) Fixed 0 pump/rest time -> Pump will be sitched on at start and off if temp is above controll limit. But no pump pause is triggered01.12.21: (0.1.2) Added security feature: current kettle power is monitored continuously and overwritten in case it's different from the logic loop value21.11.21: Updated setup and Readme15.11.21: Adapted to cbpi 4.0.0.45 with actor power settings01.11.21: Merged Pull request from madhatguy ansd fixed some bugs15.03.21: Support for cbpi >= 4.0.0.3231.10.21: Changed logic to coroutines
Package: cbpi4-buzzer
CBPi4 Buzzer PluginBuzzer Plugin calls buzzer on cbpi notificationsSettings will be added by this pluginbuzzer_gpio: GPIO your buzzer is conected tobuzzer_gpio_inverted: Set to 'yes', if your buzzer is connected via inverted GPIO (High on Low)buzzer_level: Sound level(High or Low)Different sounds for error, warning and other message typesChangelog25.06.23: (0.0.8) internal change on startup with respect to logging of parameter check for gpio_inverted10.06.23: (0.0.7) fix issues in setup.py10.06.23: (0.0.6) bump version to release02.06.23: (0.0.6.rc1) added cbpi version requirement16.04.23: (0.0.6.a4) bug fix for parameter generation05.04.23: (0.0.6.a3) Test for plugin settings selection test branch of cbpi12.03.23: (0.0.4) Added option for inverted GPIO10.04.21: (0.0.3) changed from asyncio.sleep to a thread as buzzer sound was impacted by asyncio.sleep accuracy01.04.21: Initial release
Package: cbpi4-FermenterHysteresis
Craftbeerpi4 Plugin for simple Fermenter Logic (Hysteresis)As long as femrentation is not yet integrated with CBPi4, the user can define a kettle as fermenter.Installation / Configuration:Install this pluginAdd a kettle to the hardware and select corresponding temp sensor, heater (Actor) and cooler (Agitator) elementsSelect Fermenter Hysteresis as Kettle logicConfigure the on and off parameters as you did with cbpi3Set a target temperature in the Fermenter logicSelect Yes or No for Autostart.Add the kettle and  kettle logic to your dashboardOperation:You can select a temperatur as target temp in the dashboard (if not or set to 0, the temperature defined in the logic will be choosen)Push the Autostart Symbol for your kettle logic and the Logic will start and run your Kettle at the selected temp while switching either heater or cooler on and off.If you reboot your system and Autostart is set to Yes, the logic will be switched back on for this particular Fermenter with the target temperature set in the logicBy using this plugin, you can run several fermenters in parallel in auto mode and run also a kettle for brewing in addition.Only drawback is that you cannot define different temperatures and times. Therefore, we need to wait for ManuelSoftware installation:sudo pip3 install cbpi4-FermenterHysteresisor install from repo: sudo pip3 installhttps://github.com/avollkopf/cbpi4-FermenterHysteresis/archive/main.zipcbpi add cbpi4-FermenterHysteresisChangelog:28.08.21 (0.0.2): Cooler and Heater are now optional, fix descriptions11.06.21 (0.0.1): Initial Release