Saravanan666/pypi-org huggingface dataset:
Package: taeg
taegModule python de recherche du taux annuel effectif global à partir des données du contrat (dans l'hypothèse d'un déblocage des fonds en une seule fois).Textes de référence :Articles R.314-1 et suivants du code de la consommationlienAnnexe 1 de la DIRECTIVE 2008/48/CE DU PARLEMENT EUROPÉEN ET DU CONSEIL du 23 avril 2008lien (voir page 19 du pdf)Installation :pipinstalltaegUtilisation :La fonction principale de ce module est la fonctioncalcul(), qui prend les arguments suivants :arguments obligatoires :montant_credit : une somme exprimée en chiffresnb_mens : le nombre de mensualités de remboursementmontant_mens : le montant des mensualités (ou, si elles ne sont pas toutes identiques, celui des mensualités les plus nombreuses)arguments facultatifs :frais : le montant des frais déduits de la somme prêtée (par défaut :frais=''num_mens_spec : le(s) numéro(s) d'ordre des mensualités d'un autre montant (à saisir au formatstret à séparer par une virgule si plusieurs mensualités sont concernées)montant_mens_spec : le montant des mensualités dont le numéro d'ordre a été saisi dansnum_mens_spec,deblocage : la date de déblocage des fonds si le décalage entre le financement et la première mensualité est supérieur ou inférieur à un mois,premiere_mens : la date de prélèvement de la première mensualité, dans l'hypothèse précitéeExemples:>>>fromtaegimportcalcul>>>calcul(3000,24,130)3.86077>>>calcul(montant_credit=3000,nb_mens=24,montant_mens=150,frais=0,num_mens_spec='1,2,24',montant_mens_spec='100,100,200',deblocage='01/01/2000',premiere_mens='01/05/2000')13.71107
Package: taegis-magic
Taegis MagicTaegis Magic is a Jupyter Notebook and Command Line Interface for interacting with theSecureworksTaegis™ security platform.  The Magics project is intended to assist users with workflows and analysis throughJupyter Notebookintegrations andPandasDataFrames.Installationpython-mpipinstalltaegis-magicHelp$taegis--helpUsage:taegis[OPTIONS]COMMAND[ARGS]...TaegisMagicmaincallback.╭─Options───────────────────────────────────────────────────────────────────────────────────────╮
│--warning--no-warning[default:warning]│
│--verbose--no-verbose[default:no-verbose]│
│--debug--no-debug[default:no-debug]│
│--trace--no-trace[default:no-trace]│
│--sdk-warning--no-sdk-warning[default:no-sdk-warning]│
│--sdk-verbose--no-sdk-verbose[default:no-sdk-verbose]│
│--sdk-debug--no-sdk-debug[default:no-sdk-debug]│
│--install-completionInstallcompletionforthecurrentshell.│
│--show-completionShowcompletionforthecurrentshell,tocopy│
│itorcustomizetheinstallation.│
│--help-hShowthismessageandexit.│
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─Commands──────────────────────────────────────────────────────────────────────────────────────╮
│alerts│
│audits│
│clients│
│configure│
│events│
│investigations│
│preferences│
│rules│
│tenants│
│threat│
│users│
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯Sample UsageFor more in depth examples seedocs.CLItaegisalertssearch--limit2--cell"FROM alert EARLIEST=-1d"--graphql-output"alerts { list { id metadata { title } } }"Magic%load_exttaegis_magic%%taegisalertssearch--limit10--graphql-output"alerts { list { id metadata { title } } }"--assigndf--displaydfFROMalertEARLIEST=-1didmetadata.title0alert://priv:event-filter:xxxxx:1668534654520:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport1alert://priv:event-filter:xxxxx:1668534458035:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport2alert://priv:event-filter:xxxxx:1668534458036:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport3alert://priv:event-filter:xxxxx:1668534458037:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport4alert://priv:event-filter:xxxxx:1668534458038:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport5alert://priv:event-filter:xxxxx:1668534458039:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport6alert://priv:event-filter:xxxxx:1668534458040:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport7alert://priv:event-filter:xxxxx:1668534458040:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport8alert://priv:event-filter:xxxxx:1668534458040:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport9alert://priv:event-filter:xxxxx:1668534458042:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxAWS - GetCredentialReport
Package: taegis-sdk-python
Taegis SDK for PythonThe Taegis SDK is a Python library for interfacing with the GraphQL APIs in Taegis.PrerequisitesPython 3.8 or higher.AuthenticationSetCLIENT_IDandCLIENT_SECRETenvironment variables as described in theTaegis XDR Documenation.ORLogin using username/password with mfa upon service creationORDevice Code SSOInstallationpython-mpipinstalltaegis-sdk-pythonUsing the SDKTo use the SDK, you must first import theGraphQLServicefromtaegis_sdk_pythonimportGraphQLServicefrompprintimportpprintasppservice=GraphQLService()Now that you have theGraphQLService, you can make requests and process responses forTaegis XDR Services. The following example uses theInvestigations Serviceto send a query to get all available investigationsresult=service.investigations.query.investigations_search(page=1,per_page=3,query="WHERE deleted_at IS NOT NULL EARLIEST=-90d")pp(result)result=service.tenants.query.tenants(tenants_query=TenantsQuery(max_results=10,page_num=1,))pp(result)results=service.events.subscription.event_query(query="FROM process EARLIEST=-30d",options=EventQueryOptions(max_rows=20,page_size=10,skip_cache=True,),)pp(results)print()try:next_page=next(iter({result.nextforresultinresultsifresult.next}))exceptStopIteration:next_page=Noneifnext_page:results=service.events.subscription.event_page(page_id=next_page)pp(results)Getting Started Exploring the Schemafromtaegis_sdk_pythonimportGraphQLServiceservice=GraphQLService()schema=service.core.get_sync_schema()For more in depth analysis see:Exploring the SchemaFor more information see theGetting Started
Package: taemin
# TaeminA beautiful IRC bot[![Build Status](https://travis-ci.org/ningirsu/taemin.svg?branch=master)](https://travis-ci.org/ningirsu/taemin)## SetupThe usual way:cd taemin
python setup.py installNow just run the bot with/usr/local/bin/taeminOr if /usr/local/bin is in your path:taemin## Run taemin as a service
If you’re running on debian, just copy the file located in the inid.d folder in /etc/init.d/taeminThen run:service taemin start## ConfigurationTo adjust the configuration of taemin, just edit the configuration file:vim /etc/taemin/taemin.yml## ContributeTo add a plugin, just copy the example folder:cp -r taemin/plugins/example taemin/plugins/yourpluginChange the class TaeminExample to YourPluginClass in the file:taemin/plugins/yourplugin/plugin.pyYou can now add the functions of your choice in the different handlers (on_pubmsg, on_join, on_privmsg, on_quit, on_part)To enable your plugin just add in the plugins section on your configuration file:plugins.yourplugin.plugin: “YourPluginClass”
Package: taffmat
A Python 3.4+ module for reading and writing Teac TAFFmat files.About the TAFFmat file formatTAFFmat is Teac’s proprietary file format used to store data from their
LX series and other data recorders.According to the Teac “LX Series Recording Unit Instruction Manual”:TAFFmat (an acronym for Teac Data Acquisition File Format) is a file
format composed of the following:a data file containing A/D (analog to digital) converted data.
The file is binary format with the extension dat.a header file containing information such as recording
conditions. The file is in text format with the extension hdr.TAFFmat is a trademark of Teac Corporation.Data Recorders Using TAFFmatThe following data recorders store their data in the TAFFmat file
format:TeacLX-10/20TeacLX-110/120TeacWX-7000 SeriesTeaces8InstallationYou can installtaffmateither via the Python Package Index (PyPI) or from source.To install using pip:$pipinstalltaffmatSource:https://github.com/questrail/taffmatRequirementstaffmatrequires the
following Python packages:numpyPublic APIThe following functions are provided:change_slope(data_array, series, gain)read_taffmat(input_file)write_taffmat(data_array, header_data, output_base_filename)write_taffmat_slice(data_array, header_data, output_base_filename,                      starting_data_index, ending_data_indexContributingtaffmatis developed usingScott Chacon’sGitHub
Flow. To
contribute, forktaffmat,
create a feature branch, and then submit a pull request.GitHub
Flowis
summarized as:Anything in themasterbranch is deployableTo work on something new, create a descriptively named branch off ofmaster(e.g.,new-oauth2-scopes)Commit to that branch locally and regularly push your work to the
same named branch on the serverWhen you need feedback or help, or you think the brnach is ready for
merging, open apull
request.After someone else has reviewed and signed off on the feature, you
can merge it into master.Once it is merged and pushed tomaster, you can andshoulddeploy immediately.Licensetaffmatis released under the
MIT license. Please see theLICENSE.txtfile for more information.
Package: tafver-metars
TAFVER METARSSimple command line tool to download METAR's and TAF's for a given station.RequirementsThis package requires:Python ^3.6Git ^2.0.0Python because it was developed on that version and Git for discriminate the use
and choose the logging level for that use.InstallationFor install only run this command from your terminalpip install tafver-metarsUpdateUpdate withpipadding the option --upgradepip install --upgrade tafver-metarsExamplesTo download data from the current month for JFK INT. Airport only runtafver download kjfkIf you need older month but the same year runtafver download kjfk -m 2where-m 2its an option and refers to february. Take in count that this value must be
earlier than the actual month for the same year.If you need older year runtafver download kjfk -y 2020where-y 2020its an option and refers to the year 2020. Take in count that the year must be
older than 2004, only years from 2005 onwards are allowed. That's because only this years are
available in databases of Ogimet.com.
Package: tag2trend
Currently just planting the flag for the nameSTILL BEING RESHAPED INTO SPLIT MODULES!tag2trend*A general library for handling trend series.*DescriptionThis library was created as a tool for the analysis ofAspenTech InfoPlus.21, akaIP.21, Database-derived temporal data series.It still consists of an ongoing development, whose dependencies are essential for the handling of:ODBC connection between PC-AspenTech InfoPlus.21 (IP21):pyodbcDate, time, timezone:datetimeUbiquity among objects:ctypesRegular expressions:reScientific units:pintObject untanglement:copyInterpolation, derivation, integration:scipyGeneral data handling:numpyDataframe output:pandasData visualization:maplotlib
Package: tagalog
A set of commandline tools for manipulating logfiles on the fly.No longer a recommended solutionWe would recommend that you usedLumberjackorHeka. These both deal
with I/O in a better manner (non-blocking) and have a larger community around
them.InstallationTagalog is available onPyPIand can be installed usingpip:$ pip install tagalogUsageTagalog consists of a number of simple commandline utilities which help you do
things to logging data. Most of these tools assumes that it will receive log
data on STDIN, and emits some transformed log data on STDOUT.The simplest tool in Tagalog islogstamp, which simply prefixes each line
it receives with a precise timestamp:$ seq 3 | logstamp
2013-02-09T18:52:57.893966Z 1
2013-02-09T18:52:57.894272Z 2
2013-02-09T18:52:57.894316Z 3Of course, you’re probably not going find much use forlogstampif all you
do is pipeseq 3into it. Instead, use it to timestamp your application
logs:$ ruby myapp.rb | logstamp >app.logNext up islogtag, which transforms each log line into aLogstash-compatible JSON document. In addition to adding a@timestampfield, you can also add a list of tags to each document:$ seq 3 | logtag -a add_tags:sequence:foobar
{"@timestamp": "2013-05-10T10:38:22.103940Z", "@source_host": "lynx.local",
"@message": "1", "@tags": ["sequence", "foobar"]}
{"@timestamp": "2013-05-10T10:38:22.106518Z", "@source_host": "lynx.local",
"@message": "2", "@tags": ["sequence", "foobar"]}
{"@timestamp": "2013-05-10T10:38:22.106811Z", "@source_host": "lynx.local",
"@message": "3", "@tags": ["sequence", "foobar"]}As you can see, Tagalog adds a@timestampand@source_hostfield to each
document by default.Probably the most useful tool in the box islogship, which does everythinglogtagdoes, but instead of simply printing the log data to STDOUT, it ships
it somewhere else.:$ ruby myapp.rb | logship -s redis,redis://redis-1.internal:7777,redis://redis-2.internal:7778,redis://redis-3.internal:7779,key=mylogsDologship-hto see available options.NB:logshipis intended to be robust against failure of the log
recipients. If it fails to submit a log entry to one of the redis servers in
its list, it will try the next one. If it cannot connect to any of them, it
will print a warning to STDERR but will otherwise carry on as normal. In the
event that it cannot submit to any server, it will simply drop the log entries
to avoid building up a backlog that could later result in athundering
herd.Lastly, there islogtext, which does roughly the reverse oflogtag. It
reads JSON documents on STDIN and translates them back into plain text:$ seq 3 | logtag -f init_txt |  logtext
1
2
3LicenseTagalog is released under the MIT license, a copy of which can be found inLICENSE.
Package: tagbiljett
tagbiljettA command-line tool for querying SJ ticket pricesInstallationUse the package managerpipto install tagbiljett.pipinstalltagbiljettUsage> tagbiljett --help

Usage: tagbiljett [OPTIONS] %Y-%m-%dT%H:%M FROM TO

  Query current SJ ticket prices for a given journey

Options:
  -a, --arrival %Y-%m-%dT%H:%M  Arrival date and time.
  -n, --changes INTEGER         Exact number of changes.
  -h, --help                    Show this message and exit.> ./cron.sh trains.csv prices.txtUsing the container:> docker run ghcr.io/jwindhager/tagbiljett --help

Usage: tagbiljett [OPTIONS] %Y-%m-%dT%H:%M FROM TO

  Query current SJ ticket prices for a given journey

Options:
  -a, --arrival %Y-%m-%dT%H:%M  Arrival date and time.
  -n, --changes INTEGER         Exact number of changes.
  -h, --help                    Show this message and exit.> docker run -v trains.csv:/usr/src/app/trains.csv -v tagbiljett-data:/usr/src/app/data --entrypoint /bin/bash ghcr.io/jwindhager/tagbiljett cron.sh trains.csv data/prices.txtContributingPull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.LicenseMIT
Package: tagcash
Missing a practical and easy-to-learn solution to keep track of your finances? Use tagcash to do it with simple text files!TagCash is a little hack that I’m currently using after trying several solutions like GnuCash and Financisto. These are some of the features that I was missing and that are found in TagCash:As simple as editing text files;Text files are easy to sync between devices and people;Simple CLI;Quickly copy and paste statements from CLI to e-mail;Simple and short Python source code.Quick StartLet’s choose 2 tags:wallet, andbankfor your checking account. Now, write the following in a file (e.g.:finances.txt):2018-01-13  100  Starting balance  bank
2018-01-14   40  Withdrawal        wallet,-bankAs there’s no starting balance forwallet, it will be $0.00. In the second line, there is a-(minus) sign next to thebanktag to make it-40in thebankledger. Now, let’s see whattagcashdoes without any option:~$ tagcash finances.txt
┌bank────────┬────────┬─────────┬───────────────────┐
│ Date       │ Amount │ Balance │ Description       │
├────────────┼────────┼─────────┼───────────────────┤
│ 2018-01-13 │ 100.00 │  100.00 │ Starting balance  │
│ 2018-01-14 │ -40.00 │   60.00 │ Withdrawal        │
└────────────┴────────┴─────────┴───────────────────┘
┌wallet──────┬────────┬─────────┬───────────────────┐
│ Date       │ Amount │ Balance │ Description       │
├────────────┼────────┼─────────┼───────────────────┤
│ 2018-01-14 │  40.00 │   40.00 │ Withdrawal        │
└────────────┴────────┴─────────┴───────────────────┘TipsThe parser is flexible. Just don’t use space in tags and separate them by comma;Align as you wish. Use 1 or more spaces between fields (date, amount, …);You can use as many files as you want;There’s no need to keep the lines sorted by date. Thus, you can keep together all the monthly installments of a payment;To choose tags, use for example--tagswallet(-tfor short).How to InstallTested with Python >= 3.5:pip3 install tagcash.Advanced UsageTo know how much money you have in total, including all specified tags, add the--alloption:$ tagcash --all finances.txt
(...)
┌All Tags────┬────────┬─────────┬───────────────────┐
│ Date       │ Amount │ Balance │ Description       │
├────────────┼────────┼─────────┼───────────────────┤
│ 2018-01-13 │ 100.00 │  100.00 │ Starting balance  │
│ 2018-01-14 │ -40.00 │   60.00 │ Withdrawal        │
│ 2018-01-14 │  40.00 │  100.00 │ Withdrawal        │
└────────────┴────────┴─────────┴───────────────────┘As expected, because you withdrew money to your own wallet, the last table shows that you have $100 in total. To keep this overall balance consistent, adopt the simple rule: use negative numbers (or tags) whenever you spend money, and positive when you earn it.
Package: tagcube-cli
TagCube’s CLI toolLaunch web application security scans usingTagCube’s REST API,
commonly used in continuous delivery scripts.UsageThe easiest way to start a new scan is to calltagcubewith the target
URL as parameter:$ export TAGCUBE_EMAIL=user@example.com
$ export TAGCUBE_API_KEY=`cat key.txt`
$ tagcube scan --root-url http://domain.com
Web application scan for "http://domain.com/" successfully started at TagCube cloud.This will create the new domain resource in TagCube’s REST API and start a new
scan using these defaults:Bootstrap paths:/Web application scan profile:full_auditWhen the scan has finished an email will be sent to the user’s email address.Important: depending on TagCube’s license quotas and privileges you might need to
use the REST API or Web application tocreate and verify the ownership of the
target domainbefore running the first scan against it.Advanced usageRun a scan tohttp://target.com/, notify the REST API username email address
when it finishes$ tagcube scan --root-urls http://target.comRun a scan with a custom profile, enabling verbose mode and notifying a
different email address when the scan finishes$ tagcube scan --root-urls http://target.com --email-notify=other@example.com \
               --scan-profile=fast_scan -vProvide TagCube’s REST API credentials as command line arguments. Read the
documentation to find how to provide REST API credentials using environment
variables or the .tagcube file$ tagcube scan --root-urls http://target.com  --tagcube-email=user@example.com \
               --tagcube-api-key=...Verify that the configured credentials are working$ tagcube authConfiguration fileIt is always a good idea to avoid hardcoded credentials in source code and deploy
scripts. This tool can get the credentials from a YAML file in the current directory
or the user’s home. The filename should be named.tagcubeand have the following
format:credentials:
    email: ...
    api_key: ...Once the file is in place, the tool can be run:$ tagcube auth
Successfully authenticated against TagCube's API.
$Configuration through environment variablesAnother way to providetagcube-cliwith the REST API credentials is to set
theTAGCUBE_EMAILandTAGCUBE_API_KEYenvironment variables. These are
convenient to avoid hard-coding credentials in scripts or source code.Integration with continuous deliveryAdding security to your continuous delivery process is trivial using TagCube,
we recommend adding these two lines after the code is pushed to the servers:pip install --upgrade tagcube-cli
tagcube scan --root-url http://target.comWhile in most cases its recommend to be specific about the version of any
external package installed usingpip, we recommend a more relaxed installation
process fortagcube-cliwhich allows us to frequently push upgrades to our
customers.More infoA more detailed documentation which includes tutorials and example usages can
be found atTagCube’s siteReporting bugsReport your issues and feature requests intagcube-cli’s issue
trackerand we’ll
be more than glad to fix them.Pull requests are more than welcome!
Package: tagenalgo
TagenalgoTechanical Analysis & Genatic AlgorithmThe is a genetic algorithm incorporated with technical analysis indicator to optimize parameters of a strategy. The innovation of the algorithm is  that you can customize your strategy and use the algorithm to optimize the parameters included in the strategy.This algorithm provides:Optimize parameters of common technical analysis indicators such as"Relative Strength Indicator"or"Simple Moving Average".Optimize parameters of combined technical analysis indicators. E.g."Relative Strength Indicator"+"Simple Moving Average".Optimize parameters of customized strategy. E.g."Relative Strength Indicator"+"self-defined stop loss mechanism".Installationpipinstalltagenalgo
Package: tag-expressions
Package to evaluate logical tag expressions by using a modified version of theShunting Yard algorithm.
This package is a Python port of cucumbers tag expression.It’s also used byradish.Installing$pipinstalltag-expressionsHere is a tease>>>fromtagexpressionsimportparse>>>>>>expression='( a and b ) or ( c and d )'>>>compiled_expression=parse(expression)>>>print(compiled_expression)((aandb)or(candd))>>>>>>data=['a','b','c','d']>>>assertcompiled_expression.evaluate(data)==True>>>>>>data=['a','c']>>>assertcompiled_expression.evaluate(data)==False>>>>>>>>>expression='not a or b and not c or not d or e and f'>>>compiled_expression=parse(expression)>>>print(compiled_expression)(((not(a)or(bandnot(c)))ornot(d))or(eandf))>>>>>>data=['b','e','f']>>>assertcompiled_expression.evaluate(data)==True>>>>>>data=['a','c','d']>>>assertcompiled_expression.evaluate(data)==FalseUsageAvailable operatorsor- “or” conjunction of two given variablesand- “and” conjunction of two given variablesnot- negation of a single variableEvery other token given in aninfixis considered a variable.Operator precedenceFrom high to low:()orandnot