Saravanan666/pypi-org huggingface dataset:
Package: amid
Awesome Medical Imaging Datasets (AMID) - a curated list of medical imaging datasets with unified interfacesGetting startedJust import a dataset and start using it!Note that for some datasets you must manually download the raw files first.fromamid.verseimportVerSeds=VerSe()# get the available idsprint(len(ds.ids))i=ds.ids[0]# use the available methods:#   load the image and vertebrae masksx,y=ds.image(i),ds.masks(i)print(ds.split(i),ds.patient(i))# or get a namedTuple-like object:entry=ds(i)x,y=entry.image,entry.masksprint(entry.split,entry.patient)Available datasetsNameEntriesBody regionModalityAMOS360AbdomenCT, MRIBIMCVCovid1916335ChestCTBraTS20215880HeadMRI T1, MRI T1Gd, MRI T2, MRI T2-FLAIRCC359359HeadMRI T1CLDetection2023400HeadX-rayCRLM197AbdomenCT, SEGCT_ICH75HeadCTCrossMoDA484HeadMRI T1c, MRI T2hrDeepLesion20094Abdomen, ThoraxCTEGD3096HeadFLAIR, MRI T1, MRI T1GD, MRI T2FLARE20222100AbdomenCTLIDC1018ChestCTLiTS201AbdominalCTLiverMedseg50Chest, AbdomenCTMIDRC155ThoraxCTMOOD1358Head, AbdominalMRI, CTMedseg99ChestCTMoscowCancer500979ThoraxCTMoscowCovid11101110ThoraxCTNLST13624ThoraxCTNSCLC422ThoraxCTRSNABreastCancer54710ThoraxMGStanfordCoCa971Coronary, ChestCTTotalsegmentator1204Head, Thorax, Abdomen, Pelvis, LegsCTUPENN_GBM671HeadFLAIR, MRI T1, MRI T1GD, MRI T2, DSC MRI, DTI MRIVSSEG484HeadMRI T1c, MRI T2VerSe374Thorax, AbdomenCTCheck outour docsfor a more detailed list of available datasets and their fields.InstallJust get it from PyPi:pipinstallamidOr if you want to use version control features:gitclonehttps://github.com/neuro-ml/amid.gitcdamid&&pipinstall-e.ContributeCheck ourcontribution guideif you want to add a new dataset to
AMID.
Package: amieci
amieciThe python client for amie.ai.Install withpip install amieciDocumentationA tutorial notebook to get you started ishere.More notebooks that show you how to integrate amie in your measurement and data-science workflowshere.InstallationSign up (free) onwww.amie.aiand obtain an API key after you're logged in underwww.amie.ai/#/userThen sign in from python, and load the garden.garden = amieci.Garden(key=your_key)
garden.load()
...The fundamental object in amie is the garden. It contains all trees and leaves and remembers how your data interconnects.Every day, valuable data and results get lost and forgotten. amie provides you with an easy way to structure and store your results. It does not only store your data,
but also their relationships, to make sure your workflow is fully reproducible and make it easy for you to keep an overview.
amie works with any data-driven task, from data-science to beer brewing.
Package: amifast
amifast: simple powerful benchmarking with PythonContents:Installation and usage|Contributing|Change Log|AuthorsInstallation and UsageInstallationUsageExamplesExamples can be found in theExamplesdirectory.Command line optionsWill be added at a later date.LicenseMITContributingMore details can be found inCONTRIBUTINGChange LogNothing has been recorded here so far...AuthorsDeveloped byJulian Niedermeier
Package: amigados-utils
amigados-utils - Command line utilities for Amiga system developmentDescriptionThis is a set of utilities to facilitate Amiga development in a Unix style
environment.amigados-dir - dir utility for ADF filesamigados-copy - copy utility for ADF filesamigados-makedir - makedir utility for ADF filesamigados-createdisk - utility for creating ADF/HDF filesamigados-fdtool - replacement for fd2pragma (just started)amigados-bumprev - replacement for BumpRevamigados-dalf - replacement for Dalf (Amiga binary file viewer)amigados-png2image - image converterInstallationpip install amigados-utilsReferencesROM Kernel Manuals:http://amigadev.elowar.com/ADF format:http://lclevy.free.fr/adflib/adf_info.html
Package: amigrations
Ascetic MigrationsFor my personal projects I’d like to use raw sql migrations. Django for example generates ugly
key names: something like: key_numberInstallationSimply run in your bash:pipinstallamigrationsUsagefromamigratonsimportAMigrationsamigrations=AMigrations('mysql://root:123456@localhost:3306/amigrations_test',path_to_folder_with_migrations)files_created=amigrations.create(migraiton_message)# files_created is a dictionary with two keys: up and down. If you want immediately update migration content, please# do followingwithfiles_created['up'].open('w')asfpu,files_created['down'].open('w')asfpd:fpu.write('CREATE TABLE test (id int(11) not null AUTO_INCREMENT, PRIMARY KEY(id))')fpd.write('drop table test')# run db upgradeamigrations.upgrade()# please pass migration id you want to downgrade to, includingamigrations.downgrade_to(downgrade_to_id)
Package: amiibo.py
amiibo.pyA powerfull, rich API Wrapper for amiiboapi.comFeatures100% API CoverageAsync/Sync versionsOptimized speedInstallationNote: Python 3.5.3 or higher is requiresInstall stable version:# if your os is macOS
> python3 -m pip install -U amiibo.py
# If your os is Windows
> py -3 -m pip install -U amiibo.pyInstall development version:> git clone https://github.com/XiehCanCode/amiibo.py
> cd amiibo.py
> python3 -m pip install .UsageA Quick example in Sync version:importamiiboclient=amiibo.Client()print(client.get_amiibos())A Quick example in Async version:importasyncioimportamiibodefmain():client=amiibo.AsyncClient()print(awaitclient.get_amiibos())loop=asyncio.get_event_loop()loop.run_until_complete(main())
Package: amilatest
FoobarAmiLATEST is a dependency checker for your python project. It is a tool to help you find outdated dependencies, and generate a report that suggests upgrade possibilities at major, minor, and patch levels.AmiLATEST can be used as CLI or as a library.InstallationUse the package managerpipto install amilatest.pipinstallamilatestUsage as CLIThe CLI is a simple command line interface to AmiLATEST.
For basic usage, simply runamilatestwithin your project directory (where yourrequirements.txtis located). It will then check all those dependencies and generate a report.amilatestBy default the report is displayed on the terminal as a table. If you want to see the report in a processable format, you can use the--jsonflag.amilatest--jsonUsage as libraryAmiLATEST can also be integrated into your project as a library. To do so, you need to importAnalyzerclass from theamilatestmodule.fromamilatestimportAnalyzera=Analyzer('./requirements.txt')json_output=a.analyze()LimitationsCurrently AmiLATEST depends on thepip indexcommand, which comes with pip version 22 or higher.Editable requirements are not supported, so you can't use--editableflag. When usingpip freeze, you must
use the--exclude-editableflag to get rid of the editable requirements.ContributingPull 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
Package: amimspy
Python package for processing acoustic mist ionization mass spectrometry-based metabolomics and lipidomics dataDocumentation:https://amimspy.readthedocs.io/en/latestSource:https://github.com/computational-metabolomics/amimspyBug reports:https://github.com/computational-metabolomics/amimspy/issuesInstallationSee theInstallation pageof
theonline documentation.Bug reportsPlease report any bugs that you findhere.
Or fork the repository onGitHuband create a pull request (PR). We welcome all contributions, and we
will help you to make the PR if you are new togit.CreditsDevelopers and contributersMatthew Smith (mjs708@student.bham.ac.uk) -University of Birmingham (UK)Ralf J. M. Weber (r.j.weber@bham.ac.uk) -University of Birmingham (UK)AMIMSpy acknowledges support from the following funders:BBSRC and Waters Corporation for an iCASE PhD studentship.LicenseAMIMSpy is licensed under the GNU General Public License v3.0 (seeLICENSE filefor licensing information). Copyright © 2020 Matthew Smith, Ralf Weber
Package: aminacadea
Project descriptionAminacadeaOverviewThe Aminacadea library is a dummy helper for tflite-model-maker for use in Google Colab. In Planning phase.RequirementsRefer to requirements.txt for dependent libraries that're needed to use the library and run the demo code.
Note that you might also need to install sndfile for Audio tasks. On Debian/Ubuntu, you can do so by sudo apt-get install libsndfile1InstallationpipinstallaminacadeaAminacadea depends on tflite-model-maker >=0.4.2, Pillow >=9.3.0https://packaging.python.org/en/latest/tutorials/packaging-projects/Generating distribution archivesGenerate distribution packages for the package. These are archives that are uploaded to the Python Package Index and can be installed by pip.
NOTE: Run as AdminstratorMake sure you have the latest version of PyPA’s build installed:python-mpipinstall--upgradebuildNow run this command from the same directory where pyproject.toml is located:python-mbuildThis command should output a lot of text and once completed should generate two files in the dist directory:Uploading the distribution archivesTo securely upload your project, you’ll need a PyPI API token.
Create one athttps://test.pypi.org/manage/account/#api-tokens, setting the “Scope” to “Entire account”.Now that you are registered, you can use twine to upload the distribution packages. You’ll need to install Twine:python-mpipinstall--upgradetwineCREATE .pypirc file in place it in %USERPROFILE%
5) Once installed, run Twine to upload all of the archives under dist:python-mtwineupload--repositorytestpypidist/*Once installed, run Twine to upload all of the archives under dist:python-mtwineupload--repositorypypidist/*Dependencies - TODOdependencies = [
"tflite-model-maker>=0.1.",
"tflite-support>=0.1.",
"Pillow==7.1.",
"matplotlib==3.2.",
]
Package: aminoacid
This project is in no way associated with Amino or MediaLabs, this is completely reverse engineeredAminoAcidWhy AminoAcid?Because other projects likeBotAminofail to allow a nicely done, pythonic, completely async hinted experience.This project aims to open up the possibilities that other libraries don't fulfill by being completely async using aiohttp, allowing OOP, allowingeventswith a discord.py-esque experience.While BotAminotriesto be easy to use it fails to provide an easy high-level API by forcing to useAmino.fixinstead of allowing access via their own methods and objects.How do you use it?AminoAcid's documentation is available throughGitHub pagesand auto generated usingpdoc, for examples take a look intothe examples dirfromaminoacidimportBotfromaminoacid.abcimportMessage,Contextclient=Bot(prefix="b!",key=bytes.fromhex("B0000000B50000000000000000000B000000000B"),device="42...")@client.command(name="say")asyncdefhi(ctx:Context,*nya:str):message=awaitctx.send(" ".join(nya))print(message)@client.event("on_message")asyncdefon_message(message:Message):ifmessage.author.id==client.profile.id:returnprint(message,"nya!")client.run(session="AnsiMSI6...")# OR#client.run(#    email="mail@gmail.com",#    password=   r"Rc2Z=I5S0bN;ewjn2jasdn43",#)As you might see, you need to supply your own key to sign the requests with. You can find this in other libraries tho.Please note, that this library isNOTfinished and a lot of features I want to implement are still missing.How to subscribe to topics to get notifications?AminoAcid supports receiving notification events via the socket like the normal app would.The notification future still needs a lot of work, because so far it's not receiving events like follow, comment, etc.To receive notifications with a certain topic you can it's suggested to send a subscribe object in your on_ready callback...@client.event()asyncdefon_ready():client.logger.info(client._http.session)awaitclient.socket.subscribe(ndcId,topic=topic)...so far known topics are documented intheTopicsenumWhy no key?The aim of this library isNOTto make malicious bots, which is why you need to put the key in yourself.This library should only be used for making fun chat bots.How to do X?Check the docs, if it's in there then look at how to use it. If it's not there you probably can't.If you want to request a feature, you can open a new Issue.AminoAcid or AminoAcids?This was originally called AminoAcids but then i noticed that the pypi project "aminoacids" was already taken, so i removed the sTo-DoFinish Object attributesType checking and convertingAdd Embed featuresImprove existing featuresBetter quality in codeComplete ExceptionsComplete SocketCode EnumMake the SocketClient subscribe to other events to allow on_follow and on_notification eventsFinish started but unfinished methodsCog-like Command categorieson_typing_start, etc. events (socket code 400)Command error handlers
Package: aminoacids
AminoAcidsWhat is this?AminoAcids is a python api for communicating with amino servers while pretending that you are an app user. This is mostly accomplished by spoofing device configuration headers, though actually generating those is still in progress. It is also for objectifying and organizing amino response data, so that actually doing anything is easier.Why is this?A member of the Coding101 Amino asked about a public Amino API, and that got my brain thinking. So, I decided to start making one as a fun project.How is this?As mentioned, this works largely by spoofing device info and login session keys in request headers. These were captured by using the Amino application an android client, and by usingCharlesto intercept request and API response data. If you'd like to do this for yourslef, youshould be using android 6 or earlierWho is this?This is currently being developed bymealone, though pull requests and issues are very much so welcome. You can contact me on Discord at Zero#5200 if you have any questions about the project, or for anything else.UsageDocuments are coming soon, when I have something to document. That being said, this is an unstable build and should not be relied on for much (the API will change!). If you'd still like to use it, all of the methods (should) contain docstrings with info to get you started.ContributingThis project is just starting (as of whenever this README is pushed), so there are no contributing guidelines yet. Feel free to poke around the source, and feel free to create a pull with some new features or fixes that you'd like to implement.
Package: aminocode
The aminocode library can be used to encode texts written in natural language in a format based on amino acids. With coding is enable the application of various bioinformatics tools in text mining.Stand alone tools based on library are available at link <https://sourceforge.net/projects/aminocode>.InstallationTo install aminocode throughpip:pip install aminocodeTested PlatformsPython:3.7.4Windows (64bits):10Ubuntu (64bits)18.04.1 LTSRequired external librariesnumpyunidecodebiopythonFunctionsencodetext(text,detailing='')text:natural language text string to be encoded;detailing:details in coding. ‘d’ for details in digits. ‘p’ for details on the punctuation. ‘dp’ or ‘pd’ for both;output:encode string.decodetext(text,detailing='')text:text string encoded using the encodefile function to be decode;detailing:details used in the text to be decoded. ‘d’ for details in digits. ‘p’ for details on the punctuation. ‘dp’ or ‘pd’ for both;output:decode string.encodefile(input_file_name,output_file_name=None,detailing='',header_format='number+originaltext',verbose=False)input_file_name:text file name or _io.TextIOWrapper variable. It can also be used the format that is imported by the Bio.SeqIO library of Biopython, in which case the function will automatically extract the headers to do the encoding;output_file_name:the name for the output file. If not defined, the result will only be returned as a variable;detailing:same as in the encodetext function;header_format:format for the headers of the generated FASTA. It can be ‘number+originaltext’, ‘number’ or ‘originaltext’. ‘number’ is a count of the lines in the input file. Blank lines are considered in the count, but are not added to the FASTA file. ‘originaltext’ is the input text itself;verbose:if True displays progress;output:FASTA variable in Biopython format. If defined output_file_name a file will be saved.decodefile(input_file_name,output_file_name=None,detailing='',verbose=False)input_file_name:file name or variable in the format used by Biopython’s Bio.SeqIO libraryoutput_file_name:the name for the output file. If not defined, the result will only be returned as a variable;detailing:same as in the decodetext function;verbose:if True displays progress;output:string list. If defined output_file_name a file will be saved.
Package: aminolib
AminolibIf you have any questions, join us on Discord!What is this?Aminolib is an alternate Python API of amino.py with the same function of communicating with Amino's Servers while pretending that you're an App User. This is mostly accomplished by spoofing Device Configuration Headers, while objectifying and organizing Amino Response Data, so that actually doing anything is easier.How do I use this?Python 3.6 and above is the recommended version for Aminolib.To install Aminolib, runpython3 -m pip install aminolib.
Package: aminosp
AminoNlibrary to make a bots for aminoInstallationpip install AminoNHow to use it?you can chek the lessions or my discord server to learn how to use it
##community
you can join with the programmershttp://aminoapps.com/c/Djjjhggghff###importsplax#what need
you need install requests and json and urllib to open this library
Package: amir
Utility Functions in PythonInstallationFirst, install Python 3.6 fromhttps://www.python.org, and then run:pip install amirCitationIf you use the library in academic work, please consider citinghttps://doi.org/10.1117/12.2304418.Bibtex Entry:@inproceedings{tahmassebi2018ideeple,title={ideeple: Deep learning in a flash},author={Tahmassebi, Amirhessam},booktitle={Disruptive Technologies in Information Sciences},volume={10652},pages={106520S},year={2018},organization={International Society for Optics and Photonics}}APA Entry:Tahmassebi, A. (2018, May). ideeple: Deep learning in a flash. In Disruptive
Technologies in Information Sciences (Vol. 10652, p. 106520S). International
Society for Optics and Photonics.
Package: amis
Amis介绍amis是Baidu团队开发的一个低代码前端框架，它使用JSON配置来生成页面，可以减少页面开发工作量，极大提升效率。python amis基于baidu amis, 对amis数据结构通过pydantic转换为对应的python数据模型,并添加部分常用方法.Amis亮点不需要懂前端：在百度内部，大部分 amis 用户之前从来没写过前端页面，也不会JavaScript，却能做出专业且复杂的后台界面，这是所有其他前端 UI 库都无法做到的；不受前端技术更新的影响：百度内部最老的 amis 页面是 6 年多前创建的，至今还在使用，而当年的Angular/Vue/React版本现在都废弃了，当年流行的Gulp也被Webpack取代了，如果这些页面不是用 amis，现在的维护成本会很高；享受 amis 的不断升级：amis 一直在提升细节交互体验，比如表格首行冻结、下拉框大数据下不卡顿等，之前的 JSON 配置完全不需要修改；可以完全使用可视化页面编辑器来制作页面：一般前端可视化编辑器只能用来做静态原型，而 amis 可视化编辑器做出的页面是可以直接上线的。提供完整的界面解决方案：其它 UI 框架必须使用 JavaScript 来组装业务逻辑，而 amis 只需 JSON 配置就能完成完整功能开发，包括数据获取、表单提交及验证等功能，做出来的页面不需要经过二次开发就能直接上线；大量内置组件（120+），一站式解决：其它 UI 框架大部分都只有最通用的组件，如果遇到一些稍微不常用的组件就得自己找第三方，而这些第三方组件往往在展现和交互上不一致，整合起来效果不好，而 amis 则内置大量组件，包括了富文本编辑器、代码编辑器、diff、条件组合、实时日志等业务组件，绝大部分中后台页面开发只需要了解 amis 就足够了；支持扩展：除了低代码模式，还可以通过自定义组件来扩充组件，实际上 amis 可以当成普通 UI 库来使用，实现 90% 低代码，10% 代码开发的混合模式，既提升了效率，又不失灵活性；容器支持无限级嵌套：可以通过嵌套来满足各种布局及展现需求；经历了长时间的实战考验：amis 在百度内部得到了广泛使用，在 6 年多的时间里创建了 5 万页面，从内容审核到机器管理，从数据分析到模型训练，amis 满足了各种各样的页面需求，最复杂的页面有超过 1 万行 JSON 配置。安装pipinstallamis简单示例main.py:fromamis.componentsimportPagepage=Page(title='标题',body='Hello World!')# 输出为jsonprint(page.amis_json())# 输出为dictprint(page.amis_dict())# 输出页面htmlprint(page.amis_html())开发文档参考:Amis官方文档依赖项目pydanticamis许可协议该项目遵循 Apache2.0 许可协议。
Package: amisc
Efficient framework for building surrogates of multidisciplinary systems.
Uses the adaptive multi-index stochastic collocation (AMISC)
technique.InstallationWe highly recommend usingpdm:pipinstall--userpdmcd<your-project>
pdminit
pdmaddamiscHowever, you can also install normally:pipinstallamiscTo install from an editable local directory (e.g. for development), first fork the repo and then:gitclonehttps://github.com/<your-username>/amisc.git
pdmadd-e./amisc--dev# or..pipinstall-e./amisc# similarlyThis way you can make changes toamisclocally while working on some other project for example.
You can also quickly set up a dev environment with:gitclonehttps://github.com/<your-username>/amisc.gitcdamisc
pdminstall# reads pdm.lock and sets up an identical venvQuickstartimportnumpyasnpfromamisc.systemimportSystemSurrogate,ComponentSpecfromamisc.rvimportUniformRVdeffun1(x):returndict(y=x*np.sin(np.pi*x))deffun2(x):returndict(y=1/(1+25*x**2))x=UniformRV(0,1,'x')y=UniformRV(0,1,'y')z=UniformRV(0,1,'z')model1=ComponentSpec(fun1,exo_in=x,coupling_out=y)model2=ComponentSpec(fun2,coupling_in=y,coupling_out=z)inputs=xoutputs=[y,z]system=SystemSurrogate([model1,model2],inputs,outputs)system.fit()x_test=system.sample_inputs(10)y_test=system.predict(x_test)ContributingSee thecontributionguidelines.CitationsAMISC paper [1].
Package: amispy
pyamis目的: 在python中生成amis的json配置解决问题:手写json配置太累了,配置复制粘贴重用性不好,减少手写json拼写出错概率可以在python中通过代码快速生成json配置要能和python的dict混用installgit clone https://github.com/1178615156/pyamis
pip install --editable .示例生成Form组件# 首先import下frompyamis.componentsimport*form=Form(target='target',mode="horizontal",# 可以看到属性能够直接插入dictcontrols=[{"type":"submit","label":"登录"}])这样就生成了个Form配置了,然后转成json看看importjsonjson.dumps(form)转成json{"type":"form","mode":"horizontal","controls":[{"type":"submit","label":"\u767b\u5f55"}],"target":"target"}和dict进一步结合示例form_default_options=dict(title='条件',mode='horizontal',horizontal={"leftFixed":"sm"},submitOnInit=False,autoFocus=False,)form=Form(**form_default_options,#可以直接插入dicttarget='target')# 直接设置属性也可以form['controls']=[{"type":"submit","label":"提交"}]目前有的组件有:PageChartCrudActionForm如果想用的组件不在上面的话可以直接写dict快速启动示例fromflaskimportFlask,send_filefrompyamis.componentsimport*importjsonapp=Flask("pyamis-test")# app-pages配置defsite():return[# 第一个pageAppPage(label='page-1',url='1',# 第一个page有2个子页children=[# 子页1AppPage(label="page-1-1",url='page-1-1',schema_body=[Form(controls=[{'type':'text','name':"email",'label':"email","required":True},]),"hello world 1 - 1"]),# 子页2AppPage(label="page-1-2",url='page-1-2',# schema_body=[...] 等价于schema=Page(body=['hello page 1 - 2 ']),),]),# 第二个pageAppPage(label='page-2',url='2',#如果想用的组件没有的话,可以直接写jsonschema_body=[{"type":"service","api":"https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/page/initData","body":{"type":"panel","title":"$title","body":"现在是：${date}"}}],)]# print下生成的json配置print(json.dumps(site(),indent=2))@app.route('/')defroot():returnsend_file('test_index.html')# 分页的json@app.route("/pages/site.json")defsite_json():return{'data':{'pages':[dict(label='Home',url='/'),dict(children=site())]}}if__name__=='__main__':app.run(port=8080,debug=True)
Package: amis-python
amis-python基于百度amis前端框架的python pydantic模型封装。由于原版本缺少大量amis新版本的组件或配置，因此本项目在其版本的基础上进行了扩充。相比fastapi-amis-admin的版本：涵盖amis截至3.1.0版本的所有组件使用jinja2模板支持修改主题安装pip install amis-python简单使用fromamis.componentsimportPagepage=Page(title='新页面',body='Hello World')# 输出为python字典print(page.to_dict())# 输出为jsonprint(page.to_json())# 输出为strprint(page.render())# 保存为html文件withopen('HelloWorld.html','w',encoding='utf-8')asf:f.write(page.render())详细使用详见amis官方文档感谢amisfastapi-amis-admin