Saravanan666/pypi-org huggingface dataset:
Package: py-tabler
TablerA very simple tabular data formatter for console application.Installationpipinstallpy-tablerExamplefromtablerimportTablertable=Tabler(data=[[1,2,3],[4,5,6],],columns=["col1","col2","col3"],)print(table.format())Output+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| 1    | 2    | 3    |
| 4    | 5    | 6    |
+------+------+------+
Package: pytablewriter-altcol-theme
pytablewriter-altcol-themeSummaryInstallationUsageOther ExamplesDependenciesRelated ProjectsSummarypytablewriter-altcol-themeis apytablewriterplugin to provide a terminal theme.Installationpip install pytablewriter-altcol-themeUsageSample Code:importpytablewriterasptwwriter=ptw.TableWriterFactory.create_from_format_name("markdown",headers=["INT","STR"],value_matrix=[[1,"hoge"],[2,"foo"],[3,"bar"],],margin=1,theme="altcol",)writer.write_table()You can change the color of the theme by using thecolorparameter:Sample Code:importpytablewriterasptwwriter=ptw.TableWriterFactory.create_from_format_name("markdown",headers=["INT","STR"],value_matrix=[[1,"hoge"],[2,"foo"],[3,"bar"],],margin=1,)writer.set_theme("altcol",color="yellow")writer.write_table()Other ExamplesGenerate HTML example:source fileandthe outputDependenciesPython 3.7+Python package dependencies (automatically installed)Related Projectspytablewriterpytablewriter-altrow-theme
Package: pytablewriter-altrow-theme
pytablewriter-altrow-themeSummaryInstallationUsageOther ExamplesDependenciesRelated ProjectsSummarypytablewriter-altrow-themeis apytablewriterplugin to provide a theme that colored rows alternatively.Installationpip install pytablewriter-altrow-themeUsageSample Code:importpytablewriterasptwwriter=ptw.TableWriterFactory.create_from_format_name("markdown",headers=["INT","STR"],value_matrix=[[1,"hoge"],[2,"foo"],[3,"bar"],],margin=1,theme="altrow",)writer.write_table()Output:You can change the color of the theme by using thecolorparameter:Sample Code:importpytablewriterasptwwriter=ptw.TableWriterFactory.create_from_format_name("markdown",headers=["INT","STR"],value_matrix=[[1,"hoge"],[2,"foo"],[3,"bar"],],margin=1,)writer.set_theme("altrow",color="yellow")writer.write_table()Output:Other ExamplesHTML example:source fileandthe outputDependenciesPython 3.7+Python package dependencies (automatically installed)Related Projectspytablewriterpytablewriter-altcol-theme
Package: pytabs
PyTABSA python wrapper for CSi ETABS .NET APIExplore the docs »Report Bug·Request FeatureDescriptionA Python wrapper for CSi ETABS .NET API - a simple yet robust Python interface to the ETABS .NET API. Not affiliated with Computer and Structures Inc.InstallationPyTABScan be installed through the Python package manager:$ pip install pytabsRequirementsPython 3.8+pythonnetpdocUsage🗒️Documentation can be found athttps://mitchell-tesch.github.io/pytabs/pytabs.htmlFor examples, please refer to theexamples.LicenceDistributed under the MIT License. SeeLICENSEfor more information.ContibutorsContributors welcome.IntelliSense of the ETABSv1 namespace (ETABSv1.dll) can be achieved via the included stub file. This stub file has been generated usingIronPython Stubsbygtalarico.To make use of this stub file in VS Code add the following to your settings.json:"python.autoComplete.extraPaths":["<path_to_stub_directory>"],"python.analysis.extraPaths":["<path_to_stub_directory>"]
Package: pytabulate
##pytabulateNote: this is an alpha release, this package allows you to understand your table datasets, providing different set of analytics, the main package function at the moment is get_probability_distribution(), calling this function and seeing its docstrings would reveal all the distributions of metadata of your dataset it would provide, this is still in its early stages of development as a package and doesn't have a publically available github page as we have a commercial consumption of the package at the moment, but in near future all the open source code for this and much more additional features will be introduced.
Package: pytabulator
py-tabulator: Tabulator for PythonShiny for Pythonbindings forTabulator JSFeaturesSupport forShiny coreandShiny ExpressPaginationFiltersEditor with undo and redo (History interaction)GroupingSortingColumn calculationsDownloadsThemesReactivityInstallation# Stablepipinstallpytabulator# Devpipinstallgit+https://github.com/eodaGmbH/py-tabulatorDocshttps://eodagmbh.github.io/py-tabulator/Basic usageUsingShiny Express:importpandasaspdfrompytabulatorimportTableOptions,render_data_framefromshinyimportrenderfromshiny.expressimportinput,uiui.div("Click on row to print name",style="padding: 10px;")@render.codeasyncdeftxt():print(input.tabulator_row_clicked())returninput.tabulator_row_clicked()["Name"]@render_data_frame(table_options=TableOptions(height=500))deftabulator():returnpd.read_csv("https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv")Run detailed example:shinyrundocs/examples/getting_started/shiny_express_all.pyDevelopmentPythonpoetryinstall

