Saravanan666/pypi-org huggingface dataset:
Package: cec2rs232
cec2rs232OverviewThis project aims to turn a Raspberry Pi into a bridge between the HDMI CEC standard
and arbitrary control protocols for audio systems.The intent is to automate powering up and controlling volume of certain hifi systems
as you would a dedicated home theater receiver.RS-232 and IR controls are supported. RS-232 requires a USB adapter, while IR can be
controlled via GPIO.InstallationIt is assumed that the Raspberry Pi is not doing anything important so it is suitable
to install cec2rs232 globally and run it as root. The package is available from pip:sudo pip install cec2rs232Copycec2rs232.example.jsonto/etc/cec2rs232/cec2rs232.json. Edit it as needed.Then you can have it run as a service using the provided systemd file:sudo cp systemd/cec2rs232.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable cec2rs232
sudo systemctl start cec2rs232This will start the process and ensure it starts again at boot.Supported televisionsThe intent is to support any TV with CEC capabilities. However, the project was originally
developed using a Samsung TU7000 and therefore may unintentionally be designed against its
quirks. Please report any problems you experience with another model of television and an
attempt will be made to add support.Supported audio devicesCambridge Audio CXA61/81These two integrated amplifiers support controlling power, source, and mute status over RS-232 but
require IR for volume controls.A 3.5mm TRS can be connected to the IR In port on the back of the amp instead of using an actual IR
transmitter. In this case, connect the GPIO pin to the tip and ground to the sleeve. The ring need
not be connected.Driver name:cambridge_cxa61Parameters:NameTypeDescriptionserial_portstringPath to serial device, e.g. "/dev/ttyUSB0"ir_gpio_pinintegerGPIO pin number driving the IR transmittertv_sourcestring (optional)Source to activate when TV turns on, e.g. "D2". Omit to not change.OthersPlease feel free to make a pull request to add support for other devices.DependenciesBindings for libCEC are required:sudo apt install python3-cec.If using a virtual environment, specify--system-site-packagesso the native libcec can be used.Pigpiod is required:sudo apt install pigpiod && sudo systemctl enable pigpiod && sudo systemctl start pigpiod.Other dependencies should be brought in automatically by pip.License and attributionReleased under the terms of theMIT License.
Package: cechmate
This library provides easy to use constructors for custom filtrations that are suitable for use withPhat.
Phat currently provides a clean interface for persistence reduction algorithms for boundary matrices.
This tool helps bridge the gap between data and boundary matrices.Currently, we support construction of Alpha, Rips, and Cech filtrations, and provide an easy interface for Phat.If you have a particular filtration you would like implemented, please feel free to reach out and we can work on helping with implementation and integration, so others can use it.SetupWe use the following dependencies in this libraryNumpyScipyMatplotlibPhatThe latest version of Cechmate can be found on Pypi and installed with pip:pip install cechmateContributionsWe welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don't feel you can't contribute.To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch.DocumentationCheck out complete documentation atcechmate.scikit-tda.org
Package: ceci
Ceci Pipeline Software“Ceci n'est pas une pipeline.”A lightweight parsl-based framework for running DESC pipelines.This is now beta status.InstallpipinstallceciThis installs the simplest version of ceci, if you want to be able
to use the parsl backend, install insteadceci[parsl].You can then run an example pipeline from the ceci_lib directory using:exportPYTHONPATH=$PYTHONPATH:$PWDcecitest/test.ymlAdding Pipeline StagesTo make new pipeline stages, you must:make a new python package somewhere else, to contain your stages.the package must have an__init__.pyfile that should import from.all the stages you want to use.it must also have a file__main__.pywith the same contents as the example inceci_example.each stage is its own class inheriting fromceci.PipelineStage. Each must define its name, inputs, and outputs, and a run method.the run method should use the parent methods fromPipelineStageto get its inputs and outputs etc.
Package: cectf-proxy
# cectf-proxyYou need Python 3 and pip installed to set up this project.Navigate to the project repository and run./setup_workspace.sh. This will set up the virtual environment, install the required python dependencies, and set up a defaultinstance/config.pythat points to the defaultcectf-frontendandcectf-serverinstances running on localhost.Runsudo run.shto launch the Flask server. It is configured to run the server onhttp://127.0.0.1:80(AKAhttp://127.0.0.1) by default, and so requires sudo access.Configuration can be done by adding variables toinstance/config.py.TODO add some testsFor testing, first dopip install pytest coverage. Runpip install -e .to install the project in the local virtual environment (the-eensures that it is updated as the project is modified). Runpytestto run all tests. Runcoverage run -m pytestto generate a code coverage report. Runcoverage reportto get the report in the command line, or runcoverage htmlto generate an interactive HTML page inhtmlcov/index.html.
Package: ced
cedA lightweight, cross-platform, no-dependency configuration editor.Installpip install cedFor convenience, you may also directly download thecedscript:curl https://raw.githubusercontent.com/regisb/ced/master/ced/ced > ced
chmod u+x cedThis is useful if you don’t want to install pip in your environment.Usage$ ced -h
usage: ced [-h] [-o OUTPUT] [-d DELIMITER] [-s] [-V VALUE] src

