Saravanan666/pypi-org huggingface dataset:
Package: taxii-services
Please Note:This library is no longer maintained. If you need an open source TAXII 1.X
implementation, please seethis list of other libraries.Source:https://github.com/TAXIIProject/django-taxii-servicesDocumentation:http://taxii-services.readthedocs.ioInformation:http://taxiiproject.github.io/Download:https://pypi.python.org/pypi/taxii-servicesOverviewdjango-taxii-services is an installable Django app that enables
application developers to rapidly create TAXII Applications that cover
any aspect of TAXII 1.0 and TAXII 1.1. Key aspects of
django-taxii-services include:Reusable - You can install itExtensible - You can extend (almost) any aspect of
django-taxii-services to perform your custom application logicComplete - Covers 100% of TAXII 1.0 and TAXII 1.1 (this is more of a
goal, at the moment)Easy - Always a subjective term, but django-taxii-services aims to be
easy to use.If you see anything you’d like to ask a question on, please open an issue on
GitHub or contact the TAXII Team attaxii@mitre.org.Using django-taxii-servicesCreate your own Django project, install django-taxii-services, and
modify your settings.py to addtaxii_services(e.g.,):INSTALLED_APPS=(...'taxii_services',)MIDDLEWARE_CLASSES=(...'taxii_services.middleware.StatusMessageExceptionMiddleware')# Add a logger if you'd likeLOGGING={...'loggers':{...'taxii_services':{'handlers':['normal','stdout'],'level':LOG_LEVEL,'propagate':True,},}}Some Key Features(This section is kind of a brain dump and should eventually be moved to
readthedocs when it matures)exceptions.StatusMessageException /
middleware.StatusMessageExceptionMiddleware - These, when used
together, allow developers to raise a StatusMessageException()
anywhere and have the server automagically create a StatusMessage in
response (might be a TAXII 1.0 or 1.1 Status Message depending on the
request). If you havetaxii_services.middleware.StatusMessageExceptionMiddlewarein
your MIDDLEWARAE_CLASSES, you can justraise taxii_services.exceptions.StatusMessageException( ... )from anywhere and have django-taxii-services send back a
StatusMessage.Register your own message handler - use
taxii_services.management.register_message_handler()Some convenience methods:taxii_services.register_admins - Register some/all admins to the
Django admin interfacetaxii_services.register_message_handlers - Register some/all
built-in message handlersDependenciesTODO: Document the dependenciesFeedbackPlease provide feedback and/or comments on open issues totaxii@mitre.org.LicenseFor license information, see the LICENSE.txt file.
Package: taxi_petzi
Petzi backend for TaxiThis is the Petzi backend forTaxi. It
exposes thepetziprotocol to push entries to a Google spreadsheet.InstallationtaxiplugininstallpetziUsageFirst you’ll need to generate a credentials file to be able to query the
spreadsheets Google API. To do so,follow the official
guide, and
then follow the "Create Desktop application credentials" and download the JSON
file with credentials.Once you have your JSON file with credentials, open your configuration file
usingtaxi config, and add a backend using thepetziprotocol for your
backend. Use the path to the credentials JSON file and set thesheet_idin the
query string.  For example:[backends]
petzi = petzi:///home/sephi/credentials.json?sheet_id=22324_Xg40_x9iWrERPCeIhBFcfHuTWbzxtjrfwvZIQAContributingTo setup a development environment, create a virtual environment and run the
following command in it:python3-mpipinstall-e.To use a specific version of Taxi, eg. if you need to also make changes to Taxi,
install it in the virtual environment in editable mode:python3-mpipinstall-e/path/to/taxiTo run the tests, install the test requirements, and then run thepytestcommand:python3-mpipinstall-rrequirements_test.txt
pytest
Package: taxi-simulator
Taxi SimulatorAgent-based taxi simulator to test strategiesFree software: MIT licenseDocumentation:https://taxi-simulator.readthedocs.io.FeaturesStrategy patternContinuous simulatorLoad scenariosMulti-agent system built withSPADEXMPP communicationsCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.4.1 (2019-01-07)Fixed bug when checking if the simulation is finished.0.4.0 (2018-10-25)Improved the concurrent creation of agents.Added stop and clear buttons to the interface.Added download button for getting results in excel and json formats.Documentation updated.0.3.0 (2018-10-01)Migrated to SPADE 3.Documentation highly improved.Helper functions added and refined.Javascript framework included: VueJSRoutes centralized with a Route agent.UI improved.0.2 (2017-11-15)Added scenario loading feature.0.1.3 (2017-11-15)Fixed minor bugs.0.1.1 (2017-11-14)Added documentation.0.1.0 (2017-11-03)First release on PyPI.
Package: taxman
Taxman provides a set of tools for computing Income Tax and National Insurance
contributions for the UK tax system.It currently supports calculating Income Tax and National Insurance
contributions (for both employer and employee), and deducting these to return
the net income.At the moment, it can only calculate these for the tax year 2018-19, but
support for configuring it to calculate for any tax year will be added soon.RequirementsThe current version of Taxman has been tested to work on Python 3.6.
Although it may work on other versions, it is recommended to use this version
in case you encounter any problems.InstallationThe easiest way to install Taxman is to use pip:`bash pip install taxman `Building from sourceIf you wish to build and install Taxman from source, following these steps:Clone the repository:`bash git clone git@github.com:robinmitra/taxman.git `2. Install Pipenv if it isn’t already, as this project uses it to help manage
dependencies. Once you have Pipenv, install all dependencies (including dev):`bash pipenv install--dev`Activate the virtual environment created by Pipenv:`bash pipenv shell `Run tests to ensure everything is setup correctly:`bash make test `Install the package:`bash python setup.py install `UsageRun the following to print Income Tax and National Insurance contributions,
along with the net income, for a given salary and personal allowance:`bash taxman--employment-income85000--personal-allowance11850 `
Package: taxon2wikipedia
taxon2wikipediaAn automatic page builder for ptwiki.Reflora JSON hidden API:In English:https://floradobrasil2020.jbrj.gov.br/reflora/listaBrasil/ConsultaPublicaUC/ResultadoDaConsultaCarregaTaxonGrupo.do?&idDadosListaBrasil={fb_id}"In Portuguese: "http://reflora.jbrj.gov.br/reflora/listaBrasil/ConsultaPublicaUC/ResultadoDaConsultaCarregaTaxonGrupo.do?&idDadosListaBrasil={fb_id}"Set upSet up pywikibot as perthis tutorial.python3 ~/Apps/pywikibot/pwb.py ~/Apps/pywikibot/generate_user_files
Package: taxoniumtools
Taxonium toolsTaxonium tools is a Python utility that allows you to generate Taxonium format files fromUShERmutation-annoated trees.Installationpip install taxoniumtoolsUsageBasic runFirst get some files:wget https://github.com/theosanderson/taxonium/raw/master/taxoniumtools/test_data/tfci.meta.tsv.gz
wget https://raw.githubusercontent.com/theosanderson/taxonium/master/taxoniumtools/test_data/hu1.gb
wget https://github.com/theosanderson/taxonium/raw/master/taxoniumtools/test_data/tfci.pbThen convert from UShER pb format to Taxonium jsonl format:usher_to_taxonium --input tfci.pb --output tfci-taxonium.jsonl.gz --metadata tfci.meta.tsv.gz --genbank hu1.gb \
--columns genbank_accession,country,date,pangolin_lineageYou can then open thattfci-taxonium.jsonl.gzfile attaxonium.orgUse Chronumental to infer a time treeTaxonium tools can also useChronumentalto infer a time tree for the phylogeny.pip install chronumentalusher_to_taxonium --input tfci.pb --output tfci-taxonium.jsonl.gz --metadata tfci.meta.tsv.gz --genbank hu1.gb \
--columns genbank_accession,country,date,pangolin_lineage --chronumental --chronumental_steps 300
Package: taxon_names_resolver
TaxonNamesResolver is a python package for resolving taxonomic names through
Global Names Resolver (Copyright (C) 2012-2013 Marine Biological Laboratory).
It was written by Dominic John Bennett with additional help from Lawrence
Hudson.For details on how to use TaxonNamesResolver, please refer to its wiki:https://github.com/DomBennett/TaxonNamesResolver/wikiFor any questions or comments, feel free to email:dominic.john.bennett@gmail.com.Copyright (C) 2014-2017  Dominic John BennettThis program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Package: taxonomy-service
Taxonomy
After submitting a pull request, please use the Github “Reviewers” widget to add
relevant reviewers and track review process.Reporting Security IssuesPlease do not report security issues in public. Please emailsecurity@edx.org.Getting HelpHave a question about this repository, or about Open edX in general?  Please
refer to thislist of resourcesif you need any assistance.Change LogUnreleased[1.0.0] - 2020-09-09Added Providers and Validators for integrations and upgraded to the first stable release.[0.1.1] - 2020-09-09Enable Travis integration[0.1.0] - 2020-08-27Added Basic skeleton and clients to call EMSI endpoint.
Package: taxonomy-utils
taxonomy_utilsPython package to to work with taxonomies:Create taxonomies based on a datasetHandle id to category and subcategory label and viceversaGet all subcategories pertaining a given category and viceversaPlays well withhuggingface datasetBy now, only second level depth taxonomies allowedFree software: MIT licenseDocumentation:https://taxonomy-utils.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2022-1-18)First release on PyPI.
Package: taxOrder
Package:from taxOrder.taxOrder import order_taxa

