Saravanan666/pypi-org huggingface dataset:
Package: thermosteam
ContentsWorkshopsWhat is ThermoSTEAM?InstallationDocumentationBug reportsLicense informationCitationWorkshopsJoin us on Friday, Jan 20, 9:15-10:15am CST, for a BioSTEAM workshop!
Emailbiosteamdevelopmentgroup@gmail.comfor details.What is ThermoSTEAM?ThermoSTEAM is a standalone thermodynamic engine capable of estimating mixture
properties, solving thermodynamic phase equilibria, and modeling stoichiometric
reactions. ThermoSTEAM builds uponchemicals,
the chemical properties component of the Chemical Engineering Design Library,
with a robust and flexible framework that facilitates the creation of property packages.The Biorefinery Simulation and Techno-Economic Analysis Modules (BioSTEAM)is dependent on ThermoSTEAM for the simulation of unit operations.InstallationGet the latest version of ThermoSTEAM fromPyPI.
If you have an installation of Python with pip, simple install it with:$ pip install thermosteamTo get the git version and install it, run:$ git clone --depth 100 git://github.com/BioSTEAMDevelopmentGroup/thermosteam
$ cd thermosteam
$ pip install .We use thedepthoption to clone only the last 100 commits. Thermosteam has a
long history, so cloning the whole repository (without using the depth option)
may take over 30 min.If you would like to clone all branches, add the “–no-single-branch” flag as such:$ git clone --depth 100 --no-single-branch git://github.com/BioSTEAMDevelopmentGroup/thermosteamDocumentationThermoSTEAM’s documentation is available on the web:https://biosteam.readthedocs.io/en/latest/API/thermosteam/index.htmlBug reportsTo report bugs, please use the ThermoSTEAM’s Bug Tracker at:https://github.com/BioSTEAMDevelopmentGroup/thermosteamLicense informationSeeLICENSE.txtfor information on the terms & conditions for usage
of this software, and a DISCLAIMER OF ALL WARRANTIES.Although not required by the ThermoSTEAM license, if it is convenient for you,
please cite ThermoSTEAM if used in your work. Please also consider contributing
any changes you make back, and benefit the community.CitationTo cite ThermoSTEAM in publications use:Cortes-Pena, Y., (2020). ThermoSTEAM: BioSTEAM's Premier Thermodynamic Engine.
Journal of Open Source Software, 5(56), 2814. doi.org/10.21105/joss.02814
Package: thermotools
The thermotools package is a lowlevel implementation toolbox for the analyis of multi-ensemble calculations. It contains estimators for the state-continuous transition-based reweighting analysis method (TRAM) and its state-discrete variant (dTRAM), Bennet acceptance ratio (BAR) and its multi-state variant (MBAR), and the weighted histogram analysis method (WHAM). While you can use thermotools on its own, we recommend to use it in combination with PyEMMA.
Package: thermoworks-smoke
python-thermoworks-smokePull data for your thermoworks smoke thermometer (https://www.thermoworks.com/Smoke).
This requires a smoke wifi gateway (https://www.thermoworks.com/Smoke-Gateway) with an internet connection.You will need to have previously registered your smoke to your account via the mobile app.
You will provide the email and password you used to this application to connect and pull your data.Uses Pyrebase4 (https://github.com/nhorvath/Pyrebase4) for interacting with firebase where thermoworks puts the data.Installationpip install thermoworks_smokeAPIthermoworks_smoke.initialize_app(email, password, init=False, excluded_serials=[])email: the email registered in the thermoworks apppassword: the password registered in the thermoworks appinit: (optional) set true to preload data for all devicesexcluded_serials: (optional) a list of device serial numbers to ignoreThe Data Manager returned by initialize_appserials() - listGet all device serials registered to this user.data(serial) - dictGet data for the specified serial number. Updates will be performed automatically and cached.devices() - listGet the list of all devices registred to this user.device(serial) - dictGet the device information for the specified serial.name(serial) - stringGet the device name for the specified serial.units(serial, probe=PROBE_1) - stringGet the unit for the specified serial and probe.You can usefrom thermoworks_smoke import TEMP_FAHRENHEIT, TEMP_CELSIUSto compare to these.You can usefrom thermoworks_smoke import PROBE_1, PROBE_2to get the constants for each probe name.update(serial) - voidForce update from server (do not call this too frequently). Calling this is unnecessary as calls to data() will
automatically update as needed.Usage Exampleimportthermoworks_smoke# initsmoke=thermoworks_smoke.initialize_app(email,password)# get list of registered devicesserials=smoke.serials()# print data for each serialforserialinserials:values=smoke.data(serial)print(serial)print(values)
Package: the-rover
the_roverTHE rover. Allows controlling Raspberry Pi "rovers" remotely and interactively from any OS's command line.InstallationThere are five methods:Clone the repository and manually install requirements.Clone the repository and runpip(3) install -r requirements.txtto install the requirements to the active Python installation.Clone the repository and runpip(3) install .in the directory you cloned it into to do the same thing and allow running with(python(3) -m )the_roverin your terminal.Don't clone the repository. Just download the .whl file in the latest release andpip installit.Don't clone the repository. Justpip install the_roverto install from PyPi.SetupSystem running the codeThis code can be run from any OS, but must connect to a (or multiple) Raspberry Pi "rover(s)".The system running the code must havegpiozero,pigpio,keyboard, andfabricinstalled (Automatically installed using the last four commands for installation).Raspberry Pi "Rover"The code expects pins 19 and 26 to control your front left motor, 16 and 20 your front right, 27 and 22 your back left, and 23 and 24 you back right (BCM numbering). The pins to which these numbers correspond to on your Pi can be found by running thepinoutcommand in Bash or atpinout.xyz.The code makes use of Remote GPIO to control the rover Pi, so it must have the "Remote GPIO" interface enabled insudo raspi-config/Raspberry Pi Configuration/config.txt, have thepigpioPython module installed (pip3 install pigpio), and mustsystemctl enable pigpiodor alternatively use cron (sudo crontab -e) to runpigpiodat startup (@reboot) (Doesn't requires enabling Remote GPIO. Useful for allowing only specific IPs/hostnames using the-nflag. See theRemote GPIO documentationfor more details.)The code usesraspistill, so the "Camera" interface must be enabled insudo raspi-config/Raspberry Pi Configuration/config.txt, and a PiCamera must be connected (Instructionshere).UsageRunningOnce in the directory you cloned the repository to, you can run the code by either usingpython(3) the_rover/(__main__.py)unless you used the last two methods of installation.Or, if you installed it using any of the last three installation commands,(python(3) -m )the_roverfrom anywhere.Note: Due to its dependency on thekeyboardmodule, the code must be run withsudoon most Linux systems.Once runningPressnto switch to next rover (wraps around).Presspto switch to previous rover (wraps around).Presscto capture a picture with the picamera (and download it to the current working directory).WASD for controlling rover. (Only one control at a time.)Note: All parenthesized parts of commands are optional/only needed in specific scenarios
Package: thesaurize-loader
Thesaurize LoaderThis utility transformsOpenOfficethesaurus data
files (based on Princeton's WordNet) into Redis protocol data streams. This
utility essentially mass-inserts thesaurus data into a Redis instance for use
with thethesaurize botfor
Discord.You can read more and download the OpenOffice thesaurushere.UsageYou will need to install this utility with pip(x) and have Redis installed and
running. Then run the utility with the following arguments.$pipxinstallthesaurize-loader
$thesaurize-loader\--file=https://www.openoffice.org/lingucomponent/MyThes-1.zip\--connection=redis://localhost:6379Alternatively, you can download the thesaurus archive linked above and extract
it. Then run the following command:$thesaurize-loader--file=file:///path/to/thesaurus.dat--connection=redis://localhost:6379LicenseMIT
Package: thesaurus-cli
# Thesaurus-cliEver had to search for that ~~perfect~~ ~~splendid~~ cromulent word? Faster and easier than a browser,this CLI is unquestionably, unconditionally, the superlative solution.## Getting Started### PrerequisitesPython 3 and pip must be installed. They can be installed as follows:```apt-get install python3apt-get install pip3```Other dependencies such as BeautifulSoup will be installed by pip.### InstallingThesaurus-cli can be installed through pip:```pip install thesaurus-cli```### UsingThesaurus-cli takes a single argument, the word that is being searched. For example, to find synonymsfor "well"```thesaurus well```You will be able to select a specific definition for the searched word```Definitions for well are the following:0) healthy1) lucky, fortunate2) happily, pleasantly; capably3) sufficiently4) water holeSelect a definition:```After choosing one, you will receive a list of synonyms```Synonyms for healthy:strongtogether...```
Package: thesaurus-lib
Thesaurus VisualizationCurrent supported languages are:EnglishengRussianrusHow to runMinimalistic wayInstall the library:pip install thesaurus-libCreate an object and specify the language:obj = Thesaurus(lang='eng')Show output:obj.show_map()Run with your own foregrounds:After you install the library and create the object do the followingpass them to the library:text1 = obj.read_pickle('2017')
text2 = obj.read_txt('shakespeare.txt')
text3 = obj.read_text('My foreground in string format')Preprocess your foreground:texts = dict()
foreground_name = 'Physics articles 2017'
texts[foreground_name] = obj.custom_preprocessing_of_data(text1)Process foregrounds:processed_foregrounds = obj.process_foreground(foreground_names, texts)Show output:obj.show_map()Use your own configurationsAfter installing the library create a file called 'config.cfg' in your working
directory and fill the value with your own files:[paths]
som_path =
index_path =
back_tokens_path =
back_embeds_path =
stopwords_path =
foregrounds_path =

    [lang]
    som_url =
    embeds_url =
    som_file =
    index_file =
    back_tokens =
    back_embeds =
    embeddings_file =
    STOPWORDS_FILE =
    model =Note: Don't leave any empty field in config.cfg. For example if you aren't providing a som_file
then delete it in your config.cfg and don't keep it in this way:# fill it or delete it
som_file =
Package: thescheduler
thescheduler: A Declarative Task Scheduling Engine built on CeleryThis project is in pre-alpha, early development, and subject to fast (read: breaking) changesA proof-of-conceptDistributed Task/Job Scheduler, designed largely for batch-driven environments.thescheduler exposes built-in functionality of Celery through “tags”, declarative syntax used to create job definitions.It also implements additional features (e.g. centralized logging, log rotation) to cover extended use-cases.FeaturesWrite job definitions using a simple yaml-based syntax.Definitions are file based, so that they can be incorporated into existing development workflows (CI/CD).
Write/commit/deploy your job definitions alongside your code.thescheduler will read and parse valid definitions, add them to the schedule, and send to the pool of workers for execution.Build workflows/pipelines by linking jobs using the dependency tag.External DependenciesredisInstallationDevelopment version:$ git clone git@github.com:ehm-are/thescheduler.git
$ cd thescheduler
$ pip install -e .or direct from the repository:pip install git+https://github.com/ehm-are/thescheduler.gitDockerTODOUsageConfigure settingsTODOStart theschedulerTODOStart the workersTODOCreate a job definition in your configured job pathex: /jobs/test/job_3runcmd:      python3 hello_world.py
startat:     13:00 US/Pacific
failat:      13:05 US/Pacific
runday:      mon, wed, fri
pool:        us-west-1-dev
env:         PATH="/home/user/.local/bin"
dependon:    /test/job_1, /test/job_2CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.Free software: Mozilla Public License 2.0 (MPL 2.0)Documentation:https://thescheduler.readthedocs.io.History0.1.0 (2020-01-01)First release on PyPI.
Package: these
$ pip install these>>> import these
The Zen of Python, by Tim Peters

Beautiful is better than nested.
Explicit is better than complicated.
Simple is easy to break the rules.
Complex is hard to guess.
Flat is better than dense.
Sparse is often better than ugly.
Readability counts.
Special cases aren't special enough to explain, it's a good idea.
Although practicality beats purity.
Errors should be obvious at first unless you're Dutch.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to do it.
There should never is better than never.
Although never pass silently.
Now is better than *right* now.
Although that way may not be one-- and preferably only one honking great idea -- let's do more of those!
If the implementation is better than complex.
If the implementation is better than implicit.
Namespaces are one --obvious way to explain, it may be a bad idea.
Package: theseptatimes
━━━━━━  ❖  ━━━━━━❖ TheSeptaTimesTheSeptaTimes is a python package designed to make accessing info about Septa's regional rail network easier. I made this because I commute to college every day via septa, and checking the time for the next train via the app or the website simply takes too much time. I wanted something I could access from my terminal, and thus, TheSeptaTimes was born.❖ InstallationInstall from pippip3installTheSeptaTimesInstall from sourceFirst, installpoetrygitclonehttps://github.com/dotzenith/TheSeptaTimes.gitcdTheSeptaTimes
poetrybuild
pip3install./dist/theseptatimes-0.2.4.tar.gz❖ UsageUsage:tst[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:arrivalsFindthenextarrivalsatagiventrainstationnextSearchforthenexttraingoingfromanorigintoadestinationsearchSearchforagivenstationtrainTrackagiventrainusingit'snumberFuzzy search for a train stationtstsearchadmrGet times for the next two trains that go from a given train station to anothertstnext'30th Street Station''North Philadelphia'List the next 6 arrivals at a given train stationtstarrivals'30th Street Station'6Take a look at any given train's schedule using the train numbertsttrain9374❖ What's New?0.2.4 - Naming changes
Package: these-united-states
these-united-statesA Python library for performing reverse geocoding of the United States of America.OverviewThese-united-states provides a simple, class-based interface to shapefiles from the United States
Census Bureau defining boundaries of U.S. states and territories. States may be queried via
full state name, abbreviation, or by coordinates (latitude/longitude pairs). State objects contain
some metadata, including the bounding box, area, and polygons defining the state's boundaries.Example>>>importunited_states>>>us=united_states.UnitedStates()>>>us.from_coords(29.881888,-82.726846)[State(abbr='FL',name='Florida',bbox=BBox(left=-87.634896,bottom=24.396307999999998,right=-79.974306,top=31.000968))]>>>us.by_abbr['WA']State(abbr='WA',name='Washington',bbox=BBox(left=-124.848974,bottom=45.543541,right=-116.916071,top=49.002435999999996))>>>us.by_name['Alaska']State(abbr='AK',name='Alaska',bbox=BBox(left=-179.231086,bottom=51.175092,right=179.859681,top=71.439786))Command-line interfaceThese-united-states is also usable from the command-line, with the appropriate extras installed.$ pip install "these-united-states[cli,plot]"

$ python -m united_states 29.881888,-82.726846
(29.881888, -82.726846)  Florida

$ python -m united_states --help
Usage: united_states [OPTIONS] [POINT]...

  Lookup U.S. states by coordinate (reverse geocoding).

Options:
  -b, --bbox / --no-bbox          Print state bounding boxes in listing
                                  (implies -l/--list).

  -d, --dc / --no-dc              Include the District of Columbia.
  -x, --exclude TEXT              Exclude states by abbreviation or name.
  -h, --help                      Show this message and exit.
  -i, --include TEXT              Include states by abbreviation or name.
  -l, --list / --no-list          List included states.
  -o, --oconus / --no-oconus      Include states outside the continental U.S.
  -p, --plot / --no-plot          Plot the results (requires matplotlib).
  -s, --seed FLOAT                Seed random number generator for color plot
                                  selection.

  -t, --territories / --no-territories
                                  Include U.S. territories.

  Options may be given multiple times. Options taking arguments are
  additive. Multiple abbreviations or names may be provided in a single
  option using a comma-separated list.LicenseBSD 3-Clause license
Package: the-silo
The Silo is a collection of useful tools for Nuke.Full DocumentationInstallationTo installthe_silo, type:$pipinstallthe_siloOpen Nuke’sinit.pyfile and add:nuke.pluginAddPath('/path/to/your/local/python/site-packages')Open Nuke’smenu.pyfile and add:importthe_siloGetting StartedThere are currently two categories of tools:GizmosScriptsGetting started is easy. After you have installed The Silo, all available tools
will be added to a menu calledThe Siloand sub-menus calledGizmosandScripts. That’s it. :)
Package: thesmuggler
Sidestepimportand load Python files as relative paths.Intended for one-off imports (e.g. global configuration). Currently,thesmugglercan’t import files that import other local packages, but you cansmugglefiles that
have already smuggled other files.Tested and working on Python 2.7 and up.Usagepip install thesmuggler, then:fromthesmugglerimportsmuggle# À la `import weapons`weapons=smuggle('weapons.py')# À la `from contraband import drugs, alcohol`drugs,alcohol=smuggle('drugs','alcohol',source='contraband.py')# À la `from contraband import drugs as dope, alcohol as booze`dope,booze=smuggle('drugs','alcohol',source='contraband.py')
Package: thesoup
The soupA collection of python classes and functions.Getting itGithubDownload it from GitHub with agit clone https://github.com/sigabrtio/thesoup.gitNavigate to the root, and run all tests to ensure everything is working withnose2 tst/ --nocaptureNow install withsudo pip3 install .PyPiThis is available onPyPias well. Do asudo pip3 install thesoupto install.NOTE: If you do not have nose tests, install it withsudo pip3 install noseNOTE: This is python3 onlyComponentsClassesIt has the following utility classes:GraphsAbstract class for directed graphDiGraphAbstract class for directed mutable graphMutableDiGraphA mutable digraph implementation with adjacency listAdjListGraphHeapMin heapMinheapMax heapMaxHeapBinary treesBSTBinarySearchTreeTrie (ASCII only)SetsA set that keeps track of the number of occurrences of repeated elementsCountSetA disjoint sets utility. See theWikipedia entryDisjointSetsfor details on what it isUtilitiesA result class, similar to Rust'sResult.FunctionsIt has the following utility functionsCollection relatedFlatten a nested collectionflattenFlatten a nested collection except the tuplesflatten_to_tupleFind all subsequences of a listsubsequenceForeach method that works on all collectionsforeachGroup a collection into a map by some criteriagroup_byGraph traversalsBread first searchbfsDepth first searchdfsDijkstradijkstraSpecialized SP for DAGsshortest_path_dagString relatedTest if 2 strings are anagramsis_anagramOtherK-way mergemerge
Package: thespian
Thespian is a Python library providing a framework for developing
concurrent, distributed, fault tolerant applications.Thespian is built on the Actor Model which allows applications to be
written as a group of independently executing but cooperating
“Actors” which communicate via messages.  These Actors run within
the Actor System provided by the Thespian library.ConcurrentDistributedFault TolerantScalableLocation independentActor programming is broadly applicable and it is ideally suited
for Cloud-based applications as well, where compute nodes are
added and removed from the environment dynamically.More Information:http://thespianpy.comRelease Notes:http://thespianpy.com/doc/releases.html
Package: thesportsdb
TheSportsDB Python SDK.Unofficial Python API client wrapper package aroundTheSportsDB API.
An open, crowd-sourced database of sports artwork and metadata with a free API.DocumentationHow to Install# In terminal do:$pipinstallthesportsdbBuilding from Source for Developers$gitclonehttps://github.com/TralahM/thesportsdb.git$cdthesportsdb$pythonsetup.pybuild$pipinstall-e.QuickStartimportthesportsdbevent_info=thesportsdb.events.eventInfo("1008672")event_result=thesportsdb.events.eventResult("1008695")previous_events=thesportsdb.events.lastLeagueEvents("4328")events_for_league_season20192020=thesportsdb.events.leagueSeasonEvents("4328","2019-2020")upcoming_soccer_events=thesportsdb.events.nextLeagueEvents("4328")all_countries=thesportsdb.countries.allCountries()all_leagues=thesportsdb.leagues.allLeagues()EPL_info=thesportsdb.leagues.leagueInfo("4328")EPL_standings=thesportsdb.leagues.leagueSeasonTable("4328","2019-2020")soccer_leagues=thesportsdb.leagues.sportLeagues("102")Team_sports=thesportsdb.sports.TeamVsTeamSports()all_sports=thesportsdb.sports.allSports()nonTeamSports=thesportsdb.sports.nonTeamVsTeamSports()sport_details=thesportsdb.sports.sportInfo("102")EPL_teams=thesportsdb.teams.leagueTeams("4328")team_details_ManC=thesportsdb.teams.teamInfo("133613")## print(thesportsdb)ContributingSee the Contributing FileSee the Pull Request FileSupportLICENCERead the LICENSE hereSelf-Promotion
Package: thestorygraph-client
thestorygraph-clientA Simple Python Client for TheStoryGraph.comSync and async clients as well as a model abstraction layer for the website.Since no public API is available, this library parses HTML viaBeautifulSoup4and loads the data into model objects.Installationpipinstallthestorygraph-clientExamplesSearch for books (sync)Find and print books related to'SPQR':fromtsg.clientimportSyncTSGClientdefprint_search_result(search_text:str)->None:client=SyncTSGClient()book_list=client.search(text=search_text)forbookinbook_list:print(f'{book.authors[0].name}-{book.title}')print_search_result('SPQR')Search for books (async)Same as above, but using the asynchronous client:importasynciofromtsg.clientimportAsyncTSGClientasyncdefprint_search_result(search_text:str)->None:client=AsyncTSGClient()book_list=awaitclient.get_browse(text=search_text)forbookinbook_list:print(f'{", ".join(book.author_names)}-{book.title}')asyncio.run(print_search_result('SPQR'))The two clients have identical APIs (beside the fact that the latter is async).Get a book by IDimportasynciofromtsg.clientimportAsyncTSGClientasyncdefprint_book_by_id(book_id:str)->None:client=AsyncTSGClient()book=awaitclient.get_book(id=book_id)print(f'{book.title}by{", ".join(book.author_names)}')asyncio.run(print_book_by_id('79b894b0-df12-4bb6-89d7-40288f28acc1'))Development and TestingConfiguring the test environmentInstallpipinstall-Ue.[testing]TestingRun the tests:pytesttestsAnd always validate typing:mypysrc/tsgOr simplymaketest(it will run all test commands)LinksHomepage on GitHub:https://github.com/altvod/thestorygraph-clientProject's page on PyPi:https://pypi.org/project/thestorygraph-client/TheStoryGraph:https://thestorygraph.com/