Saravanan666/pypi-org huggingface dataset:
Package: tortuemobile
TortueMobileCeci est un module pour les tortues dans les cahiers Jupyter. C'est une traduction française demobilecheloniandeThomas Kluyver.Installationpip install tortuemobileUtilisationimporttortuemobilet=tortuemobile.Tortue()CommandeDescriptionExemplet.vitesse(entier)la vitesse de votre tortue, de 1 à 10t.vitesse(10)t.droite(degrés)tourner votre tortue vers la droite d'un certain nombre de degrést.droite(90)t.gauche(degrés)tourner la tortue vers la gauche d'un certain nombre de degrést.gauche(45)t.avant(pixels)faire avancer la tortue d'un certain nombre de pixelst.avant(100)t.recule(pixels)faire reculer la tortue d'un certain nombre de pixelst.retraite(20)t.cercle(rayon, degrés)faire dessiner à la tortue un morceau de cercle de rayon égal à un certain nombre de degrést.cercle(40, 360)t.styloenhaut()ta tortue peut maintenant se déplacer sans tracer des lignest.styloenhaut()t.styloenbas()ta tortue trace à nouveau des lignest.styloenbas()t.couleurstylo('color')couleur de la ligne de votre tortue en utilisant unnom de couleurt.couleurstylo('blue')t.couleurstylo('rgb(R, V, B)')couleur de la ligne de votre tortue en utilisant valeurs de rouge, vert, et bleu de 0 à 255t.pencolor('rgb(0, 255, 100)')t.origine()remettre la tortue au centre de l'écrant.origine()t.position(x, y)déplacer la tortue à une position spécifique, (0,0) est en haut à gauche et (400, 400) est en bas à droitet.position(100, 250)t.fixecap(degrés)fixer le cap de la tortue à un certain nombre de degrést.cap(90)
Package: tortus
A python package that makes it easy to add labels to text data within a Jupyter Notebook.Ideal use is for datasets that can be managed within a pandas dataframe. Labels are applied to the selected number of records. Timestamped annotations can be saved in a dataframe for future use in any NLP/sentiment analysis project.Target audienceData practitionersResearchersStudentsData enthusiastsAnyone in need of a simple and intuitive product to label text data easily and efficiently will benefit fromtortus.InstallationRun the following to install:pipinstalltortusjupyternbextensionenable--pywidgetsnbextensionUsageImport the necessary modules into a Jupyter Notebook.importpdaspandasfromtortusimportTortusRead your dataset into a pandas dataframe.movie_reviews=pd.read_csv('movie_reviews.csv')Create an instance of Tortus class. You are required to enter the dataframe and the name
of the column of the text to be annotated. Optional parameters includenum_records,id_column,annotations,randomandlabels.tortus=Tortus(movie_reviews,'reviews',num_records=3,id_column='review_id')Call theannotatemethod to begin annotations.tortus.annotate()At any time, annotations can be stored into an object. This can be passed toannotationsif further
annotations are required at a later time.annotations=tortus.annotationsExampleClickhereto see a sample project using tortus.
Package: torus-cli
torus-cliDescriptionCommand line interface fortorus-engine: showcases the various functionality of the ASCII rendering engine.InstallDownload using pipOpen your terminal and type:pip install torus-cliYou can find more information on the package on PyPI by clickinghere.Launch the CLIIn your terminal, you can simply launchmain.pyas follow:cd torus-clipython3 src/toruscli/main.pyAnd the program will laucnh in the current terminal window.HelpWhile the program is running, you can control several aspects of the scene. To know more about what you can do, run:python3 src/toruscli/main.py -h🛠 ImprovmentsFeel free to create an issue or a pull request in case you find bugs or want to add a feature!
Package: torus-engine
torus-engineDescriptionBasic ASCII 3D rendering engine on the terminal.InstallDownload using pipOpen your terminal and type:pip install torus-engineYou can find more information on the package on PyPI by clickinghere.Import to your Python projectIn your Python project, add this line at the top of the file you wish to have access to thetorus-enginepackage:TutorialLet's go through a simple tutorial that showcases the different essential functionalities of thetorus-engineAPI.Creating an object,TorusYou can choose which object you want to render. Seetorusengine/objectsfor the different objects available. Alternatively, you can create your own, as long as it satisfies the requirements.import torusengine.objects.orus import Torus

