Saravanan666/pypi-org huggingface dataset:
Package: tallipoika
TallipoikaStableson (Finnish: tallipoika) - a JSON Canonicalization Scheme (JCS) implementation.DocumentationUser and developerdocumentation of tallipoika.Bug TrackerAny feature requests or bug reports shall go to thetodos of tallipoika.Primary Source repositoryThe main source oftallipoikais on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clone oftallipoikais:at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.SupportPlease kindly submit issues athttps://todo.sr.ht/~sthagen/tallipoikaor write plain text email to ~sthagen/tallipoika@lists.sr.htto submit patches and request support. Thanks.Thanks also toThis implementation is based on theoriginal implementation of the JSON Canonicalization Scheme (JCS)gently provided under the APACHE-2.0 license by Anders Rundgren.
The initial implementation oftallipoikawas kept similar to show the identical functioning of both implementations.
Also, the input and output JSON tests are provided within this repository as a service for validators and to help tracing the evolution in context.StatusExperimental.Note: The default branch isdefault.
Package: tallyclient
tallyclient is a super simple metrics client that has two data structures similar to statsd,
counters and gauges. While statsd is simple, it still does some under the hood aggregation
to support high volumes. tallyclient’s server is about simple collecting and simply stores
the time series data in a sql database to be used later.here is some usage:>>> from tallyclient import TallyClient
>>> client = TallyClient('localhost', 8173)
>>> client.count("login.success")
>>> client.gauge("login.response_time", 422)  # only int values allowed
Package: tally-counter
tally-counterA Python tally counter classUsageThis contrived sample counts numbers from 1 to 100. We count the following metricsan aggregate (sum) of all natural numbers from 1 to 100a separate aggregate sum of all even numbers from 1 to 100a separate aggregate sum of all odd numbers from 1 to 100a count of the numbers from 1 to 100>>>fromtally_counterimportCounter>>>counter=Counter("numbers","naturals","odds","evens")>>>forxinrange(1,101):# 1..100 inclusive...counter.naturals.incr(x)...ifx%2==0:...counter.evens.incr(x)...else:...counter.odds.incr(x)......counter.numbers.incr()# Default increment value is 1These metrics are now available to us, and may be accessed as attributes of theCounterinstance:Sum of all natural numbers from 1 to 100>>>counter.naturals5050>>>counter.naturals.sum5050It is also possible to access these metrics using a key:>>>counter["naturals"]5050>>>counter["naturals"].sum5050Count of all natural numbers from 1 to 100>>>counter.numbers100>>>counter.numbers.sum100Sum>>>counter.evens2550>>>counter.odds2500Mean>>>counter.naturals.mean()# Returns a float type50.5>>>counter.naturals.mean(percentile=50)# Supports percentiles25.0>>>counter.evens.mean()51.0>>>counter.odds.mean()50.0Minimum>>>counter.odds.min()1>>>counter.evens.min()2Maximum>>>counter.naturals.max()100>>>counter.naturals.max(percentile=95)# Supports percentiles94>>>counter.odds.max()99>>>counter.evens.max()100Length (number of data points in) of a data series>>>counter.numbers.len()100TimingData series ageThis is the time difference (in nanoseconds), between the current system time and the time that the first data point in the series was created.>>>counter.naturals.age()750000Data series time spanThis is the time difference (in nanoseconds), between the first and the latest data points' timestamps.>>>counter.evens.span()735000Adding or SubtractingTheincr()method should be used to add positive counter values to a data series>>>my_count=Counter("my")>>>my_count.my.incr(1000)>>>my_count.my1000To decrease a data series, use thedecr()method>>>my_count.my.decr(100)>>>my_count.my900Setting a TTL for countersIt is possible to set a TTL (Time-To-Live) for a counter, through setting attlargument value in milliseconds.
If this is set, then counters that exceed that TTL in age are discarded.
This may be useful for things such as rate limits (a use case where counts should be made irrelevant once a certain amount of time has passed).>>>r_counter=Counter("requests",ttl=60000)# Count requests for the past minuteSetting a maximum series length>>>l_counter=Counter("latest",maxlen=100)>>>foriinrange(0,1000):...l_counter.latest.incr(i)...>>>l_counter.latest.len()100>>>l_counter.latest94950Setting an initial value for countersIt is possible to create the counters and set an initial data point at once>>>foo_counter=Counter(foo=100,bar=200)>>>foo_counter.foo.incr(1)>>>foo_counter.foo101>>>foo_counter.bar200Counter auto-instantiationBy default, a counter data series will be created if it is accessed but does not yest
exist, and will be set to an initial value of zero.>>>bar_counter=Counter()>>>bar_counter.bar0Documentation for ContributorsDeveloper Notes
Package: tallytime
tallytimeA timeboxing and logging package for python.tallytimeplugs into your existing logger to give you insight into your application's performance.InstallationRunpython3 -m pip install tallytimeUsageA root TallyLog object is available out of the box:fromtallytimeimportdisplay_and_delete,register,updatesession_id=register("A simple user session")//...update(session_id,"Finished querying database")//...display_and_delete(session_id)Custom TallyLog ObjectsAdditional TallyLog objects can be instantiated, each with different settings.fromtallytime.tally_logimportTallyLogfromtallytime.settingsimportTallyLogSettingsfromtallytime.loggersimportDefaultFileLoggersettings=TallyLogSettings()logger=DefaultFileLogger("./data/logs/tallytime.log")tally_log=TallyLog(settings,logger)session_id=tally_log.register("A simple user session")//...tally_log.update(session_id,"Finished querying database")//...tally_log.display_and_delete(session_id)SeeModelbelow for more details.Keying on NamesIf you don't want to keep track of atallytime-created session id, you can always pass in a unique string into theregisterinvocation. Subsequent calls totallytimemethods should use the_by_namesuffix, such asupdate_by_nameordisplay_and_delete_by_name.DemoRunpython3 demo.pyfrom the repository root to see an example.Modeltallytimeinvolves 2 key data structures. A TallyLog is the primary interface, providing means of creating TallySessions, updating them with events, and displaying and deleting them. A TallySession is representative of an individual invocation (such as a user API request or a runtime of your program), which can be updated to track different events. All TallySessions are tracked by unique ids.Currently,tallytime's logging capacity is built on top of python's standardlogging library. TallyLog takes a logger in its constructor, which is used for information output. If you desire more extendable ways to customize the output, please reach out or add to GitHub Issues.To work with these directly and use more configuration, import from any of the following branches:tallytime.tally_log: The core TallyLog loggertallytime.tally_session: An individual TallyLog sessiontallytime.settings: Configuration and defaults for a TallyLog objecttallytime.exceptions: Error handling and exceptionstallytime.loggers: OOTB loggers for convenience, including DefaultConsoleLogger and DefaultFileLoggerConfigurationBy default, the following settings are in place:All TallySessions will expire1 hourafter they are first registered if not deletedLog levelINFOis usedTimes are rendered insecondsA TallySession will log its status oneachupdate call,ANDwhendisplayordisplay_and_deleteis called.A TallyLog will log on its instantiationComing SoonSupport more configurable logger implementationsSupport more default overrides (such as setting a higher log level for a particular session)Better default settingsMore timezone customizationTestingCreditsImplementation details inspired by the pythonlogging library.
Package: tallywallet-common
Tallywallet helps Engineers understand Money and Banking.You can use it to create economic simulations, or to enable your applications
with currency exchange and accounting features.This packageTallywallet is a very young project. This package implements the following:CodeFunctions to work with Promissory NotesA Ledger class for double-entry accountingAn Exchange class to enable currency tradingPre-hoccalculation of exchange rate gains on currency trading accountsEvaluation of the Fundamental Accounting Equation to verify balanced accountsA text format for saving Ledgers to fileDocumentationA how-to on loans, discounting, and amortizationA tutorial on how to achieve foreign currency exchange in Python codeAn example of a macroeconomic monetary circuit simulationRequirementsTallywallet requires Python 3. It usessetuptoolsfor installation, but
normally it has no external runtime dependencies.Tallywallet comes with unit tests. To run them all requires theRSONpackage.Quick startClone the git repository:git clone git@github.com:tundish/tallywallet-common.git
cd tallywallet-commonInstall the package and its dependencies:python3 -m pip install .[docbuild,test]Run the tests:python3 -m unittest discover tallywalletConsult the documentation:sphinx_build tallywallet/common/doc tallywallet/common/doc/html
firefox tallywallet/common/doc/html/index.htmlRoadmapTallywallet’s mission is to provide a validated Pythonic framework for money
trading and economic applications.It is developed by a private individual but released to the public under theGNU Affero General Public License.The API may change significantly as the project proceeds. At this early stage,
you should only use the latest release, which may not be compatible with
previous versions.Can you help?If you’ve spotted a bug in Tallywallet, please let us know so we can fix it.If you think Tallywallet lacks a feature, you can help drive development by describing
your Use Case.In either event, please leave a message on the project’smessage board.Author:D HaynesCopyright:2014 Thuswise Ltd
Package: taln2x
Descriptiontaln2xis a Python program which converts a set of scientific articles to a ready-to-ingest dataset for open archives. Currently supported output formats include pdf (for printable full proceedings),TALN archives,HAL,ACL anthology, andDBLP.User interfacetaln2xis a command-line tool which expects as input a directory containing specific pieces of information (gathered either manually or else via an abstract management system such as easychair) and relying on a given structure (see documentation), and outputs a directory whose internal structure depends on the target online archive.InstallationThe recommanded way to installtaln2xis to use thepippackage manager (within a virtual environment to avoid conflicts with installed libraries):python-mvenvvenvsourcevenv/bin/activate
pipinstalltaln2xBasic usagetaln2xCOMMAND[OPTIONS]WhereCOMMANDis eithernew(to set up an input directory containing the expected structure and ready-to-fill config files),build(to compile proceedings in a given target format according to the config file, see documentation),clean(to remove proceedings from output directory), orlist(to check which articles can be found on theHALopen archive).For a full list of options, invoke:taln2x--helpDocumentationtaln2xdocumentation is available athttps://talnarchives.gitlabpages.inria.fr/taln2x.Authors and acknowledgmenttaln2xhas been developed by Yannick Parmentier, with the help of Sylvain Pogodalla, on behalf ofATALA(the French Association for Computational Linguistics).Thetaln2xlogo has been created using theLetterblocks fontsmade by Vladimir Nikolic.Licensetaln2xis released under the terms of the GNU GPLv3 license (see LICENSE).Project statusThetaln2xis a sequel of thetaln2aclproject which has started in 2020 and has been used (among others) to ingest the proceedings of theTALN conferencesfrom 1999 til 2022 to theACL anthologyandTALNarchives.
Package: talon-git-labeller
Git item labeller for TalonThese scripts replace git commands, numbering items in the output and creating a talon list of the items so they can be referred to with voice commands. For example:$ git tl-status
On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)

   1.   .gitignore
   2.   README.md
   3.   status.py
   4.   utils.py

