Saravanan666/pypi-org huggingface dataset:
Package: tapy
Technical Indicators for the Pandas’ DataframesDocumentation:https://pandastechindicators.readthedocs.io/en/latest/Installationpip install -U tapyExample>>> import pandas as pd
>>> from tapy import Indicators
>>> df = pd.read_csv('EURUSD60.csv')
>>> i= Indicators(df)
>>> i.accelerator_oscillator(column_name='AC')
>>> i.sma()
>>> df = i.df
>>> df.tail()
            Date   Time     Open     High      Low    Close  Volume        AC       sma
3723  2019.09.20  16:00  1.10022  1.10105  1.10010  1.10070    2888 -0.001155  1.101296
3724  2019.09.20  17:00  1.10068  1.10193  1.10054  1.10184    6116 -0.000820  1.101158
3725  2019.09.20  18:00  1.10186  1.10194  1.10095  1.10144    3757 -0.000400  1.101056
3726  2019.09.20  19:00  1.10146  1.10215  1.10121  1.10188    3069  0.000022  1.101216
3727  2019.09.20  20:00  1.10184  1.10215  1.10147  1.10167    1224  0.000388  1.101506Available IndicatorsAccelerator Oscillator (AC)Accumulation/Distribution (A/D)AlligatorAverage True Range (ATR)Awesome Oscillator (AO)Bears PowerBollinger BandsBulls PowerCommodity Channel Index (CCI)DeMarker (DeM)Exponential Moving Average (EMA)Force Index (FRC)FractalsGator OscillatorIchimoku Kinko HyoMarket Facilitation Index (BW MFI)MomentumMoney Flow Index (MFI)Moving Average Convergence/Divergence (MACD)Simple Moving Average (SMA)Smoothed Moving Average (SMMA)
Package: taqu
Python Task Queue system built on Azure Service Bus queues and pydantic models.What is this?Lots of systems benefit from having a queue for background tasks, that run independently of e.g. your APIs or other processes. This can help e.g. by enhancing your API performance, limiting the effects of traffic peaks, as well as scaling out with parallel processing of various things.The defacto standard for Python is Celery + RabbitMQ, but hosting RabbitMQ is another liability and not always the most fun experience, and Celery doesn’t supportasyncioyet. Fully hosted solutions such as the Azure Service Bus help you get off the ground faster, with less things to worry about, and can allow you to save on costs as well.Primarily intended for use withasyncio(fromtaqu.aiomodule), but works with non-async code just as well (using imports from thetaqumodule).Supports all the basic things you could need:Fast insertion of tasks to queueAsync task processingEasy to scale workersRetry logic - if there’s an uncaught exception the task will automatically be put back in the queueClean shutdown on Ctrl+C (waits until tasks finish processing)LicenseLicensing is important. This project itself uses BSD 3-clause license, but e.g. Azure library for Storage Bus and other such libraries used by it may have their own licenses.For more information check theLICENSE-file.Getting startedIn theAzure Portalset up a new Service Bus (any tier is fine), and then a queue in it. You probably want to enable partitioning, maybe also dead-lettering. Then you’ll want to get the access credentials for your code. Ensure you’ve got theAzure CLIinstalled and then run:azlogin# Ensure you're logged in to Azureazaccountlist# List subscriptionsazaccountset--subscription<subscriptionId># Set active subscriptionazservicebusnamespaceauthorization-rulekeyslist\--resource-group<rgName>\--namespace-name<namespace>\--nameRootManageSharedAccessKey\--queryprimaryConnectionString\--outputtsvAlso you’ll need the Taqu library installed, e.g. for use with the Azure:pipinstalltaqu[azure]Then, you can set up your worker, here’s an exampleworker.pythat you can just run withpython worker.py:importasynciofromtaqu.aioimportTaquAzureWorkerfrompydanticimportBaseModelCONNECTION_STRING="..."worker=TaquAzureWorker(CONNECTION_STRING)classCreateUser(BaseModel):username:strasyncdefcreate_user(user:CreateUser):print(user.username)worker.register(create_user)worker.run()With the worker in place, you can create a client and send some tasksfromtaquimportTaquAzureClientfrompydanticimportBaseModelCONNECTION_STRING="..."taqu=TaquAzureClient(CONNECTION_STRING)classCreateUser(BaseModel):username:strtaqu.add_task(CreateUser(username="my_new_username"))You can also check out theexamples.ContributingThis project is run on GitHub using the issue tracking and pull requests here. If you want to contribute, feel free tosubmit issues(incl. feature requests) or PRs here.To test changes locallypython setup.py developis a good way to run this, and you canpython setup.py develop--uninstallafterwards (you might want to also use the--userflag).
Package: tara
Info:This is the README file for Tara.Author:Sinan Alioglu <sinan@alioglu.org>Copyright:© 2020, Sinan Alioglu.Date:2020-04-19Version:0.1.0PURPOSEINSTALLATIONUSAGENOTESCOPYRIGHTCopyright © 2020, Sinan Alioglu.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:Redistributions of source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of the author of this software nor the names of
contributors to this software may be used to endorse or promote
products derived from this software without specific prior written
consent.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: tarakimu
TarakimuA python library for number to Swahili words conversionFree software: BSD licenseDocumentation:https://tarakimu.readthedocs.io.InstallationTo install tarakimu library you can use pip:$pipinstalltarakimuBasic UsageExamplesUsing Pythonfromtarakimuimportnum_to_wordsnum_to_words('88')# returns 'themanini na nane'num_to_words(88.88)# returns 'themanini na nane nukta nane nane'num_to_words('-88000000')# returns 'hasi kuadrilioni themanini na nane'Using command line interface$tarakimunumtowords88-lsw# writes to the standard output 'themanini na nane'History0.3.1 (2019-12-01)Fixing conversion of very large numbers with decimals to words.0.3.0 (2019-12-01)Fixing conversion of very large numbers to words.Fixing conversion of teens when number is greater than 100 in English.Flake8 clean ups0.2.1 (2019-09-17)Fixing package Manifest to include lang submodule.0.2.0 (2018-05-15)Adding multilingual support, Swahili and English.0.1.0 (2018-05-10)Package created.
Package: taral_sample
A sample project that exists as an aid to thePython Packaging User Guide’sTutorial on Packaging and Distributing
Projects.This projects does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.This is the README file for the project.The file should use UTF-8 encoding and be written using ReStructured Text. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: taranis
TaranisTaranis is a Python API wrapper forweather-api. It provides quick and easy retrieval of weather data for a given city.Installation:Install and update usingpip:pip install -U taranisUsage:Import the module:>>>importtaranisThen call any of the below functions:>>>taranis.get_weather('San Francisco'){'temperature':'+15 °C','wind':'24 km/h','description':'Partly cloudy','forecast':[{'day':'1','temperature':'20 °C','wind':'18 km/h'},{'day':'2','temperature':'16 °C','wind':'22 km/h'},{'day':'3','temperature':'17 °C','wind':'12 km/h'}]}>>>taranis.get_temperature('San Francisco')'+15 °C'>>>taranis.get_wind('San Francisco')'24 km/h'>>>taranis.get_description('San Francisco')'Partly cloudy'>>>taranis.get_forecast('San Francisco')[{'day':'1','temperature':'20 °C','wind':'18 km/h'},{'day':'2','temperature':'16 °C','wind':'22 km/h'},{'day':'3','temperature':'17 °C','wind':'12 km/h'}]
Package: taranis-ng-core
TaranisNG backend setupInstallPostgresqldatabase and create database e.g. taranisdbInstallPython 3.7or laterIn taranis-ng-common, taranis-ng-collectors and taranis-ng-core install and activate python virtual environment:virtualenv -p python3.7 venvsource venv/bin/activatepip3 install -e .Set environment variables for taranis-ng-core:
DB_URL=127.0.0.1:5432;DB_DATABASE=taranisdb;DB_USER=;DB_PASSWORD=;JWT_SECRET_KEY=F1AE885322F1CBefore first run uncomment line withimport test.pyin app.py to create set of test data. After first run comment this line again.Run taranis-ng-core:python3 run.pySet environment variables for taranis-ng-collectors:
FLASK_RUN_PORT=5001;API_KEY=12345;TARANIS_NG_CORE_URL=http://127.0.0.1:5000;SSL_VERIFICATION=FalseRun taranis-ng-collectors:python3 run.pyand it should collect first set of RSS news items from preconfigured test osint sourceTaranisNG frontend setupInstall Node.js fromhttps://nodejs.org/en/Set environment variables for taranis-ng-gui:
VUE_APP_TARANIS_NG_URL=http://127.0.0.1:8080;VUE_APP_TARANIS_NG_CORE_API=http://127.0.0.1:5000/api;VUE_APP_TARANIS_NG_LOCALE=en;VUE_APP_TARANIS_NG_CORE_SSE=http://127.0.0.1:5000/sseInstall all required packages:npm installRun application inside taranis-ng-gui:npm run serveIn Browser go to:http://127.0.0.1:8080/Test accounts are user with password user and admin with password adminKeycloak setupThis quick setup guide demonstrates installation for early test purposes running on localhost and default ports. Everything in Keycloak can be reconfigured to specific needs as well as Login screen template.
Keycloak is not needed to run test version of TaranisNG at the moment. You can use defaultTestAuthenticatorinstead.Requires JAVA 8 to run so download and install JDK from Oracle or OpenJDK e.g.apt install openjdk-8-jdkDownload keycloak fromhttps://www.keycloak.org/downloads.htmlInkeycloak-8.0.2/standalone/configuration/standalone.xmlchange http listener port to 8081:<socket-binding name="http" port="${jboss.http.port:8081}"/>Run keycloak inkeycloak-8.0.2/bin:sudo ./standalone.shIn browser go tohttp://127.0.0.1:8081/Create first admin account and log in to Master RealmChooseADD REALMto create realm with the nametaranisngIn taranis-ng realm chooseIMPORTand import filerealm-export.jsonfromtaranis-ng-corerootIn CLIENTS choose taranis-ng and regenerate secret in CREDENTIALS -> REGENERATE SECRET and put secret itinto client_secrets.jsoninsidetaranis-ng-coreroot (NOTE: this will be properly configurable inside admin interface in the future)Create 2 usersuserandadminin USERS -> ADD USER. These are test users in TaranisNG at the moment.SetTARANIS_NG_AUTHENTICATOR=keycloakenvironment variable for the core service.Intaranis-ng-coreadd environment variable OPENID_LOGOUT_URL and set it according to your Keycloak installation e.g.http://127.0.0.1:8081/auth/realms/taranisng/protocol/openid-connect/logout?redirect_uri=<GOTO_URL>Intaranis-ng-guiadd these environment variables to activate external login:
VUE_APP_TARANIS_NG_LOGIN_URL=http://127.0.0.1:5000/api/auth/login;VUE_APP_TARANIS_NG_LOGOUT_URL=http://127.0.0.1:5000/api/auth/logout
Package: taranis-story-clustering
Story ClusteringThis code takes newsitems in the format as provided byTaranis-NGand clusters them into Stories.Description and UseThe approach supports the following functionalities:Automatically detect Events.News items are clustered based on the detected Events.Documents belonging to related Events are then clustered into Stories.Initial clusteringThe methodinitial_clusteringinclustering.pytakes as input a dictionary ofnews_items_aggregate(seetests/testdapa.pyfor the actual input format) and outputs a dictionary containing two keys:
("event_clusters" : list of list of documents ids) and
("story_clusters" : list of list of documents ids)Incremental clusteringThe methodincremental_clustering_v2takes as input a dictionary ofnews_items_aggregate, containing new news items to be clustered, andclustered_news_items_aggregate, containing already clustered items, and tries to cluster the new documents to the existing clusters or create new ones. Seetests/testdata.pyfor the actual input formats. This method also
outputs a dictionary containing two keys:
("event_clusters" : list of list of documents ids) and
("story_clusters" : list of list of documents ids)InstallationTherequirements.txtfile should list all Python libraries that the story-clustering
depends on, and they will be installed using:pip install .Developmentpip install .[dev]UseSeenotebook\test_story_clustering.ipynbfor examples on how to use the clustering methods.LicenseEUROPEAN UNION PUBLIC LICENCE v. 1.2
Package: tarantool
This package is a pure-python client library forTarantool.Documentation|Downloads|PyPI|GitHub|Issue trackerDownload and installWith pip (recommended)The recommended way to install thetarantoolpackage is usingpip.$pip3installtarantoolWith dnfYou can installpython3-tarantoolRPM package if you use Fedora (34, 35, 36).Add the repository$curl-Lhttps://tarantool.io/OtKysgx/release/2/installer.sh|bashand then install the package$dnfinstall-ypython3-tarantoolWith aptYou can installpython3-tarantooldeb package if you use
Debian (10, 11) or Ubuntu (20.04, 22.04).Add the repository$curl-Lhttps://tarantool.io/OtKysgx/release/2/installer.sh|bashand then install the package$aptinstall-ypython3-tarantoolZIP archiveYou can also download zip archive, unpack it and run:$makeinstallDevelopment versionYou can also install the development version of the package usingpip.$pip3installgit+https://github.com/tarantool/tarantool-python.git@masterWhat is Tarantool?Tarantoolis an in-memory computing platform originally designed byVKand released under the terms ofBSD license.FeaturesANSI SQL, including views, joins, referential and check constraintsLua packages for non-blocking I/O, fibers, and HTTPMessagePack data format and MessagePack-based client-server protocolTwo data engines:memtx – in-memory storage engine with optional persistencevinyl – on-disk storage engine to use with larger data setsSecondary key and index iterator support (can be non-unique and composite)Multiple index types: HASH, BITSET, TREE, RTREEAsynchronous master-master replicationAuthentication and access controlSee MoreTarantool homepageTarantool on GitHubTarantool documentationClient-server protocol specificationNOTEThis driver is synchronous, so connection mustn’t be shared between threads/processes.If you’re looking for an asynchronous Python driver based onasyncio,
consider usingasynctnt. See also thefeature comparison table.Run testsOn Linux:$maketestOn Windows:Setup a Linux machine with Tarantool installed.
This machine will be referred to asremotein this instruction.(Onremote) Copytest/suites/lib/tarantool_python_ci.luato/etc/tarantool/instances.available.(Onremote) Runtarantoolctl start tarantool_python_ci.Set the following environment variables:
*REMOTE_TARANTOOL_HOST=...,
*REMOTE_TARANTOOL_CONSOLE_PORT=3302.Runmake test.Build docsTo build documentation, first you must install its build requirements:$pip3install-rdocs/requirements.txtThen run$makedocsYou may host local documentation server with$python3-mhttp.server--directorybuild/sphinx/htmlOpenlocalhost:8000in your browser to read the docs.LicenseBSD-2-Clause. See theLICENSEfile.
Package: tarantool-py3
Python driver for Tarantool 1.6 (python 3)===============================This package is a pure-python client library for `Tarantool`_.`Documentation`_  |  `Downloads`_  |  `PyPI`_  |  `GitHub`_  | `Issue tracker`_.. _`Documentation`: http://tarantool-python.readthedocs.org/en/latest/.. _`Downloads`: http://pypi.python.org/pypi/tarantool#downloads.. _`PyPI`: http://pypi.python.org/pypi/tarantool.. _`GitHub`: https://github.com/tarantool/tarantool-python.. _`Issue tracker`: https://github.com/tarantool/tarantool-python/issues.. image:: https://travis-ci.org/tarantool/tarantool-python.svg?branch=master:target: https://travis-ci.org/tarantool/tarantool-pythonDownload and Install--------------------The recommended way to install ``tarantool`` package is using PIP^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^For Tarantool version < 1.6.0 you must get ``0.3.*`` connector version::$ pip install tarantool\<0.4For later Tarantool use version ``0.5.*`` connector version::$ pip install tarantool\>0.4You can also download zip archive, unpack it and run^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^::$ python setup.py installTo install development version of the package using pip^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^For Tarantool version < 1.6.0 you must get ``stable`` branch::$ pip install git+https://github.com/tarantool/tarantool-python.git@stableFor later Tarantool use ``master`` branch::$ pip install git+https://github.com/tarantool/tarantool-python.git@master--------------------------------------------------------------------------------What is Tarantool?------------------`Tarantool`_ is a NoSQL database running inside a Lua program. It combines the network programming power of Node.JS with data persistency capabilities of Redis. It's open source, `BSD licensed`_.Features--------* Lua packages for non-blocking I/O, fibers and HTTP* MsgPack data format and MsgPack based client-server protocol* Two data engines:* 100% in-memory with optional persistence* 2-level disk-based B-tree, to use with large data sets (powered by `Sophia`_)* secondary key and index iterators support (can be non-unique and composite)* multiple index types: HASH, BITSET, TREE* asynchronous master-master replication* authentication and access controlSee More^^^^^^^^* `Tarantool Homepage`_* `Tarantool at Github`_* `Tarantool User Guide`_* `Client-server Protocol Specification`_.. _`Tarantool`:.. _`Tarantool Database`:.. _`Tarantool Homepage`: http://tarantool.org.. _`Tarantool at Github`: https://github.com/tarantool/tarantool.. _`Tarantool User Guide`: http://tarantool.org/doc/user_guide.html.. _`Client-server protocol specification`: http://tarantool.org/doc/dev_guide/box-protocol.html.. _`Sophia`: http://sphia.org.. _`BSD licensed`: http://www.gnu.org/licenses/license-list.html#ModifiedBSD
Package: tarantool-queue
Python Bindings forTarantool Queue.Library depends on:msgpack-pythontarantoolBasic usage can be found in tests. Description on every command is in source code.Big thanks to Dmitriy Shveenkov andAlexandr (FZambia) Emelin.For install of latest “stable” version type:# using pip$sudopipinstalltarantool-queue# or using easy_install$sudoeasy_installtarantool-queue# or using python$wgethttp://bit.ly/tarantool_queue-Otarantool_queue.tar.gz$tarxzftarantool_queue.tar.gz$cdtarantool-queue-{version}$sudopythonsetup.pyinstallFor install bleeding edge type:$sudopipinstallgit+https://github.com/bigbes92/tarantool-queue-python.gitFor configuring Queue inTarantoolread manualHere.Then justimportit, createQueue, createTube,putandtakesome elements:>>>fromtarantool_queueimportQueue>>>queue=Queue("localhost",33013,0)>>>tube=queue.tube("name_of_tube")>>>tube.put([1,2,3])Nottakentaskinstance>>>task=tube.take()>>>task.data# take task and read data from it[1,2,3]>>>task.ack()# move this task into state DONETrueThat’s all, folks!See AlsoDocumentationQuick StartQueue API
Package: tarantool-utils
Caution! This module tested only with tarantool 1.5.By this time celery backend is not ready.Only one tarantool instance is supported by this time.tarantool_utils.django.TarantoolCachetarantool_utils.django.TarantoolSession (not ready)tarantool_utils.celery.TarantoolBackendtarantool_utils.celery.TarantoolTransport (not ready)tarantool_utils.sentry.TarantoolBufferInstallationTake expirationd and put it in tarantool script directory.https://github.com/mailru/tntlua/blob/master/expirationd.luafor tarantool 1.5https://github.com/tarantool/expirationd- tarantool 1.6Example tarantool.conf# Django cache
space[0].enabled = 1
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].fieldno = 0
space[0].index[0].key_field[0].type = "STR" # key
space[0].index[1].type = "TREE"
space[0].index[1].unique = 0
space[0].index[1].key_field[0].fieldno = 2
space[0].index[1].key_field[0].type = "NUM64" # timeout

