Saravanan666/pypi-org huggingface dataset:
Package: atalert
Atalert Python PackageAtalert.devToo many different data notifications or alert packages got you down?Start by using the Atalert Slack App to generate alert webhooks.Customize the template, delivery channel, and notify your team.Then, take note of the webhook URL slug for the code examples below!It's a best practice to make as many different webhooks as you need for other functional areas, such as code deployments, new user registrations, and results of a long-running data pipeline. If there's information somewhere that's difficult to get to, use Atalert to send it to your Slack workspace.Installationpip install atalertorpoetry add atalertBasic Usageimport atalert


# add these to wherever you need to send a slack atalert, customize with your own data payload

# send an 'ok' atalert
atalert.ok('alert_slug_here', data)

# send a 'warning' atalert
atalert.warn('alert_slug_here', data)

# send an 'error' atalert
atalert.err('alert_slug_here', data)You'll immediately get a custom alert notification in slack according to your webhook configuration.Then all your data or platform alerts are in the one place you are every day, Slack!Sending Files to SlackFirst, configure your alert within the Atalert Slack App to use the 'attachment' template type.Then, use any of the following methods:from atalert import ok_file, warn_file, err_file

# send 'data.json' in the current working directory as a file attachment with OK status
ok_file('alert_slug_here', './data.json')

# send 'error.log' in as a file with ERROR status
err_file('alert_slug_here', './error.log')

# send 'datacat.jpg' as a picture with WARNING status
warn_file('alert_slug_here', './datacat.jpg')Enjoy fine file-based data in your Slack workspace!Decorator UsageWant to simplify error notifications? Need to automatically send a method's return object somewhere? Use the decorators!from atalert import atalert_on_error
from atalert import atalert_ok_result

# decorator configured with a webhook url slug, will forward any exceptions
@atalert_on_error('alert_slug_here')
def main_processing_method(*args, **kwargs):

	# do some things here that may go wrong and throw exceptions
	numbers = business / 0

	return numbers

@atalert_ok_result('alert_slug_here')
def alternate_processing_method(*args, **kwargs):
	# do some math here that you want to send to slack
	numbers = statistics.stdev(args)
	# whatever you return will automagically go to your predefined slack channel
	return numbersYou'll get your code exception or method results sent directly to slack!
Package: atank
# atank#### 介绍
python发布程序实例#### 软件架构
软件架构说明#### 安装教程xxxxxxxxxxxx#### 使用说明xxxxxxxxxxxx#### 参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request#### 码云特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.md码云官方博客 [blog.gitee.com](https://blog.gitee.com)你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目[GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目，是码云综合评定出的优秀开源项目码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
Package: atap-corpus
ATAP CorpusProvides a standardised base Corpus structure for ATAP tools.Different Corpus can be sliced into subcorpus based on different criterias and will always return an subclass
instance of BaseCorpus.
The slicing criteria is flexible, it accepts a user defined function and comes with convenience slicing
operations layered on top of it out-of-the-box.
Subcorpus maintains a parent-child relationship with original corpus in a tree internally.Corpus can also be serialised and deserialised which can be used to carry across different ATAP analytics notebooks.pipinstallatap_corpusTestsTo run all the unit tests, there is a script you can execute../scripts/run_tests.shThis repo originated from Juxtorpus and is a decoupling effort.
Juxtorpus repo may be accessedhere.
Package: atap-corpus-loader
Corpus LoaderA GUI loader for atap_corpus using the Panel library. Provides a single Panel-compatible widget in which a user can construct a corpus object for use by the client code.File Type supportThe loader currently supports loading a corpus from the following file types:txtodtdocxcsvtsvxlsxodsrdsRData/RDaInstallationpython3-mpipinstallatap-corpus-loaderPrerequisitesPython 3.10DocumentationDocumentation can be found inDOCS.mdContributingThe package for this project is hosted on PyPi:https://pypi.org/project/atap-corpus-loader/Dependencies, publishing, and version numbering is handled byPoetryTo publish a new version:poetryconfigpypi-token.pypi<TOKEN>
poetryversionminor
poetrybuild
poetrypublishAuthorsHamish Croser-h-croserLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: atapi
Algorithmic Trading APIBacktest, forward tests and deploy trading algorithms and strategies on binance spot, futures and nft markets and other cryptocurrency exchanges, including arbitrage.Daily Close PricesDaily Logarithmic Returns, Mean ReturnsTangency Portfolio with optimal weightsMarket CapitalisationAnnualised Risk σ, Variance and ReturnCorrelation Matrix and CovarianceSystematic & Unsystematic VarianceSharpe, beta, CAPM, alphaInstallationpipinstallatapiInstructions on how to setup a your API key for the spot testnet:Binance Spot API KeyExport as environment variables:Bash/Sh/Zsh:exportBINANCE_API_KEY='your_api_key'exportBINANCE_API_SECRET='your_secret_key'# Checkecho$BINANCE_API_KEYecho$BINANCE_API_SECRETPowershell:$env:BINANCE_API_KEY='your_api_key'$env:BINANCE_API_SECRET='your_secret_key'# Check$env:BINANCE_API_KEY$env:BINANCE_API_KEYRun:python-matapiWelcometotheAlgorithmicTradingAPI.Typehelp/?forcommands.