nothing added to commit but untracked files present (use "git add" to track)with the following items being added to a list:{'one': '.gitignore', 'two': 'README.md', 'three': 'status.py', 'four': 'utils.py'}InstructionsInstallpipx:pip3 install pipxInstall thetalon_git_labellerpackage globally:pipx install talon_git_labellerSwitch to using the new git commands:git status->git tl-statusgit branch->git tl-branchgit stash pop->git tl-stash-popCreate some commands to use thegit_status_itemsandgit_branch_itemslists in talon, e.g.:git status: "git tl-status\n"
git add {user.git_status_items}: "git add '{git_status_items}'"
git diff {user.git_status_items}: "git diff '{git_status_items}'"
git file {user.git_status_items}: "'{git_status_items}'"

git branch: "git tl-branch\n"
git checkout {user.git_branch_items}: "git checkout '{git_branch_items}'"Use the commands by saying e.g. "git add one" after using "git tl-status" in a git repository.
Package: talos-linux-api-v1.2.0
talos-linux-api- Python bindings for the Talos Linux gRPC APIInstallationMultiple API versions can be installed simultaneously and are made available
at runtime under anImplicit Namespace Packagenamedtalos_linux_api.Currently available API versions:pip install talos-linux-api-v1.2.0Usage exampleimportsslfromtalos_linux_api.v1_2_0.machineimportMachineServiceStubfromgrpclib.clientimportChannelfrombetterproto.lib.google.protobufimportEmptyssl_context=ssl.create_default_context()ssl_context.load_cert_chain('client.crt','client.key')ssl_context.load_verify_locations('ca.crt')asyncwithChannel(host="example.com",port=50000,ssl=ssl_context)aschannel:machine_service=MachineServiceStub(channel)response=awaitmachine_service.cpu_info(Empty())
Package: talos-linux-api-v1.3.0
talos-linux-api- Python bindings for the Talos Linux gRPC APIInstallationMultiple API versions can be installed simultaneously and are made available
at runtime under anImplicit Namespace Packagenamedtalos_linux_api.Currently available API versions:pip install talos-linux-api-v1.2.0pip install talos-linux-api-v1.3.0Usage exampleimportsslfromtalos_linux_api.v1_3_0.machineimportMachineServiceStubfromgrpclib.clientimportChannelfrombetterproto.lib.google.protobufimportEmptyssl_context=ssl.create_default_context()ssl_context.load_cert_chain('client.crt','client.key')ssl_context.load_verify_locations('ca.crt')asyncwithChannel(host="example.com",port=50000,ssl=ssl_context)aschannel:machine_service=MachineServiceStub(channel)response=awaitmachine_service.cpu_info(Empty())
Package: talos-linux-api-v1-4-0
talos-linux-api- Python bindings for the Talos Linux gRPC APIInstallationMultiple API versions can be installed simultaneously and are made available
at runtime under anImplicit Namespace Packagenamedtalos_linux_api.Currently available API versions:pip install talos-linux-api-v1.2.0pip install talos-linux-api-v1.3.0pip install talos-linux-api-v1.4.0Usage exampleimportsslfromtalos_linux_api.v1_4_0.machineimportMachineServiceStubfromgrpclib.clientimportChannelfrombetterproto.lib.google.protobufimportEmptyssl_context=ssl.create_default_context()ssl_context.load_cert_chain('client.crt','client.key')ssl_context.load_verify_locations('ca.crt')asyncwithChannel(host="example.com",port=50000,ssl=ssl_context)aschannel:machine_service=MachineServiceStub(channel)response=awaitmachine_service.cpu_info(Empty())
Package: talos-linux-api-v1-5-0
talos-linux-api- Python bindings for the Talos Linux gRPC APIInstallationMultiple API versions can be installed simultaneously and are made available
at runtime under anImplicit Namespace Packagenamedtalos_linux_api.Currently available API versions:pip install talos-linux-api-v1.2.0pip install talos-linux-api-v1.3.0pip install talos-linux-api-v1.4.0pip install talos-linux-api-v1.5.0Usage exampleimportsslfromtalos_linux_api.v1_5_0.machineimportMachineServiceStubfromgrpclib.clientimportChannelfrombetterproto.lib.google.protobufimportEmptyssl_context=ssl.create_default_context()ssl_context.load_cert_chain('client.crt','client.key')ssl_context.load_verify_locations('ca.crt')asyncwithChannel(host="example.com",port=50000,ssl=ssl_context)aschannel:machine_service=MachineServiceStub(channel)response=awaitmachine_service.cpu_info(Empty())
Package: talos-linux-api-v1-6-0
talos-linux-api- Python bindings for the Talos Linux gRPC APIInstallationMultiple API versions can be installed simultaneously and are made available
at runtime under anImplicit Namespace Packagenamedtalos_linux_api.Currently available API versions:pip install talos-linux-api-v1.2.0pip install talos-linux-api-v1.3.0pip install talos-linux-api-v1.4.0pip install talos-linux-api-v1.5.0pip install talos-linux-api-v1.6.0Usage exampleimportsslfromtalos_linux_api.v1_6_0.machineimportMachineServiceStubfromgrpclib.clientimportChannelfrombetterproto.lib.google.protobufimportEmptyssl_context=ssl.create_default_context()ssl_context.load_cert_chain('client.crt','client.key')ssl_context.load_verify_locations('ca.crt')asyncwithChannel(host="example.com",port=50000,ssl=ssl_context)aschannel:machine_service=MachineServiceStub(channel)response=awaitmachine_service.cpu_info(Empty())[!NOTE]opensslwhich thesslmodule relies upon does not like the format of the
private key thattalosctlgenerates.-----BEGIN ED25519 PRIVATE KEY-----
              ...
