Saravanan666/pypi-org huggingface dataset:
Package: assimpy
Assimpy -- 为 Glass Engine 提供 3D 模型加载功能Assimpy为Glass Engine的子项目，是 Assimp 项目的 Python 绑定，为 Glass Engine 提供 3D 模型加载功能。
仅提供load(file_name:str, flags:int)->Model函数用于加载模型。其优势在于：使用 assimp 加载模型后，不做任何的中间类型拷贝，直接将原生内存 buffer 暴露给 python支持内置纹理加载你可以在任意需要加载 3D 模型的时候使用Assimpy，并在其源码中找见加载上来的模型结构，
但不建议你这么做。因为其初衷是为Glass Engine提供 3D 模型的加载功能，
因此不过多介绍Assimpy的用法，欢迎访问Glass Engine项目：文档：https://glass-engine-doc.readthedocs.io/zh/latest/Github 项目主页：https://github.com/Time-Coder/Glass-EngineGitee 项目主页：https://gitee.com/time-coder/Glass-EnginePyPI 索引：https://pypi.org/project/glass-engine/Glass Engine中的模型加载功能用法请参考：https://glass-engine-doc.readthedocs.io/zh/latest/model/model.html
Package: assistant-ostap
Description in other languages:How to install meJust write down in your console:pip install assistant-ostap==0.0.2P.S. don't forget that I need installed Python on your computer :wink:How to start meJust call me in your console by commandOstapWhat I can doCreate a contact book for you by commandaddTell us who has a birthday in the coming N daysshow nearbday N(N - numbers of days)Create notes for youAnd many intresting thingsYou can find out the full list of my capabilities by installing me and entering the commandhelp
Package: assistant-project
Python Library for the EU ASSISTANT ProjectLibrary DescriptionThis library contains the following sublibraries:graphdbproduction_systemdict_wrapperGraphDBEnables using the Rest API forOntoText GraphDBto Up-/Download files to
and from the selected graph inside a repository.With OntoRefine you can upload a file and map the keywords, preprocessing the data for uploading it to a graph.Production SystemEnables reading ProductionSystem file from GraphDB and turning it into valid json format.Dict WrapperAllows to read every key-value pair and return list/dict based on custom config. Addition: Allows to change values in a
json File based on key-value pairsChange History0.3.8:Fix hardcoding of Attribute Key0.3.7:Change output of writing process to output entire file not only changed list.0.3.6:Bug fix0.3.5:Add functionality to Dict Wrapper that allows to change specific values0.3.4:Fix error where list isn't returned when it is not in top level dictionary.0.3.3:Bug fixes0.3.2:FIX: relative import ofjson_wapperAdd condition to return correct value if two keys are identical in different subdirectories0.3.1:Add method to get identifier from cfg_file based on name forjson_wrapper0.3:Create new sublibraryjson_wrapper0.2:Create new sublibraryproduction_systemRemove prints fromgraphdb0.1.1:Update graphdb download0.1:Create libraryCreate new sublibrarygraphdbFor more information about the project go to theASSISTANT Homepage.
Package: assistants
assistantsTheassistantsproject aims to provide useful reporting tools for scouts.Where to get itThe source code for the project is hosted on GitHub atthe-scouts/assistantsDependenciespandas- for data wranglingpyarrow- for fast on-disk storageopenpyxl- for writing to excel workbookscompass-interface-core- for integrating with CompassLicenseassistantsis naturallyopen sourceand is
licensed under theMIT license.
Package: assisted-django
Assisted DjangoA CLI Tool to generate content for all files in a django app directory including templates with the help of openai modelsThis script would generate the following files for you:models.pyviews.pyurls.pyadmin.pytests.pyforms.pysignals.pyHTML templatesMeant to be run after the startapp commandInstallationpip install assisted-djangoUsageMake a django project and create a new app as usualRunpython -m assisted_djangoin the same level asmanage.pyCLIwill guide you through the rest of the processAdditional NotesSet theOPENAI_API_KEYin your.envfileThis scriptwill overwritethe existing app directory filesThe CLI will confirm with the full file path before taking any actionWrite better briefs to get better resultsSome More ContextWe prefer class based generic viewsWe utilize django-crispy-forms with bootstrap4Html templates utilize bootstrap4
Package: assistorgapi
ASSIST API WrapperUnofficial API wrapper for ASSIST.org's API. UNRELEASED. DO NOT INSTALL THIS PACKAGE UNLESS YOU HAVE CONTACTED ME.Free software: MIT licenseDocumentation:https://assistorgapi.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.there is no history, test
Package: association-metrics
Association-MetricsAssociation-Metricsis a Python module for measure the degree of association between variables built on top of SciPy and Numpy, and is distributed under the MIT license.The project started due to the lack of reliable source code to calculateCramers'v, and from that, we decided to package-up our development.InstallationAssociation-Metrics requires:Python (>= 3.6)NumPy (>= 1.13.3)SciPy (>= 0.19.1)Pandas (>= 1.2.1)User installationIf you already have a working installation of numpy, scipy and pandas, the easiest way to install Association-Metrics is usingpippip install association-metricsDevelopmentWe welcome new contributors of all experience levels.Source codegit clone https://github.com/HeberTU/association_metricsHelp and SupportIn case of any doubt, you can always reach us via email at:heber.trj.urt@gmail.comWe will be more than happy to help you out.
Package: associations
AssociationsThis is an association management package.ObjectsClasses:Association(word : str,name : str,method=None,case_sensitive=True,regular=False,**data)word - word to create an Associationname - name of the your Associationmethod - method used when searching for assoС‚iations  (in/including/is)case_sensetive - case-sensetive searchregular - using regular expressions when searchingdata - data to saveMethods:add()Add self to the list of associationsgetdata()Get the data that was saved when you created itgetmethod()Get the method that is assigned at creationisregular()Checks whether regular expressions are enabledget_case_sensetive()Checks whether register accounting is enabledgetname()Get the name of this associationset_case_sensetive(state : bool)Enables or disables case accountingVariables:AssociationsIt is the heir of the inner class "associations"Methods:add(value : string, name : str,method : str,case_sensitive=True,regular=False,**data)Create a new association and adds it to the associations listadd(value : Association)Add the association to the associations listget(string : str) -> listSearches for all associations to the string "string"Exampleimportassociationsassociations.Associations.add('hello','Greeting','including')print(associations.Associations.get('hello, world!')[0].getname())Out:Greeting
Package: assorthead
Assorted C++ headersOverviewassortheadvendors an assortment of header-only C++ libraries for compilation of downstream packages.
This centralizes the acquisition and versioning of these libraries for a smoother development experience.
It is primarily intended for the variousBiocPypackages with C++ extensions,
e.g.,scranpy,singler.Quick startDevelopers can installassortheadvia the usualpipcommands:pipinstallassortheadWe can then add all headers to the compiler's search path,
using theinclude_dirsargument in thesetup()command in oursetup.py:setup(use_scm_version={"version_scheme":"no-guess-dev"},ext_modules=[Extension("foo.core",["src/lib/foo.cpp","src/lib/bar.cpp",],include_dirs=[assorthead.includes(),],language="c++",extra_compile_args=["-std=c++17",],)],)Of course, this is only relevant for developers; all going well, end users should never be aware of these details.Available librariesNameDescriptionbytemeLightweight file readers/writersaarandRandom distribution functionspoweritPower iterationskmeansHartigan-Wong or Lloyd k-meansAnnoyApproximate nearest neighbor searchhnswlibApproximate nearest neighbor searchknncolleCommon interface to neighbor search algorithmstatamiInterface for matrix representationsqdtsneVisualiation with t-SNEumapppVisualization with UMAPEigenMatrix operations and linear algebrairlbaApproximate SVD via IRLBAWeightedLowessTrend fitting via weighted LOWESSmnncorrectBatch correction with MNNsThe exact versions of each library can be found inextern/fetch.sh.NoteThis project has been set up using PyScaffold 4.5. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: ass-renderer
ass_rendererA Python library for rendering ASS subtitle file format using libass.Installationpip install --user ass-rendererContributing# Clone the repository:gitclonehttps://github.com/bubblesub/ass_renderer.gitcdass_renderer# Install to a local venv:poetryinstall# Install pre-commit hooks:poetryrunpre-commitinstall# Enter the venv:poetryshellThis project usespoetryfor packaging,
install instructions atpoetry#installation
Package: asst
ChatGPT-CLIChatGPT shell command
Support gpt-4ChatGPT 支持终端命令行啦，支持gpt-4支持连续对话，在终端输入asst即可开启对话。如让它写个feapder的爬虫，实际对答如下：安装pipinstallasst环境变量变量必须描述OPENAI_API_KEY是OpenAI的密钥OPENAI_BASE_URL否OpenAI的镜像接口地址，如：https://api.openai.com，注意不需要携带 v1/chat/completionsOPENAI_PROXY否代理，如 username:password@ip:portOPENAI_MODEL否模型， 支持 gpt-4-1106-preview、gpt-3.5-turbo等，默认为 gpt-4-1106-preview配置没有OPENAI_API_KEY，openai官网自己搞设置OPENAI_API_KEY="chatgpt的密钥"到环境变量mac或linux下临时设置的方式export OPENAI_API_KEY=your key永久设置vim ~/.bash_profile

