Saravanan666/pypi-org huggingface dataset:
Package: ace-sklearn-crfsuite
General Informationace-sklearn-crfsuite is a fork ofsklearn-crfsuite, adapted to fit modern versions of scikit-learn.This version went for the strict minimum, and only support pyhton 3.10.License is MIT.How to installThe package is available as apippackage.pip install ace-sklearn-srfsuiteHow to useWe provide atutorialto demonstrate how the package supports the integration of sklearn recent improvements to the existing code base.This tutorial is heavily inspired by the original one available in thesklearn-crfsuitedocumentation.How to contributeThe project usepipenvto allow easy external contributions. Using the–devoption install the development tools (tests, build and deploy)pipenv install –devOne can start an environment will all dependencies satisfied using the following command:pipenv shellInside this environment, to run the tests:python -m pytest tests/test_*.pyTo check code coverage, one need to fiurst run the tests with coveragem, and then ask for a report.coverage run -m pytest tests/test_*.pycoverage reportTo build the code as a deployable package:python -m buildTo upload the freshly built packages to PyPi:twine upload -r testpypi dist/*Remove-r testpypiif the deployment went well, to publish to the real PyPi repository
Package: aces-metric
ACESThis is the repository of Audio Captioning Evaluation on Semantics of Sound (ACES).In here you will find the instructions how to train an ACES model and calculate statistics.Installationpipinstallaces-metricUsageThe candidates can be a list, the references can be a list or a list of lists.fromacesimportget_aces_scorecandidates=["a bunch of birds are singing"]references=["birds are chirping and singing loudly in the forest"]score=get_aces_score(candidates,references,average=True)Semantics of soundsTo get an output of classes of semantic groups from a caption:fromtransformersimportpipelinepipe=pipeline("token-classification","gijs/aces-roberta-13",aggregation_strategy="simple")pipe("Bird chirps in the tree while a car hums")EvaluationAll the code that is used to evaluate different models for the research paper can be found in theevaluationfolder on thegithub. Particularly, the model evaluation can be found inevaluation/eval.py, and information about the FENSE experiment can be found inevaluation/fense_experiment/main.py.
Package: aceso
# aceso [![PyPI version](https://badge.fury.io/py/aceso.svg)](https://badge.fury.io/py/aceso) [![Build Status](https://travis-ci.org/tetraptych/aceso.svg?branch=master)](https://travis-ci.org/tetraptych/unrasterize) [![Coverage Status](https://coveralls.io/repos/github/tetraptych/aceso/badge.svg?branch=master)](https://coveralls.io/github/tetraptych/aceso?branch=master) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
Aceso is a lightweight package to calculate 2SFCA and other measures of spatial accessibility.This package shares a name with [the Greek goddess of the healing process](https://en.wikipedia.org/wiki/Aceso). The two go hand-in-hand, since the most common applications of 2SFCA and gravity models of spatial interaction are for measuring spatial access to healthcare services.## Installationacesois available on [PyPI](https://pypi.org/project/aceso/) and can be installed via the following command:` pip install aceso `The only dependency isnumpy.## Gallery![Potential spatial access to abortion clinics in Texas (2017)](https://farm1.staticflickr.com/902/39848822400_197406d944_z_d.jpg“Gravity model using raised cosine decay with 3 hour driving radius”)
Package: acesql
acesql_pypiThis is an project to allow users to have access to databases on ACE platform.UsagefromacesqlimportwriteSQL## Parameters# df: spark dataframe which cantains the data# url: jdbc url - i.e: jdbc:sqlserver://url:portnumber# database: Name of the database to write - i.e.: ace-db# dbtable: schema and abd the name of the table - i.e.: dbo.dbs# username: Username of the database# password: Password of the userwriteSQL(df,url,database,dbtable,username,password)fromacesqlimportreadSQL# url: jdbc url - i.e: jdbc:sqlserver://url:portnumber# database: Name of the database to write - i.e.: ace-db# dbtable: schema and abd the name of the table - i.e.: dbo.dbs# username: Username of the database# password: Password of the userdefreadSQL(url,database,dbtable,username,password):DevelopingTo onstall acesqlm along with the tools you need to develop and run tests, run the following in your vistualenv:pipinstall-e.[dev]
Package: acestream
Python AceStreamPython interface to interact with the AceStreamEngine,HTTP APIandSearch API.Installationpip install acestreamUsageimporttimeimportsubprocessfromacestream.serverimportServerfromacestream.engineimportEnginefromacestream.streamimportStream# Create an engine instanceengine=Engine('acestreamengine',client_console=True)# Connect to a remote serverserver=Server(host='streams.com',port=6880)# If the remote server is not available, connect to a local serverifnotserver.available:server=Server(host='127.0.0.1',port=6878)# Start engine if the local server is not availableifnotserver.available:engine.start()# Wait for engine to startwhilenotengine.running:time.sleep(1)# Start a stream using an acestream channel IDstream=Stream(server,id='ff36fce40a7d2042e327eaf9f215a1e9cb622b56')stream.start()# Open a media player to play the streamplayer=subprocess.Popen(['mpv',stream.playback_url])# Wait for player to close and stop the streamplayer.communicate()stream.stop()# Stop acestream engineengine.stop()Searchimporttimeimportrandomimportsubprocessfromacestream.serverimportServerfromacestream.engineimportEnginefromacestream.searchimportSearch# Create an engine instanceengine=Engine('acestreamengine',client_console=True)# Connect to a local serverserver=Server(host='127.0.0.1',port=6878)# Start engine if the local server is not availableifnotserver.available:engine.start(stdout=subprocess.PIPE,stderr=subprocess.PIPE)# Wait for engine to startwhilenotengine.running:time.sleep(1)# Start a search for the sport categorysearch=Search(server,category='sport')search.get(page=1)# Iterate and print search resultsforresultinsearch.results:print("%40s%10s%40s"%(result.name,result.bitrate,result.infohash))# Start a random stream from the search resultsstream=random.choice(search.results).streamstream.start(hls=True,transcode_audio=True)# Open a media player to play the streamplayer=subprocess.Popen(['mpv',stream.playback_url])# Wait for player to close and stop the streamplayer.communicate()stream.stop()# Stop acestream engineengine.stop()ContributingBug reports and pull requests are welcome on GitHub athttps://github.com/jonian/python-acestream.LicensePython AceStream is available as open source under the terms of theGPLv3
Package: acestream-launcher
Acestream LauncherAcestream Launcher allows you to open Acestream links with a Media Player of your choiceDependenciespython, pyhon-acestream, libnotify, acestream-engineSincev1.0.0acestream-launcher usesAcestream Engine HTTP APIthat is available on acestream-enginev3.1or later.Usageacestream-launcherURL[--playerPLAYER][--engineENGINE]Positional argumentsURL                    The acestream url to playOptional arguments-h, --help             Show this help message and exit
-p, --player  PLAYER   The media player command to use (default: mpv)
-e, --engine  ENGINE   The engine command to use (default: acestreamengine --client-console)
-t, --timeout TIMEOUT  Time in seconds to wait for stream playback (default: 30)
-l, --hls              Get HLS stream instead of HTTP stream
-v, --verbose          Show engine and media player output in consoleConfigurationCreate~/.config/acestream-launcher/configfile to override the default arguments. Usettyandbrowsersections to set different options when executing the script from the console or the web browser.[DEFAULT]
player = vlc
verbose = true
timeout = 60
host = 127.0.0.1
port = 6878

[tty]
engine = acestreamengine --client-console --log-file /home/jonian/.ACEStream/engine.log

[browser]
engine = acestreamengine --client-gtk --log-file /home/jonian/.ACEStream/browser.log
verbose = falseRequirementsInstall required dependencies (compatible with python 2 and 3):sudoapt-getinstallpythonpython-pipInstall optional dependencies (support for desktop notifications):sudoapt-getinstalllibnotifyInstall Acestream engine manually (you can find actual linkshereand detailed instructionshere):sudoapt-getinstallpython-setuptoolspython-m2cryptopython-apsw

wget"http://download.acestream.media/linux/acestream_3.1.49_ubuntu_18.04_x86_64.tar.gz"tarzxvfacestream_3.1.49_ubuntu_18.04_x86_64.tar.gz
sudomvacestream_3.1.49_ubuntu_18.04_x86_64/opt/acestream

sudosed-i"/ROOT=/c\ROOT=\/opt\/acestream"/opt/acestream/start-engine
sudoln-sf/opt/acestream/start-engine/usr/bin/acestreamengineInstall Acestream engine Snap package:sudosnapinstallacestreamplayerInstallationInstall the package with the Python Package Index usingpipcommand.pipinstallacestream-launcherPackagesArch Linux:AUR PackageOpenSUSE:Build Serviceby@DrommerBrowser integrationOnce it is installed, you can set it as default for theacestream://links in your browser. Check your browser preferences for default applications.
Package: acestream-search
acestream-searchProduces acestream m3u playlist, xml epg or json data.
You need acestream engine to get it working. If You have no acestream and don't want to install, you can usehttps://github.com/vstavrinov/acestream-serviceinstead of acestream-search.Installation:pip install acestream-searchUsage:acestream_searchBy default You will get long m3u playlist.
See help for for more options:acestream_search -h
Package: aceto
Accelerated Charge and Energy Transfer Objects (ACETO) libraryContains Fortran (2003) routines for some common tasks in quantum theory of molecular charge
and energy transfer.Preferred pronounciation of the library’s abbreviation is the Italian one. ACETO means vinegar
in Italian. The library is designed to add some extra flavour to another project, the Python
open quantum system theory package Quantarhei (seehttp://github.com/tmancal74/quantarhei).HOW TO INSTALL ACETOAceto can be installed on Linux and MacInstallation from source:One way of installing is by downloading source code from github.com. You need
to configur the Makefile by changing the content of the ‘conf/conf.in’ file to point to
a file containing gcc flags (gcc_linux.in and gcc_mac.in files are tested). Of course
your system has to have gcc compiler istalled. Then you
need to create a ‘lib’ directory in your home directory. This is a temporal
fix, but right now, shared library ‘libaceto.so’ is “installed” locally this way.
Then you need to issue> make
> make installseries of commnads. You will be asked to confirm that a shared library that was
created in the ‘lib’ subdirectory can be copied to the ‘lib’ directory in your
home directory.Binary installation:The installation procedure of Aceto is still in development. Currently we
provide binary distribution for macOS and Linux compiled with gcc complilers
through a Python egg awailable from PyPa via the ‘easy_install’ command. Typing> easy_install acetowill instal aceto, but in order for it to run correctly, you have to go to the
directory whete aceto is installed (this informatio is displayed during
installation by ‘easy_install’) and type> python postinstall.pyYou will be asked to confirm that the ‘libaceto.so’ file can be moved to the
directory ‘lib’ in your home directory. If this directory is not present, you
have to create it.Linux specific:On Linux it seems that LD_LIBRARY_PATH variable set in qrhei script which is
used to run the quantarhei input files (as a subprocess) does not influence the setting for
the subprocess. The solution is to export the LD_LIBRARY_PATH in something like
.bashrc to point to the ${HOME}/lib directory.
Package: acetone
AboutGlue code removal. Acetone is a python library to provide inversion of
control in situation where other methods are inconvenient or they are
not even possible. Or you just like the library.UsageCreate the acetone container somewhere in your application:# dependencies.pyfromacetoneimportAcetoneContainerdependencies=AcetoneContainer()# or ioc_container# or lord_of_the_dependencies# or servicesThen use it:# class_with_dependency.pyfromdependenciesimportdependenciesclassClassWithSomeDependency(object):# you can use strings or types as a keydependency=dependencies.Dependency('key')defuse_the_dependency(self):self.dependency.dependency_call('argument')Create a dependency implementation:# dependency_implementation.pyclassDependencyImplementation(object):defdependency_call(self,argument):print(argument)Later register the implementation and run it!# __main__.pyfromdependenciesimportdependenciesfromclass_with_dependencyimportClassWithSomeDependencyfromdependency_implementationimportDependencyImplementationif__name__=='__main__':dependency_implementation=DependencyImplementation()dependencies.register_instance('key',dependency_implementation)instance=ClassWithSomeDependency()instance.use_the_dependency()Or load it from a file:[{"name":"key","module":"dependency_implementation","factory":"DependencyImplementation","singleton":true}]importjsonfromdependenciesimportdependenciesdefmain():withopen('configuration.json')asfile:content=json.load(file)dependencies.load_from_dicts(content)instance=ClassWithSomeDependency()instance.use_the_dependency()Frequently asked questionsHow fast is it?It’s very fast. It’s even faster then a builtin property. The very first
dependency access requires some initialization for its own setup and
dependency creation (provided it was not created before), but the
subsequent calls are as fast as a member instance access. Dependencies
use a descriptor protocol (used by@property), they are initialized
lazily and once fetched from the container they are set as a normal
instance member (class member in case of ClassDependency). This trick is
used by several frameworks (for example werkzeuq cached_property).How do I mock it?Technically you can mock it, but I don’t think it’s necessary. The
container is simple and well tested. Its purpose is to provide a
requested dependency and the dependency can be a mock as well. You can
just consider it as an essential part of your code and not mock it to
your advantage (would you mock properties?).classTestXyz(TestCase):deftearDown(self):container.clean()Traditionalists wouldn’t agree for sure but Python wasn’t created by
traditionalists in the first place.Are there any requirements?No external dependencies. For the class used the only requirement is
that the class has to be a normal python class with__dict__. In
other words it can’t use__slots__.
Package: ace-upload
ACE File UploadUpload files to MinIO for use in brewlyticsSetup procedures:In a terminal/console:pip install ace-uploadOnce ace_upload is installed declare:python -m ace_uploadInput procedures:Default location of connection: minio.dev.caoc.armyRequires a user provide an access key and password.User will be prompted for their firstname initial and lastname.The file path provided should be Absolute. All files and subdirectory files will be picked up.User provides a name of the intended cloud director to upload to.Input Y to proceed and upload or N to cancel the upload process.
Package: acfr
ACR – Angle Correction for RotatorsSimple script to load data from a rotator and correct for common errors in a rotator setup.DependenciespythonnumpymatplotlibPrerequisitesRotation should be performed at otherwise stable conditions.Only one rotation per fileTo correct for backlash a forward and backward rotation has to be performed.To correct for slip ideally at least a 360° rotation has to be performedTo correct for an initial phase in a meaningful way, you have a look at your sample when installing it.UsageRunpythonacr.py-iinputfile.dat-ooutputfile.acr.datYou will get a window like this:Then adjust your parameters in the GUI.Use this at your own risk and check the contents of the script beforehand.
Package: acfunsdk
acfunsdk -UNOFFICEICALacfunsdk是非官方的AcFun弹幕视频网Python库。声明：acfunsdk是python的学习工具，并未破解任何acfun相关内容。代码完全公开，仅用于交流学习。
如涉及版权等相关问题，请遵守acfun相关协议及法律法规。如有bug或其他疑问，欢迎发布issues。Python:Python>=3.8， 本体请自行下载安装。从PyPI安装python-mpipinstallacfunsdk使用方法实例化获取对象fromacfunsdkimportAcer# 实例化一个Aceracer=Acer()# 登录用户(成功登录后会自动保存 '<用户名>.cookies')# 请注意保存，防止被盗acer.login(username='you@email.com',password='balalabalala')# 读取用户(读取成功登录后保存的 '<用户名>.cookies')acer.loading(username='13800138000')# 每日签到，领香蕉🍌acer.signin()# 通过链接直接获取内容对象# 目前支持 9种内容类型：# 视  频: https://www.acfun.cn/v/ac4741185demo_video=acer.get("https://www.acfun.cn/v/ac4741185")print(demo_video)# 文  章: https://www.acfun.cn/a/ac16695813demo_article=acer.get("https://www.acfun.cn/a/ac16695813")print(demo_article)# 合  集: https://www.acfun.cn/a/aa6001205demo_album=acer.get("https://www.acfun.cn/a/aa6001205")print(demo_album)# 番  剧: https://www.acfun.cn/bangumi/aa5023295demo_bangumi=acer.get("https://www.acfun.cn/bangumi/aa5023295")print(demo_bangumi)# 个人页: https://www.acfun.cn/u/39088demo_up=acer.get("https://www.acfun.cn/u/39088")print(demo_up)# 动  态: https://www.acfun.cn/moment/am2797962demo_moment=acer.get("https://www.acfun.cn/moment/am2797962")print(demo_moment)# 直  播: https://live.acfun.cn/live/378269demo_live=acer.get("https://live.acfun.cn/live/378269")print(demo_live)# 分  享: https://m.acfun.cn/v/?ac=37086357demo_share=acer.get("https://m.acfun.cn/v/?ac=37086357")print(demo_share)# 涂鸦(单页): https://hd.acfun.cn/doodle/knNWmnco.htmldemo_doodle=acer.get("https://hd.acfun.cn/doodle/knNWmnco.html")print(demo_doodle)依赖库依赖: 包含在requirements.txt中httpx>=0.23lxml>=4beautifulsoup4>=4参考 & 鸣谢AcFun 助手是一个适用于 AcFun（ acfun.cn ） 的浏览器插件。AcFunDanmaku是用C# 和 .Net 6编写的AcFun直播弹幕工具。实现自己的AcFun直播弹幕姬@財布士醬QQ频道“AcFun开源⑨课”使用Poetry构建About Me♂ 整点大香蕉🍌
Package: acfunsdk-ws
acfunSDK - websocketacfunsdk是非官方的AcFun弹幕视频网Python库。acfunsdk-ws是acfunsdk的附属组件，提供websocket通信支持。依赖库依赖: 包含在requirements.txt中acfunsdk>=0.9.7WebSocket通信及数据处理:websocket-client>=1.4pycryptodome>=3.15protobuf==3.20.1proto-plus==1.22.1filetype>=1.1内置+修改:blackboxprotobufAbout Me♂ 整点大香蕉🍌
Package: acfun-upload
AcFun 投稿工具基于 Python 的命令行投稿工具安装pipinstallacfun_upload使用fromacfun_uploadimportAcFunacfun=AcFun()acfun.login(username="",password="")acfun.create_douga(...)create_douga 参数参数注释是否必须类型file_path视频文件路径，建议绝对路径是strtitle稿件标题是strchannel_id频道 ID，查看：频道 ID 汇总是intcover视频封面图片路径，建议绝对路径是strdesc稿件简介否strtags稿件标签否listcreation_type创作类型 1:转载 3:原创，默认1是intoriginalLinkUrl转载来源否strLicenseGNU General Public License v3.0
Package: acgc
ACGCOverviewThe acgc package is a collection of data analysis functions used by the Atmospheric Chemistry and Global Change Research Group (ACGC). Programs are written in Python 3.InstallationFor conda users:conda install -c conda-forge acgcFor pip users:pip install acgcFor developersIf you plan to modify or improve the acgc package, an editable installation may be better:pip install -e git+https://github.com/cdholmes/acgc-pythonYour local files can then be managed with git, including keeping up-to-date with the github source repository (e.g.git pull).Classic versionThe old version of this package (before conversion to an importable python module) is accessible as the "classic" branch of this repository on github.DocumentationSeehttps://cdholmes.github.io/acgc-pythonDemosThedemofolder contains examples of how to accomplish common data analysis and visualization tasks, including using many of the functions within theacgclibrary.
Package: acg-feature-extractor
Feature Extractor Lite特征抽取引擎，统一深度学习训练与预测快速开始如何构建、安装、运行测试如何执行自动化测试如何贡献贡献patch流程及质量要求版本信息本项目的各版本信息和变更历史可以在这里查看。维护者ownersdongdaxiang(dongdaxiang@baidu.com)committersdongdaxiang(dongdaxiang@baidu.com)讨论百度Hi交流群：群号Changelog以下记录了项目中所有值得关注的变更内容，其格式基于Keep a Changelog。本项目版本遵守Semantic Versioning和PEP-440。UnreleasedAdded这里记录新添加的内容Changed这里记录变更的内容0.1.0 - 2020-11-27Added创建项目
Package: ach
python-achACH file generator module for python. So far, this has been tested with
“PPD” and “CCD” batches with addenda records.ExampleBelow is an example of how to use the module:fromach.builderimportAchFilesettings={'immediate_dest':'123456789',# Your bank's routing number'immediate_org':'123456789',# Bank assigned routing number'immediate_dest_name':'YOUR BANK','immediate_org_name':'YOUR COMPANY','company_id':'1234567890',#tax number}ach_file=AchFile('A',settings)#file Id modentries=[{'type':'22',# type of'routing_number':'12345678','account_number':'11232132','amount':'10.00','name':'Alice Wanderdust','addenda':[{'payment_related_info':'Here is some additional information',},],},{'type':'27','routing_number':'12345678','account_number':'234234234','amount':'150.00','name':'Billy Holiday',},{'type':'22','routing_number':'12323231','account_number':'123123123','amount':'12.13','name':'Rachel Welch',},]ach_file.add_batch('PPD',entries,credits=True,debits=True)printach_file.render_to_string()This returns the following NACHA file:101 123456789 1234567891407141745A094101YOUR BANK              YOUR COMPANY
5220YOUR COMPANY                        1234567890PPDPAYROLL         140714   1123456780000001
62212345678011232132         0000001000               ALICE WANDERDUST        1123456780000001
705HERE IS SOME ADDITIONAL INFORMATION                                             00000000001
622123456780234234234        0000015000               BILLY HOLIDAY           0123456780000002
622123232315123123123        0000001213               RACHEL WELCH            0123456780000003
822000000400370145870000000000000000000172131234567890                         123456780000001
9000001000001000000040037014587000000000000000000017213
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
Package: achallonge
achallongeasync Challonge for Python 3.5+Modern library that is more than just a wrapper for the Challonge web APIRequirementsaiohttpOptional:cchardetfaster replacement for chardet, as mentionned on the aiohttp pageaiodnsfor speeding up DNS resolving, highly recommended by aiohttpPython version support3.53.63.7Installationpip install achallongeIf you want to have the optional dependencies for aiohttp, you can:pip install achallonge[speed]Usageimportchallongeasyncdeffoo():# Log in into Challonge with your CHALLONGE! API credentials (https://challonge.com/settings/developer).user=awaitchallonge.get_user('your_challonge_username','your_api_key')# Retrieve your tournamentstournaments=awaituser.get_tournaments()# Tournaments, matches, and participants are all represented as Python classesfortintournaments:print(t.id)# 3272print(t.name)# 'My Awesome Tournament'print(t.status)# 'open'# Retrieve the participants for a given tournament.participants=awaittournaments[0].get_participants()print(len(participants))# 13DocumentationThe full documentation can be found onRead the docsAuthor / LicenseDistributed under MIT license. SeeLICENSEfor detailsFabien Poupineau (fp12) - 2017-2019Twitter:@fp12gamingJoin theDiscord Serverand discuss about this lib!
Package: achallonge-compat-fork
achallongeasync Challonge for Python 3.5+Modern library that is more than just a wrapper for the Challonge web APIRequirementsaiohttpOptional:cchardetfaster replacement for chardet, as mentionned on the aiohttp pageaiodnsfor speeding up DNS resolving, highly recommended by aiohttpPython version support3.53.63.7Installationpip install achallongeIf you want to have the optional dependencies for aiohttp, you can:pip install achallonge[speed]Usageimportchallongeasyncdeffoo():# Log in into Challonge with your CHALLONGE! API credentials (https://challonge.com/settings/developer).user=awaitchallonge.get_user('your_challonge_username','your_api_key')# Retrieve your tournamentstournaments=awaituser.get_tournaments()# Tournaments, matches, and participants are all represented as Python classesfortintournaments:print(t.id)# 3272print(t.name)# 'My Awesome Tournament'print(t.status)# 'open'# Retrieve the participants for a given tournament.participants=awaittournaments[0].get_participants()print(len(participants))# 13DocumentationThe full documentation can be found onRead the docsAuthor / LicenseDistributed under MIT license. SeeLICENSEfor detailsFabien Poupineau (fp12) - 2017-2019Twitter:@fp12gamingJoin theDiscord Serverand discuss about this lib!