Saravanan666/pypi-org huggingface dataset:
Package: pytboss
pytbossPython 3 library for interacting with Pitboss grills and smokers.Note that this project has no official relationship with Pitboss or Danson's. Use at your own risk.UsageimportasynciofrombleakimportBleakScannerfrompytbossimportBleConnection,PitBossasyncdefstate_callback(data):print(data)asyncdefmain():ble_device=awaitBleakScanner.find_device_by_address(device_address)model="PBV4PS2"# Or your model. See below.boss=PitBoss(BleConnection(ble_device),model)# Subscribe to updates from the smoker.awaitboss.subscribe_state(state_callback)awaitboss.start()whileTrue:asyncio.sleep(0.1)asyncio.run(main())InstallationPipTo install pytboss, run this command in your terminal:$pipinstallpytbossSource codePytboss is actively developed on Github, where the code isalways available.You can either clone the public repository:$gitclonehttps://github.com/dknowles2/pytbossOr download the latesttarball:$curl-OLhttps://github.com/dknowles2/pytboss/tarball/mainOnce you have a copy of the source, you can embed it in your own Python package, or install it into your site-packages easily:$cdpytboss
$python-mpipinstall.Supported ModelsThe following models should be supported. Note however that only thePBV4PS2model has been tested.AustinXL Wi-Fi UpgradeLG0800BLLG1000BLLG1200BLLG1200FLLG1200FPLG300BLLG800FLLG800FPLGV4BLLexington Wi-Fi UpgradePB0500SPPB0820SP/SPWPB1000NC1PB1000PLPB1000R1PB1000R2PB1000S1PB1000SC1PB1000SC2PB1000SPPB1000T1PB1000T2PB1000T3PB1000T4PB1000XL/PB1000SC3PB1000XLW1 (Austin XL)PB1100PS1PB1100PSC1PB1100PSC2PB1100PSC3PB1100SP/SPWPB1150 PS3PB1150G/GWPB1150PS2PB1150PS3PB1230PB1230CS1PB1230G/GWPB1230SP/SPWPB1250CSPB1285KCPB1450CSPB1600 PSEPB1600CSPB1600PS1PB1600PS2PB1600PS3PB1600PS3_PB1600PSEPB1600SPWPB2180LKPB340PB340TGW1 (Tailgator)PB440DPB440D2PB440D3/PB456DPB440TG1PB440TGNC1PB440TGR1PB550GPB700DPB700FBPB700FBM2PB700FBW2 (Classic)PB700NC1PB700R1PB700R2PB700SPB700S1PB700S2PB700SCPB700T1PB820CS1PB820DPB820D2PB820D3PB820D4PB820FBPB820FBCPB820PS1PB820SPB820SCPB820T1PB820XL/PB820MEPB850CS1PB850G/GWPB850PS2PBV4PS2PBV5CSPBV5P2PBV5PLPBV6 PSEPBV6PSEPBV7PW1Savannah Wi-Fi Upgrade
Package: pytbx
pytbxA collection of useful tools for my engineering projectsDocs:https://t11c.gitlab.io/pytbxMade this withnbdevfromfast.ai. Asnbdevis designed for github, I used the template fromThomas Capelleto make it work on  gitlab.InstallSimply install it with pip:pip install pytbxHow to use... muss nochSetup Dev environmentRequirementspipenvjupyter lab installedjekyll installed (to view the docs)set upclone repogit clone https://gitlab.com/t11c/pytbxinstall python environment with pipenvpipenv install --devregister ipykernelpipenv run python -m ipykernel install --user --name=pytbxinstall git-hookspipenv run nbdev_install_git_hooks
Package: pytc2
pytc2A circuit theory module for students at Universidad Tecnológica Nacional, en Buenos Aires, Argentina.Free software: MIT licenseonline DocumentationInstallation$pipinstallpytc2UsageCheck the jupyter notebook examples in the documentation for fast starting.ContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensepytc2was created by Mariano Llamedo Soria. It is licensed under the terms of the MIT license.Creditspytc2was created withcookiecutterand thepy-pkgs-cookiecuttertemplate.
Package: pytc3
# Pytc3 [WIP]**This is not production Ready yet.**[![Latest Version](https://badge.fury.io/py/pytc3.svg)](https://pypi.python.org/pypi/pytc3/)[![Travis CI Build Status](https://travis-ci.org/ageekymonk/pytc3.svg?branch=master)](https://travis-ci.org/ageekymonk/pytc3)Python interface to the [RESTAPI](https://confluence.jetbrains.com/display/TCD10/REST+API) of[TeamCity](https://www.jetbrains.com/teamcity/)## Installation```pip install pytc3```## Examples### Connect to server```pythonfrom pytc3 import TeamCity# This initialises the Client with the settings passed. <port> has to be an integer.tc = TeamCity('account', 'password', 'server', <port>)```or specify no parameters and it will read settings from environmentvariables:- `TEAMCITY_USER`- `TEAMCITY_PASSWORD`- `TEAMCITY_HOST`- `TEAMCITY_PORT` (Defaults to 80 if not set)```pythonfrom pytc3 import TeamCity# Initialises with environment variables: TEAMCITY_{USER,PASSWORD,HOST,PORT}tc = TeamCity()```### Getting dataYou can also look at[sample.py](https://github.com/ageekymonk/pytc3/blob/master/sample.py)## AcknowledgementsThis is a heavily-modified fork of https://github.com/SurveyMonkey/pyteamcity so many thanks are due to [SurveyMonkey](https://github.com/SurveyMonkey)# Changes
Package: pytcga
pytcgaPython library for accessing and processing public TCGA dataExamplesLoading Clinical Dataimportpytcga# Downloading and loading LUAD patient dataclinical=pytcga.load_clinical_data('luad')Loading Mutation Dataimportpytcga# Downloading and loading LUAD mutationsluad_mutations=\pytcga.load_mutation_data(disease_code='LUAD',with_clinical=False)# Also appends clinical data with `with_clinical` flagluad_mutations=\pytcga.load_mutation_data(disease_code='LUAD',with_clinical=True)# Filter variants with the `variant_type` argument# variant_type = {'all', 'indel', SNP', 'INS', 'DEL'}luad_indel_mutations=\pytcga.load_mutation_data(disease_code='LUAD',with_clinical=True,variant_type='indel')Loading RNASeq Dataimportpytcga# Downloading and loading LUAD mutationsluad_rnaseq=\pytcga.load_rnaseq_data(disease_code='LUAD',with_clinical=True)
Package: pytc-gui
pytc-guiis a graphical interface forpytc,
a flexible package for fitting Isothermal Titration Calorimetry data.InstallationBasic fitsVideo examplesFull pytc docsStart-upeither:double-click the icon for the installed programrunpytc-guion command lineWorkflowload experimentslink individual fit parameters to global parametersset fit parameter guessesfit the model to the dataexport the results, which will save a csv file with the fit parameters and a
pdf showing the fit
Package: pytch
DevelopmentSetupThe Pytch compiler is currently written in Python 3.7.To install the development environment, run$poetryinstallRunningTo launch the REPL:$poetryrunpytchreplTo execute a file as a Pytch script:$poetryrunpytchrunfile.pytchUpdating the syntax treesTo modify the syntax tree node types, updatepytch/syntax_tree.txt, then run:$./bin/generate_syntax_trees.shFuzzing the parserTo run the fuzzer on the Pytch parser, first be sure thatthe AFL
fuzzeris installed (e.g. withbrew install afl-fuzz). Next,
install the fuzzing dependencies:$poetryinstall--extrasfuzzThen you can run:$./bin/fuzz.sh
Package: pytchat
pytchatpytchat is a python library for fetching youtube live chat.Descriptionpytchat is a python library for fetching youtube live chat
without using Selenium or BeautifulSoup.Other features:Customizablechat data processorsincluding youtube api compatible one.Available on asyncio context.Quick fetching of initial chat data by generating continuation params
instead of web scraping.For more detailed information, seewiki.wiki (Japanese)InstallpipinstallpytchatExamplesFetch chat data (seewiki)importpytchatchat=pytchat.create(video_id="uIx8l2xlYVY")whilechat.is_alive():forcinchat.get().sync_items():print(f"{c.datetime}[{c.author.name}]-{c.message}")Output JSON format string (feature ofDefaultProcessor)importpytchatimporttimechat=pytchat.create(video_id="uIx8l2xlYVY")whilechat.is_alive():print(chat.get().json())time.sleep(5)'''# Each chat item can also be output in JSON format.for c in chat.get().items:print(c.json())'''otherFetch chat with a buffer (LiveChat)Use with asyncio (LiveChatAsync)YT API compatible chat processor (CompatibleProcessor)Structure of Default ProcessorEach item can be got withsync_items()function.nametyperemarkstypestr"superChat","textMessage","superSticker","newSponsor"idstrmessagestremojis are represented by ":(shortcut text):"messageExstrlist of message texts and emoji dicts(id, txt, url).timestampintunixtime millisecondsdatetimestre.g. "2019-10-10 12:34:56"elapsedTimestrelapsed time. (e.g. "1:02:27") *Replay Only.amountValuefloate.g. 1,234.0amountStringstre.g. "$ 1,234"currencystrISO 4217 currency codes(e.g. "USD")bgColorintRGB Intauthorobjectsee belowStructure of author object.nametyperemarksnamestrchannelIdstr*chatter's channel ID.channelUrlstrimageUrlstrbadgeUrlstrisVerifiedboolisChatOwnerboolisChatSponsorboolisChatModeratorboolLicence
Package: pytch-fetch
pytchPytch Yields Technical Characteristics HastilyDescriptionPytch is a small and efficient fetch script written in Python with no dependencies. It has a relatively fast execution time of ~20ms and is tested on Python versions 3.7 or newer and PyPy (it will probably work on earlier versions but has not been tested as such). It is configured by editing its source code, though the Python used is relatively simple and readable. Rest assured, if you do not understand something, open up an issue and I will be happy to explain it to you. Pytch currently supports macOS, FreeBSD, and many popular Linux distributions (seeart.pyfor a list though most are not tested). If support is lacking for your system, please open up an issue and I will add support for your system.Installation$ pip install pytch-fetchYou will need aNerd Fontto see the icons. I useJetFlow.TodosAdd CONTRIBUTING.mdAdd ChangelogWindows supportSupport for more Linux and BSD distributionsConfiguration file and wizardAdd more optionsCreate manpagesContributingWe strongly encourage contributions, they help us improve Pytch and give us unique insight into what the users of Pytch want. Before contributing, please reviewCONTRIBUTING.md.Acknowledgements@ssleertfor creatingnitch, which inspired this project@dylanarapsfor creatingneofetch, which was a source of reference and logos@willrsonand@kapoorkrishfor helping add macOS support@z-ffqqfor adding FreeBSD supportLicensePytch is distributed under theGNU General Public License. SeeCOPYINGfor more information.
Package: pytchi
PYTCHIPythonYouTubeConcentricCirclesImageYouHuh?? NoHin pytcci?MeAre you serious?Installationpip3 install pytchiDependancies:opencv-python-headlesspycairopython-slugifypytubeUsageFollowing code produces:two PNG images: first with concentric circles, second with lines
fromthis video;one PNG image (1000px width) with concentric circles fromthis
videoone SVG file with concentric circles fromthis
videousing 1 image
every 2 seconds and then cleans for it only remains the final image3 PNG images with concentric circles fromthis
playlistusingdiagonalline extraction instead ofrandom(default)
and reversing images: innermost for first images. Note that URL
has just to contain alistvariable so thatpytchiproduces
an image for each video of that playlist.  Each image is 800x800
pixels.importpytchiimportos#o=pytchi.pytchi('https://www.youtube.com/watch?v=EelPrEojesM')o.to_img()# export to png (concentric circles)o.shape='lines'o.to_img()# export to png (rectangle with lines)#p=pytchi.pytchi('https://www.youtube.com/watch?v=IjxkCokODEs')p.to_img(1_000)# outputs a 1000px image#q=pytchi.pytchi('https://www.youtube.com/watch?v=PVyS9JwtFoQ')q.step=2# every 2 seconds of the video (default is 1)q.to_svg()# export to svgq.clean(all)# deletes temporary files so that p object is unsable now!## playlist: treat several videosr=pytchi.pytchi('https://www.youtube.com/watch?v=gxAaO2rsdIs&list=PLZHQObOWTQDOcxqQ36Vow3TdTRjkdSvT-')r.xmth='diagonal'# change extraction methodr.reverse=True# reverse order of inserted imagesr.to_img(800)OutputsEelPrEojesMIjxkCokODEsPVyS9JwtFoQD__UaR5MQao/gxAaO2rsdIs/Kas0tIxDvrgCopyright2021 / D. COBAC / CC-BY-NC-SA
Package: pytcli
pytcliWhat is this?by: axinerpytcliThis is a pytcli. (A command line for python toollib package)InstallationThis package can be installed using pip (>=Python3.7):pip install pytcliCopyrightCopyright (c) 2022 axinerPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: pytcm
pytcmA Python Terminal Commands ManagerInstallation$ pip install pytcmUsageUsing execute directlyimportpytcmbinary='python'opts=[pytcm.Flag('--version',True)]result=pytcm.execute(binary,opts)print(result.out)# "Python 3.9.7"print(result.err)# ""print(result.returncode)# 0Using a Command object that holds the contextimportpytcmbinary='python'opts=[pytcm.Flag('--version',True)]cmd=pytcm.Command(binary,opts)cmd.execute()print(cmd.out)# "Python 3.9.7"print(cmd.err)# ""print(cmd.returncode)# 0OptionsFlagA boolean optionimportpytcmflag=pytcm.Flag("--verbose",True)opt=flag.parse()print(opt)# "--verbose"ExplicitAn option with an equal signimportpytcmexplicit=pytcm.Explicit("--age",12)opt=explicit.parse()print(opt)# "--age=12"ImplicitAn option separated by a space characterimportpytcmimplicit=pytcm.Implicit("--age",12)opt=implicit.parse()print(opt)# "--age 12"PositionalA simple inline optionimportpytcmpositional=pytcm.Positional("test.txt")opt=positional.parse()print(opt)# "test.txt"ContributingThank you for considering making pytcm better.Please refer todocs.Change LogSeeCHANGELOGLicenseMIT
Package: pytcn
Temporal Convolution Network (TCN)DescriptionThis is a implement of temporal Convolution Network (TCN) by using keras, and the
version uses a dense layer as the output layer instead of fully convolution network (FCN) structure depicted in paper "An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling".Usageimportkerasfromtcnimport*# Build TCN model# model is a keras modelmodel=tcn(input_shape=(24,7),n_blocks=3,filters=[16,32,64],kernel_size=[24,24,24],dropout_rate=[0.1,0.1,0.1],n_outputs=6)# Plot the structure of modelkeras.utils.plot_model(model,to_file='model.png',show_shapes=True)ReferencesAn Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
Package: pytcolor
PyTColor: Python Terminal Color1.0.0.1Added support to python >= 3.0.01.0.0.0PyTColor: A simple python package to get color terminal outputs.color_printcan be used to substitute the pythonprintwith keywordscolor,bg_color,style.color_printis api compatible with pythonprint.ColoredStreamHandlercan be used instead of pythonStreamHandlerin logging to get colored logs.Dependanciespython>=3.0.0QuickStartInstallation and Basic ConfigurationInstall PyTColor: Python Terminal Color by runningpip install PyTColor.There is no specific configuration needed to use PyTColor.# color_printfrompytcolorimportcolor_printcolor_print("PyTColor",color='green',bg_color='red',style='underline',end=' ')color_print("Python","Terminal",color='magenta',bg_color='None',style='underline')color_print("Python Terminal Color",color='cyan',bg_color='grey',style='bold')# ColoredStreamHandlerimportlogginglogger=logging.getLogger('test')logger.setLevel(logging.DEBUG)ch=ColoredStreamHandler()ch.setLevel(logging.DEBUG)formatter=logging.Formatter('%(asctime)s-%(name)s-%(levelname)s-%(message)s')ch.setFormatter(formatter)logger.addHandler(ch)logger.debug('debug message')logger.info('info message')logger.warning('warn message')logger.error('error message')logger.critical('critical message')Basic UsageBelow are some basic ussage for PyTColor package.example:>>>from pytcolor import color_print
>>>color_print("PyTColor", color='green', bg_color='red', style='underline', end=' ')
PyTColor  # \033[4m\033[41m\033[32mPyTColor\033[0m
>>>from pytcolor.constants import COLORS_NAME, STYLES_NAME
>>>COLORS_NAME
['grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white']
>>>STYLES_NAME
['bold', 'dark', 'underline', 'blink', 'reverse', 'concealed']
>>>from pytcolor import ColoredStreamHandler
>>>class CustomColoredStreamHandler(ColoredStreamHandler):
...    def __init__(self, *args, **kwargs):
...        super().__init__(*args, **kwargs)  # important to call first
...        self._level_color_mapping = {
...            "50:*": ("red", None, "underline"),   # critical and above
...            "40:50": ("red", None, None),         # error and above till critical but not critical
...            "30:40": ("yellow", None, None),      # warning and above till error but not error
...            "20:30": ("cyan", None, None),        # info and above till warning but not warning
...            "10:20": ("cyan", None, "underline")  # debug and above till info but not info
...        }
Package: pytcpmqtt
#pytcpmqttPermet la connexion d'un microprocesseur fonctionnant en serveur TCP sur un réseau local vers un serveur MQTT.Un fichier json de configuration "tcp_mqtt_data.json" doit être présent dans le répertoire :Contenu du fichier "tcp_mqtt_data.json" :{"tcp_host":"192.168.1.26","tcp_port":92,"broker_url":"url_de_votre_broker_mqtt","broker_protocol_mqtt_mqtts_ws_wss":"tcp","broker_port":8443,"date_heure":true,"salle":"maSalle","KEY":"bureau/lumiere1"}Le topic de réception sera : salle/KEY/outLe topic d'envoi sera : salle/KEY/inSi date_heure" : true alors ajoute de la date et l'heure dans le json , si non mettre à : falseLes protocoles possibles sont "wss" websockets sécurisés avec login et mot de passe ( pas de certificat)
ou "tcp" pour ssl avec login et mot de passe ( pas de certificat client)Lancement du programme :py -m pytcpmqtt.main 
(ou sur raspberry python3 -m pytcpmqtt.main)
Package: pyTCTL
pyTCTLA package for TCTL model checking in PythonThe initial implementation makes use of NetworkX's DiGraph for the representation of Kripke structures.The provided algorithms implementLepri et al.'sapproach to continuous TCTL model checking.
Thus, this package also implements pointwise TCTL model checking.The code was originally developed for theCRESTproject, but it seems better to extract the code into its own library.Similar Projects@albertocasagrandeis working on a similar library for (untimed) CTL/LTL/CTL* model checking calledpyModelChecking.His approach shares some of the ideas of this project. However, it seems that he chooses to implement Kripke structures directly (no networking library) and adds some features that I probably won't implement (e.g. a text parser).
On the other hand, as far as I can see there's only one algorithm hardcoded for each temporal logic.
In comparison, I plan to add the possibility to add and choose between search heuristics.I will keep following his project. Maybe we can merge forces once I know more clearly which path the pyTCTL project is going to take.
Package: pytcx
=============================pytcx=============================.. image:: https://badge.fury.io/py/pytcx.png:target: http://badge.fury.io/py/pytcx.. image:: https://travis-ci.org/heoga/pytcx.png?branch=master:target: https://travis-ci.org/heoga/pytcxTCX parsing for PythonUsage-----.. code-block:: pythonwith open('some.tcx') as h:text = h.read()activities = pytcx.parse_to_activities(text)for activity in activities:print(activity.start(), activity.name)Features--------* Reads TCX files for runs synced via tapiriik* Reads the following point data:** latitude** longitude** altitude** time** heart_rate** cadenceFuture Work-----------* Support cycling (need sample tcx)* Support swimming (need sample tcx)Documentation-------------The full documentation is at http://pytcx.rtfd.org.History-------0.1.0 (2018-01-01)++++++++++++++++++* First release on PyPI.
Package: pytdd
pyTDDSmall tool to help developing in python using Test Driven Dev
method. Triggers changes on source or test files and exec a specific
command like pytest.installationpip install pytddusagepytdd [dir]start the watcher in current dir or the specified one, all the subdirectories will also be watched.configurationin the filepytdd.conf[pytdd]
 patterns = ["*py"]
 ignore_patterns = ["*#*", "*~"]
 cmd = ["pytest", "-x", "--ff", "tests/test*py"]
 force_delay = 300
 min_delay = 15changelog1.1.0: expand file list for pytdd to work on Windows