torus = Torus()Adding a light source,LightThen you can add a light source:import torusengine.light import Light

light_source_position = (2, 1, 0) # (x, y, z) coordinates
light_source = Light(position=light_source_position)Placing aCameraYou also need a camera. To do that you can follow the code below:import torusengine.camera import Camera

camera_point = (1, 0, 0) # (x, y, z) coordinates
camera = Camera(camera_position=camera_point)Cameratakes as optional parameterspoint_to_fix, which is where the camera is pointing ((0, 0, 0)by default), andhorizontal_rotationwhich determines the tilt of the camera.Putting it altogether to create aSceneYou can now create aScene, by passing the object, the light source and the camera:import torusengine.scene import Scene

scene = Scene(torus, light_source, camera)Scenecan also take thefpsparameter (frames per second), which is set to 5 by default.With the objectsceneinstantiated, you can now call itsstart()method:scene.start()It can take as parameter the booleanstatic(set toFalseby default), which determines whether to update the scene only once, or to update it conitnuously (according to itsfpsvalue).Additional methods of the classScenecan be called, to change the camera (by moving it up, down, left or right), to increase or decrease the light source intensity, or even to change the object being rendered altogether.🛠 ImprovmentsFeel free to create an issue or a pull request in case you find bugs or want to add a feature!
Package: torusgrid
torusgridtorusgridis a package based on pyfftw that facilitates (periodic) field simulations.Modulestorusgrid.fields- containsComplexFieldandRealField, which are arrays with definite sizes equipped with FFT operationstorusgrid.grids- containsComplexGridandRealGridtorusgrid.field_util- utility functions to manipulateComplexField2DorRealField2Dobjects
Package: torusimaging
Orbital Torus Imaging 🍩An implementation of the method ofOrbital Torus Imaging, which exploits
gradients in stellar labels (e.g., element abundances or ages) or stellar label
moments to infer the orbit structure and mass distribution of the Galaxy.DocumentationThe documentation fortorusimagingis hosted onRead the Docs.Installation and DependenciesThe recommended way to installtorusimagingis usingpipto install the
latest development version:pip install git+https://github.com/adrn/torusimagingor, to install the latest stable version:pip install torusimagingAttributionIf you find this package useful, please cite the latest Orbital Torus Imaging
paper:TODOLicenseCopyright 2021-2024 Adrian Price-Whelan and contributors.torusimagingis free software made available under the MIT License. For
details see theLICENSEfile.
Package: torvend
Command LineSearch for torrents through the command-line…UsageSearch for torrents in your own applications…Read about more complex usage in thedocumentation.fromtorvend.clientimport(TorvendClient,)discovered_torrents=[]deftorrent_callback(item,**kwargs):discovered_torrents.append(item)client=TorvendClient()client.search('my query',torrent_callback)print(discovered_torrents)
Package: torvo-aws
Torvo AWSAn AWS module that provides simplified infrastructure as code.All resources should have predictable identifiers, this removes the need for additional state storage and maintenance.Actions should be primarily idempotent, this simplifies the amount of code required to manage the infrastructure.All functions relating to a resource use the same interface and only access the properties as needed, this minimises the complexity of managing properties.UsageInstallpip install torvo-awsImportimport awsUseaws.session.create()NotesWe only provide the latest version, don't pin to any specific version.For any missing details refer toBoto3Documentationhttps://torvo.com.au/python3/torvo-aws/
Package: torvy-hass
Home Assistant is a home automation platform running on Python 3. The
goal of Home Assistant is to be able to track and control all devices at
home and offer a platform for automating control.To get started:python3-mpipinstallhomeassistanthass--open-uiCheck outthe websitefora
demo, installation instructions,
tutorials and documentation.Examples of devices Home Assistant can interface with:Monitoring connected devices to a wireless router:OpenWrt,Tomato,Netgear,DD-WRT,TPLink,ASUSWRTand any SNMP
capable Linksys WAP/WRTPhilips Huelights,WeMoswitches,Edimaxswitches,Efergyenergy monitoring, andTellstickdevices and
sensorsGoogle
Chromecasts,Music Player Daemon,Logitech
Squeezebox,Plex,Kodi (XBMC),
iTunes (by way ofitunes-api), and Amazon
Fire TV (by way ofpython-firetv)Support forISY994(Insteon and X10 devices),Z-Wave,Nest
Thermostats,RFXtrx,Arduino,Raspberry
Pi, andModbusInteraction withIFTTTIntegrate data from theBitcoinnetwork,
meteorological data fromOpenWeatherMapandForecast.io,Transmission, orSABnzbd.See full list of supported
devicesBuild home automation on top of your devices:Keep a precise history of every change to the state of your houseTurn on the lights when people get home after sunsetTurn on lights slowly during sunset to compensate for less lightTurn off all lights and devices when everybody leaves the houseOffers aREST APIand can interface with MQTT for easy integration with other projects
likeOwnTracksAllow sending notifications usingInstapush,Notify My Android
(NMA),PushBullet,PushOver,Slack,Telegram,Join, andJabber
(XMPP)The system is built using a modular approach so support for other devices or actions can
be implemented easily. See also thesection on
architectureand thesection on creating your own
components.If you run into issues while using Home Assistant or during development
of a component, check theHome Assistant help
sectionhow to reach us.
Package: torweb
# torweb#### torweb is a second development based application framework tornadoInstallExample for virtualenv:$ cd ~
$ mkdir env
$ cd env
$ virtualenv torweb
$ ln -s ~/env/torweb/bin/python /usr/bin/python-torweb
$ ln -s ~/env/torweb/bin/pip /usr/bin/pip-torweb
$ pip-torweb install torweb
$ ln -s ~/env/torweb/lib/python2.7/site-packages/torweb/start_app.py /usr/bin/torweb_startapp.py
$ sudo chmod a+x /usr/bin/torweb_startapp.pyGetting startedExample for virtualenv torweb:Before start app of torweb, you’d have to install mysql, and set mysql root user and password.And then, edit “/usr/bin/torweb_startapp.py” below to your username and password:MYSQL_ROOT_USER = “root”
MYSQL_ROOT_PASS = “1”Next, do follows to start you first application named torweb.$ cd ~
$ mkdir projects
$ cd projects
$ torweb_startapp.py test
$ cd test
$ python-torweb dev_server.py
[2013-10-25 10:53:18] * app server is running onhttp://0.0.0.0:8888[2013-10-25 10:53:18] * restart with reloadif you have got above tips, your first application has been built.
Package: torweb-for-3
# torweb#### torweb is a second development based application framework tornadoInstallExample for virtualenv:$ cd ~
$ mkdir env
$ cd env
$ virtualenv torweb
$ ln -s ~/env/torweb/bin/python /usr/bin/python-torweb
$ ln -s ~/env/torweb/bin/pip /usr/bin/pip-torweb
$ pip-torweb install torweb
$ ln -s ~/env/torweb/lib/python2.7/site-packages/torweb/start_app.py /usr/bin/torweb_startapp.py
$ sudo chmod a+x /usr/bin/torweb_startapp.pyGetting startedExample for virtualenv torweb:Before start app of torweb, you’d have to install mysql, and set mysql root user and password.And then, edit “/usr/bin/torweb_startapp.py” below to your username and password:MYSQL_ROOT_USER = “root”
MYSQL_ROOT_PASS = “1”Next, do follows to start you first application named torweb.$ cd ~
$ mkdir projects
$ cd projects
$ torweb_startapp.py test
$ cd test
$ python-torweb dev_server.py
[2013-10-25 10:53:18] * app server is running onhttp://0.0.0.0:8888[2013-10-25 10:53:18] * restart with reloadif you have got above tips, your first application has been built.
Package: torxtools
torxtoolsLess generic functionalities than Phillips and Pozidriv tools. One size fits most. MacGyver's French army spork.Quick and dirty library that holds functions used in projects with similarities.InstallationYou can install the latest version from PyPI package repository.python3-mpipinstall-UtorxtoolsLicenseThis project is licensed under the MIT License - see theLICENSEfile for details.LocationsDocumentation:https://torxtools.docs.twiddle-z.ovhWebsite:https://gitlab.com/twiddle-z/torxtoolsPyPi:https://pypi.org/project/torxtools
Package: tos
Volcengine TOS SDK for PythonThe TOS Python SDK enables Python developers to easily work with TOS(Tinder Object Storage) service in the volcengine.
This document will show developers some basic examples about TOS bucket and object operation.InstallRequirementsPython3Quick StartThis section introduces how to create a bucket, upload/download/delete an object in TOS service through our SDK.Create a TOS ClientYou can interact with TOS service after initiating a TOSClient instance.
The accesskey and secretkey of your account, endpoint and region are required as params.importtosak="your access key"sk="your secret key"endpoint="your endpoint"region="your region"bucket_name="your bucket name"object_key="your object key"client=tos.TosClientV2(ak,sk,endpoint,region)Create a bucketThe bucket is a kind of unique namespace in TOS, which is a container to store data.
This example shows you how to create a bucket.importtosak="your access key"sk="your secret key"endpoint="your endpoint"region="your region"bucket_name="your bucket name"client=tos.TosClientV2(ak,sk,endpoint,region)client.create_bucket(bucket_name)Put ObjectYou can put your file as an object into your own bucket.# call put_object to upload you data to the TOSclient.put_object(bucket_name,object_key,content="123")assertresp.status==200Get ObjectYou can download objects in the TOS bucket through our SDK.# call get_object to download your data from your bucketclient.get_object(bucket_name,object_key)Delete ObjectYour can delete your objects in the bucket：# call put_object to upload you data to the TOSresp=client.put_object(bucket_name,key_name,content="123")assertresp.status_code==200# call delete_object to delete an object in your bucketresp=client.delete_object(bucket_name,key_name)assertresp.status_code==204LicenseApache License 2.0
Package: tosachaiprofile
PyPi:https://pypi.org/project/tosachaiprofile/สวัสดีคร้าบ แพคเกจนี้เป็นแพคเกจที่อธิบายโปรไฟล์ของนาย Tosachai
และสามารถนำไปใช้กับผู้อื่นได้วิธีติดตั้งเปิด CMD / Terminalpipinstalltosachaiprofileวิธีใช้งานแพ็คเพจนี้เปิด IDLE ขึ้นมาแล้วพิมพ์…my=Profile('Boat')my.company=('Indeebrew')my.hobby=('Gaming','Programing','Traveling')print(my.name)my.show_email()my.show_myart()my.show_hobby()พัฒนาโดย: ทศชัย อินดี FB:https://www.facebook.com/TcLaguna
Package: tosa-checker
TOSA CheckerOverviewThe TOSA Checker is a tool that provides an easy way to ensure that a TensorFlow™ Lite model is compatible with theTOSA specification.The project is currently in alpha, some stability issues may still be found.PrerequisitesTo build the TOSA Checker the following are required:Ubuntu® 20.04.03 LTS (the TOSA Checker has been tested on this OS, but should work on other Linux® OS)Bazel™ (Bazelisk is an easy way to install the correct version of Bazel™)Git™Python® >=3.8 (python, python-dev and python-pip)Building and installationpip install -U pip setuptools wheel
pip install -U numpy GitPython
python setup.py bdist_wheel
pip install dist/<tosa_checker>.whlDocker™ imageA Docker™ image to build the TOSA Checker is also provided. More information can be found ondocker/README.md.Usage>>>importtosa_checkerastc>>>checker=tc.TOSAChecker(model_path="model.tflite")>>>checker.is_tosa_compatible()TrueSecurityTo report any security issue in the TOSA Checker, please seeSECURITY.md.LicenseTOSA Checker is licensed under [Apache License 2.0].Trademarks and CopyrightsBazel™ is a trademark of Google® LLC.Git™ is a trademark of Software Freedom Conservancy.Linux® is the registered trademark of Linus Torvalds in the U.S. and elsewhere.Python® is a registered trademark of the PSF.Ubuntu® is a registered trademark of Canonical.Tensorflow™ is a trademark of Google® LLC.Docker™ is a trademark of Docker, Inc.
Package: tosclib
tosclibGenerate and edit Touch OSC templates with XML trees through a few custom classes and functions that help navigate the structure of the .tosc file.Disclaimer: This project has no relation to Hexler, the developer of TouchOSC. Backup your templates before editing them with third party tools.Documentation here!$pipinstalltosclibContribute:Feel free to make a fork and contribute to the tosclib or documentation or whatever.Requirements dev:tox==3.25.0numpy==1.22.3Pillow==9.1.1pytest==7.1.2setuptools==61.2.0pytest-cov==3.0.0Requirements docs:sphinx==4.5.0furo==2022.4.7sphinx_copybutton==0.5.0For testing run:$toxDesign:0.3.0:elements -> controls -> tosc -> layoutElements are mostly data classes and enums (named tuples) that define the basic xml element parts, like valid attributes, children elements like: Property, Values, OSC and MIDI messages, etc.Controls are classes with specific attributes that are analogous to Touch OSC's Controls, like Fader, Button, Label, Group, etc. can be used as templates to construct xml trees.ElementTOSC is the wrapper class that handles the Control's xml tree: Node->(Properties, Messages, Values and Children). Tosclib is sort of built around it.Layout contains functions that help manipulate many ElementTOSC objects like automatic children arrangement, color gradients, copying properties, etc.Those are the basics, the goal is to build on top of that and have a solid 1.0 version with plenty of layout features and that can be fun to use.In the future this could have "modules" or "templates" on top of "layout" which would consist of a few templates that can be built programatically with custom parameters, for example a pop up menu for entering digits or a radial menu for settings, etc.Demo Projects:New location for Demo Projects ishere.custom-property.pyYou can insert your own XML elements into Touch OSC files and the Editor will respect them. This means you can access those properties in lua and they will keep their values after you save and exit the Touch OSC editor. For example:--This is lua code inside the touch osc editor--functiononValueChanged(key,value)ifkey=="touch"andself.values.touch==truethenprint(self.parent.CustomProperty)self.parent.CustomProperty=self.parent.children.label2.values.textendendYou can use custom-property.py to insert new properties in your .tosc file and use them as globals or config parameters. Console:image-tosc.pyConvert a .jpg image to .tosc using small boxes as pixels. This will look for a Target group object to place the boxes into.This means the image will be scaled down to 64x64 but the "pixel" boxes in Touch OSC will be of size 8.
I don't recommend going above 256x256 for image_size as performance and filesize take a hit. Plus the XML tree is stored in memory, not streamed, so it can cause issues when generating it.Example output:
Package: tosheets
A simple command line utility that sends your stdin to sheets.Available on pip bypip install tosheets(python3+ only)NOTE:On first use, tosheets will open a browser window to authorize OAuth2 token.UsingtosheetsPipe a local file to a new spreadsheet.cat data.csv | tosheets -c A1 -d , --new-sheet="tosheetsSheet"Pipe a local file to an existing spreadsheet:
(Given a URL likehttps://docs.google.com/spreadsheets/d/sample-spread-sheet-id-23sdf32543fs/edit#gid=0)cat data.csv | tosheets -c B4 -d , --spreadsheet=sample-spread-sheet-id-23sdf32543fsSend sequence from 1 to 10 to a column starting at B4:seq 1 10 | tosheets -c B4 --spreadsheet=sample-spread-sheet-id-23sdf32543fsSend a matrix:1 2
3 4To the same location:echo -e '1 2\n3 4' | tosheets -c B4 --spreadsheet=sample-spread-sheet-id-23sdf32543fsTo sheets has a variety of other options listed:tosheets, send stdin to your google sheets

Usage:
  tosheets -c <cell> [-u] [-k] [-s <sheet>] [--spreadsheet=<spreadsheet>] [--new-sheet=<name>] [-d <delimiter>] [-q <quote char>]
  tosheets (-h | --help)
  tosheets --version

Options:
  -h --help                     Prints help.
  --version                     Show version.
  -i CSV                        Read this CSV instead of stdin
  -u                            Update CELL(s) instead of appending.
  -k                            Keep fields as they are (do not try to convert int or float).
  -c CELL                       Start appending to CELL.
  -s SHEET                      Use sheet name SHEET, otherwise tries to use
                                TOSHEETS_SHEET (default: first visible sheet).
  -d DELIMITER                  Use DELIMITER to split each line (default: whitespace).
  -q QUOTE_CHAR                 A one-character string used to quote fields containing special characters,
                                such as the delimiter or quotechar, or which contain new-line characters.
                                (default: '"').
  --spreadsheet=<spreadsheet>   Send to the spreadsheet identified by spreadshetId
                                (ie. docs.google.com/spreadsheets/d/<spreadsheetId>/...),
                                if empty uses TOSHEETS_SPREADSHEET enviroment variable.
  --new-sheet=<name>            Create a new spreadsheet with the chosen name. Prints the
                                spreadsheetId so it can be piped/stored.
  --open                        Open a browser with the newly created sheetDistributionpython setup.py sdist bdist_wheel
twine upload dist/*
Package: toshiba-ac
Toshiba AC controlThis software allows to control Toshiba ACInstallationTypical installationDownload using pippip3 install toshiba-acInstallation for developmentDownload or clone this repository to desired directory:git clone https://github.com/KaSroka/Toshiba-AC-control.gitInstall toshiba-ac package:pip3 install .If you want to edit the code you can install the package as editable:pip3 install -e .Sample scriptSample GUI applicationtoshiba_ac_gui.pywas created to demonstrate usage of this package. It allows to switch basic functionalities of the AC and shows current status.It requires to provide env variables with login information:TOSHIBA_USER=<USER_NAME> TOSHIBA_PASS=<PASSWORD> python3 toshiba_ac_gui.pyorexport TOSHIBA_USER=<USER_NAME>
export TOSHIBA_PASS=<PASSWORD>
python3 toshiba_ac_gui.py
Package: toshiba-ac-ir-codegen
Toshiba-ac-ir-codegenA Toshiba AC IR code generator to control your ACs.This code is inspired / backport of cli tool written in Golang by Mario Hros (source onhttps://github.com/k3a/toshiba-ac)
It aimed to be used in Home Assistant via LocalTuya integration (to be added)For now it provide a simple API to generate the code and to format it so that it is ready to be used with TinyTuya.NoteThis project has been set up using PyScaffold 4.4. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: toshi-hazard-store
toshi-hazard-storeDocumentation:https://GNS-Science.github.io/toshi-hazard-storeGitHub:https://github.com/GNS-Science/toshi-hazard-storePyPI:https://pypi.org/project/toshi-hazard-store/Free software: GPL-3.0-onlyFeaturesMain purpose is to upload Openquake hazard results to a DynamodDB tables defined herein.relates the results to the toshi hazard id identifying the OQ hazard job run.extracts metadata from the openquake hdf5 solutionCreditsThis package was created withCookiecutterand thewaynerv/cookiecutter-pypackageproject template.
Package: toshin
PyPi:https://pypi.org/project/toshin/Hello evryone this package is about Chelsea football club!How to setupเปิด CMD / TerminalpipinstalltoshinHow to useopen IDLE and tyoe…fromtoshinimportChelseachelsea=Chelsea()chelsea.showLegend()chelsea.showLegendMove()chelsea.showInfo()chelsea.showFootball()developer : anonymousYouTube:https://www.youtube.com