Saravanan666/pypi-org huggingface dataset:
Package: tomcli
tomcli(gotmax23/tomcli)(gotmax23/tomcli-dev)CLI for working with TOML files. Pronounced "tom clee."Linkstomcli project hubtomcli git.sr.ht repotomcli trackertomcli mailing list(~gotmax/tomcli@lists.sr.ht)Examplestomcli-getQuery TOML filesPrint a TOML table:$tomcli-getpyproject.tomlbuild-system[build-system]requires = ["flit_core >=3.2,<4"]build-backend = "flit_core.buildapi"Get a newline-separated list of strings:$tomcli-getpyproject.toml--formatternewline-listproject.dependenciesclickimportlib_metadata; python_version<'3.11'List all available formatters for use
withtomcli-get -F/tomcli-get --formatter:$tomcli-formattersdefaultUse the `toml` formatter if the object is a Mapping and fall back to`string`.jsonReturn the JSON representation of the objectnewline-listReturn a newline separated liststringPrint the Python str() representation of the objecttomlReturn the TOML mapping of the objecttomcli-setModify TOML filesDelete a TOML value:$tomcli-setpyproject.tomldel'project.dependencies'Set a value totrueorfalse:$tomcli-setpyproject.tomltrue'tool.mypy.check_untyped_defs'$tomcli-setpyproject.tomlfalse'tool.mypy.check_untyped_defs'Set afloatorintvalue:$tomcli-setpyproject.tomlfloat'tool.coverage.run.fail_under''90.0'$tomcli-setpyproject.tomlint'tool.coverage.run.fail_under''90'Set a string value:$tomcli-setpyproject.tomlstr'project.readme''README.rst'tomcli-get listsModify lists within a TOML fileRemove all values that match a Python regex:NOTE:The regex must match the entire string$tomcli-setpyproject.tomllistsdelitem\'project.classifiers''Programming Language :: Python.*'Remove all values that match an fnmatch-style pattern:$tomcli-setpyproject.tomllistsdelitem--typefnmatch\'project.optional-dependencies.dev''*cov*'Replace values that match a Python regex:NOTE:The regex must match the entire string$tomcli-setpyproject.tomllistsreplace\'project.optional-dependencies.test''(.+)==(.+)''\1>=\2'Create a list of strings:## Create the new file$touchplays.toml## Automatically creates the "Romeo and Juliet" table$tomcli-setplays.tomllistsstr\'"Romeo and Juliet".characters''Romeo''Juliet''Mercuitio''Nurse'ContributingSeeCONTRIBUTING.md.LicenseThis repository is licensed underSPDX-License-Identifer: MIT
Package: tomcom.buildout.scripts
This package install some helper scripts to make buildout handling in some parts more handy. You can find the helper scripts in your INSTANCE/bin directory.upgrade_versionIf you want to upgrade your project to a newer version you can use this script.
Your need a version.cfg for your current project and a version.cfg of the next release.The version numbers in the next release will be replaced in the version.cfg of your current
project.TO KNOW:The sections has to be the same.Completely new versions in a section will be added.Newer Version in the old versions.cfg will not be overridden.Versions who shoud be upgraded but are not in the new version.cfg
will not be handled. So it’s every time possible that you have to modify
some versions by your own. Depending on the 3rd party packages you installed.pin_versionBuilds a new versions.cfg file. All Versions wich are used in egg form are included.
Package: tomcom.plone.base
InformationSmall helpers for daily usage.For HTMLClick a link with this class and you will get a confirm message> class=”confirm-general”Click a link with this class and you will get a confirm message
for deleting a content element> class=”confirm-delete”Prevent the default click event. Usefull for dummy anker.> <a class=”no-click”A overlay will appear. The link is the target> <a class=”custom-overlay-ajax”Roles / Permissions“Is Site Administrator” a permission wich only belongs to Site AdministratorBootstrapIf you install this package, there is a complete set of
bootstrap 2.3.2 and Font Awesome included. Some css of plone will be disabled.Some Templates are optimized to show them in bootstrap styleStatus messageA simple statusmessage to display an informaton for the user. ‘success’ is the
bootstrap style type Alle in bootstrap defined alert types are avaliable.> $.status_message(‘Hello world’,’success’);ToolbarMove toolbar to the top of your template.<div class="plone-toolbar clearfix"
     tal:condition="context/@@plone/showEditableBorder">
    <tal:block tal:replace="structure provider:plone.contentviews"/>