Package: pytdi
PyTDIPyTDI is a Python package that provides a toolset to perform symbolical and numerical
time-delay interferometry (TDI) calculations. It can be used to define arbitrary linear combination
of time-shifted signals (i.e., combinations), symbolically handle these combinations, and numerically
evaluate these combinations against data.PyTDI also provides ready-to-use standard TDI combinations for the LISA mission.Documentation for the latest stable release is available athttps://lisa.pages.in2p3.fr/LDPG/wg6_inrep/pytdiDocumentation for the current development version is available athttps://lisa.pages.in2p3.fr/LDPG/wg6_inrep/pytdi/masterContributingReport an issueWe use the issue-tracking management system associated with the project provided by Gitlab. If you want to report a bug or request a feature, open an issue athttps://gitlab.in2p3.fr/LISA/LDPG/wg6_inrep/pytdi/-/issues. You may also thumb-up or comment on existing issues.Development environmentWe strongly recommend to usePython virtual environments.To setup the development environment, use the following commands:gitclonegit@gitlab.in2p3.fr:LISA/LDPG/wg6_inrep/pytdi.gitcdpytdi
python-mvenv.source./bin/activate
python-mpipinstall--upgradepip
python-mpipinstall-rrequirements.txtWorkflowThe project's development workflow is based on the issue-tracking system provided by Gitlab, as well as peer-reviewed merge requests. This ensures high-quality standards.Issues are solved by creating branches and opening merge requests. Only the assignee of the related issue and merge request can push commits on the branch. Once all the changes have been pushed, the "draft" specifier on the merge request is removed, and the merge request is assigned to a reviewer. They can push new changes to the branch, or request changes to the original author by re-assigning the merge request to them. When the merge request is accepted, the branch is merged onto master, deleted, and the associated issue is closed.Pylint and pytestWe enforcePEP 8 (Style Guide for Python Code)withPylintsyntax checking, and testing of the code via unit and integration tests with thepytestframework. Both are implemented in the continuous integration system. Only if all tests pass successfully a merge request can be merged.You can run them locallypylintpytdi/*.py
python-mpytestHow to citeBy releasing PyTDI as an open source software package we want to foster open science and enable everyone to use it in their research free of charge. However, please keep in mind that developing and maintaining such a tool takes time and effort. Hence, we would appreciate to be associated with you research:Please cite the DOI (see badge above), and acknowledge the authors in any publication that uses PyTDIDo not hesitate to send an email for support and/or collaborationContactMartin Staab (martin.staab@aei.mpg.de)Jean-Baptiste Bayle (j2b.bayle@gmail.com)