# 在合适的位置添加环境变量
export OPENAI_API_KEY="your key"window下设置为系统环境变量参考：https://blog.csdn.net/xue_nuo/article/details/114793534使用>asst
You:hello
Bot:Hithere!请求超时国内用户因为墙的原因，无法直接访问chatgpt，需配置镜像api或使用代理代理使用方式：设置ASST_PROXY="代理"到环境变量如：export ASST_PROXY="username:password@ip:port"境外代理举例推荐：brightdata不需要公司、不需要实名，准备好邮箱即可地址：https://brightdata.grsm.io/r0g6zla8seqs若提示认证，选择支付宝即可，并不需要真正的认证充值支持支付宝使用方式：选择机房代理，因为便宜。追求稳定选择住宅配置：查看访问参数配置代理设置ASST_PROXY="代理"到环境变量如：export ASST_PROXY="用户名:密码@主机"OPENAI_API_KEY在chatgpt官网申请
Package: ass-tag-analyzer
AssTagAnalyzerTag analyzer for Advanced SubStation Alpha file.
This tool allows to parse .ass tag and manipulate them.Installation and Updatepip install ass-tag-analyzerExamplefromass_tag_analyzerimportparse_line,ass_item_to_text,Format,AssTagFontName,AssValidTagFontName,AssInvalidTagFontName# Parse an .ass lineline=parse_line(r"{\an7\pos(158,501)\fnArial\bord0.155884}Example")print(line)# Convert line to textprint(ass_item_to_text(line))# Change how to convert float to stringFormat.format_float=lambdanumber:round(number)# Reconvert line to text. See how the \bord result is differentprint(ass_item_to_text(line))# Search an tagforass_iteminline:ifisinstance(ass_item,AssTagFontName):ifisinstance(ass_item,AssValidTagFontName):print(f'An\\fn tag has been found and the value is "{ass_item.name}"')elifisinstance(ass_item,AssInvalidTagFontName):# You need to get the style that is applied on the line.passResult[AssTagListOpening(),AssValidTagAlignment(is_legacy_tag=False,_AssValidTagAlignment__alignment=<Alignment.TOP_LEFT:7>),AssValidTagPosition(x=158.0,y=501.0),AssValidTagFontName(_AssValidTagFontName__name='Arial'),AssValidTagBorder(_AssValidTagBorder__size=0.155884),AssTagListEnding(),AssText(text='Example')]{\an7\pos(158,501)\fnArial\bord0.156}Example{\an7\pos(158,501)\fnArial\bord0}ExampleAn\fntaghasbeenfoundandthevalueis"Arial"DependenciesPython 3.8 or moreAcknowledgmentsass_tag_parserI used his library to create mine. I got a lot of inspiration from his work.
Package: ass-tag-parser
ass_tag_parserA Python library for serialization and deserialization of ASS subtitle file
format tags markup.Not to confuse with parsing.assfiles that can be manipulated withass_parser.Example:fromass_tag_parserimportparse_assresult=parse_ass(r"{\an5\pos(175,460)\fnUtopia with Oldstyle figures\fs90\bord0\blur3"r"\1c&H131313&\t(0,1000,2,\1c&H131340&)\t(1000,2000,\1c&H1015B2&"r"\blur1.4)}Attack No. 1{NOTE:アタックNo.1}")print(result)print(result[2].meta)Result:[AssTagListOpening(),AssTagAlignment(alignment=5,legacy=False),AssTagPosition(x=175.0,y=460.0),AssTagFontName(name="Utopia with Oldstyle figures"),AssTagFontSize(size=90.0),AssTagBorder(size=0.0),AssTagBlurEdgesGauss(weight=3.0),AssTagColor(red=19,green=19,blue=19,target=1,short=False),AssTagAnimation(tags=[AssTagColor(red=64,green=19,blue=19,target=1,short=False)],time1=0.0,time2=1000.0,acceleration=2.0,),AssTagAnimation(tags=[AssTagColor(red=178,green=21,blue=16,target=1,short=False),AssTagBlurEdgesGauss(weight=1.4),],time1=1000.0,time2=2000.0,acceleration=None,),AssTagListEnding(),AssText(text="Attack No. 1"),AssTagListOpening(),AssTagComment(text="NOTE:アタックNo.1"),AssTagListEnding(),]Meta(start=5,end=18,text="\\pos(175,460)")Starting from version 2.2, drawing commands are parsed automatically.Serializing the tree backASS tree:compose_ass. Note that you don't need to supplyAssTagListOpeningnorAssTagListEndingtags in the input item list – this function inserts them
automatically.Draw commands:compose_draw_commands.Contributing# Clone the repository:gitclonehttps://github.com/bubblesub/ass_tag_parser.gitcdass_tag_parser# Install to a local venv:poetryinstall# Install pre-commit hooks:poetryrunpre-commitinstall# Enter the venv:poetryshellThis project usespoetryfor packaging,
install instructions atpoetry#installation
Package: ass-tg
Arguments Stupendous Searcher (ASS)The library used to parse arguments from the message.Currently, works only with Aiogram 3.x!See also:Sophie Text Formatting Utility library (STFU)Quick example:Let's create a handler for a tban (temporary ban) command using ASS arguments.fromass_tg.typesimportUserArg,ActionTimeArg,TextArg,OptionalArgfromass_tg.types.base_abcimportParsedArgfromstfu_tgimportSection,KeyValue@dp.message(Command('tban'))# Set a command filter@flags.args(user=UserArg("User"),time=ActionTimeArg("Time to ban"),description=OptionalArg(TextArg("Reason text")))asyncdeftban_user_handler(msg:Message,user:str,time:timedelta,description:str|None):# Here we used STFU's formatting, but you can use variables as you wish!awaitmsg.reply(str(Section(KeyValue("User",user),KeyValue("On",time),KeyValue("Description",descriptionor"No description"),title="Ban")))The argument parser contains inbuilt type and argument checker:
Package: asstosrt
asstosrt is a tool which can convert Advanced SubStation Alpha (ASS/SSA)
subtitle files to SubRip (SRT) files. Many old devices only support SubRip.UsageInstall asstosrt.# pip install asstosrtchardetis suggested, which provide auto charset detection.# pip install charsetThencdinto the directory of ASS/SSA files. Run asstosrt.$ asstosrtDone. All converted SRT files will be wrote to current directory.Run with--helpsee more.$ asstosrt --helpMore ExamplesSpecify input and output encoding, output directory:$ asstosrt -e utf-8 -s utf-18be -o /to/some/path/Convert to Simplified Chinese (Usinglangconvdownload):$ asstosrt -t zh-hans -s gb18030 /path/to/some.big5.assConvert to Traditional Chinese (Using OpenCC):# pip install pyopencc
$ asstosrt -c zhs2zht.iniOnly keep first line for each dialogue and delete all effects:$ asstosrt --only-first-line --no-effactUsed as a LibraryYou can use asstosrt on your program easily.import asstosrt

