Saravanan666/pypi-org huggingface dataset:
Package: tri.api
Client code for accessing the TriOptima APIs.LicenseBSDChangelog4.0.4 (2022-11-11)Added allow_rewind to ack.4.0.3 (2022-10-04)Handle both 200 and 201 as an OK response codes from triVent.4.0.1 (2022-03-30)Added changelog to PyPI metadata4.0.0 (2022-03-29)First version under the new package name tri.api. This is to align with the triAPI java library and is also more
appropriate since the common parts for authentication is usefull for other TriOptima APIs besides triVent.Changed name to tri.api (and import path to tri_api)tri.event:3.0.0 (2021-12-07)Don’t set any scopes by default.Event sessions need to explicitly set the scope of auth_client_id:profile.Authenticated sessions using username and password now needs to set the scope explicitlytri.event:2.2.0 (2021-12-06)Wrap timeout error’s in a lib specific error: TriventTimeouttri.event:2.1.2 (2021-10-26)Don’t set default scope to global.Parse EventType on polling.tri.event:2.1.1 (2021-06-09)Fix request retry on 401 not call back to functions in classes that inherit Authenticated session.tri.event:2.1.0 (2020-12-14)Make token expiry optional from the authentication server.Added optional token_url parameter for when the AuthenticatedSession is
used for non-Trioptima authentication servers.tri.event:2.0.0 (2019-12-03)Change import path from tri.event to tri_event to conform to other packages.
(And increase import time performance during test setup)tri.event:1.0.1 (2019-09-02)Improve documentationtri.event:1.0.0 (2019-05-10)Make an authentication retry if unauthorized to improve robustnessUpdate status to production readytri.event:0.0.7 (2019-03-22)Use configured proxy and timeouts also for authenticationDelay authentication until first request is madetri.event:0.0.6 (2019-02-18)Change base class of EventSession to request.Sessiontri.event:.0.5 (2019-01-22)Fix packagingAdd EventSession.access_token and EventSession.token_expiry attributestri.event:0.0.4 (2019-01-21)Cleanup of loggingtri.event:0.0.3 (2019-01-10)Add session renewal on access token expiryImprove exception on failure to log intri.event:0.0.2 (2018-12-20)Initial version
Package: triarray
triarrayPython package for working with symmetric matrices in non-redundant format.See full documentationhere.OverviewThetriarraypackage contains tools for working with large symmetric matrices while only storing the elements in the upper or lower triangle, thus halving memory requirements.triarrayusesNumba's just-in-time compilation to generate high-performance C code that works with any data type and is easily extendable (including within a Jupyter notebook).InstallationThe easiest way is to use pip:pip install triarrayor you can clone the repository and run the setup script:cd path/to/triarray
pip install .LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: tribe
Social networks are not new, even though websites like Facebook and Twitter might make you want to believe they are; and trust me- I’m not talking about Myspace! Social networks are extremely interesting models for human behavior, whose study dates back to the early twentieth century. However, because of those websites, data scientists have access to much more data than the anthropologists who studied the networks of tribes!Because networks take a relationship-centered view of the world, the data structures that we will analyze model real world behaviors and community. Through a suite of algorithms derived from mathematical Graph theory we are able to compute and predict behavior of individuals and communities through these types of analyses. Clearly this has a number of practical applications from recommendation to law enforcement to election prediction, and more.Tribe is a utility that will allow you to extract a network (a graph) from a communication network that we all use often - our email. Tribe is designed to read an email mbox (a native format for email in Python)and write the resulting graph to a GraphML file on disk. This utility is generally used for District Data Labs’ Graph Analytics with Python and NetworkX course, but can be used for anyone interested in studying networks.For more, please see the full documentation at:http://ddl-tribe.readthedocs.org/en/latest/
Package: tribi
Tri/biThis package provides wrappers around functions that nicely handle errors. Reducing code clutter and allowing better responses to uses. This package is inspired bytri-fpTriTri still lets native exceptions (usually more severe errors) throw, but catches any other errors>>>fromtriimporttri,bi>>>defmy_function():...return1/0# Zero division error!>>># This function raises a "native" exception>>>tri(my_function)()Traceback(mostrecentcalllast):...ZeroDivisionError:divisionbyzero>>>defmy_other_function():...raiseException>>># This only raises a standard exception, so doesn't fail>>>tri(my_other_function)()(Exception(),None)BiBi, on the contrary, handles all errors blindly. This should only be used if you know what you're doing.>>>bi(my_function)()(ZeroDivisionError('division by zero'),None)AsyncBothtriandbisupport async.Tri>>># Assuming running in async>>>fromtriimportatri,abi>>>asyncdefdivide(a,b):...returna/b>>># Let's try to divide by zero>>>awaitatri(divide(1,0))Traceback(mostrecentcalllast):...ZeroDivisionError:divisionbyzero>>># And with abi?>>>awaitabi(divide(1,0))(ZeroDivisionError('division by zero'),None)>>># If the function takes no params, we can just pass the function name>>>asyncdeffunc():...return"hello">>>awaitatri(func)(None,"hello")Real life exampleSome examples include...Safer JSON loadingfromtriimportbisafer_loads=bi(json.loads)error,result=safer_loads(data)iferror:# Error handling JSONprint("Invalid JSON")
Package: tribolium-clustering
Tribolium ClusteringThis is a library that is specifically used for image analysis and data analysis of developing Tribolium embryos. It is optimised for stained nuclei of the embryos and 3D imaging. Most functions are wrappers for other libraries, mostlypyclesperanto,scikit-image,scikit-learn,UMAPandHDBSCAN.At the moment some packages required need to be installed manually via conda. HDBSCAN needs to be installed via the command:C:\Users\yourusername>condainstall-cconda-forgehdbscanSimilarly, a prerequisite for pyclesperanto_prototype: pyopencl needs to be installed with the command:C:\Users\yourusername>condainstall-cconda-forgepyopenclUnfortunately the installation won't work without these.The Image analysis is based almost entirely around functions from pyclesperanto which requires a powerful GPU with high memory capacities to work with high resolution files. If memory is insufficient you will probably encounter errors when using functions of this library and you need to make sure that you specify your powerful GPU in pyclesperanto with the command:importpyclesperanto_prototypeascle# "GTX" has to be replaced with the identifyer for your main GPUcle.select_device("GTX")The data analysis is based on scikit learn functions as well as other external data science algorithms that follow a similar convention. The basics of which can be foundhere.
Since the functions were developed with a group of datasets modification of the functions could be required for the image analysis workflows but possibly also the data analysis workflows.
Package: tribune
Introduction---------------tribune is a reporting library for Flask and other Python web frameworks which allows developersto create Excel report classes with a declarative style, similar to SQLAlchemy ORM.For now, if you are interested in using it, you will need to see the source code and tests thereinfor example usage.Current Status---------------Currently beta quality.Changelog---------0.2.2 - 2018-02-07==================- Fix deep copy behavior for sheet units using complex tuple expressions and SQLAlchemy objects0.2.1 - 2017-03-13==================- Fix the 0.2.0 release where the sdist included the whole wheelhouse0.2.0 - 2017-03-13==================- Fix bug which would cause non-string data in headers to fail (7770e84_)- Upgrade build / test environment.. 7770e84: https://github.com/level12/tribune/commit/7770e844aa5e4ded4f926349e6da038c301218090.1.1 - 2016============- Fixed column instance setup when referencing SQLAlchemy attributes and wrapped functions- Made SheetImporter easier to construct dynamically at runtime- Added parsers for lists, mappings, and nullable fields
Package: tribunnews-scraper
Titletribunnews ScraperDescrptionWith tribunnews Scraper you can scrape search results and extract the contents produced by the search result.In tribunnews scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.JSON sample data{"Scraper_detail_data":{"Tribunnews_com":"11 Oknum Polisi di Tanjungbalai Jual Belasan Kg Sabu Tangkapan ke Gembong Narkoba - Tribunnews.com","black_crimson":"11 Oknum Polisi di Tanjungbalai Jual Belasan Kg Sabu Tangkapan ke Gembong Narkoba","column_12":"Kota Lain","column_3":"Nyambi Jualan Sabu, Pedagang Sayur di Pasar Keputran Ditangkap Polisi, 20 Paket Sabu Disita","column_5":"14 tersangka yang diantaranya 11 bintara sampai perwira Polres Tanjungbalai dilimpahkan ke jaksa Kejari Tanjungbalai Asahan.","feed":"Iklan Untuk AndaUlang tahun ke -110 mendirikan ROLEX - Diskon 90%PRCara menghilangkan lemak perut. -23 kg dalam 2 minggu. ResepPRBosan Botak? Rambut Tumbuh dalam 8 Menit! Baca Segera!PRDiabetes hilang selamanya & pankreas kembali sehat! 100% alamiPRWanita Tua Terkaya Ini Membocorkan Rahasia Kekayaannya! BacaPRNyeri sendi hilang setelah 3 hari: perhatikanPRRecommended by","hide":"Sebanyak 11 oknum polisi di Polres Tanjungbalai, Asahan, Sumatera Utara terlibat kasus narkoba","popIn_recommend_art_title":"Iklan untuk Anda: Diabetes Tipe 2? Lakukan Ini Segera (Tonton)","selected":"Regional","time":"Jumat, 1 Oktober 2021 19:48 WIB","white":"istimewa"}Click Here for moreRun Scraperfromtribunnews_scraperimport*link="https://www.tribunnews.com/lifestyle/2021/10/01/surat-al-mulk-ayat-1-30-dalam-arab-dan-latin-lengkap-beserta-terjemahannya"data=run_tribunnews_scraper(link)How it works?It takes URL of tribunnews page with a search keyword to scrape the data.It generates the json data which contains the information of the tribunnews search result.It gives the every detail present inside website in the form of json data.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: tributaries-ml
TributariesA library for mass-deployingUnifiedMLapps onslurm-enabled remote servers.pip install tributaries-mlExamplesServerSimply create and run a python file with a server configuration like this one:# MyServer.pyfromtributariesimportmy_server@my_server(sweep='path/to/my/sweep.py')defmain():...returnserver,username,password,func,app_name_paths,commands,sbatchif__name__=='__main__':main()That method must return theserver,username, andpassword.Optionally:Any additionalfuncthat needs to be run (e.g.connecting to a VPN).Anapp_name_pathsdictionary of names and paths to any UnifiedML apps' run scripts you'd like to use,e.g.{'name_of_my_app': 'path/to/name_of_my_app/Run.py'}, or leave this blank to use the remote server's root home directory andMLas the run script.Acommandslist or string of any extra environment-setup commands you may need to pass to the remote server command-line and deploy config such asactivating a conda environment for example.Any additionalsbatchstring text you'd like to add to the deploy config.You may use one of the blueprint server files provided.SweepNote the Server decorator accepts asweep=file path.You may define asweepfile like this one:# path/to/my/sweep.pyfromtributariesimportmy_sweep,my_plots,my_checkpointsmy_sweep.hyperparams=[# Hyperparam set 1'... experiment=Exp1',# Hyperparam set 2'... experiment=Exp2']my_sweep.app='name_of_my_app'# Corresponds to an app name in 'app_name_paths' of Server definition# Logs to downloadmy_plots.plots=[['Exp1','Exp2']]# Names of experiments to plot together in a single plotmy_checkpoints.experiments=['Exp1','Exp2']# Names of experiments to download checkpoints forThemy_sweepandmy_plotstoggles haveadditional configurationsthat can be used to further customize the launching and plots.See here for examples.RunningThat's it. Running it viapython MyServer.pywill launch the corresponding sweep experiments on your remote server. Add theplot=trueflag to instead download plots back down to your local machine.Addcheckpoints=trueto download checkpoints.Launchingpython MyServer.pyPlotting & Logspython MyServer.py plot=trueCheckpointspython MyServer.py checkpoints=trueExtraNote: Tributaries launching fully works for non-UnifiedML apps too. Also, for convenience,tributaries hyperparams='...' app='run.py'can be used as a general slurm launcher on your remote servers.One more thing: if your remote UnifiedML apps aregit-ssh enabled, Tributaries will automatically try syncing with the latest branch via a git pull. You can disable automatic GitHub-syncing with thegithub=falseflag.Licensed under the MIT license.
Package: tributary
Python Data StreamsTributary is a library for constructing dataflow graphs in python. Unlike many other DAG libraries in python (airflow,luigi,prefect,dagster,dask,kedro, etc), tributary is not designed with data/etl pipelines or scheduling in mind. Instead, tributary is more similar to libraries likemdf,loman,pyungo,streamz, orpyfunctional, in that it is designed to be used as the implementation for a data model. One such example is thegreekslibrary, which leverages tributary to build data models foroptions pricing.InstallationInstall with pip:pip install tributaryor with conda:conda install -c conda-forge tributaryor from source:python setup.py installNote: If installing from source or with pip, you'll also needGraphviz itselfif you want to visualize the graph using the.graphviz()method.Stream TypesTributary offers several kinds of streams:StreamingThese are synchronous, reactive data streams, built using asynchronous python generators. They are designed to mimic complex event processors in terms of event ordering.FunctionalThese are functional streams, built by currying python functions (callbacks).LazyThese are lazily-evaluated python streams, where outputs are propogated only as inputs change. They are implemented as directed acyclic graphs.ExamplesStreaming: In this example, we construct a variety of forward propogating reactive graphs.Lazy: In this example, we construct a variety of lazily-evaluated directed acyclic computation graphs.Automatic Differentiation: In this example, we usetributaryto perform automatic differentiation on both lazy and streaming graphs.Graph VisualizationYou can visualize the graph with Graphviz. All streaming and lazy nodes support agraphvizmethod.Streaming and lazy nodes also supportipydagred3for live update monitoring.StreamingHere green indicates executing, yellow indicates stalled for backpressure, and red indicates thatStreamEndhas been propogated (e.g. stream has ended).LazyHere green indicates executing, and red indicates that the node is dirty. Note the the determination if a node is dirty is also done lazily (we can check withisDirtywhcih will update the node's graph state.CatalogSee theCATALOGfor a full list of functions, transforms, sources, and sinks.Support / ContributorsThanks to the following organizations for providing code or financial support.NemoulousLicenseThis software is licensed under the Apache 2.0 license. See theLICENSEfile for details.AlternativesHere is an incomplete list of libraries which implement similar/overlapping functionalityman-group/mdfcedricleroy/pyungopython-streamz/streamzEntilZha/pyfunctionalstitchfix/hamilton
Package: tributors
tributorsDocumentationWhat is tributors?Tributors is a Python library and GitHub action that helps you to pay tribute to your
contributors. Tribute interacts with several well-known repository metadata files:all-contributorsZenodoCodeMetaEach of the services above allows you to generate some kind of metadata file
that has one or more repository contributors. This file typically needs to be
generated and updated manually, and this is where tributors comes in to help!
Tributors will allow you to programmatically create and update these files.
By way of using a shared cache, a.tributorsfile that can store common
identifiers, it becomes easy to update several of these metadata files at once.
You can set criteria such as a threshold for contributions to add a contributor,
export an Orcid ID token to ensure that you have Orcid Ids where needed,
or use an interactive mode to make decisions as you go.How does it work?Tributors uses the GitHub API, Zenodo API, and Orcid API to look up shared identifiers
for common metadata services like all contributors, Zenodo, and CodeMeta. The
tool is available for local or container usage, and as a GitHub Action (see theexamplesfolder).
See the fulldocumentationfor getting started.ContributorsYaroslav Halchenko💻📖Vanessasaurus💻Pierre Grimaud💻vuillaut💻jwodder💻
Package: tricircle
Team and repository tagsTricircleThe purpose of the Tricircle project is to provide networking automation
across Neutron servers in multi-region OpenStack clouds deployment.Each OpenStack cloud includes its own Nova, Cinder and Neutron, the Neutron
servers in these OpenStack clouds are called local Neutron servers, all these
local Neutron servers will be configured with the Tricircle Local Neutron
Plugin. A separate Neutron server will be installed and run standalone as
the coordinator of networking automation across local Neutron servers, this
Neutron server will be configured with the Tricircle Central Neutron Plugin,
and is called central Neutron server.Leverage the Tricircle Central Neutron Plugin and the Tricircle Local Neutron
Plugin configured in these Neutron servers, the Tricircle can ensure the
IP address pool, IP/MAC address allocation and  network segment allocation
being managed globally without conflict, and the Tricircle handles tenant
oriented data link layer(Layer2) or network layer(Layer3) networking
automation across local Neutron servers, resources like VMs, bare metal or
containers of the tenant can communicate with each other via Layer2 or Layer3,
no matter in which OpenStack cloud these resources are running on.Note: There are some our own definitions of Layer2/Layer3 networking
across Neutron. To make sure what they are, please read our design
documentation, especially “6.5 L2 Networking across Neutron”. The wiki and
design documentation are linked below.The Tricircle and multi-region OpenStack clouds will use shared
KeyStone(with centralized or distributed deployment) or federated KeyStones.The Tricircle source code is distributed under the terms of the Apache
License, Version 2.0. The full terms and conditions of this license are
detailed in the LICENSE file.Free software: Apache licenseDesign documentation:Tricircle Design BlueprintWiki:https://wiki.openstack.org/wiki/tricircleInstallation guide:https://docs.openstack.org/tricircle/latest/install/index.htmlAdmin guide:https://docs.openstack.org/tricircle/latest/admin/index.htmlConfiguration guide:https://docs.openstack.org/tricircle/latest/configuration/index.htmlNetworking guide:https://docs.openstack.org/tricircle/latest/networking/index.htmlSource:https://opendev.org/openstack/tricircleBugs:https://bugs.launchpad.net/tricircleBlueprints:https://blueprints.launchpad.net/tricircleRelease notes:https://docs.openstack.org/releasenotes/tricircleContributing:https://docs.openstack.org/tricircle/latest/contributor/index.html
Package: tricircleclient
# TricircleclientPython bindings to the OpenStack Tricircle APIThis is a client for OpenStack Tricircle API providing a Python API (using thetricircleclientmodule) and a Command Line Interface (installed as thetricirclecommand). Each implements the entire OpenStack Tricircle API.Free software: Apache license[Documentation](https://docs.openstack.org/python-tricircleclient/latest/)[Source](http://git.openstack.org/cgit/openstack/python-tricircleclient)[Bugs](http://bugs.launchpad.net/python-tricircleclient)
Package: trick
python-trick一些helper函数合集。Referencecomposedefadd_ten(x:int)->int:returnx+10defmulti_five(x:int)->int:returnx*5add_ten_then_multi_five=compose(multi_five,add_ten)add_ten_then_multi_five(2)# output: 60curry@currydefadd(a,b,c,d):returna+b+c+dassertadd(1,2,3,4)==add(1)(2)(3)(4)
Package: trick17
trick17trick17is a pure python, lightweight package that interfaces with varioussystemdcomponents.Table of ContentsInstallationModulesLicenseInstallationpip install trick17Modulestrick17.daemondaemon.booted()returnsTrueif system was booted by systemd.daemon.notify(state)sends a notification to systemd.listen_fds()returns an iterator over (fd, name) tuples in case of socket activation,
seesystemd.sockettrick17.journalThetrick17.journalallows to use the systemdNative Journal Protocolvia the PythonLogging facility.JournalHandleris alogging.Handlersubclass that speaks the systemd Native Journal ProtocolFunctionstderr_is_journal()can be used to check if logging viasys.stderrshould be upgraded to native logging, seeAutomatic Protocol Upgradingimportloggingfromtrick17importjournalifjournal.stderr_is_journal():handler=journal.JournalHandler()else:handler=logging.StreamHandler()root=logging.getLogger()root.addHandler(handler)logging.error('Something happened')Licensetrick17is distributed under the terms of theMITlicense.
Package: trickkiste
trickkistesuppressformerly known asquietenorquietverboseapparat/dev/quietverbose
biograph/dev/quietverbose
checkmk-pip/dev/quietverbose
einefreude/dev/quietverbose
machinery-killme/--force/quietverbose
magicwall.io/dev/quietverbose
magicwall.io/.venv/lib/python3.10/site-packages/cmk_dev/listen_std.py
medit/dev/quietverbose
minimon/dev/quietverbose
minimon.temp/dev/quietverbose
pocketrockit/dev/quietverbose
pyqtdeploy-fromscratch/pyqt5tools/dev/quieten
qrm/dev/quietverbose
silmaril/dev/quietverbose
smdr/dev/quietverbose
synthi/dev/quieten
trickkiste/dev/quietverbose
trickkiste/trickkiste/std_suppress.py
ttrace/dev/quietverbose
wth/dev/quietverbose
Package: trick-scheme
TrickTrick is an ongoing implementation of the Scheme programming language, targeting
anSECD machine, and aiming for fullR7RS-small compatibility. It's written
in Python and, as of this moment, very very slow! It's mostly an educational
project at the moment, though I might be able to write a faster implementation
of the virtual machine in the future.Completion StatusThe core language primitives are all implemented, but the internal libraries are
not complete yet.(scheme base)however is nearly complete however, as well as
several others.RequirementsPython 3.9 or later is required. There is no other dependency.Running TrickIn order to get a REPL, simply run./trick.py. In order to compile a source
file named 'foo.scm' into a FASL file that can be run by the VM run./trick.py -c foo.scm. This creates a files namedfoo.fasl. Now you can run the file by
running./trick.py run foo.fasl.