A lightweight, cross-platform, no-dependency configuration editor.

positional arguments:
  src                   path to source file

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        path to destination file; if unset, print to stdout
  -d DELIMITER, --delimiter DELIMITER
                        placeholder delimiter
  -s, --safe            do not raise error on missing placeholder values
  -V VALUE, --value VALUE
                        explicitely set a value: formated as 'var=value'
Package: ceda-cc
USAGEFrom the command line:ceda-cc -p <project> -D <directory>## check all files in directory tree, for project in SPECS, CORDEX, CCMI, CMIP5, ccmi2022.ceda-cc -p <project> -d <directory>## check all files in directoryceda-cc -p <project> -f <file>## check a single file.ceda-cc –copy-config <dest-dir>## copy the default configuration directory to<dest-dir>to enable customisation.ceda-cc -h## print help textFrom the source code:python -m ceda_cc.c4 -p <project> -D <directory>## check all files in directory tree, for project in SPECS, CORDEX, CCMI, CMIP5, ccmi2022.python -m ceda_cc.c4 -p <project> -d <directory>## check all files in directorypython -m ceda_cc.c4 -p <project> -f <file>## check a single file.python -m ceda_cc.c4 –copy-config <dest-dir>## copy the default configuration directory to<dest-dir>to enable customisation.
Package: ceda-directory-tree
CEDA directory-treeData structure for storing and searching directory trees.This repo provides a efficient process for matching paths against known directories.Library DocumentationInstallationpip install ceda-directory-treeBuilding and editing the docsThe documentation is written and built using the Sphinx workflow.Install the docs requirementspip install ceda-directory-tree[docs]Edit the .rst files in the docsrc directoryBuild the docsmake htmlThis will build the docs and place in thedocsrc/build/htmldirectory. It will also
copy the html to the/docdirectory for serving with github pages.
Package: ceda-elasticsearch-client
# A CEDA elastic search clientJust a layer over the elasticsearch lib with the CEDA elastic search config baked in.` >>> from ceda_es_client import CEDAElasticsearchClient >>> es = CEDAElasticsearchClient() >>>es.search(index="fbi-2022",... `If you need to add an API key` >>> from ceda_es_client import CEDAElasticsearchClient >>> es = CEDAElasticsearchClient(api_key=MYAPIKEY) >>>es.index(index="myindex",id=10,document=...`
Package: cedar-backup3
Cedar Backupis a software package
designed to manage system backups for a pool of local and remote machines.
Cedar Backup understands how to back up filesystem data as well as MySQL and
PostgreSQL databases and Subversion repositories.  It can also be easily
extended to support other kinds of data sources.Cedar Backup is focused around weekly backups to a single CD or DVD disc,
with the expectation that the disc will be changed or overwritten at the
beginning of each week.  If your hardware is new enough, Cedar Backup can
write multisession discs, allowing you to add incremental data to a disc on
a daily basis.  Alternately, Cedar Backup can write your backups to the Amazon
S3 cloud rather than relying on physical media.  See
theCedar Backup v3 Software Manualfor details.Besides offering command-line utilities to manage the backup process, Cedar
Backup provides a well-organized library of backup-related functionality.
For more information, see
theAPI Reference.There are many different backup software systems in the open source world.
Cedar Backup aims to fill a niche: it aims to be a good fit for people who need
to back up a limited amount of important data on a regular basis. Cedar Backup
isn’t for you if you want to back up your huge MP3 collection every night, or
if you want to back up a few hundred machines.  However, if you administer a
small set of machines and you want to run daily incremental backups for things
like system configuration, current email, small web sites, source code
repositories, or small databases, then Cedar Backup is probably worth your
time.
Package: cedar-datacube
cedar- Create Earth engine Data cubes of Analytical Readinesscedar is a library and application to help download and preprocess
satellite data to be “analysis ready data” (ARD) “data cube” as quickly as
possible. cedar has been designed primarily to preprocess Landsat data, and can
help acquire data from the Google Earth Engine (GEE). It is based on tools
within the Python ecosystem for geospatial data processing (rasterio), saving
and working with N-dimensional data (netCDF4andxarray), and parallelization
(daskanddistributed).BranchTestsCoverageDocsmasterChange LogAll notable changes will appear in this log.For information on the style of this change log, seekeepachangelog.com.v0.0.4Fixedbug incedar cleancommandThecedar convertprogram will now copy “pre-ARD” image metadata JSON
files to the destination directory alongside the “pre-ARD” images (GeoTIFFs
converted to NetCDF files). To prevent this behavior, pass--skip-metadatato the program.Changes were made in where exceptions are handled for the case where a user
requests a “pre-ARD” image that returns 0 search results (e.g., wrong time
period for sensor, bad historic coverage, etc). By default,Order.addwill not raise anEmptyCollectionErrorwhen you try to add a “pre-ARD”
image that had 0 image results. You can force an error to be raised by
settingerror_if_empty=Truein eitherOrder.addorTracker.submit.v0.0.3BREAKING CHANGE- Require image collection filters to be specified in
the configuration file according to the image collection. This change
has been made to prepare for using image collections that do not
have the same filters (e.g., more than justLANDSAT/*/C01/T1_SRdata)Add a check to make sure thatOrder.name_templatecreates unique names
for pre-ARD before continuing. If there are duplicate names, raises ValueErrorFix warning when calculating mean/std runtime of tasks that haven’t been
updated (RuntimeWarning: Mean of empty slice…)Provide better info incedar status listwhen nothing is tracked because
the tracking folder doesn’t existFix bug when ordering but not using filters that resulted in 0 images being
foundValidate image collection names usingclickargument callback
incedar submitCLIImprove error propagation insidecedar.ordering.Orderandcedar.tracker.Tracker.Order.addno longer catches and swallowsEmptyCollectionError, which now is handled inTracker.submitv0.0.2Fix bug in jsonschema validation by allowing tuples & lists to count
as ‘array’Addedcedar status cancelcommand to cancel ordersRefactor internals to useTrackingMetadatamodelv0.0.1.post1Fix packaging issue (missing package data)v0.0.1.post0Fix packaging issuev0.0.1First public release
Package: cedargrove-nau7802
IntroductionA CircuitPython driver class for the NAU7802 24-bit ADC.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Installing to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstallcedargrove_nau7802Or the following command to update an existing version:circupupdateInstalling for Blinka with Pippip3installcedargrove-nau7802Usage Exampleimportboardfromcedargrove_nau7802importNAU7802# Instantiate NAU7802 ADCnau7802=NAU7802(board.I2C(),address=0x2A,active_channels=2)nau7802_simpletest.pyand other examples can be found in theexamplesfolder.DocumentationNAU7802 CircuitPython Driver API Class DescriptionClue Coffee Scale (Adafruit Learning Guide)CedarGrove NAU7802 FeatherWing OSH Park Project (16-SOIC version)CedarGrove NAU7802 FeatherWing OSH Park Project (16-DIP version)Needing a calibration weight? TheU.S. Mint coin specificationsmight have some information that could help – if you have some spare change.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project be welcoming to everyone.
Package: cedashtools
SummaryUse this package with your Centric Engineers tools to acquire user access levels from centricengineers.com.UsageSingle Page Dash AppIn a simple single page Dash-Plotly application.importdashfromdashimportdcc,html,Input,Outputfromcedashtools.user_accessimportvalidatorfromcedashtools.user_access.websiteimportAccessLevel# set defaultUSER_PAID=False# Tool ID provided by centricengineers.comTOOL_ID='a_tool_id'app=dash.Dash(__name__)app.layout=html.Div([dcc.Location(id='url',refresh=False),html.Div(id='content'),])@app.callback(Output('content','children'),[Input('url','search')])defdisplay_content_based_on_access(search:str):# run the validator and set the USER_PAID variable for the duration of this sessionvalidator.website.login('username','password')url_vars=validator.parse_url_params(search)# URL vars contain user informationaccess_level=validator.get_access_level(url_vars,TOOL_ID)ifaccess_level==AccessLevel.PAID:globalUSER_PAIDUSER_PAID=True# set USER_PAID variable for access-level testing throughout applicationlayout=html.Div([html.H1(["Paid Content"])])else:layout=html.Div([html.H1(["Free Content"])])returnlayoutMult-Page Dash AppIn a multi-page Dash-Plotly application (using pages).app.pyimportdashfromdashimporthtml,dcc# set defaultUSER_PAID=False# Tool ID provided by centricengineers.comTOOL_ID='a_tool_id'APP_TITLE="Dash App"app=dash.Dash(__name__,title=APP_TITLE,use_pages=True,# New in Dash 2.7 - Allows us to register pages)app.layout=html.Div([dash.page_container])server=app.serverif__name__=='__main__':app.run_server(debug=True)home.pyimportappfromdashimporthtml,register_pagefromcedashtools.user_accessimportvalidatorfromcedashtools.user_access.websiteimportAccessLevelregister_page(__name__,name='Home',path='/')deflayout(**url_vars):# URL vars contain user information# run the validator on the home page and set the app.USER_PAID variable for the duration of this sessionvalidator.website.login('username','password')access_level=validator.get_access_level(url_vars,app.TOOL_ID)ifaccess_level==AccessLevel.PAID:app.USER_PAID=True# set app.USER_PAID for access-level testing throughout applicationlayout=html.Div([html.H1(["Paid Content"])])else:layout=html.Div([html.H1(["Free Content"])])returnlayout
Package: ce-detector
ce_detectorA program used to detect Cryptic ExonFree software: MIT licenseDocumentation:https://ce-detector.readthedocs.io.FeaturesDetect Junction ReadsAnnotate Junction ReadsDetect Cryptic ExonInstallationUsing pip:$ pip install ce-detectorUsing conda:$ conda install ce-detectorUsage example_For more examples and usage, please refer toDocumentDevelopment setupDescribe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.:$ pip install -r requirement_dev.txtContributingFork it (<https://github.com/cauliyang/ce_detector/fork>)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am ‘Add some fooBar’)Push to the branch (git push origin feature/fooBar)Create a new Pull RequestCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-12-26)First release on PyPI.
Package: cedict-utils
A Python parser for the CC-CEDICT Chinese-English dictionaryA parser for the CC-CEDICT Chinese-English dictionary.InstallPIPhttps://pypi.org/project/cedict-utils/pip install cedict-utilsREPOCreate virtualenv.python3 -m venv ~/.virtualenvs/cedict-utilsActivate venv.source ~/.virtualenvs/cedict-utils/bin/activateInstall requirements.pip install -r requirements.txtDictionaryDownload dictionarywget -O - https://www.mdbg.net/chinese/export/cedict/cedict_1_0_ts_utf-8_mdbg.txt.gz | gunzip > data/cedict_ts.u8Usage$python>>>fromcedict_utils.cedictimportCedictParser>>>parser=CedictParser()>>>parser.read_file()>>>entries=parser.parse()>>>foreinentries:...print(e).....龟缩(龜縮)-gui1suo1龟背竹(龜背竹)-gui1bei4zhu2龟船(龜船)-gui1chuan2..>>>entries[200].simplified'敦'>>>entries[200].traditional'㪟'>>>entries[200].pinyin'dun1'>>>entries[200].raw_line'㪟 敦 [dun1] /variant of 敦[dun1]/'>>>entries[200].meanings['variant of 敦[dun1]']>>>TestsRunning tests$ make test
pytest
================================================================ test session starts ================================================================
platform linux -- Python 3.6.8, pytest-3.2.3, py-1.4.34, pluggy-0.4.0
rootdir: /Development/cedict-utils, inifile:
collected 8 items                                                                                                                                    

tests/test_cedict.py ........

============================================================= 8 passed in 0.09 seconds ==============================================================ResourcesCedict projecthttps://www.mdbg.net/chinese/dictionary?page=cc-cedict
Package: cedisa-report
Functionsdefmake_title(self,title:str,merge_range:str)->Nonedefmake_report_creation_date(self)->Nonedefmake_simple_header(self,title:str,merge_range:str,line_number:int,column_number:int,width:int=30)->Nonedefmake_text_data(self,line_number:int,column_number:int,data)->Nonedefmake_number_data(self,line_number:int,column_number:int,data)->NoneInitializefromcedisa_reportimportReportwb=Workbook()ws=wb.activereport=Report(ws,img_path='./path/to/title/image')# ORreport=Report(ws)Dependenciespipinstallpillowopenpyxl
Package: cedl
Chrome Extension Downloader (CEDL)This is a simple utility program to download extensions from the Chrome WebStore.Installationpip install cedlUsagecedl [url]Whereurlis the WebStore url for the extension that you want to download.Downloaded extensions are placed in$HOME/bin/chrome-extensionsTo install the downloaded extension, openchrome://extensionsin chrome, then drag the downloaded file onto the page.LicenseMIT
Package: cedric
Cedric - Django App Configuration Made EasyOverviewCedric is a Python library designed to streamline the process of setting up a Django application. This library aims to save development time and simplify the configuration of a full-fledged Django project. By taking a few inputs from the user, Cedric automates the creation and configuration of a Django application, allowing developers to focus on building great features rather than spending time on the initial setup.FeaturesInteractive CLI:Cedric provides an interactive command-line interface (CLI) that guides users through the configuration process with a series of well-defined questions.Default Choices:Cedric comes with sensible default choices for various configuration options, making the setup process quick and straightforward. Users can customize their choices based on project requirements.Docker Integration:Cedric supports the use of Docker, allowing developers to choose whether to include Docker in their project setup. The default choice is set to use Docker for enhanced development and deployment consistency.Cloud Provider Options:Users can select their preferred cloud provider from a list of popular choices, including AWS, GCP, Azure, Linode, or none if the application is not hosted on a specific cloud provider.CSS Framework Selection:Cedric includes options for selecting a CSS framework. TailwindCSS is set as the default choice, but users can opt for Bootstrap or choose not to include any CSS framework in their project.Database Configuration:Developers can choose their preferred database from a list that includes Postgres, MySQL, and Sqlite3. Sqlite3 is set as the default choice for simplicity, but users can easily select an alternative option.Getting StartedInstallationTo use Cedric, install the library using the following command:pipinstallcedricUsageOpen your terminal and navigate to the desired directory where you want to create your Django project.Run the following command to start the Cedric setup:cedric-setupAnswer the prompted questions to configure your Django application based on your preferences.Once the setup is complete, Cedric will create and configure your Django project according to the provided choices.ExampleHere's an example of how Cedric can be used:cedric-setupFollow the interactive prompts to provide information about your application, such as the application name, whether to use Docker, your preferred cloud provider, CSS framework, and database.ContributingContributions are welcome! If you encounter issues or have suggestions for improvements, please open an issue or submit a pull request on theCedric GitHub repository.LicenseThis project is licensed under the GNU License - see theLICENSEfile for details.Happy coding with Cedric!
Package: ceeder
ceederceederis a library intended to make working withCDRsand CDR-based analytics simpler.DocumentationDocumentation is available onreadthedocs.io.Install as a libraryceederis available onPyPI.python-mpipinstallceederBuildpoetryis required to use the project.Clone the project, then run:poetrybuildTestingtoxis used for testing the
project.python-mpipinstall--upgradetox
toxUsageSeethe examplesdirectory for usage information
in your analytic.
Package: ceedub
ceedubAn awesome, simple, and easy to use continuous wavelet transform package for python!Free software: MIT licenseDocumentation:https://ceedub.readthedocs.io.To install the latest stable releasev0.1.0--alphafrom PyPI run:pip install ceedubTo install the most current version withpipdirectly from github run:pip installgit+https://github.com/paulthebaker/ceedub@masterFeaturescontinuous wavelet transforms (forward and inverse) in pythonarbitrary user defined wavelet basis functions (provides Morlet-Gabor and Paul wavelets)follows the conventions of Torrence and Compo [T&C1998]_.CreditsCopyright (c) 2017 Paul T. BakerThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2017-09-19)First release on PyPI.0.0.0 (2017-09-18)initial release