taxorder = order_taxa(tree, 'Homo_sapiens', format=1, idmap='')Command line implementation:usage: taxOrder [-h] -t <path> -r str [--outfile [str]] [--format [str]] [--idmap [<path>]]

Returns list of species in a phylogenetic tree ordered by increasing taxonomic distance to a reference species


  -h, --help            show this help message and exit

  -t <path>, --tree <path>
                        Path to tree in Newick format

  -r , --reference str
                        Reference species

optional arguments:

  --outfile [str]       Save output to file

  --format [str]        Tree format as specified at: https://etetoolkit.org/docs/latest/tutorial/tutorial_trees.html#reading-and-writing-newick-trees (Default: 1)

  --idmap [<path>]      TaxOrder can map species names to taxids accepted by PhyloProfile if supplied with a tab-seperated file like: taxid name
Package: taxtree
TaxTree: Python library for NCBI taxonomy databaseSupported features:download data from NCBI automatically.use SQLite and SQLAlchemy to persist data.retrieve ancestor taxonomy in any rank.installationpip install taxtreeusageinitialize databaseJust run:taxtreeAll data were saved to~/.taxtreeDownloadedtaxdmp.zippath:~/.taxtree/taxdmp.zipPersistent data file path:~/.taxtree/taxtree.dbsearch taxonomyfromtaxtreeimportget_scoped_session,Taxwithget_scoped_session()assession:tax=session.query(Tax).filter_by(tax_id='9606').first()get ancestorfromtaxtreeimportget_scoped_session,Tax,KINGDOM,PHYLUMwithget_scoped_session()assession:tax=session.query(Tax).filter_by(tax_id='9606').first()kingdom_tax=tax.get_ancestor(KINGDOM)phylum_tax=tax.get_ancestor(PHYLUM)
Package: taxus
taxusGaussian Process models for transcriptome datapip install taxusimporttaxusastx# at the moment importing data has to be handled by the usercovariates,counts=get_mock_data()gp=tx.GP('~ time + treatment',covariates,counts,kernel='rbf',likelihood='poisson')elbo=gp.fit()likelihood_ratio_rbf=tx.LRT(full_formula='~ time + treatment',reduced_formula='~ time',covariates=covariates,expression=counts,kernel='rbf',likelihood='nb')likelihood_ratio_linear=tx.LRT(full_formula='~ C(time) + C(treatment) + C(time) : C(treatment)',reduced_formula='~ C(time) + C(treatment)',covariates=covariates,expression=counts,kernel='linear',likelihood='nb')
Package: taxydromikilib
A small library to search taxydromiki for parsels and their status.Documentation:https://taxydromikilib.readthedocs.org/en/latestDevelopment WorkflowThe workflow supports the following stepsA small library to search taxydromiki for parsels and their statusDocumentation:http://taxydromikilib.readthedocs.io/en/latest/FeaturesSearches taxydromikis site and returns a list of TrackingState objects for each state if any.TrackingState objects expose the following attributesstatuslocationdatetimeis_final (if the current state concludes the delivery of the package)History0.1 (25-09-2017)First release1.0.0 (07-07-2021)Dropped python2.7 support.1.0.1 (07-07-2021)Fixed README.rst for proper upload.
Package: taylor
taylorCompute finite difference approximations to derivatives of multidimensional, multivariate functions with respect to multidimensional variables.Unlikefindiffandfastfd(which focus on the computation of finite differences over multidimensional grids likely representing physical systems), the focus oftayloris on computing higher order derivative objects (gradients, Jacobians, Hessians, etc.) for problems like optimization and the solution of nonlinear equations.
Of course, it may also be used to numerically verify handcoded implementations of said derivative objects.Interfacedefdiff(fun,x,order,args=(),mask=None,rule='forward',delta=None,idx_order='default'):"""fun : {function}function whose derivative is soughthas function definitiondef fun(x,*args):x : {scalar, array}independent variable with respect to which the derivativewill be computedorder : {integer}order of desired derivative1: first derivative (gradient),2: second derivative (Hessian), ...args : {tuple}tuple of additional arguments to funmask : {integer or array}array of same shape as the returned derivative whereelement = 1 -> this entry should be computed,element = 0 -> entry should not be computedrule : {string}finite difference rulechoose from: {'forward','backward','central'}delta : {float or array}scalar/array of same shape as x that specifies the finitedifference step sizeidx_order : {string}string indicating how indices of derivative object should beordered when returned'default' : indices corresponding to derivatives areordered first'natural' : indices corresponding to elements of functionoutput are ordered first (like in Jacobians)"""ExamplesThe first example computes the first derivative of the matrix vector productf(A,x) = A xwith respect to both the matrixAand vectorx.importnumpyasnpimporttaylorasta# both functions compute matrix vector product,# but have different first argumentsdefmatvec_vec(x,A):returnA@xdefmatvec_mat(A,x):returnA@xif(__name__=="__main__"):# set matrix and vectorA=np.array([[1.0,2.0,3.0],[2.0,4.0,5.0],[3.0,5.0,6.0]])x=np.array([1.0,2.0,3.0])# derivative of matrix vector product with respect to vectorderiv_matvec_vec=ta.diff(matvec_vec,x,1,args=(A,))print(f'df / dx :\n{deriv_matvec_vec}\n')# derivative of matrix vector product with respect to matrixderiv_matvec_mat=ta.diff(matvec_mat,A,1,args=(x,))print(f'df / dA :\n{deriv_matvec_mat}')NamesakeThe package is named afterBrook Taylor, the namesake for Taylor series and the originator of finite differences.
Package: taylorism
taylorismtaylorismis a framework for the parallelisation of tasks.Originally, it has been developed as part of theVortexproject. Recently
the  code has been extracted from theVortexcode base. It is now presented
as an independent Python package.The documentation is available on ReadTheDocs:https://taylorism.readthedocs.io/A few examples are provided in:src/taylorism/examples.pyContributingPlease reviewCONTRIBUTING.mdfor details on our
development process.
Package: tayra
Tayra is a full-featured abstract markup language to template web documents.
It is primarily inspired frommako-templatesandHAML(especially the
indentation based markup definitions). Only templating language that allow
developers to build and distribute their templates as plugins, not to mention
the fact that tayra’s implementation itself is heavily based on plugins.Example,@doctype html