-----END ED25519 PRIVATE KEY-----To makeopensslhappy you have to fix the header and footer by removing theED25519part.-----BEGIN PRIVATE KEY-----
              ...
-----END PRIVATE KEY-----
Package: talus
talus (noun) - ta·​lus | ˈtā-ləs: a slope formed especially by an accumulation of rock debris; Occasional habitat of the pika.A wrapper for connecting to RabbitMQ which constrains clients to a single purpose channel (producer or consumer) with healing for intermittent connectivity.FeaturesGuided separation of connections for producers and consumersRe-establish connections to the server when lostConstrained interface to support simple produce / consume use cases for direct exchangesInstallationpipinstalltalusExamplesCreating a message classfromtalus.messageimportmessage_class@message_class(routing_key="message.m",queues=["message.q"])classMyMessage:a:strConsumer with defaults for connection and retrywithDurableBlockingConsumerWrapper(consumer_queue='queue_name')asconsumer:formethod,properties,bodyinconsumer.consume_generator(auto_ack=True):pass# DO Something with the messageConsumer specifying connection and retry datawithDurableBlockingConsumerWrapper(consumer_queue='queue_name',rabbitmq_host="localhost",rabbitmq_port5672,rabbitmq_user='guest',rabbitmq_pass='guest',retry_delay=1,retry_backoff=2,retry_jitter=(1,10),retry_max_delay=300,prefetch_count=1,connection_name='consumer connection')asconsumer:formethod,properties,bodyinconsumer.consume_generator(auto_ack=True):pass# DO Something with the messageProducer with defaults for connection and retrywithDurableBlockingProducerWrapper(producer_queue_bindings=[{"routing_key":"test.m","bound_queue":"test.q"},MyMessage.binding()],publish_exchange='amq.direct')asproducer:producer.post('test.m',{'key':'value'})producer.publish_message(MyMessage(a="s"))# using the message class from an earlier example
Package: talus-aws-utils
FeaturesTODORequirementsTODOInstallationYou can installTalus AWS UtilsviapipfromPyPI:$pipinstalltalus-aws-utilsUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Talus AWS Utilsis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
Package: talus-utils
FeaturesTODORequirementsTODOInstallationYou can installTalus UtilsviapipfromPyPI:$pipinstalltalus-utilsUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Talus Utilsis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
Package: tam
Tile Assembly Model modulesFree software: BSD licenseInstallationpip install tamDocumentationhttps://tam.readthedocs.org/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2016-03-02)First release on PyPI.
Package: tamaas
Tamaas - A high-performance library for periodic rough surface contactTamaas (from تماس meaning “contact” in Arabic and Farsi) is a high-performance
rough-surface periodic contact code based on boundary and volume integral
equations. The clever mathematical formulation of the underlying numerical
methods allows the use of the fast-Fourier Transform, a great help in achieving
peak performance: Tamaas is consistently two orders of magnitude faster (and
lighter) than traditional FEM! Tamaas is aimed at researchers and practitioners
wishing to compute realistic contact solutions for the study of interface
phenomena.DisclaimerThis package is intended for ease of installation on x86_64 Linux platforms
(and Windows Subsystem for Linux), but comes with NO WARRANTY of compatibility
(although it is manylinux2014_x86_64 compliant). If you experience any issue,
please install Tamaas fromsourceor withSpack. We provide a Docker image for non-Linux systems
(should be suitable for macOS). Note that the version of Tamaas provided by this
package is not parallel.This version of Tamaas is statically linked toFFTW3developed by Matteo Frigo and Steven G. Johnson, released under the terms of the
GNU Public License (source code).Tamaas is the result of a science research project. To give proper credit to
Tamaas and the researchers who have developed the numerical methods that it
implements, please cite theJOSS
paper, we also
provide the functiontamaas.utils.publicationswhich lists appropriate
citations when called at the end of a script.DependenciesEssentials:NumpyOptional:Scipy (for non-linear solvers)UVW (for dumpers)h5py (for dumpers)netCDF4 (for dumpers)To install with all dependencies, runpip install tamaas[all].DocumentationDocumentation can be found ontamaas.readthedocs.io.ChangelogThe changelog can be consultedhere.