</div>
Package: tomcom.plone.easyvoc
This product provide an easy way in Handling key value pairs which should be shown in for
example drop down lists.First you has to define a key to identify the whole list. For example mycontenttype-mydropdownfieldThan press save.After you saved, a new link will apear for enter vocabulary valus.Put every value in a new single line. The entered values will be numbered in ascending order starting by 1.If you like to rename a value use the rename dropdown below the value list.If you remove a key from the list, the value will only be hidden in the selection dropdown so the history
will be working for older entries.You an reactivate the entry by putting it again in the value list.The following example returns a key,value pair list.context.getBrowser('easyvoc').get('mycontenttype-mydropdownfield')The following example returns the value for the keycontext.getBrowser('easyvoc').get_value('mycontenttype-mydropdownfield',context.mycontenttype-mydropdownfield)For getting translations running, enter values in you preffered default language an use po files.The design is based on a bootstrap 2.3.x layout. Bootstrap is not included
Package: tomcom.plone.ptregistry
InformationThis package is for registering public global templates in an easy way.Add the zcml registration stuff to your configure zcml.Create a folder.Put files in with ending .ptEnjoy your saved timeMinimum zcml config example<configure xmlns=”http://namespaces.zope.org/zope”xmlns:browser=”http://namespaces.zope.org/browser”
xmlns:five=”http://namespaces.zope.org/five”
xmlns:pt=”http://namespaces.plone.org/pt”><pt:registrypath=”templates”/></configure>
Package: tome
ContentsIntroductionInstallationFrom SourceFrom PyPiWindows Binary InstallerLogisticsContact InformationCopyright and LicenseIntroductionTome is a markup language and associated tool suite intended for authors, primarily authors of
novels and other relatively simple “chapter books”. Tome offers a simple an unobtrusive markup
language that allows you to focus on the writing instead of the formatting and styling. The tool
suite will parse your markup and generate output in a number of different formats including
EPUB, text, and latex (from which you can use the standard latex tool chains to produce DVI,
Postscript, or PDF).Documentation is available in thedoc/folder of the repository, or look for theintro-*.pdffile on theDownload page. There is also anexample-*.tomedocument for a really quick start on writing tome documents.InstallationYou can install in a couple of ways:From SourceYou can get the source by cloning this repository or by downloading the source package from theDownload page. Once you have the source, you can use python to install by simply executing:python setup.py installThis should take care of installing Tome on your system, as well as the templ package which is
required by Tome. On Unix like systems, you may need to have superuser priveledges to install
the package.From PyPiYou can also get tome from PyPi:http://pypi.python.org/pypi/tome/. From there you
can download an appropriate distribution, or you can usepipto install it with:pip install tomeWindows Binary InstallerA GUI installer program for Windows is available for the latest official release.
You can get the installer from theDownload section on PyPior
from theDownloads page on bitbucket.LogisticsContact InformationThis project is currently hosted onbitbucket,
athttps://bitbucket.org/bmearns/tome/. The primary author is Brian Mearns:
you can contact Brian through bitbucket athttps://bitbucket.org/bmearns.You can also follow the project on twitter@TomeProjectfor general announcements
and updates, or@TomeDevelopmentfor all commit announcements and development
related messages (this is a pretty noisy stream).Copyright and Licensetomeisfree software: you can redistribute it and/or modify
it under the terms of theGNU Affero General Public Licenseas published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.tomeis distributed in the hope that it will be useful,
butwithout any warranty; without even the implied warranty ofmerchantabilityorfitness for a particular purpose.  See the
GNU Affero General Public License for more details.A copy of the GNU Affero General Public License is available in the templ
distribution under the file LICENSE.txt. If you did not receive a copy of
this file, seehttp://www.gnu.org/licenses/.
Package: tom-education
tom_educationTOM Education is a plugin for the TOM Toolkit adding features intended for
educational use.See the
documentationfor more
information.FeaturesTemplated observation
forms:
Save the fields in the observation creation form as a template to make it
easier to create multiple observations with similar parameters.Timelapses:
Create a timelapse of FITS data products for a target. Timelapses can be
created as animated GIFs or MP4 or WebM videos.Data gallery:
View a gallery of thumbnails of FITS files which allows files to be selected
and added to a data product group.Data pipelines:
Run a user-supplied data pipeline on a selection of files and save the
outputs as data products in the TOM.API endpoints:
REST API endpoints give information about targets, timelapses, pipeline runs,
and allow observations to be submitted.Observation alerts:
Associate an email address with an observation to receive email updates when
data is available.Observations with multiple instrument configurations:
Submit LCO observations with multiple filters and exposure settings.Long-running tasks (such as running data pipelines and creating large
timelapses) are performed asynchronously in separate worker processes usingDramatiqviadjango_dramatiqandRedis.RequirementsIn addition to the requirements listed insetup.pyyou will need:A working TOM (seeTOM Toolkitdocumentation)Python >= 3.6InstallationSet up a TOM following thegetting started guide.Clone and install this package withpip:pip install tom_educationNote:a dependency of one oftom_education's dependencies requires a
Fortran compiler to install. On Ubuntu, runsudo apt-get install gfortranbefore installing withpip.Addtom_educationtoINSTALLED_APPSinsettings.py.INSTALLED_APPS=[...'tom_education']Run thetom_educationsetup management command. Note that this overwritessettings.pyandurls.pyin the newly created project.python manage.py tom_education_setupInstallRedis, and startredis-server. If not running
Redis on the same server astom_education, or if using a non-default port,
change the Redis connection settings insettings.pyunderDRAMATIQ_BROKER.Start the Dramatiq worker processes:python manage.py rundramatiqNote thatrundramatiqmust be restarted for code changes to take effect.Optional: install test dependencies and run tests to check everything is
okay (Note: Redis and the Dramatiq workers do not have to be running to run
the tests).pip install tomtoolkit[test]
python manage.py test tom_educationInstall Development versionClone this repo and install the package withpip:git clone https://github.com/joesingo/tom_education
pip install -e tom_education
Package: tomeks-torrent-manager
Tomeks torrent manager:DSource:https://packaging.python.org/en/latest/tutorials/packaging-projects/Buildpython3 -m buildTestingInstall from localpython -m venv venv
pip uninstall tomeks-torrent-manager
pip install dist/tomeks_torrent_manager-*.tar.gzUpload to testpython3 -m twine upload --repository testpypi dist/*Install from test Pypipython3 -m pip install --index-url https://test.pypi.org/simple/ tomeks_torrent_managerProdUpload to prodpython3 -m twine upload dist/*How to usefrom tomeks_torrent_manager import torrent_manager
torrent_manager.pull_transmission()
torrent_manager.pull_website_history()
torrent_manager.pull_rss()
Package: tomer
TOMER: Temperature Optima for Enzymes with ResamplingTOMER is a Python package for predicting the catalytic optimum temperature (Topt) of enzymes with machine learning. TOMER was trained with a bagging ensemble on a dataset of 2,917 proteins. To prevent large error on the prediction of higher temperature values, resampling strategies were applied to mitigate the effects of the imbalanced distribution of the dataset. Code for design of TOMER can be foundhere.CitationIf you find TOMER useful, please cite:Gado, J.E., Beckham, G.T., and Payne, C.M (2020). Improving enzyme optimum temperature prediction with resampling strategies and ensemble learning.J. Chem. Inf. Model.60(8), 4098-4107.InstallationInstall with pippip install tomerOr from source (preferred).git clone https://github.com/jafetgado/tomer.git
cd tomer
pip install -r requirements.txt
python setup.py installPrerequisites(version used in this work)Python 3 (3.6.6)scikit-learn (0.21.2)numpy (1.19.5)pandas (0.24.1)UsageThere are two main functions in TOMER for predicting the enzyme optimum temperature:pred_seq_topt, which predicts optimum temperature of a single protein sequence (in string format), andpred_fasta_topt, which predicts the optimum temperatures of protein sequences in a fasta file. To use these functions, you need to specify the optimal growth temperature (OGT) of the source organism of the protein. If the OGT is not known, a prediction may be obtained usingTOME.Examplesimporttomer# Predict optimum temperature of a single sequence.sequence='''MKKQVVEVLVEGGKATPGPPLGPAIGPLGLNVKQVVDKINEATKEFAGMQVPVKIIV
              DPVTKQFEIEVGVPPTSQLIKKELGLEKGSGEPKHNIVGNLTMEQVIKIAKMKRSQML
              ALTLKAAAKEVIGTALSMGVTVEGKDPRIVQREIDEGVYDELFEKAEKE'''ogt=95y_pred,y_err=tomer.pred_seq_topt(sequence,ogt)print(y_pred)# predicted optimum temperature84.4print(y_err)# Standard error of prediction (from 100 base learners in ensemble)1.929# Predict optimum temperatures of sequences in fasta filefasta_file='test/sequences.fasta'ogt_file='test/ogts.txt'df=tomer.pred_fasta_topt(fasta_file,ogt_file)# returns Pandas dataframeprint(df)IDToptStderr0P4340879.3451.535611Q97X0881.7050.4424422F8A9V076.371.16195
Package: tomfig
TOMFIG - Toml ConfigThe simplest TOML config manager for python!This module borrows a little fromconfig. The only argument needed during initialization is theconfig_path.fromtomfigimportConfig# defaults to [cwd]/configconfig=Config(config_path='/dir/with/config_files')The module then loads configuration files and merges down the configs in the following order.default.toml[environment_config].tomlwhere environment is whatever you pass to your script via theENVenvironment variable. Default isdevelopment.tomlAccessing Config ValuesThere are two ways of accessing config values.Imagine we have the following config file:[APP]name="My App"[TOOLS.language-support]python=">3.8"[SERVER.API]domain="localhost:3000/default"1. Direct/Data AccessYou can access config values directly using dot notation via thedataproperty as follows.config.data.APP.name# "My App"However, this method is discouraged on production. This is because, if a key is missing, it returnsNoneinstead of throwing an error.That behaviour is however intentional as it allows us an eay way to check is a config value exists. For example:# Check if our app has a nameifnotconfig.data.APP.name:# Use AI to generate and set APP name2. Safe/Get AccessThis is the preferred method to access config values.  This method immediately throws if a certain value is missing.config.get("SERVER.API.domain")# "localhost:3000/development"Have a look at the tests for examples.ThoughtsI have not implemented a.set()method and don't plan to. It is my considered view that configs should be static and only changed in the config files to ensure code functions in a predictable, easy to debug manner.
Package: tom-fink
Fink Alert Broker Module for the TOM ToolkitThis repository hosts the Fink Alert Broker Module for the TOM Toolkit. Fink is a broker currently connected to ZTF. More information on Fink athttps://fink-broker.org/.As of version 0.4, the module simply uses the Fink REST API to retrieve alerts. Note that the Fink databases are updated once a day with the previous night alert data (hence you do not get live alerts for the moment). Users can perform:Search by ZTF object IDCone SearchSearch by DateSearch by derived alert classSearch by Solar System nameHow to use the Fink module inside your TOMFirst, install the module using pippipinstalltom-finkthen you need to declare it in your running TOM instance. To do so just addtom_fink.fink.FinkBrokerto theTOM_ALERT_CLASSESin your TOM'ssettings.py:TOM_ALERT_CLASSES=['tom_alerts.brokers.alerce.ALeRCEBroker',...,'tom_fink.fink.FinkBroker']and finally relaunch your TOM:./manage.pyrunserverTodo listAdd a test suite (preferably running on GitHub Actions)Add a linter (preferably running on GitHub Actions)Update the Query Form with all API featuresEnable querying livestreams using the Fink Kafka client
Package: tomfoolery
tomfooleryTool to generate Python dataclasses that model and load toml files (or other can-representated-as-a-dict files).Primarily aimed at configuration type files.InstallationInstall with:pip install tomfooleryUsageGiven the following file (venue.toml):Running the commandtomfoolery venue.tomlwill produce this file (venue.py):which can then be used:>from venue import Venue
>venue = Venue.load()
>print(venue.address.city)
'Chicago'
>venue.calendar.start_month = "March"
>venue.dump()Current CaveatsOnly works with.tomland.jsonfiles.All keys must be valid Python variable names.
Package: tom-gemini-community
Gemini Observatory Community TOM ModulesTheTOM Toolkitcomes with a basic module for
submitting observations to theGemini ObservatoryPhase 2
system.  This module adds enhanced support to the TOM
Toolkit for requesting Gemini observations and is a common area for community development.
For example, using this module TOMs can search for guide stars usingGSselectand then submit observations.Installation:Install the module into your TOM environment:pip install tom-gemini-communityAdd the name of the module that you want to use,
e.g.tom_gemini_community.gemini.gemini_gsselect, to theTOM_FACILITY_CLASSESin your TOM'ssettings.py:TOM_FACILITY_CLASSES = [
	'tom_observations.facilities.lco.LCOFacility',
	'tom_observations.facilities.soar.SOARFacility',
	...
	'tom_gemini_community.gemini_gsselect.GEMFacility',
]
Package: tom-hermes
tom_hermesThis module addsHermesBroker
support to the TOM Toolkit. Using this module, TOMs can query non-localized events in the Hermes alert archive.tom_hermesis different than other TOM Toolkit broker modules whose query results are alerts associated with specific Targets, and from which you can create Targets in your TOM).tom_hermesquery results are non-localized events. In conjunction withtom_nonlocalizedevents, from yourtom_hermesquery results, you can create non-localized events in your TOM.InstallationInstall the module into your TOM environment:pip install tom-hermesAddtom_hermes.hermes.HermesBrokerto theTOM_ALERT_CLASSESin your TOM'ssettings.py:TOM_ALERT_CLASSES = [
    'tom_alerts.brokers.antares.ANTARESBroker',
    ...
    'tom_hermes.hermes.HermesBroker',
]Addtom_hermesto yoursettings.INSTALLED_APPS:INSTALLED_APPS=['django.contrib.admin','django.contrib.auth',...'tom_hermes']AddHERMES_API_URLto yoursettings.pyif you want to point to a hermes instance other thanhttps://hermes.lco.global.
This is the same settings variable thattom_nonlocalizedeventsuses to make queries to hermes as well.Hermesis now available as a Broker from the TOM Toolkit Alerts page. You may configure and execute your queries as you would any Broker.
Package: tomilliseconds
Compare URLsConvert an object of time properties to milliseconds: {'seconds': 10} → 10000DemoDemo onRepl.itScreenshotInstall$ pip install tomillisecondsUsagefromtomillisecondsimporttoMillisecondstoMilliseconds({'days':28,'hours':8,'minutes':30,'seconds':50,'milliseconds':1})#=> 2449850001APItoMilliseconds(input)inputType:DictionarySpecify an object with any of the following properties:dayshoursminutessecondsmillisecondsmicrosecondsnanosecondsThanksSindresorhus's to-millisecondsLicenseMITYoginth
Package: tomita
python-tomitatomitais a command-line music and synthesizer package.Free software: GNU General Public License v3Documentation:https://tomita.readthedocs.io.AboutIsao Tomita (冨田 勲, Tomita Isao, 22 April 1932 – 5 May 2016), also known mononymically
as Tomita, was a Japanese music-composer, regarded as one of the pioneers of electronic
music and space music,and as one of the most famous producers of analog synthesizer
arrangements.WikipediaFeaturesTODOPySynthAll scripts fromPySynthcan the found as modules.To usepysynth:$python-mtomita.legacy.pysynthTo usepysynth_b:$python-mtomita.legacy.pysynth_bTo usepysynth_c:$python-mtomita.legacy.pysynth_cand so on.LicenseGNU General Public License v3.0History0.2.0 (2020-05-03)Add module with legacy scripts0.1.0 (2020-05-02)First release on PyPI.
Package: toml-adapt
toml-adapt ---  A simple command-line interface (CLI) for manipulating toml filesFree software:MIT licensePython versions:3.8.x, 3.9.x, 3.10.x, 3.11.x, 3.12.xDocumentation:https://toml-adapt.readthedocs.io/en/latest/Tested OS:Windows, Ubuntu, Debian, Fedora, Alpine, Arch, macOS.However, that does not mean it does not work on others.Description 📋Working with TOML files is becoming inevitable during the package maintenance process in different ecosystems. 🌐 Many times package maintainers must either change the version of dependency or add/remove dependencies when building their packages, due to the inconsistent base system. For example, solving this issue can be done either by using the provided patches or using sed commands. However, this may be slightly time-consuming and irritating. ⏳ A very simple yet user-friendly command line interface was developed in order to make this process easier. ⚙️📄🛠️Features 🚀CLI currently supports the following operations:adding/removing dependencieschanging the  dependency versionchanging the dependency versions of all packages concurrentlyadding/removing/changing dev dependenciesSupported packaging tools 🛠️The following packaging tools are currently supported by this software:poetryflitcargojulia (partly)Installation 📦pip3Install toml-adapt with pip:pipinstalltoml-adaptFedora LinuxTo install toml-adapt on Fedora, use:$dnfinstallpython-toml-adaptAlpine LinuxTo install toml-adapt on Alpine Linux, use:$apkaddtoml-adaptArch LinuxTo install toml-adapt on Arch Linux, please use anAUR helper:$yay-Syyutoml-adaptUsage-aAvailable actions are:addremovechangeadd-devremove-devchange-dev-pathSpecifies the path to the TOML file you wish to edit.-depThis option sets the name of dependency you wish to manipulate. Reserved keywordALLwill instead do action on all dependencies.-verThis option sets the version. With Python Poetry, there is reserved keywordX, which will become*(meaning it accepts any version of dependency).The following are examples of usage:Change dependencytoml-adapt-pathpyproject.toml-achange-depniaclass-ver0.1.0Add dependencytoml-adapt-pathpyproject.toml-aadd-depniaclass-ver0.1.0Remove dependencytoml-adapt-pathpyproject.toml-aremove-depniaclass-ver0.1.0Other examplesChange all existing dependencies in toml filetoml-adapt-pathpyproject.toml-achange-depALL-verXX represents a *How to use it in SPEC files?%prep
...## Make dependencies consistent with Fedora dependenciestoml-adapt-pathpyproject.toml-achange-depALL-verXCite usFister, Jr., I., & Strajnar, F. (2024). firefly-cpp/toml-adapt: 0.3.1 (0.3.1). Zenodo.https://doi.org/10.5281/zenodo.10467167LicenseThis package is distributed under the MIT License. This license can be found online athttp://www.opensource.org/licenses/MIT.DisclaimerThis framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!Contributors ✨Thanks goes to these wonderful people (emoji key):Iztok Fister Jr.💻📦💡🤔🧑‍🏫📖StrajnarFilip💻⚠️🤔💡Ben Beasley📖📦Tomasz Kłoczko🐛Oromion📦Tadej Lahovnik📖✅This project follows theall-contributorsspecification. Contributions of any kind welcome!