poetryrunpytestJavaScriptnpminstall

npmrunprettier

npmrunbuild
Package: pytac
Python Toolkit for Accelerator Controls (Pytac) is a Python library for working
with elements of particle accelerators, developed at Diamond Light Source.PyPIpip install pytacSource codehttps://github.com/DiamondLightSource/pytacDocumentationhttps://DiamondLightSource.github.io/pytacReleaseshttps://github.com/DiamondLightSource/pytac/releasesfrompytacimport__version__print(f"Hello pytac{__version__}")Seehttps://DiamondLightSource.github.io/pytacfor more detailed documentation.
Package: pytaco
pytaco======Stop ordering Pizza for your meetup! Order Taco!Inspired by `pizza.py <https://github.com/BostonPython/fingertools/blob/master/pizza.py>`_.Installation============Requires Python 3.6::pip3 install pytacoOnce installed, on the command line, type::pytacoand press Enter.🌮Check my other project: `tic-tac-taco-pizza <https://pypi.org/project/tic_tac_taco_pizza/>`_... raw:: html<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/pRy6o7Lb3SZ54bkQL73ouXaU/Mariatta/pytaco'><img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/pRy6o7Lb3SZ54bkQL73ouXaU/Mariatta/pytaco.svg' /></a>
Package: pytactician
PyTacticianPyTactician is a Python Library for interfacing with theCoq Proof
Assistantthrough theAPIof itsTacticianplugin and reading associated
datasets.The major version numberxof this library
indicates the version of the dataset and communication protocol. Any PyTactician
versionx.yis compatible with the communication protocolx.InstallationBinary wheels are provided for Linux and MacOS (onPyPI). On those platforms you can
install by executingpip install pytactician. If you need to install from
source, you need to have Cap'n Proto >= 0.8 installed on your system. See the
main repoREADMEfor
more details on prerequisites. Once you have the prerequisites, you can install
by runningpip install .from the root of the repository.UsagePyTactician provides a library to work with the datasets extracted from Coq and
to directly interface with Coq through Tacticians API. The documentation for the
library can be foundhere.In addition, PyTactician contains a number of executables that can be used to
analyze datasets and interact with Coq. Available executables are as follows
(use the--helpflag for each executable to learn about all the options).pytact-check [-h] [--jobs JOBS] [--quick] [--verbose VERBOSE] dirRun sanity checks on a dataset and print some statistics.pytact-visualize [-h] [--port PORT] [--hostname HOSTNAME] [--dev] [--fast | --workers WORKERS] dataset:
Start an interactive server that visualizes a dataset.pytact-server [-h] [--tcp TCP] [--record RECORD_FILE] {graph,text}Example python server capable of communicating with Coq through Tactician's 'synth' tactic
To learn how to interface Coq and Tactician with this server, see the sections below.pytact-oracle [-h] [--tcp PORT] [--record RECORD_FILE] {graph,text} datasetA tactic prediction server acting as an oracle, retrieving it's information from a datasetpytact-fake-coq [-h] (--tcp TCP_LOCATION | --stdin EXECUTABLE) dataA fake Coq client that connects to a prediction server and feeds it a stream of previously recorded messages.pytact-prover: A dummy example client that interfaces with Coq and Tactician for proof exploration
driven by the client.
Package: pyTactor
pyTactorParties InvolvedInstitution: Munroe Meyer Institute in the University of Nebraska Medical CenterLaboratory: Virtual Reality LaboratoryAdvisor: Dr. James GehringerDeveloper: Walker ArceMotivationThis Python library was written to facilitate closed-loop experimental protocol for biomechanics and motor-control related research.InstallationClone this repository, cd into the directory using either your virtual environment or your local environment, and run:python setup.py installUsageimport time
from pytactor import VibrotactorArray