# Sentry buffer
space[1].enabled = 1
space[1].index[0].type = "HASH"
space[1].index[0].unique = 1
space[1].index[0].key_field[0].fieldno = 0
space[1].index[0].key_field[0].type = "STR" # key
space[1].index[1].type = "TREE"
space[1].index[1].unique = 0
space[1].index[1].key_field[0].fieldno = 2
space[1].index[1].key_field[0].type = "NUM64" # timeout

space[2].enabled = 1
space[2].index[0].type = "HASH"
space[2].index[0].unique = 1
space[2].index[0].key_field[0].fieldno = 0
space[2].index[0].key_field[0].type = "STR" # key
space[2].index[0].key_field[1].fieldno = 1
space[2].index[0].key_field[1].type = "STR" # column
space[2].index[1].type = "TREE"
space[2].index[1].unique = 0
space[2].index[1].key_field[0].fieldno = 0
space[2].index[1].key_field[0].type = "STR" # key
space[2].index[2].type = "TREE"
space[2].index[2].unique = 0
space[2].index[2].key_field[0].fieldno = 3
space[2].index[2].key_field[0].type = "NUM64" # timeout

# Celery backend
space[3].enabled = 1
space[3].index[0].type = "HASH"
space[3].index[0].unique = 1
space[3].index[0].key_field[0].fieldno = 0
space[3].index[0].key_field[0].type = "STR" # key
space[3].index[1].type = "TREE"
space[3].index[1].unique = 0
space[3].index[1].key_field[0].fieldno = 2
space[3].index[1].key_field[0].type = "NUM64" # timeout