Saravanan666/pypi-org huggingface dataset:
Package: tifresi
tifresi: Time Frequency Spectrogram Inversion'tifresi' to be pronounced 'tifreeezy' provide a simple implementation of TF and spectrogam suitable for inversion, i.e. with a high quality phase recovery.
The phase recovery algorithm used is PGHI (phase gradient heap integration).InstallationThis repository use the ltfatpy packages that requires a few libraries to be installed. The package relies on some library that have to be installed beforehands.Installfftw3,lapackandcmakeOn debian based unix system:sudo apt-get install libfftw3-dev liblapack-dev cmakeOn MacOS X using homebrew:brew install fftw lapack cmakeOn MacOS X using port:sudo port install fftw-3 fftw-3-single lapack cmakeInstall cython (required for installing ltfatpy):pip install cythonInstall the package from pypipip install tifresior from sourcegit clone https://github.com/andimarafioti/tifresi cd tifresi pip install .StartingAfter installation of the requirements, you can check the following notebooks:demo.ipynbillustrates how to construct a spectrogram and invert it.demo-mel.ipynbillustrates how to compute a mel spectrogram with the setting used in this repository.License & citationThe content of this repository is released under the terms of theMIT license.
Please consider citing our papers if you use it.@inproceedings{marafioti2019adversarial,
  title={Adversarial Generation of Time-Frequency Features with application in audio synthesis},
  author={Marafioti, Andr{\'e}s and Perraudin, Nathana{\"e}l and Holighaus, Nicki and Majdak, Piotr},
  booktitle={International Conference on Machine Learning},
  pages={4352--4362},
  year={2019}
}@article{pruuvsa2017noniterative,
  title={A noniterative method for reconstruction of phase from STFT magnitude},
  author={Pr{\uu}{\v{s}}a, Zden{\v{e}}k and Balazs, Peter and S{\o}ndergaard, Peter Lempel},
  journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing},
  volume={25},
  number={5},
  pages={1154--1164},
  year={2017},
  publisher={IEEE}
}DevelopingAs a developer, you can test the package usingpytest:pip install pytestThen run tests usingpytest tifresiYou can also use the source code checkerflake8:pip install flake8Then run tests usingflake8 .TODOImprove docPut the documentation on readthedoc or somthing similar
Package: tiftool
tiftool: A Python package for Microscopy tif imagesThe package for dealing tif stack image. Oriented for Microscopy image, offering useful processing.Under construction, I'll make description site and more functions, maybe for 2020.08.ConceptStack objectMain concept of tiftool isStack object. This object carries your 3d data from .tif file as 'torch.Tensor' or 'numpy.ndarray'. By using stack object, you can conduct numerous processes; MIP(Maximum Intensity Projection), Find center z-plane, etc. This package is made to help research, Fluorescent Microscopy(WideField, XLFM(eXtended field of view LFM), etc).HyperStack objectUnder constructionSimilar as ImageJ, I'll make HyperStack object which can consider 'time'. It will contain 4-D data, (T, X, Y, Z).Installationpiptiftool can installed via pip. Simply run this code by terminal.pipinstalltiftoolLatest version is0.1.5. If you have older version of tiftool, run this code to update. I strongly recommend to use latest version.pipinstalltiftool-URunning tiftoolBasic things using stack objectimporttiftool.stackasstlarva=st.Stack().open("larva.tif").to_tensor()# Change to torch.tensor, default data is numpy array.raw_data=larva._data# You can access the raw data inside Stack() object.print(raw_data.size())# torch.size([1098, 890, 64]) (x, y, z)MIP=larva.mip_3d()# Return Maximum Intensity Project for x, y, z axisMIP.show()# Show image using matplotlibMIP.write("mip_larva.tif")# write at your input pathSeetiftool docsfor more details.  (Not constructed)Issues & ContributionI appreciate for allissuesand contributions. You can use 'issues' tab, 'Pull request' tab, ore-mailme! I want to develop this package as apowerful toolkit for microscopy data researcherand if you mind, contribute with me! :smiley:LICENSEThis package follows MIT LICENSE.
Package: tiger
This is a simple implementation of the Tiger cryptographic hash for Python. It
uses the same API as all other hashing modules, with new(), update(), and
digest()/hexdigest().It’s written in C, and uses the standard Python/C bindings and the reference C
implementation for Tiger. It has been tested on i386 and amd64, and correctly
reports the reference hashes in standard order.RequirementsPython 2.4 (if it works on 2.3, tell me, please!)Python developement packages and a working toolchainChangelogv0.3PyPI compatibility; Tiger is now available on PyPI.v0.2Unbreak the entire module, particularly hexdigest().Add tests.v0.1Initial release.
Package: tigerblog
Tiger Blog EngineTiger Blog Engine (TBE)provides easy generation of website/blog pages.
It creates index.html pages from your markdown files.Usage:
  tigerblog.py build [--config=<config>] [--future]
  tigerblog.py serve
  tigerblog.py buildserve [--config=<config>] [--future]
  tigerblog.py print [--config=<config>]

Options:
  -h --help
Package: tiger-eval
TiGEr-Eval: Text Generation Evaluation ToolkitOverviewTiGErtoolkit for text generation evaluation.Installation (from Pypi, recommended)pip install tiger-evalInstallation (from source, unstable version)pip install .DoneCross-lingual ConsistencyMultichoice question evaluationOpen generation evaluation (with llama-2-7b-chat only)BLEU scoreTODOThe toolkit should support various metricsROUGE, BLEUModel based: BERTScore, BLEURTOpen Generation, need to be further improvedFor multichoice questions. Other matching techniques? E.g. use model to reformat the answer?
Package: tigerfix
TigerFix=========Build from source---------.. code::python3 setup.py sdistpip3 install dist/tigerfix-0.1.3.tar.gzInstallation------------.. code::pip3 install tigerfixUsage------------+ you should install the library and c/c++ files at first.. code::tfix install+ write your main program+ include <tigerfix/def.h>+ add **-ltfix** flag when linking+ write your patch file+ include <tigerfix/dev.h>+ use **extern** to get access to what you want to use in patch code+ compile patch without linking it.. code ::gcc patch.c -c -fPIC -o patch.o+ generate patch file.. code ::tfix gen -m main -o patch.tfp patch.o+ do hotfix+ eval **pgrep main** , and you will get a pid(for example,10000).. code ::tfix fix 10000 patch.tfp
Package: tigergraphcli
TigerGraphCLI (tgcli)TigerGraphCLI is a command-line utility for interacting withTigerGraphservers. It's
built on top ofpyTigerGraph.This project is still under active development. If you find a bug or have a feature request, feel free to create a Github issue.InstallationTgcli is released onPyPI. Tgcli works best with Python 3.7+, but should work with any Python3 distribution. Installation is simple:pip3 install tigergraphcli.Verify your installation by runningtgcli versionOnce installed, get started by creating a configuration, which holds all the config and credentials needed to
connect to a TigerGraph server. You can do this by runningtgcli config add. This will guide you through creating
a tgcli configuration.UsageThere are 5 main operations that tgcli supports:tgcli config: Manages TigerGraph server configurations. Configurations are stored in a folder named.tgcliunder the home directory (ex.~/.tgcli)tgcli gsql: Runs a GSQL command against a TigerGraph servertgcli load: Loads vertices/edges to a TigerGraph servertgcli get: Retrieves data from a TigerGraph servertgcli delete: Delete data from a TigerGraph server.Seeusagefor detailed documentation.
Package: tigergraph-mlworkbench
mlworkbenchTigerGraph ML WorkbenchRequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalltigergraph_mlworkbenchUninstallTo remove the extension, execute:pipuninstalltigergraph_mlworkbenchContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the mlworkbench directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalltigergraph_mlworkbenchIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedmlworkbenchwithin that folder.Packaging the extensionSeeRELEASE
Package: tigerhash
TigerHashImplementation of tiger hash in C++ with Python API.
The basic API matches that of Python's standardhashlibmodule.CreatorsThe algorithm was created byRoss Anderson and Eli Biham.
It was designed to be a fast, secure hash function which was created for being faster then RIPE-MD, MD5, SHA, SHA1 and Snefru-8 on 64-bit processors.Installationpip install tigerhashAs usual with Pip, you might need to usesudoor the--userflag
with the command above, depending on how you installed Python on your
system.
Package: tigersyn
TigerSynAs python packageDownloadpip install tigersynUsageimporttigersyntigersyn.run('s',r'C:\T1w_dir',r'C:\output_dir')tigersyn.run('s',r'C:\T1w_dir\**\*.nii.gz',r'C:\output_dir')tigersyn.run('s',r'C:\T1w_dir\**\*.nii.gz')# storing output in the same dirtigersyn.run('sz',r'C:\T1w_dir')# Force storing nii.gz formats: Producing syntheseg mask
z: Force storing nii.gz format
Package: tighnari
TighnariRead this inother translations.This is part ofPudgeland 💖 Open SourceecosystemsAn unofficialThe Cat APIwrapper for Python📦 Packages🐍 PyPIpipinstalltighnari🔎 Examplesimporttighnariclient=tighnari.Client()for_inrange(5):print(client.images.search())
Package: tight
tightTight is a microframework created and optimized for serverless runtimes. Withtight-cliandtightyou can quickly scaffold serverless applications that are conventional, testable-by-default and free of boilerplate.Tight currently supports AWS Lambda and the Python3.6 runtime.The best way to get started with Tight is to follow thetutorial, which will guide you through the process of building and deploying an app. There are also references for bothtightandtight-cli.Developmentpip install -e .pip install -r requirements.txt
Package: tightai
Tight.ai SDKServerless Model Hosting & Model MarketplaceInstallpip install tightaiGetting StartedSign upGo tohttps://www.tight.ai/signupAuthenticateVia LoginThis will prompt you for your username (or email) and password you used to sign up on tight.ai. Your local system will store unique credentials (never your account password) so your machine can re-access your account at anytime.Python Shellfromtightai.authimportloginlogin()Command Line$ tight loginVia TokenTokens are simple to create and very useful when needing to authenticate in a different way.Coming soon.
Package: tightwrap
tightwraptightwrap(pronouncedtyped wrap) is a drop-in replacement forfunctools.wrapsthat works with static typing.tightwrapis very small, so if you don't want to add a dependency to it justvendor this file.functools.wrapsis very commonly used to adapt runtime function signatures when wrapping functions, but it doesn't work well with static typing tools.tightwrap.wrapshas the same interface and you should use it instead:fromtightwrapimportwrapsdeffunction(a:int)->int:returna+1@wraps(function)defwrapping(*args,**kwargs)->int:returnfunction(*args,**kwargs)reveal_type(wrapping)# Revealed type is "def (a: builtins.int) -> builtins.int"wrapping("a string")# error: Argument 1 to "wrapping" has incompatible type "str"; expected "int"tightwrapappliesfunctools.wrapsunder the hood so runtime inspection continues to work.If your wrapper has a different return type than the function you're wrapping,tightwrap.wrapswill use thewrapperreturn type and make the runtime signature return type match.For comparison, when usingfunctools.wrapsthe current version of Mypy reports:fromfunctoolsimportwrapsdeffunction(a:int)->int:returna+1@wraps(function)defwrapping(*args,**kwargs)->int:returnfunction(*args,**kwargs)reveal_type(wrapping)# Revealed type is "def (*args: Any, **kwargs: Any) -> builtins.int"wrapping("a string")# No type error, blows up at runtime.Changelog24.1.0 (2024-01-09)Initial version.
Package: tigitaalconnect
TigitaalConnectThe official Python Library to connect with the TigitaalAPI! This library helps easily send requeststo the API, so you dont have to do the hard work of manually setting up requests.Use a range of easy-to-use functions and explore the endless posibilities of the TigitaalAPI withTigitalConnect!INSTALLATION:pip install tigitaalconnectSETUP:UserConnect:fromtigitaalconnectimportloginuser=login(username,password)# Enter your username and password in the paranthesesREQUESTS:Reload Request:user.reload()ReloadAdvanced Request:user.reloadadvanced()PFP Request:user.pfp(fileid)Nickname Request:user.nickname(new_nickname)Mail Request:user.mail(new_email)FORUM:SetupfromtigitaalconnectimportforumMessages Requestforum.messages(forumid)Threads Requestforum.threads(forumid)Post Requestforum.post(user,text,forumid)# user is the variable you created earlier to loginEdit Requestforum.edit(user,text,forumid,messageid)All Requestforum.all()Change Log0.0.1 (09/29/2022)First Release5 easy to use Requests to manipulate the TigitaalAPI0.0.2 (09/30/2022)Second ReleaseCommands now return info as JSONREADME.txt Updated0.0.3 (09/30/2022)Third Release (Mini release)Bug Fixes0.0.4 (09/30/2022)Fourth Release (Mini release)More Bug FixesFixed Formatting Errors0.0.5 (10/05/2022)Fifth ReleaseAdded Login ClassEasier setupBug FixesREADME now a Markdown File0.0.6 (10/08/2022)Sixth ReleaseAdded Forum ClassBug FixesREADME updated
Package: tigopesa
tigopesaPython package to easy the tigopesa api integrationGetting startedTo get started with Tigopesa, you firstly need to install it as show below;pipinstalltigopesaAuthorization and ConfigurationBefore you begin making transaction with tigopesa module, you firstly need to initialize your tigopesa api credentialsclient_idandclient_secretyou were given.Whether are sandbox keys or production keys, all of them are in great use with the tigopesa packageHere how to initialize;>>>fromtigopesaimportTigopesa>>>tigopesa=Tigopesa(client_secret='xxxx',client_id='xxxx'environment="sandbox")# OR# You can do this;>>>fromtigopesaimportTigopesa>>>tigopesa=Tigopesa(environment='production')>>>tigopesa.client_id='xxxx'>>>tigopesa.client_secret="xxxx'Once you initialize your module, you might need still need to configure your module with couple of more information ready to begin making transactions, there are required paramaters and optional parameters while configuring as shown below;# Master mechant (Required parameters)account:strpin:straccount_id:str# Mechant Informationsmechant_reference:Optional[str]=''mechant_fee:Optional[str]='0.0'mechant_currency_code:Optional[str]=''# Other_informationlanguage:Optional[str]='eng'terminal_id:Optional[str]=''currency_code:Optional[str]='TZS'tax:Optional[str]='0.0'fee:Optional[str]='0.0'exchange_rate:Optional[str]='1'# Callbacks and Redirectscallback_url:Optional[str]='https://kalebujordan.dev/'redirect_url:Optional[str]='https://kalebu.github.io/pypesa/'# Subscribers default Informationsubscriber_country_code:Optional[str]='255'subscriber_country:Optional[str]='TZA'As you can see there about 3 required parameters while the rest being optional parameters, so in our example we are going to configure using only 3 required parameters and the rest will just take the default values;>>>fromtigopesaimportTigopesa>>>tigopesa.configure(account='255xxxxx',pin='xxxxx'account_id='xxxxxx'.........)Authorizing PaymentsNow once we are done with the authentication and the authorization part, we can start making authorizing tigopesa payment, Here an example you would authorize a secure tigopesa payment with tigopesa library;>>>response=tigopesa.authorize_payment({"amount":4999,"first_name":"Kalebu","last_name":"Gwalugano","customer_email":"kalebjordan.kj@gmail.com","mobile":"255757294146",})print(response)# Response output{'transactionRefId':'f9995a1ab5d04235a2aeeef37baad129','redirectUrl':'https://secure.tigo.com/v1/tigo/payment-auth/transactions?auth_code=CgFsXfSZRL&transaction_ref_id=f9995a1ab5d04235a2aeeef37baad129&lang=eng','authCode':'CgFsXfSZRL','creationDateTime':'Sat, 1 May 2021 20:50:34 UTC','SessionLife':600}IssuesIf you're facing issue with the use of the package, raise an issue and I will be working to fixing it as soon as I can;ContributingTigopesa has a lot of modules to integrate, it can be overwhelming doing all of them by myself together with other responsibilities so I warmly welcome contributors (code + documentation) to contribute to this package.CreditsAll the credits to;kalebudbraxMtabefuture contributors
Package: tigopesasdk
tigopesasdkTigoPesa API wrapper written in pythonstatusThis library supports only push pay API at the momentinstallationpipinstalltigopesasdkusageimporttigopesasdkastigo# stating the configurationsconfig=tigo.Config(account_name="",brand_id="",token_url="",password="",biller_payment_url="",biller_code="",grant_type="password",username="",account_msisdn="")# create a callback handlerclassCustomCallbackHandler(tigo.CallbackHandler):def__init__(self):passdefrespond(self,request:tigo.CallbackRequest)->tigo.CallbackResponse:response=tigo.CallbackResponse(response_code="",reference_id="",response_status=True,response_description="",)returnresponsecallback_handler=CustomCallbackHandler()# creating a tigo clientclient=tigo.TigoClient(config,callback_handler,True)# form a bill requestbill_request=tigo.BillPayRequest(reference_id="PYWWTWTW15151718191",amount=10000,remarks="mt first ever payment from command line tool",customer_msisdn="0712XXXXXX",)# generate token from tigotoken_response=client.generate_token()iftoken_responseisnotNone:print("access token: "+token_response.access_token)print("token type: "+token_response.token_type)print("expires date: "+token_response.expires_in)bill_response=client.bill_with_token(token_response.access_token,bill_request)print("response code "+bill_response.response_code)print("response status"+str(bill_response.response_status))print("response description "+bill_response.response_description)print("reference id "+bill_response.reference_id)# bill_with_token uses a pre generated token to initiate push pay request# bill on the other hand request for token internally and use the response to# initiate the push paybill_response=client.bill(bill_request)ifbill_responseisnotNone:print("response code "+bill_response.response_code)print("response status"+str(bill_response.response_status))print("response description "+bill_response.response_description)print("reference id "+bill_response.reference_id)LICENCEMIT License
Package: tigre
Tigre syncs directories to buckets on S3. It is named for the Tigre river that
feeds into the Amazon River.InstallationRunpython setup.py installto install thetigrescript. Or just copy thetigrefile to where every you wish.ConfigurationTigre uses a configuration file, ~/.tigre.rc. A different file can be specified
bytigre -c somefile. The configuration file is in the JSON format. Seetigre.rc.samplefor a sample configuration file.
Package: tigrex
tigrextigrex is a Python CLI Tool for searching and pricing Magic the Gathering cards using Scryfall's API.InstallationpipUse the package managerpipto install tigrex.pipinstalltigrexHomebrewUse Homebrew to install tigrex.brewtapericjaychi/tigrex
brewinstalltigrexCloningClone the repository and run the script locally. This method will mean that each command has to havepython -m tigrex.gitclonehttps://github.com/ericjaychi/tigrex.git||git@github.com:ericjaychi/tigrex.gitcdtigrex/
python-mtigrex[command]UsageAll searches leverage a fuzzy search, meaning that the[card_name]does not have to be exact. Examples:yurikowill result in a search result ofYuriko, the Tiger's Shadowwaterywill result in a search result ofWatery GraveIf a full name needs to be searched for, wrapping the[card_name]in" "can achieve this,"[card_name]". Examples:"yuriko, the tiger's shadow"will result in a search result ofYuriko, the Tiger's Shadow"watery grave"will result in a search result ofWatery GraveFuzzy search will fail if there are multiple results. Examples:`path towill fail and not bring up the card `Path to Exile``"path to"will fail and not bring up the cardPath to ExileCommandssearch- Search for an MTG card.tigrexsearch[card-name]price- Search for an MTG card price.tigrex price [card-name]currency- Set the currency of the card searches inside ofconfig.iniso that price shows in the either USD, EUR, or TIX. Foil prices are only in USD.tigrex currency [usd | eur | tix]ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.Although this is an open source tool, donations are appreciated greatly!LicenseMIT
Package: tigrisdb
tigris-client-pythonPython client for TigrisInstallationpip install tigrisdbUsageVector Search -https://www.tigrisdata.com/docs/concepts/vector-search/python/DevelopmentInstallpoetryfollowing the installation instructionshereRequirespython 3.8+,pip 23.xClone the repo and cd into the directoryUpdate submodule -git submodule update --initCreate and activate the virtual environment -poetry shellInstall dependencies -poetry install --with dev[Optional] installgit hooksCompile proto and generate api client helpers -poetry run make generateGit HooksWe usepre-committo automatically
setup and run git hooks.On everygit commitwe check the code quality. Install the hooks:pre-commit install