Saravanan666/pypi-org huggingface dataset:
Package: pytango
Main website:http://pytango.readthedocs.ioPython binding forTango, a library dedicated to distributed control systems.DescriptionPyTangoexposes the completeTango C++ APIthrough thetangopython module.
It also adds a bit of abstraction by taking advantage of the Python capabilities:tango.clientprovides a client access to device servers and databases.tango.serverprovides base classes to declare and run device servers.RequirementsPyTangois compatible with python 3.9+.General dependencies:cppTango>= 9.5.0, and its dependencies: omniORB4 and libzmqBoost.Python>= 1.71Python dependencies:numpy>= 1.13.3psutilpackagingBuild dependencies:pypa-buildscikit-build-coreOptional dependencies (test):geventpytestpytest-forkedpytest-covpytest-asyncioNoteAs a general rule,cppTangoandpytangoshould share the same major
and minor version (for a versionX.Y.Z,XandYshould
match).
On some systems you may need to installomniORB4andlibzmqrelated
development packages.InstallPyTangois available onPyPIaspytango, with pre-built binaries for some platforms
(you need pip>=19.3, so upgrade first if necessary):$ python -m pip install --upgrade pip
$ python -m pip install pytangoAlternatively, pre-builtPyTangobinaries can be installed fromConda Forge_:$ conda install -c conda-forge pytangoFor the very latest code, or for development purposes,PyTangocan be built and installed from thesources.  This is complicated by the dependencies - see the Getting Started section in thedocumentation.UsageTo test the installation, importtangoand checktango.utils.info():>>> import tango
>>> print(tango.utils.info())
PyTango 9.5.0.dev0 (9, 5, 0, 'dev', 0)
PyTango compiled with:
    Python : 3.11.4
    Numpy  : 1.23.2
    Tango  : 9.5.0
    Boost  : 1.82.0

PyTango runtime is:
    Python : 3.11.4
    Numpy  : 1.26.0
    Tango  : 9.5.0