atf🖖Examples (See Wiki for More)atf🖖helpDocumentedcommands(typehelp<topic>):========================================assets_closecorrelationmarketcap_summaryreturnsstats_mcap
balancecovariancemean_returnsservertimeweights_cwi
byehelpnormalizedstatsweights_ewi
circulating_supplymarketcapoptimal_weightsstats_indexweights_pwiatf🖖returnsBTCUSDTETHUSDTBNBUSDTXRPUSDTTRXUSDTLTCUSDTTP
Date2021-01-23-0.02670.00080.0004-0.00180.02350.00010.00042021-01-240.00570.12120.02210.00630.02500.02400.02212021-01-25-0.0002-0.05510.0002-0.0215-0.0168-0.02830.00022021-01-260.00660.03580.00010.00290.0000-0.01770.00012021-01-27-0.0669-0.0975-0.0231-0.0692-0.0437-0.0952-0.0231
........................2022-06-01-0.0648-0.0660-0.0660-0.0578-0.0101-0.0870-0.06602022-06-020.02150.00880.02600.01870.00910.02830.02602022-06-03-0.0250-0.0327-0.0320-0.0379-0.0389-0.0299-0.03202022-06-040.00550.01650.00900.0054-0.00830.01740.00902022-06-05-0.00030.0005-0.00130.0025-0.00220.0016-0.0013[499rowsx7columns]atf🖖correlationBTCUSDTETHUSDTBNBUSDTXRPUSDTTRXUSDTLTCUSDTTP
BTCUSDT1.00000.81850.67300.62150.67700.80430.6730
ETHUSDT0.81851.00000.69700.63900.68920.82680.6970
BNBUSDT0.67300.69701.00000.58320.60570.68961.0000
XRPUSDT0.62150.63900.58321.00000.64220.70940.5832
TRXUSDT0.67700.68920.60570.64221.00000.72490.6057
LTCUSDT0.80430.82680.68960.70940.72491.00000.6896
TP0.67300.69701.00000.58320.60570.68961.0000atf🖖statsReturnRiskSharpeVarianceSys.Var.Unsys.Var.betaCAPMalpha
BTCUSDT-0.07210.7503-0.13740.56300.6433-0.08030.39640.5978-0.6699
ETHUSDT0.27940.96860.25640.93820.86000.07820.52990.7887-0.5093
BNBUSDT1.46091.27391.12241.62291.6229-0.00001.00001.46090.0000
XRPUSDT0.26981.33630.17871.78570.99290.79280.61180.9058-0.6359
TRXUSDT0.75601.15590.62721.33600.89190.44410.54960.8168-0.0608
LTCUSDT-0.56291.1156-0.53241.24450.98010.26440.60390.8945-1.4574
TP1.46091.27391.12241.62291.6229-0.00001.00001.46090.0000DevelopmentRun:cdatapi
pipinstall.[dev]Projecthttps://github.com/streetyoga/atapiLicenseMIT
Package: atap-widgets
This package is part of theatapproject.FeaturesConversation recurrence plottingConcordance search and exportRequirementsPython 3.8+spacypandasInteractive widgets are designed for use in Jupyter Lab (3+)InstallationYou can installatap_widgetsviapipfromPyPI:$pipinstallatap_widgetsNOTE: on M1 Macs with the new Apple Silicon chip, you may need a Rust compiler installed. Rust can be installed with a single command viahttps://rustup.rs/. You may also needcmake: install via Homebrew withbrew install cmake.DevelopmentThis project usespoetryfor dependency management and
packaging. Please see thepoetrydocs for details.
Dependencies are specified inpyproject.toml.This repository is configured to automatically publish
new releases to PyPI if you merge a pull request with
an updated version number. That means to release
a new version with new features/fixes, you should:Create a branchPerform your work on that branchUpdate the package version, e.g. withpoetry version patchorpoetry version minorCommit the changes topyproject.tomlCreate a pull request for the branch on GitHubMerge the branch intomainwhen you’re ready to releaseContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,atap_widgetsis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
Package: atatus
This is the officialAtatus Python APM agent.This package allows you to monitor your python application for any performance issues and crashes.
Drill down slow database queries, slow third party requests, and more. Support is available for popular frameworks like Django and Flask.InstallationThe library can be installed using pip:pip install atatusResourcesDjango installationFlask installationRelease notesCopyrightCopyright (c) 2014-2023 Atatus. All rights reserved.
Package: ataxx
python-ataxx: A Python library for the board game AtaxxAboutpython-ataxx is written in Python 3 and supports basic features such as move generation, move validation, engine communication, and board printing. The API and rules for the game are still subject to change, be careful when updating.TestsRun the following command from the root project directorypython-munittestdiscoverUsage>>>importataxx>>>board=ataxx.Board()>>>board.makemove(ataxx.Move.from_san("g2"))>>>board.makemove(ataxx.Move.from_san("a7a5"))>>>board.get_fen()'6o/7/o6/7/7/6x/o5x x 1 2'FeaturesPrinting the board>>>board=ataxx.Board()>>>print(board)abcdefg╔═╦═╦═╦═╦═╦═╦═╗7║X║║║║║║O║7╠═╬═╬═╬═╬═╬═╬═╣6║║║║║║║║6╠═╬═╬═╬═╬═╬═╬═╣5║║║║║║║║5╠═╬═╬═╬═╬═╬═╬═╣4║║║║║║║║4╠═╬═╬═╬═╬═╬═╬═╣3║║║║║║║║3╠═╬═╬═╬═╬═╬═╬═╣2║║║║║║║║2╠═╬═╬═╬═╬═╬═╬═╣1║O║║║║║║X║1╚═╩═╩═╩═╩═╩═╩═╝abcdefgTurn:XFEN parsing>>>board=ataxx.Board("startpos")>>>board=ataxx.Board("x5o/7/2-1-2/7/2-1-2/7/o5x x 0 1")Result detection>>>board.gameover()True>>>board.fifty_move_draw()False>>>board.max_length_draw()FalseCommunication with UAI compatible engines>>>importataxx.uai>>>engine=ataxx.uai.Engine("tiktaxx")>>>engine.uai()>>>engine.isready()>>>engine.name'Tiktaxx'>>>board=ataxx.Board()>>>engine.position(board)>>>bestmove,ponder=engine.go(movetime=1000)>>>engine.go(movetime=1000)('a7b5',None)>>>engine.quit()Simple players>>>importataxx.players>>>board=ataxx.Board()>>>move=ataxx.players.greedy(board)>>>print(move)f2PGN writing>>>importataxx.pgn>>>board=ataxx.Board()>>>board.makemove(ataxx.Move.from_san("a7c5"))>>>board.makemove(ataxx.Move.from_san("b2"))>>>game=ataxx.pgn.Game()>>>game.from_board(board)>>>print(game)[Event"Example"][Result"*"]1.a7c5b2*
Package: atb-api
atb_apiThis API is a re-write of theUQ versionin Python 2.7This is a work in progress. It is for Lily's personal use, so not all features of the old API are supported yet.
Please open an issue on theIssue trackerif you notice a bug or need a feature.ExampleYou will need a valid ATB token to use this API. Please email the ATB administrators to request a token.Create an instance by passing an API token, or the filename of one:api=ATBApi(api_token="MY_TOKEN")Submit a molecule by passing in a PDB string or filename:molid=api.submit_molecule(my_pdb_file.pdb,net_charge=0,molecule_type="heteromolecule")assertisinstance(molid,int)Get a molecule with a molecule ID:molecule=api.get_molecule(molid=molid)print(molecule.atoms)print(molecule.bonds[0].code)Download a molecule file with a molecule ID:pdb_as_str=api.download_molecule(molid=903922,format="pdb",resolution="all_atom",optimized=True)CopyrightCopyright (c) 2022, Lily WangAcknowledgementsMany thanks to the originalATB APIfrom Bertrand Caron.Project based on theComputational Molecular Science Python Cookiecutterversion 1.6.
Package: atbot
Asynchronous Telegram BotThis project allows you to create asynchrounous Telegram Bots using Python 3.At the moment the API is sparse, feel free to add more methods via Pull Requests or submit Issues.Getting StartedGet the source usinggitgit clone https://github.com/naim94a/atbot.gitInstall usingpippip install atbotExampleimportosimportasynciofromatbotimportTelegramBot,TelegramMessage,ChatActionAPI_KEY=os.getenv('API_KEY')asyncdefhandle_message(bot,msg):ifmsg.text=='/start':awaitbot.send_chat_action(msg.chat.id,ChatAction.TYPING)awaitasyncio.sleep(0.2)awaitbot.send_message(msg.chat.id,'Hello,{0}!'.format(msg.sender.first_name))asyncdefmy_bot():bot=TelegramBot(API_KEY)whileTrue:updates=awaitbot.get_updates()forupdateinupdates:obj=update.get_obj()ifisinstance(obj,TelegramMessage):awaithandle_message(bot,obj)asyncio.run(my_bot())
Package: atbu-common-pkg
atbu-common-pkg (atbu.common) packageOverviewThe atbu.common package is used by the following projects:ATBU Backup & Persistent File Informationutility package (atbu-pkg).ATBU Multiprocessing Pipelinepackage (atbu-mp-pipeline-pkg).Included is support for the following:AesCbcPaddingEncryptorandAesCbcPaddingDecryptorfor AES CBC encryption/decryption with padding, related buffering/retention taken care automatically.MultiEncoderDecoderto allow defining/processing of .json encoding/decoding for multiple classes.Hasherwhich wraps multiple Python hashers for creating multiple hashes at once.SimpleReportwhich creates a simple report where  columns are wrappers. This is used by ATBU to report errors, sometimes containing lengthy messages. Note, there is an excellent Python reporting package,tabulatewhich offers extensive reporting... please see that first. This SimpleReport class was created because, at the time, certain wrapping capabilities were not yet released for the tabulate project.Singletonproviding singleton support.util_helpersproviding miscellaneous helper functions used by ATBU, such clearing files, detecting what could be a valid base64 string, and other miscellaneous tools.The main purpose of this repo is to carve out of ATBU what is more general for use in other projects going forward.SetupTo install atbu-common-pkg:pip install atbu-common-pkgSee source code for this and the other packages mentioned above for details and usage information.
Package: atbu-pkg
ATBU Backup & Persistent File Information is a local/cloud backup/restore
command-line utility with optional deduplication and bitrot detection,
plus a little utility with useful digest-based directory file diff'ing.Install:pip install atbu-pkgGitHub:https://github.com/AshleyT3/atbuDocumentation:https://atbu.readthedocs.io/en/latest/
Package: atc53
Aboutatc53 - library to createAWS Route53 Traffic Policy Documentdescriptions.This library operates in a similar fashion totroposphereby aiming for
compatibility and familiarity when defining infrastructure.Installationatc53 can be installed using the pip distribution system for Python by issuing:$pipinstallatc53ExamplesA simple example, showing a fail over rule between two load balancers:fromatc53importPolicyDocumentfromatc53.endpointimportEndpointfromatc53.rule.failoverimportFailoverRule,Primary,Secondaryp=PolicyDocument()main=Endpoint('MainEndpoint',Type='elastic-load-balancer',Value='elb-222222.us-west-1.elb.amazonaws.com')backup=Endpoint('BackupEndpoint',Type='elastic-load-balancer',Value='elb-111111.us-west-1.elb.amazonaws.com')rule=FailoverRule('TestFailoverRule',Primary=Primary(EndpointReference='MainEndpoint'),Secondary=Secondary(EndpointReference='BackupEndpoint'))p.add_endpoint(main)p.add_endpoint(backup)p.add_rule(rule)print(p.to_json())Licensingatc53 is licensed under theBSD 2-Clause license.
SeeLICENSEfor the full license text.
Package: atc-ble
ATC BLEATC BLE supportInstallationInstall this via pip (or your favourite package manager):pip install atc-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: atccondition
A Python Class for Akamai Test Center ConditionsAn Object oriented implementation of ATC Condition.
Akamai Condition class helps application developers in not knowing about the API calls and their usage.CredentialsIn order to use this configuration, you need to:Set up your credential files as described in theauthorizationandcredentialssections of the getting started guide on developer.akamai.com.When working through this process you need to give grants for the property manager API and the User Admin API (if you will want to move properties).  The section in your configuration file should be called 'default'.OverviewAn Object oriented implementation of ATC Condition.
Akamai Condition class helps application developers in not knowing about the API calls and their usage.Install Dependencies If you are using source code.$ pip install -r requirements.txtInstall pip package available$ pip install atcconditionInstantiate the object.>>> from atccondition import ATCCondition
>>> atcCondition = ATCCondition("/Users/apadmana.edgerc","<accountSwitchKey>")Create Response Code condition>>> atcCondition.responseCode([200,401])
12345Create a new version>>> atcCondition.redirect([301,302],'redirect.akamai.com')
12355Class Definitionclass ATCCondition():
    def __init__(self,edgercLocation,accountSwitchKey=None):

    def listConditions(self)
    def deleteCondition(self,conditionId)
    def deleteAllConditions(self)
    def responseCode(self,responsecodelist)
    def redirect(self,redirect_code_list,location)
    def tieredDistribution(self,isenabled)
    def logHeader(self,headerName,isenabled)
    def cookiesLogged(self,isenabled,cookieName=None)
    def lastMileAcceleration(self,isgzipped)
    def cache(self,option,ttl=None)
    def responseHeaderExists(self,headerName)
    def responseHeaderDoesNotExist(self,headerName)
    def responseHeaderHasNoValue(self,headerName)
    def getHasValueCondition(self,isHeader,varname,operator,varvalue)
    def responseHeaderBeginsWith(self,headerName,headerValue)
    def responseHeaderDoesntNotBeginWith(self,headerName,headerValue)