<html>
  <head>
    <style text/css>
      .italics { font-style : italics; }

  <body>
    <div>
      <p> <span .italics> hello world
      <p> counting to hundred, ${[ x for x in range(1, 100) ]}Featuresconcise and neat syntax.based onpluggdappscomponent system.leverages onpluggdapps’ configuration system.full programmability available via,expression substitution with optional escape encoding.control-blocks like if-elif-else.looping contructs like for / while.python statements.template abstraction using function blocks, with its own local scope.import other template scripts into the local namespace and access their
functionstemplate inheritance for re-usable web-layouts.extensible filter blocks.expression substitution can be extended by plugins to interpret different
types of expression.unique ability to create template plugins, distribute them as separate
package.easy to debug. when used withpluggdapps’CatchAndDebugplugin,
exception tracebacks are tweaked to directly point to faulting line in the
template.pluggabletag handlers for custom tag elements.compiles down to optimal python code and optionally memcached. Also possible
to persist the intermediate python code to avoid re-compilation in case of
server restart.works with python 3.x.has full unicode support.lexer for generating syntax-highlighted web documents using Pygments.vim-pluginfor template scripts.License:GPLv3 license.Requires:Linux, Python-3.x, Pluggdapps, PLY.Ifbeautify_htmlsettings is enabled fortayra.ttlcompilerplugin,
thebeautifulsoup4needs to be installed.Status:Core design stable. Not expected to change.Related linkspackage documentation.changelog.todo.mailing-list.Tayra templating language is under development - you can hack the code,
contribute back withgithub.
Note that the orginal repository is maintained with mercurial and uses hg-git
plugin to publish it on github.
Package: tayrakit
Tayrakit is a browser toolkit using Tayra templating language. Most popular
toolkits are written entirely as javascript libraries that are normally fetched
when a page gets loaded. Tayrakit adapts the opposite way. Widgets,
also called as template plugins, are authored using a templating language so
that html parts are kept as HTML, css parts are kept as CSS and JavaScript is
used only where it is required - for event callbacks :)Related linksPackage documentation.Changelog.Roadmap.Related linksmailing-list.Tayrakit under development - you can hack the code, contribute back withgithub.  Note that the orginal
repository is maintained with mercurial and uses hg-git plugin to publish it
on github.
Package: tayuya
TayuyaA tool to generate guitar tabs from MIDI filesLive demo:midi.vipul.xyzInstallationpip install tayuyaUsageIn[1]:fromtayuyaimportMIDIParserIn[2]:mid=MIDIParser('sample.mid',track=0)In[3]:mid.render_tabs()Out[3]:E-------------14--------------------------16--14----------14--------------
A-------------------------------------------------17--17------16--17--16--
D-16------16------16--16--16--16------16----------------------------------
G-----18--------------------------18--------------------------------------
B-------------------------------------------------------------------------
E-------------------------------------------------------------------------Don't forget to set thetrackargument with the appropriate track number desired.Get track numbers of all the tracks in the MIDI fileIn[1]:fromtayuyaimportMIDIParserIn[2]:mid=MIDIParser('sample.mid',track=0)In[3]:mid.get_tracks()Out[3]:{0:'Lead Guitar',1:'Rhthym Guitar Dist',2:'Acoustic Guitar',3:'Rhthym Guitar Clean & Dist',4:'Lead Guitar Fill',5:'Guitar Harmonics',AdvancedMIDIGet all notes played in the MIDI trackIn[1]:mid=MIDIParser('sample.mid',track=0)In[2]:mid.notes_played()Out[2]:[{'note':'C#5','time':18},{'note':'C#5','time':30},{'note':'B4','time':26},{'note':'C5','time':0},{'note':'C5','time':28},{'note':'C#5','time':28},{'note':'C#5','time':30}]Get key of the trackIn[1]:mid=MIDIParser('sample.mid',track=0)In[2]:mid.get_key()TabsGet all notes to playYou can use this example to generate all the notes to play with their string
and fret positions.In[1]:mid=MIDIParser('sample.mid',track=0)In[2]:tabs=Tabs(notes=mid.notes_played(),key=mid.get_key())In[3]:tabs.generate_notes(tabs.find_start())Out[3]:[('C#3',5,4),('G#3',4,6),('C#4',3,6),('F4',2,6),('B2',6,7),('D#3',5,6),('F#3',4,4),('B3',3,4),('D#4',3,8),('F#2',6,2)]Each tuple here is(note, string, fret)How it works?Here's a brief of how it works:Fetch a track from the MIDI fileFind all the notes played and convert from MIDI code values to music notesFind a scale for the set of notes extractedFind the best position to play the extracted notes using the scale detectedLimitationsWorks only for guitar solos. Implementation for determination and rendering of
chords is not done yet.Works only for standard tuning (E A D G B E)TODORender tabs using Lilypond or some GUI alternativeImplement logic to determine and render chordsBetter the scale detection implementationTransposingAdd way to handle non standard tuningMore stringed instrumentsLICENSEMITCreditsTayuya is made possible by following open source softwares:MidoMusic21The nameTayuya(たゆや)