ass_file = open('example.ass')
srt_str = asstosrt.convert(ass_file)LicenseMIT LicenseBugs and IssuesPlease visitGitHub.
Package: assuan
Python module and tools for communicating in theAssuanprotocol.There are a number ofGnuPGwrappers for pythonout there, but
they mostly work via thegpgexecutable.  This is an attempt to
cut to the chase and speak directly togpgme-tool(source) over
a well-defined socket protocol.InstallationDependenciesassuanis a simple package with no external dependencies outside
the Python 3.6+ standard library.Contributingassuanis available as aGitrepository:$ git clone https://github.com/pygpg/assuan.gitSee thehomepagefor details.  To install the checkout, run the
standard:$ pip install -e .[dev]UsageCheckout the docstrings and the examples inbin.TestingRun the internal unit tests with pytest:$ python -m pytestTo test running servers by hand, you can usegpg-connect-agent.
Despite the name, this program can connect to any Assuan server:$ gpg-connect-agent --raw-socket nameLicenceThis project is distributed under theGNU General Public License
Version 3or greater.AuthorJesse P. Johnson <jpj6652@gmail.com>
W. Trevor King <wking@tremily.us>References
Package: assume
AWS Assume Role Helperassumeis a simple CLI utility that makes it easier to switch between different AWS roles. This is helpful when you work with different AWS accounts or users. In addition, this utility is helpful when you develop AWS resources locally (such as an application that will run on EC2 or when running a Lambda function locally usingAWS SAM). You can easily switch to a role that your EC2 instance / Lambda function will assume in AWS.What this command actually does is change your AWS credentials file (~/.aws/credentials). If there is adefaultrole in there, it will be stored in a temporary role. The assumed role is then passed in thedefaultrole, so you can immediately start using it.Table of ContentsPrerequisitesInstallationUsageAlternativesPrerequisitesInstall Python. Versions 3.5 and 3.6 are supported.InstallationUsepipto install `assume':pipinstallassumeRun the following to show all available commands:assume--helpUsageAdd a new role to assume as follows:assumeadd[rolename]--role-arn[arn]--profile[profile]Specifying the profile is optional. When you don't specify this, the default profile is used. The following wouldadda new role "myrole" to be assumed:assumeaddmyrole--role-arnarn:aws:iam::012345678912:role/myroleYou can nowassumethis role as follows:assumeswitchmyroleassumekeeps a configuration file in~/.assume/config.yaml. You can list the contents of the current configuration with the following file:assumelistWhen you want to switch back to your initial default role, you canclearthe assumed role as follows:assumeclearToremovea role to be assumed, run the following command:assumeremovemyroleThis command grabs thedefaultrole that was stored in a temporary location when running theswitchcommand. These credentials are then put back in thedefaultrole.AlternativesI'm aware that a number of alternatives already exist with similar functionality. The reason I decided to build my own functionality is because I wasn't be able to find an existing option that combines all of the following features:Easy switching using shortcutsEasily remove the temporarry role and switch back to the original one
Package: assume-mfa
AWS Assume Role Helperassumeis a simple CLI utility that makes it easier to switch between different AWS roles. This is helpful when you work with different AWS accounts or users. In addition, this utility is helpful when you develop AWS resources locally (such as an application that will run on EC2 or when running a Lambda function locally usingAWS SAM). You can easily switch to a role that your EC2 instance / Lambda function will assume in AWS.What this command actually does is change your AWS credentials file (~/.aws/credentials). If there is adefaultrole in there, it will be stored in a temporary role. The assumed role is then passed in thedefaultrole, so you can immediately start using it.Table of ContentsPrerequisitesInstallationUsageAlternativesPrerequisitesInstall Python. Versions 3.5 and 3.6 are supported.InstallationUsepipto install `assume':pipinstallassumeRun the following to show all available commands:assume--helpUsageAdd a new role to assume as follows:assumeadd[rolename]--role-arn[arn]--profile[profile]Specifying the profile is optional. When you don't specify this, the default profile is used. The following wouldadda new role "myrole" to be assumed:assumeaddmyrole--role-arnarn:aws:iam::012345678912:role/myroleYou can nowassumethis role as follows:assumeswitchmyroleassumeswitchmyrole--token_code"123456"assumekeeps a configuration file in~/.assume/config.yaml. You can list the contents of the current configuration with the following file:assumelistWhen you want to switch back to your initial default role, you canclearthe assumed role as follows:assumeclearToremovea role to be assumed, run the following command:assumeremovemyroleThis command grabs thedefaultrole that was stored in a temporary location when running theswitchcommand. These credentials are then put back in thedefaultrole.AlternativesI'm aware that a number of alternatives already exist with similar functionality. The reason I decided to build my own functionality is because I wasn't be able to find an existing option that combines all of the following features:Easy switching using shortcutsEasily remove the temporarry role and switch back to the original one
Package: assumerole
assumeroleThis python package was inspired by the GO implementation ofassume-role.
This utility makes it easier to switch between multiple AWS profiles.Pre-requisiteaws sdk should be installedaws credentials are provided under ~/.aws/credentialsall the aws profiles are created correctly under ~/.aws/configThis utility uses sts utility within theboto3 package.
You can learn more about sts command underawscliInstallation:pip install --index-url https://test.pypi.org/simple/  assumeroleFor updating existing package usepip install -U --index-url https://test.pypi.org/simple/  assumeroleUsageassume --profile <aws-profile-name>orassume -p <aws-profile-name>You may be prompted to pass your MFA code if its requiredBy default, the tokens returned are cached under the folder~/.aws/cached_tokensOnly if the token has expired, will new tokens be requested from AWS.
You can also find a history of all successful commands in the file~/.aws/assume_role_historyIn case you do not want to use your cached tokens use the optional refresh parameterassume --profile <aws-profile-name> --refreshorassume -p <aws-profile-name> -rIn case you do not want to set the expirty time on the token optional duration parameter
Default is 8 hours and maximum value is 12 (set by AWS)assume --profile <aws-profile-name> --duration 10orassume -p <aws-profile-name> -d 10TODO:Perform comprehensive coverage testing. Once package is tested fully, it will be made available in pypi.orgIn the meantime, do test it out and feel free to submit PRs
Package: assumptions
See theassumptions package documentationfor detailed usage and customisation.Installation and UsageThe Python package can be installed from PyPI:pipinstallassumptionRun the command line tool to generate help documentation:assumptions-hBy default, assumptions will recursively search the current directory for assumptions and caveats, before writing the log to the same directory.We recommend including assumptions inpre-commitconfigurations:repos:-repo:https://github.com/foster999/assumptionsrev:1.1.0hooks:-id:assumptionsThis ensures that up-to-date logs are included in your project’s version control.Alternatively, the command line tool can be called as part of continuous integration workflows.
Package: ast2call
ast2callMostly exists as a helper for other projects I'm working on.Input: python sourceOutput: python source, that would be the equivalent of callingast.parseon
the inputE.g.print('hello world!')-->ast.Module(body=[ast.Expr(value=ast.Call(func=ast.Name(id='print', ctx=ast.Load(), lineno=None), args=[ast.Constant(value='hello world!', kind=None, lineno=None)], keywords=[], lineno=None), lineno=None)], type_ignores=[])Usage:$ast2callhello_world.py
ast.Module(body=[ast.Expr(value=ast.Call(func=ast.Name(id='print',ctx=ast.Load(),lineno=None),args=[ast.Constant(value='hello world!',kind=None,lineno=None)],keywords=[],lineno=None),lineno=None)],type_ignores=[])>>>importast2call>>>importast>>>ast2call.ast2call(ast.parse('print("hello world!")'))<ast.Callobjectat0x7fc98a773250>>>>ast2call.astprint('print("hello world!")')"ast.Module(body=[ast.Expr(value=ast.Call(func=ast.Name(id='print', ctx=ast.Load(), lineno=None), args=[ast.Constant(value='hello world!', kind=None, lineno=None)], keywords=[], lineno=None), lineno=None)], type_ignores=[])"