ble = VibrotactorArray.get_ble_instance()
vta_1 = VibrotactorArray(ble)
vta_2 = VibrotactorArray(ble)

vta_1.set_all_motors(200)
vta_1.trigger_vib()
vta_1.start_imu()

vta_2.set_all_motors(200)
vta_2.trigger_vib()
vta_2.start_imu()

time.sleep(10)Citation@misc{Arce_pyTactor_2022,
      author = {Arce, Walker and Gehringer, James},
      month = {6},
      title = {{pyTactor}},
      url = {https://github.com/Munroe-Meyer-Institute-VR-Laboratory/pyTactor},
      year = {2022}
}
Package: pytadarida
PyTadaridaPyTadarida is a Python wrapper for the Tadarida-D algorithm, which is a method
for detecting presence of bioacoustic events in audio recordings. The algorithm
is described in detail in the following paper:Bas, Y., Bas, D., & Julien, J.-F. (2017). Tadarida: A Toolbox for Animal
Detection on Acoustic Recordings. Journal of Open Research Software, 5(1), 6.
DOI:http://doi.org/10.5334/jors.154The original implementation of the algorithm is written in C++, and is available
on itsGitHub repository.InstallationPyTadarida only runs in Linux. Make sure you have all the Tadarida-D dependencies:sudo apt-get install libfftw3-dev libicu-dev libsndfile1-dev libqt5core5aPyTadarida is available on PyPI, and can be installed with pip:pip install pytadaridaUsagePyTadarida exposes a single function,run_tadarida, which takes a list of .wav
files or directories containing .wav files as input, and returns a pandas
DataFrame containing the detected events.from pytadarida import run_tadarida

events, status = run_tadarida(["/path/to/file.wav", "/path/to/directory"])Thestatusvariable is a object containing the status of the algorithm after
running. It can be used to check whether the algorithm was able to process the
file, and any warnings that were generated.tadarida_run_message = status.stdout
tadarida_error_message = status.errors
tadarida_detection_message = status.detectLicenseAs the original Tadarida-D algorithm is licensed under the GNU General Public
License v3.0, PyTadarida is also licensed under the GNU General Public License
v3.0. This means that PyTadarida is free software, and you are free to use,
modify, and redistribute it under certain conditions. See the LICENSE file for
more information.ContributingContributions are welcome! If you find a bug, or have a feature request, please
open an issue on theGitHub repository
Package: pytado
Author: Chris Jewell <chrism0dwk@gmail.com>
Modified: Gareth Jeanne <contact@garethjeanne.co.uk>Licence: GPL v3Copyright: Chris Jewell 2016PyTado is a Python module implementing an interface to the Tado web API.  It allows a user to interact with their Tado heating system for the purposes of monitoring or controlling their heating system, beyond what Tado themselves currently offer.It is hoped that this module might be used by those who wish to tweak their Tado systems, and further optimise their heating setups.DisclaimerBesides owning a Tado system, I have no connection with the Tado company themselves.  PyTado was created for my own use, and for others who may wish to experiment with personal Internet of Things systems.  I receive no help (financial or otherwise) from Tado, and have no business interest with them.  This software is provided without warranty, according to the GNU Public Licence version 3, and should therefore not be used where it may endanger life, financial stakes, or cause discomfort and inconvenience to others.Example basic usage>>> from PyTado.interface import Tado
>>> t = Tado('my@username.com', 'mypassword')
>>> climate = t.getClimate(zone=1)DevelopmentThis software is at a purely experimental stage.  If you’re interested and can write Python, clone the Github repo, drop me a line, and get involved!Best wishes and a warm winter to all!Chris Jewell
Package: pytafseer
Quran Tafseer Python PackagePython Package (wrapper) forQuran Tafseer REST APIsFree software: MIT licenseDocumentation:https://pytafseer.readthedocs.io.FeaturesGet list of Quran Tafseer/translation.Get list of Quran Tafseer/translation filtered by language.Get one verse tafseer/translation in a chapter.Get Multiple verses tafseer/translation in a chapter.Settings (Environment Variable)WEB_API_URL-> Quran Tafseer API URL, defaulthttp://api.quran-tafseer.com/CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1 (2019-01-20)First release on PyPI.0.1.1 (2019-01-20)Fix missing requirements.
Package: pytagcloud
PyTagCloud let you create simple tag clouds inspired byhttp://www.wordle.net/Currently, the following output formats have been written and are working:PNG imagesHTML/CSS codeIf you have ideas for other formats please let us know.InstallationYou can install PyTagCloud either via the Python Package Index (PyPI) or from source.To install usingpip:$ pip install -U pytagcloudTo install usingeasy_install:$ easy_install -U pytagcloudDownloading and installing from sourceDownload the latest version of PyTagCloud fromhttp://pypi.python.org/pypi/pytagcloud/You can install it by doing the following,:$ tar xfz pytagcloud-*.tar.gz
$ cd pytagcloud-*/
$ python setup.py build
# python setup.py install # as rootRequirementsInstallpygame>= 1.9.1:$ apt-get install python-pygameInstall simplejson:$ pip install simplejsonQuick startYou probably want to see some code by now, so here’s an example:from pytagcloud import create_tag_image, make_tags
from pytagcloud.lang.counter import get_tag_counts

YOUR_TEXT = "A tag cloud is a visual representation for text data, typically\
used to depict keyword metadata on websites, or to visualize free form text."

tags = make_tags(get_tag_counts(YOUR_TEXT), maxsize=120)

create_tag_image(tags, 'cloud_large.png', size=(900, 600), fontname='Lobster')More examples can be found intest.py.ExampleDemoContributingDevelopment ofpytagcloudhappens at Github:https://github.com/atizo/PyTagCloudYou are highly encouraged to participate in the development
ofpytagcloud. If you don’t like Github (for some reason) you’re welcome
to send regular patches.
Package: pytagcloud2
=============PyTagCloud2=============PyTagCloud2 let you create simple tag clouds inspired by http://www.wordle.net/Currently, the following output formats have been written and are working:- PNG images- HTML/CSS codeIf you have ideas for other formats please let us know.Installation============You can install PyTagCloud either via the Python Package Index (PyPI) or from source.To install using `pip`:$ pip install -U pytagcloud2To install using `easy_install`:$ easy_install -U pytagcloud2Requirements------------#. Install `pygame <http://www.pygame.org/download.shtml>`_ >= 1.9.1:$ apt-get install python-pygame#. Install simplejson:$ pip install simplejson
Package: pytagdump
Copyright: (c) 2012 Seth Davishttp://github.com/seedifferently/pytagdumpSynopsispytagdump is a simple utility to print the ID3/tag info of various files
supported by the “mutagen” package.InstallationTo install, simply:pip install pytagdumpYou’ll need to havePython2.5+ andpipinstalled.You might have to be root (or use sudo) for pip to install the script into a
globally executable directory in your $PATH.For JSON output support, make sure you have at least Python v2.6 (or
install thesimplejsonpackage for Python v2.5).For YAML output support, make sure you install thePyYAMLpackage.Optonally, you can use pip’ssetuptools extrassyntax to have either (or
both) of these packages automatically installed for you. e.g.pip install
pytagdump[JSON,YAML]pip should automatically install mutagen for you, but the advanced user can
find it here:http://code.google.com/p/mutagen/Usagepytagdump [OPTIONS] file(s)Examplespytagdump [OPTIONS] ~/Music/*.mp3or:pytagdump [OPTIONS] "~/Music/Rick Astley - Never Gonna Give You Up.mp3"Options-j/--json       Dump tag info in the JSON format.
-y/--yaml       Dump tag info in the YAML format.
-i/--info       Include additional meta info (bitrate, length, etc) in tag
                dump.
-s/--size       Include file size (in bytes) in tag dump.
-v/--verbose    Print additional informational messages.Disclaimers and WarningsTHE 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 AUTHOR 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.Latest Changesv0.3.1 – 02/08/2012Moved JSON/YAML package references to setuptools extras.Added more informative errors to JSON/YAML import failures.Fixed issue where additional meta info wasn’t shown if it was the only tag
info available.
Package: pytaggit
TaggitA Python library for tagging files.Author: Grant SavageInstallationpipinstallpytaggitCurrent Package LimitationsThis package currently works on Mac OS X 10.9 and newer. It was developed on Mac OS X 12.2
There is currently no functionality for Linux or Windows.Package Structuretaggit
|   README.md
|   LICENSE
|   .gitignore
|   poetry.lock
|   pyproject.toml
|───taggit
|   |   __init__.py
|   |   taggit.py
|───tests
|   |   test_taggit_macOS.py
|───docs
|   |   Functional_Specs.md
|   |   Design_Specs.md
|───sample_folder
|   |   sample_file.txtTutorialAdd tag to file:frompytaggitimporttag_managerastm>>>file_location="sample_folder/sample_file.txt"# Add tag via Tag object>>>tag=tm.Tag(name="green_tag",color="green")>>>tm.add_tag(tag,file_location)# Add tag via string>>>tm.add_tag("blue_tag\nblue",file_location)# Add colorless tag via string>>>tm.add_tag("no_color_tag",file_location)# Add tag via tuple>>>tm.add_tag(("purple_tag",'purple'),file_location)# Add multiple tags via list of tuples>>>red_list=[('first_red','red'),('second_red','red')]>>>tm.add_tag(red_list,file_location)Return tags by file:>>>tm.get_tags(file_location)[Tag("blue_tag","BLUE"),Tag("green_tag","GREEN"),Tag("no_color_tag","NONE"),Tag("purple_tag","PURPLE"),Tag("first_red","RED"),Tag("second_red","RED")]Remove tags from file:# Remove tag via Tag object>>>blue_tag=tm.Tag("blue_tag","blue")>>>tm.remove_tag(blue_tag,file_location)# Remove tag via string>>>tm.remove_tag("green_tag\ngreen",file_location)# Remove colorless tag via string>>>tm.remove_tag("no_color_tag",file_location)# Remove tag via tuple>>>tm.remove_tag(("purple_tag","purple"),file_location)# Remove multiple tags via list of tuples>>>red_list=[('first_red','red'),('second_red','red')]>>>tm.remove_tag(red_list,file_location)# Adding one tag back to show tags were removed>>>tm.add_tag("new_tag",file_location)>>>tm.get_tags(file_location)[Tag("new_tag","NONE")]
Package: pytagspace
pytagspaceA utility package that marks objects and finds them with tags.DescriptionThis package is a simple tool to organize different objects by tags.
UseTagSpaceto tag the objects withtag_name = tag_valuepairs.NoteTagSpaceTagkeep strong references to the tagged objects and
therefore could use large memory if they are not removed explicitly.
Useremove_objsto delete them.The tagged objects and tag value must beHashable.The name of each tag must not start with '_'.Each object can only have one tag value under each tag.InstallationInstall via pippip install pytagspaceExamplesTag objects and find themimportpytagspaceaspts# tag objects by kwargspts.tag(1,3,5,7,9,odd=True,even=False)pts.tag(2,3,5,7,prime=True)pts.tag(5,9,info='like')pts.tag(2,4,info='dislike')# find objects (return value is a set)print(pts.find_objs(prime=True,info='like'))# {5}print(pts.find_objs(info='love'))# set()  # Empty# find objects with value filterprint(pts.find_objs(prime=True,info=pts.Filter(lambdax:xin['like','dislike'])))# {2, 5}print(pts.find_objs(prime=pts.Filter(lambdax:xin[1,2,True])))# {2, 3, 5, 7}print(pts.find_objs(prime=True,info=pts.Filter(lambdax:x.endswith('like'))))# {2, 5}# find common tags by objectsprint(pts.find_tags(5,9))# {'odd': True, 'even': False, 'info': 'like'}print(pts.find_tags(2))# {'prime': True, 'info': 'dislike'}Tag functions and classesfrompytagspaceimportTagSpace# create a TagSpace instance instead of the default onespace=TagSpace()# use decorator tag@space.tag_decorator(return_value=1,is_function=True)deffunc1():return1@space.tag_decorator(return_value=1,is_function=False)classC1:def__call__(self):return1# use normal tagdeffunc2():return2classC2:def__call__(self):return2space.tag(func2,return_value=2,is_function=True)space.tag(C2,return_value=2,is_function=False)# find objectsforfinspace.find_objs(return_value=1):print(f())# 1, <class C1>forfinspace.find_objs(is_function=False):print(f()())# 1, 2Tag removalimportpytagspaceasptsfromdatetimeimporttimedeltafromdataclassesimportdataclass@dataclassclassMovie:name:strduration:timedeltayear:intmovies=[Movie(name='Thunder Force',duration=timedelta(hours=1,minutes=45),year=2021),Movie(name='Once Upon A Time...In Hollywood',duration=timedelta(hours=2,minutes=40),year=2019),Movie(name='Run',duration=timedelta(hours=1,minutes=39),year=2020)]formovieinmovies:pts.tag(movie,duration=movie.duration,year=movie.year)print(pts.find_objs(duration=pts.Filter(lambdax:x<timedelta(hours=2))))# Movies under 2 hours: Thunder Force and Runpts.remove_objs(movies[0])print(pts.find_objs(duration=pts.Filter(lambdax:x<timedelta(hours=2))))# Movies under 2 hours: Runpts.remove_tags('duration',year=2019)print(pts.find_objs(duration=pts.Filter(lambdax:x<timedelta(hours=2))))# set()  # Empty setprint(pts.find_objs(year=2019))# set() # Empty setFuture improvementsStore objects usingweakrefStore objects that is not hashable(find_tagsandremove_objswill be unavailable)Update notes1.0.1RenameTagValueFiltertoFilterfor convenience (TagValueFilteris kept for backward compatibility)Update examples in README.md
Package: pytahoe
This module allows for easy interaction with a Tahoe-LAFS grid, via the WebAPI.Current functionality includes:
* Retrieving information about files and directories
* Creating directories and subdirectories
* Uploading immutable files
* Attaching files or subdirectories to directories
* Mounting a directory to a mountpoint via FUSE or dokan
* Retrieving filesFunctionality that is currently notably absent, but will be added in the future:
* Verifying and repairing objects
* Renewing share leases
* Deleting files from directories
* Uploading of mutable files (SDMF and MDMF)
Package: pytailer
PyTAILerPyTAILer is very simple implementation of the unix shell utilitytail.frompytailerimportfail_tailwithfail_tail("some_file.txt",lines=10)astail:forlineintail:# be careful: infinite loop!print(line)Of course, you can use async version:importasynciofrompytailerimportasync_fail_tailasyncdefmain():withasync_fail_tail("some_file.txt",lines=10)astail:asyncforlineintail:# be careful: infinite loop!print(line)asyncio.run(main())# python 3.7+