Package: atc-dataplatform
atc-dataplatformA common set of python libraries for DataBricks.Important NotesThis package can not be run or tested without access to pyspark.
However, installing pyspark as part of our installer gave issues when
other versions of pyspark were needed. Hence we took out the dependency
from our installer.InstallationGet it from PyPipip install atc-dataplatformDevelopment NotesTo prepare for development please install these additional requirements:Java 8pip install -r test_requirements.txtThen install the package locallypython setup.py developTestingAfter installing the dev-requirements, execute tests by runningpytest testsIf these tests don't pass, PRs will not be accepted. If you add features,
please include tests for these features.General Project InfoPackagesBuild Status
Package: atc-easy-desktop
EasyDesktop
EasyDesktop là một thư viện Python đơn giản cho phép thao tác với cửa sổ desktop trên hệ điều hành Windows.python
Copy code
desktop = EasyDesktop()
Sau đó, bạn có thể sử dụng các phương thức sau:go_to_xy(idx, x, y)
Di chuyển một mục trong cửa sổ desktop đến vị trí được chỉ định bởi tọa độ (x, y). Các tham số bao gồm:idx: Chỉ số của item.
x: Tọa độ x của vị trí đích.
y: Tọa độ y của vị trí đích.
desktop.go_to_xy(idx, x, y)
get_item_count()Trả về số lượng mục hiện có trong cửa sổ desktop.
count = desktop.get_item_count()
Package: atc-gym
ATC AIContainsA program that helps minimize air crashes by
using Machine Learning to control air traffic.A gym environment for ATC simulationImplementingenv.render()is not implemented, running it will raiseNotImplementedError.env.reset()opens the GUI.env.fpscontains the fps to run the game at. You can set it using:env.fps=60InstallationFor the latest installation (may be unstable)gitclonehttps://github.com/vivek3141/atc-ai
pipinstall-e.Install stable release bypipinstallatc-gymCreating The EnvironmentThe environment can be created by doing the following:importgymimportatc_gymenv=gym.make("atc-v0")Environmentsatc-v0Returns a NxN RGB image in the form of a numpy array for the observationsatc-tiled-v0Returns a NxN matrix for the observations.N is undecided until implementation
Package: atc-mi-interface
atc-mi-interfacePython tools and API for the "atc1441" and "pvvx" Xiaomi Mijia Thermometer custom firmwarePython components (API and command-line tools, including some GUI) to represent
the data model of the BLE advertisements of the Xiaomi Mijia Thermometer custom
firmware (ATC_MiThermometer) developed byatc1441andpvvx. When using the latest
releases of the "pvvx" firmware, it also allows to read and write the
firmware configuration parameters.A documented interface and a testing tool are included to receive, decode,
show, build and edit the BLE advertisements.Installation without GUI:pip install [ -i https://test.pypi.org/simple/ ] atc-mi-interfaceInstallation including wxPython prerequisites for the GUI:pip install [ -i https://test.pypi.org/simple/ ] atc-mi-interface[gui]Full information, installation notes, API reference and usage details at thepvvx/ATC_MiThermometer/python-interface repository.
Package: atcodercli
At-cliAt-cli, a lightweight, cross-platform, fast and beautiful command line interface forhttps://atcoder.jp.Multi-language supportNOTE: This content is in Chinese, doesn't matter if you use english.中文用户请务必看过来！这个程序是有中文支持的！检测语言使用了 locale 库，对于 windows，由于作者目前没有一台 windows 设备，无法进行测试（或许是可以的吧）。对于 linux，它的主要工作原理是检测环境变量LANG，请设置为zh_CN.UTF-8以使用中文。如果认为我（或其他译者）的文笔太差，或有未翻译文本，想要贡献翻译，详见Contribute translation章节。InstallationVia pypi packageThis package is available throughPYPI! Required python 3.11 or higher.$pipinstallatcodercliVia nix flakesAdd this to your flakes.nix:inputs={...atcodercli.url="github:rickyxrc/at-cli/tags/<version>";};And use like this:home.packages=[inputs.atcodercli.packages.${pkgs.system}.default];ConfigurationSee config.sample.yaml for details.WARNING: EVERY command defined here will DIRECTLY execute on your machine!Contribute translationWe currently usecrowdinand support Chinese only, if you want to contribute to other languages, let me know by issue.Something about codeNOTE: I'm too lazy, so this part is in Chinese.我发现我经常搞混几个概念，所以我把几个经常出现的名词的定义写在这里，也方便各位二次开发：template : 模板，也就是用于生成代码的基础，不应与文件（file）混淆file : 文件，也就是用模板生成的文件，不应与模板（template）混淆problems : 题目集，也就是 problem.yaml 中的内容，存储了题目和用题目生成的模板config : 配置项，也就是 ~/atcli/config.yaml 中的内容，存储了模板和比较器contest/init : 进行比赛，其实和 contest race 是一致的，但是计划将 init 作为 文件中统一的名称，而 race 作为命令别名checker : 差异比较器，不应和 diff 混淆最近正在根据定义重新修改代码中的部分内容，如果有错漏欢迎 PR。