PyTango running on:
uname_result(system='Darwin', node='osloxf01', release='22.6.0', version='Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000', machine='arm64')For an interactive use, consider usingITango, a tangoIPythonprofile.DocumentationCheck out thedocumentationfor more information.Support and contributionYou can get support from theTango forums, for bothTangoandPyTangoquestions.All contributions,PR and bug reportsare welcome, please see:How to Contribute!
Package: pytanium
A front-end web testing tool in PythonWhyWe need a front-end testing tool that combines the strengths of existing
toolsComparisonFeatures not listed below are assumed to be the same among the tools,
ie. cross-browser testingCapabilityDescriptionSeleniumSahiWatirpytaniumEasy HTTPSAuto-accept SSL certsYesPro onlyYesYesPrevent alerts/confirms/promptsDoesn’t block on these eventsNoYesNoYes*Prevent printDoesn’t block on printNoYesNoYes*AJAX waitsWaits for AJAX calls to completeNoYesNoYes*File downloadsAllows files to be savedNoYesNoNoRelational identifiersIdentify objects using in, near, contains etcNoYesNoTo doRecorder/Object spyEasy identification of elementsYesYesNoTo doLanguagesProgramming languagesManyJavaScript/Java/RubyRubyPythonCross-domain supportConsistent cross-domain supportYesOccasional configurationYesYesDebuggingBreakpoints and introspectionYesSort of**YesYesTechnologyBrowser interaction methodNativeJavaScript eventsNativeNative*Works as long as the event isn’t triggered before the document is
loaded**Sahi supports running a script line by line. For introspection,
JavaScript must be executed while the script is paused.HowPytanium uses thepython binding for selenium. To provide the
features not typically included with Selenium (AJAX waits, blocking
print calls, etc), pytanium injects javascript on nearly every call to
the browser. This doesn’t have a noticeable impact on performance.Language FeaturesPytanium makes it easy to switch from Selenium, Sahi, or Watir. In doing
so, it supports a lot of the same syntax from each of these tools.SeleniumIf you’re writingselenium with pythonyou don’t have to change your
existing code, it’s syntactically correct pytanium code.SahiPytanium’s features are heavily inspired by Sahi, so a lot of Sahi’s
syntax works.Recorder/Object spySahi has an excellent object spy and recorder. The pytanium recorder
will be a fork of Sahi Open Source with added pytanium support.LicenseLGPL
Package: pytankerkoenig
pytankerkoenigPython package for fuel data from tankerkoenig.dePrerequisitesYou need to request an API-Key here:https://creativecommons.tankerkoenig.de.For station details, find the station id via this tool:https://creativecommons.tankerkoenig.de/TankstellenFinder/index.htmlInstallation$pipinstallpytankerkoenigUsegetStationData(API_KEY, STATION_ID)>>>importpytankerkoenig>>>data=pytankerkoenig.getStationData('00000000-0000-0000-0000-000000000002','24a381e3-0d72-416d-bfd8-b2f65f6e5802')>>>print(data){'ok':True,'license':'CC BY 4.0 -  https://creativecommons.tankerkoenig.de','data':'MTS-K','status':'ok','station':{'id':'24a381e3-0d72-416d-bfd8-b2f65f6e5802','name':'Esso Tankstelle','brand':'ESSO','street':'HAUPTSTR. 7','houseNumber':' ','postCode':84152,'place':'MENGKOFEN','openingTimes':[{'text':'Mo-Fr','start':'06:00:00','end':'22:00:00'},{'text':'Samstag','start':'07:00:00','end':'22:00:00'},{'text':'Sonntag, Feiertag','start':'08:00:00','end':'22:00:00'}],'overrides':[],'wholeDay':False,'isOpen':True,'e5':1.009,'e10':1.009,'diesel':1.009,'lat':48.72210601,'lng':12.44438439,'state':None,},}getPriceList(API_KEY, STATION_IDS[])>>>importpytankerkoenig>>>data=pytankerkoenig.getStationData('00000000-0000-0000-0000-000000000002',['5bd71e9d-7001-4908-a29d-36c28d6eb615','005056ba-7cb6-1ed2-bceb-92a737c6ad35'])>>>print(data){'ok':True,'license':'CC BY 4.0 -  https://creativecommons.tankerkoenig.de','data':'MTS-K','prices':{'005056ba-7cb6-1ed2-bceb-92a737c6ad35':{'status':'open','e5':1.234,'e10':1.234,'diesel':1.234,},'5bd71e9d-7001-4908-a29d-36c28d6eb615':{'status':'open','e5':1.234,'e10':1.234,'diesel':1.234,}},}getNearbyStations(API_KEY, LATITUDE, LONGITUDE, RADIUS, TYPE, SORT)>>>importpytankerkoenig>>>data=pytankerkoenig.getNearbyStations('00000000-0000-0000-0000-000000000002','50.75','7.25','3','all','dist')>>>print(data){'ok':True,'license':'CC BY 4.0 -  https://creativecommons.tankerkoenig.de','data':'MTS-K','status':'ok','stations':[{'id':'1bb14157-1242-41fc-a74a-4f916dea4634','name':'Sankt Augustin Birlinghoven','brand':'Mundorf Tank','street':'Pleistalstraße','place':'Sankt Augustin-Birlinghoven','lat':50.748416,'lng':7.225838,'dist':1.7,'diesel':1.009,'e5':1.009,'e10':1.009,'isOpen':False,'houseNumber':'231','postCode':53757},{'id':'d4a4644c-cd86-42a5-9cfa-ec6c58204312','name':'Hennef-Geistingen','brand':'Mundorf Tank','street':'Stoßdorfer Straße','place':'Hennef-Geistingen','lat':50.773616,'lng':7.265088,'dist':2.8,'diesel':1.009,'e5':1.009,'e10':1.009,'isOpen':True,'houseNumber':'8a','postCode':53773}]}
Package: pytao
PyTaoPyTaois Python interface forTao, which is based on the Bmad subroutine library for relativistic charged–particle and X-ray simulations in accelerators and storage rings.Documentation for Bmad and Tao, as well as information for downloading the code if needed is given on theBmad website.DocumentationInstallationSee thePyTao installation instructionsfor details. The preferred installation method is using conda:$ conda install -c conda-forge pytaoCurrently PyTao requires an installed Bmad distribution compiled with theACC_ENABLE_SHARED="Y"flag. This can be set in thebmad_dist/util/dist_prefsfile.Current Build status and Release InfoAll platforms:NameDownloadsVersionPlatformsResourcesBmad websiteLicenseGNU General Public License
Package: py-taobao-open
淘宝开放平台Python 3 SDK基于淘宝开放平台服务端SDK修改，修复原版本无法在Python
3环境下正常运行的问题，以及包名称top->taobao_open。安装pipinstallpy-taobao-open# 清华源pipinstallpy-taobao-open-ihttps://pypi.tuna.tsinghua.edu.cn/simple/使用说明importtaobao_openapp_key=''app_secret=''defdg_optimus_material():req=taobao_open.api.TraderatesGetRequest()req.set_app_info(taobao_open.appinfo(app_key,app_secret))req.adzone_id='xxx'req.material_id='xxx'try:resp=req.getResponse()print(resp)exceptExceptionase:print(e)
Package: pytaon
Motor de jogos simples que utiliza física baseado em Pyxel.InstalaçãoClone este repositório e utilizeflit install-spara instalar localmente.
Em breve teremos suporte parapip install pytaon;-).TutorialCriamos uma simulação simples de duas caixas sujeitas à lei da gravidade.importpytaonasonimportpyxelWIDTH=120HEIGHT=80Criamos os objetos de jogo, junto ao espaço correspondentesp=on.Space()bola=sp.add_circle(5,(120,90),color=pyxel.COLOR_RED)chao=sp.add_aabb(0,160,240,180,color=pyxel.COLOR_LIME,mass="inf")bola.gravity=(0,20)Iniciamos a simulação passando as funções update e draw para o pyxel.defupdate():sp.update(1/30)defdraw():pyxel.cls(pyxel.COLOR_BLACK)sp.draw()pyxel.init(240,180,fps=30)pyxel.run(update,draw)
Package: pytap2
Fork ofPyTapthat supports Python 3.RequirementsTheifconfigcommand line utility must be installed forpytap2to operate.To installifconfigon Debian/Ubuntu:$sudoaptinstallnet-toolsTo installifconfigon RHEL/Rocky Linux/Fedora:$sudoyuminstallnet-toolsInstallationYou can install, upgrade, and uninstallpytap2with these commands:$pipinstallpytap2$pipinstall--upgradepytap2$pipuninstallpytap2UsageUsing as a context manager automatically brings up the device and closes it at the
end of thewithblock.frompytap2importTapDevicewithTapDevice()asdevice:device.ifconfig(mtu=1300)device.write(b'0000')Or manually callup()andclose().frompytap2importTapDevicedevice=TapDevice()device.up()device.ifconfig(mtu=1300)device.write(b'0000')device.close()Thefileno()method is defined, so that the device object can be passed directly
toselect().Releases2.3.0 - 2023-04-28Drop Python 3.7 and support Python 3.11Support Mypy type checking for users2.2.0 - 2021-11-06Drop Python 3.6 and support Python 3.10.Document dependency onifconfig2.1.0 - 2020-12-30Drop Python 3.5 and support Python 3.9.Switch to GitHub Actions for CI.2.0.0 - 2020-03-29Drop Python 2.7.1.6.0 - 2019-12-15Drop Python 3.4 and support Python 3.8.Include license file.1.5.0 - 2018-07-09Support Python 3.7.1.4.0 - 2017-10-24Allow disabling packet information header (IFF_NO_PI) and defaultread()to read entire
MTU worth of data plus the packet information header if present.1.3.0 - 2017-07-31Addfileno()method to supportselect()calls.1.2.0 - 2017-06-19Context manager support added.1.1.0 - 2017-06-17Allowread()to be called with a specific number of bytes to read.1.0.0 - 2017-06-16Initial release that supports Python 2 and 3.
Package: pyTape
pyTape“pyTape”模块加入了一个叫做“Tape”的数据类型，“Tape”包含了一条很长的“带子”用来记录信息，另外还有一枚“指针”指向带子上面任意的位置，操作上面的数据。这个模块原来是为上课的时候摸鱼，尝试brainfxxk这样思路清奇语法有趣的语言而准备的。使用方法“exce()”开启新世界。安装与使用pip install pyTape或者进入dist目录直接选择whl安装导入模块使用from pyTape import pyTape或者可以为了使用方便，写成from pyTape import pyTape as ptscript/dist目录下有两个文件，可以在windows或linux环境中执行一些brainfxxk指令。使用方法：cpl {文件名} {文件名}接受若干个文件名作为参数，此时，这些文件里储存的brainfxxk指令将逐条地在命令行里执行若没有提供任何文件名，cpl则会开始交互式brainfxxk编程，用“q”或“exit()”退出关于列表的操作记录信息的“带子”用一个列表实现，截取列表里面的某一段信息可以使用这样的表达:{实例名}[下标]=等同于={实例名}.reg[下标]获取列表里所含元素的数量可以使用这样的表达:len({实例名})=等同于=len({实例名}.reg)输出列表可以使用这样的表达:print({实例名})=等同于=print({实例名}.reg)列表里面最小的元素值为0，类型全部为整数，也就是说列表里不会出现负数，只会出现正整数。exce()实现brainfxxk语法exce()需要两个参数，其中一个是self，另外一个参数作为brainfxxk指令，以字符串的形式传递，如：{实例名}.exce(<brainfxxk指令>)或者{实例名}(<brainfxxk指令>)关于brainfxxk指令这个模块暂时只支持+ - < > [ ] , .几种运算运算符"+"使指针所指元素的值+1运算符"-"使指针所指元素的值-1运算符"<"指针指向左边一个元素运算符">"指针指向右边一个元素运算符"["与"]"两个中括号括起来的运算作为循环体，指针所指元素作为while循环的条件运算符","请求一个输入，覆盖指针所指元素原来的值运算符"."将指针所指元素转换成字符类型输出其他操作运算符"("与")"用括号括起来的部分循环n遍，n作为一个正整数紧贴在左边的括号外如+>+>+>可以写成3(+>)若需要循环的部分为单个运算符（"("除外），则可以直接省略括号如+++可以写成3+运算符"?"输出一个整数，指针指向元素的下标运算符"&"输出一个整数，指针所指元素的值运算符"*"重置列表运算符"!"将指针指向元素的值为n，则将指针重新指向列表中下标为n的元素Tape的加法加法符号左右必须都是Tape类型数据，加法的结果为两个列表的元素各自相加Tape的减法减法符号两边必须是Tape类型数据，左边为被减数右边为减数，结果是两个列表的元素各自相减取绝对值(因为列表里面不能存在负数)Tape的乘法乘法符号左右必须都是Tape类型数据，结果为两个列表的元素各自相乘Tape的除法除法符号两边必须是Tape类型数据，左边为被除数右边为除数，结果是两个列表的元素各自相除取整(因为列表里面只能有正整数)Tape取模%两边必须是Tape类型数据，左边为被除数右边为除数，结果是两个列表的元素各自取模更新0.0.5调整了运算符"[]","]"使循环嵌套可能改掉一些小问题
Package: py-taplo
py-taploPython wrapper for taplo TOML toolkitFree software: MIT licenseDocumentation:https://py-taplo.readthedocs.io.CreditsThis package was created with Cookiecutter andrstms/cookiecutter-python-cli, a fork of theaudreyr/cookiecutter-pypackageproject template.audreyr/cookiecutteraudreyr/cookiecutter-pypackagerstms/cookiecutter-python-cli
Package: pytaraxa
pytaraxaTaraxa RPC client in python.pytaraxa pypi address:pytaraxaTaraxa official website:taraxa.ioinstallgit clone https://github.com/Taraxa-project/taraxa-py
cd taraxa-py
python setup.py installorpip install pytaraxaconfigdefault parameters:config={"ip":"127.0.0.1","port":7777,"jsonrpc":2.0,"id":1}for all methods, if no parameter given, default will be used.package level config set and reset.any of below config will influence the whole packge.importpytaraxa.jsonrpcasrpcimportpytaraxa.ethasethimportpytaraxa.taraxaastaraxaimportpytaraxaa.netasnetrpc.set({"ip":"127.0.0.1","port":7777,"jsonrpc":2.0,"id":1})eth.set({"ip":"35.224.183.106",})taraxa.set({"ip":"35.224.183.106",})net.set({"ip":"35.224.183.106",})rpc.reset()eth.reset()taraxa.reset()net.reset()function level config setfunction level config set only influence the function it self once.importpytaraxa.ethasethr=eth.blockNumber(ip='127.0.0.1',port=7777)print(r)usagelow level useimportpytaraxa.jsonrpcasrpcdata='{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'r=rpc.send(data)print(r)data={"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}r=rpc.send(data)print(r)data can be json string or dict. response is json string.middle level usefrompytaraxa.jsonrpcimport*r=eth_blockNumber()print(r)response is json string.high level useimportpytaraxa.ethasethr=eth.blockNumber()print(r)response is parsed to python types.ethereum web3 like usefrompytaraxa.web3importWeb3w3=Web3(ip="35.224.183.106",port=7777)r=w3.blockNumber()print(r)w3.ip="35.224.183.106"w3.port=7778r=w3.blockNumber()print(r)Web3 object w3 will hold the ip and port once you set.w3 method will use the ip and port you set until you reset it.sub packagesjsonrpcethweb3netTODOadminTODOadmmin_netTODOdebugTODOtestTODO
Package: pytaridx
Python interface for reading and appending tar files, while keeping a
fast index for finding and reading files in the archive.This interface has been successfully used to store and manage over one
billion files in one of the Pilot-2 simulation campaigns.Written by Tomas Oppelstrup as part of the DOE/NCI Pilot-2 project,
based on an initial (simpler) index implementation by Tomas
Oppelstrup, December 11, 2018. Updated to support Python 3 as a module by Francesco DiNatale.A script for correctness checking and examples of use can be found in
tests/indextest.py. The simplest way to run the tests is by e.g.:
cd test
./testscript.shThis software is distributed under the MIT license; see the file
"LICENSE" for details. This software was developed at the Lawrence
Livermore National Laboratory and has the release number
LLNL-CODE-826782; see the file "NOTICE" for details.
Package: pytaringa
#pyTaringaUna librería para realizar acciones en Taringa.net#Requerimientos* Python2* requestsPara instalar en su proyecto:```bashpip install pytaringa```##EjemploTodos los ejemplos tienen el siguiente encabezado```python# -*- coding: utf-8 -*-import timeimport sysfrom pytaringa import Taringa, Shout, Kn3if __name__ == '__main__':username = "USERNAME"password = "PASSWORD"taringa = Taringa(username,password)shout =  Shout(taringa.cookie)print taringa.usernameprint taringa.passwordprint taringa.user_keyprint taringa.user_idprint taringa.cookie#Crear un shoutprint shout.add("Hola a todos")time.sleep(10)#Crear un shout con una imagenprint shout.add("#PyT ImageShout",1,0,Kn3.import_to_kn3("http://traduccionesyedra.files.wordpress.com/2012/04/testing.jpg"))#Obtener el id de un usuarioprint taringa.get_user_id_from_nick("anpep")#Dar like a un shoutprint shout.like("50735408","19963011")#Eliminar un shoutprint shout.delete("50735241")#Obtener los datos de un shoutprint shout.get_object("47420358")["body"]#Obtener el último shout de un usuariolastShout = shout.get_last_shout_from_id("19963011")print lastShoutprint shout.get_object(lastShout)["body"]#Importar una imagen a kn3print Kn3.import_to_kn3("http://conociendogithub.readthedocs.org/en/latest/_images/GitHub.png")```Todos los ejemplos están en el archivo `examples/test.py`Para probar ejecuta:USERNAME=taringo PASSWORD=shalala python -m pytaringa.examples.test##TODO* Comentar el código* Añadir funcionalidades para los post
Package: pytarkov
Python wrapper for Escape from Tarkov API provided byhttps://tarkov-market.comInstallingPython 3.6 or higher is requiredTo install the library, you can just run the following command:# Linux/macOSpython3-mpipinstall-Upytarkov# Windowspy-3-mpipinstall-UpytarkovGetting API keyYou can get your API key fromhere.Quick Exampleimportpytarkovclient=pytarkov.PyTarkov("api-key-here")item=client.get_item_by_name("bitcoin")print(f"{item.name}price:{item.price}")
Package: pytask
pytask is a workflow management system that facilitates reproducible data analyses. Its
features include:Automatic discovery of tasks.Lazy evaluation.If a task, its dependencies, and its products have not changed,
do not execute it.Debug mode.Jump into the debuggerif a task fails, get feedback quickly, and be more productive.Repeat a task with different inputs.Loop over task functionsto run the same task with different inputs.Select tasks via expressions.Run only a subset of tasks withexpressions and marker expressions.Easily extensible with plugins. pytask is built onpluggy, a plugin management framework that
allows you to adjust pytask to your needs. Plugins are available forparallelization,LaTeX,R, andStataand more can be foundhere. Learn more about plugins inthis tutorial.Installationpytask is available onPyPIand onAnaconda.org. Install the package with$pipinstallpytaskor$condainstall-cconda-forgepytaskColor support is automatically available on non-Windows platforms. On Windows, please,
useWindows Terminal, which can be, for
example, installed via theMicrosoft Store.To quickly set up a new project, use thecookiecutter-pytask-projecttemplate or start fromother templates or example projects.UsageA task is a function that is detected if the module and the function name are prefixed
withtask_. Here is an example.# Content of task_hello.py.frompathlibimportPathfrompytaskimportProductfromtyping_extensionsimportAnnotateddeftask_hello_earth(path:Annotated[Path,Product]=Path("hello_earth.txt")):path.write_text("Hello, earth!")The purpose of the task is to create the filehello_earth.txtand add some content.To tell pytask thathello_earth.txtis a product and not an input, use theProductannotation.(If you are not used to type annotations, do not worry. pytask also offers simpler
interfaces without type annotations.)Since you pass apathlib.Pathto the function, pytask will check whether the file
exists after the function is executed.To execute the task, enterpytaskon the command-lineDocumentationYou find the documentationhttps://pytask-dev.readthedocs.io/en/stablewithtutorialsand guides
forbest practices.ChangesConsult therelease notesto
find out about what is new.Licensepytask is distributed under the terms of theMIT license.AcknowledgmentThe license also includes a copyright and permission notice frompytestsince some modules, classes, and
functions are copied from pytest. Not to mention how pytest has inspired the development
of pytask in general. Without the excellent work ofHolger Krekeland pytest's many contributors, this project
would not have been possible. Thank you!pytask owes its beautiful appearance on the command line torich, written byWill McGugan.Repeating tasks in loops is inspired bywardwritten byDarren Burns.CitationIf you rely on pytask to manage your research project, please cite it with the following
key to help others to discover the tool.@Unpublished{Raabe2020,Title={A Python tool for managing scientific workflows.},Author={Tobias Raabe},Year={2020},Url={https://github.com/pytask-dev/pytask}}
Package: py-task
py-task is a task scheduling tools for Python.Support repeat triggerSupport cron triggerEasy to use in PythonInstallationThe lastest stable is py-task-1.0.tar.gzpythonsetup.pyinstallGetting Startdemo for py-task:fromtaskimporttaskfromtaskimporttask_containerfromtask.jobimportjobfromtask.triggerimportcron_triggerclassMyJob(job.Job):def__init__(self):passdefexecute(self):print'Hello now is '+str(time.time())cron='0-59/5 10,15,20 * * * * 2015'new_task=task.Task('Task',MyJob(),cron_trigger.CronTrigger(cron))container.add_task(new_task)container.start_all()DocumentationFull documentation is hosted on [HERE]().
Sources are available in thedocs/directory.Licensepy-task is licensed under the Apache License, Version 2.0. See LICENSE for full license text
Package: pytask-environment
pytask-environmentpytask-environment allows you to detect changes in your pytask environment and abort a
project build.Installationpytask-environment is available onPyPIandAnaconda.org. Install it with$pipinstallpytask-environment#or$condainstall-cconda-forgepytask-environmentUsageIf the user attempts to build the project withpytask buildand the Python version has
been cached in the database in a previous run, an invocation with a different
environment will produce the following command line output.Running$pytask--update-environmentwill update the information on the environment.To disable either checking the path or the version, set the following configuration to a
falsy value.[tool.pytask.ini_options]check_python_version=false# true by defaultcheck_environment=false# true by defaultFuture developmentThe plugin might be further extended to compare the current environment against anenvironment.ymlor a list of packages and versions to ensure that the environment is
not altered.ChangesConsult therelease notesto find out about what is new.
Package: pytask-io
Pytask IOAsynchronous Tasks Library using asyncioAn Asyncio based task queue that is designed to be super easy the use!Read the docs:DocumentationInstallpipinstallpytask-io

dockerrunredis# Rabbit MQ coming soon...Usagefrompytask_ioimportPyTaskIO# Starts the task runnerpytask=PytaskIO(store_port=6379,store_host="localhost",db=0,workers=1,)# Start the PytaskIO task queue on a separate thread.pytask.run()# Handle a long running process, in this case a send email functionmetadata=pytask.add_task(send_email,title,body)# Try once to get the results of your email sometime in the futureresult=pytask.get_task(metadata)# Later we can use the `metadata` result to pass to `add_task`result=pytask.poll_for_task(metadata,tries=100,interval=60)# Stop PytaskIO completely (This will not affect any units of work that haven't yet executed)pytask.stop()Compatible task typesPyTaskIO will always return back the task meta data.
Do not embed Python objects of type frame, generator, traceback & context objects.
In this case you will get back the exception thrown when PyTaskIO attempts to execute the serialization.Authorsjoegasewicz-Initial work-@joegasewiczContributingPull 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.LicenseMIT