Saravanan666/pypi-org huggingface dataset:
Package: py-mailsender
py-mailsenderA simple library to send emails, based on smtplibAll you need is to import the module and create an object of the py-mailsender class, as follows:from py-mailsender import *sendmail = py-mailsender("your_email_adress", "your_password" , "the_recipient_of_the_email" , "the_subject" , "the_content")
Package: pymailtm
This is a command line interface and python web-api wrapper formail.tm.The api is documentedhere.Dependenciesxcliporxselfor clipboard copying.A browser to open incoming html emails.InstallationWith pippipinstallpymailtmIn a virtual envpython-mvenv.venvsource.venv/bin/activate
pipinstallpymailtmUsageThe utility can be called with:pymailtmRemember that if you are in a virtual env you need to activate it first.By default the command recover the last used account, copy it to the clipboard
and wait for a new message to arrive: when it does, it's opened in the browser
in a quick&dirty html view.Exit the waiting loop by pressingCtrl+c.Calling the utility with the flag-lwill print the account credentials, open
in the browser themail.tmclient and exit.The flag-ncan be used to force the creation of a new account.Security warningsThis is conceived as aninsecure, fast throwaway temp mail account generator.DO NOTuse it with sensitive data.Mails that arrive while the utility is running will be saved inplain textfiles in the system temporary folder (probably/tmp/) so that they can be
opened by the browser.The last used account's data and credentials will be saved inplain textin~/.pymailtm.DevelopmentInstallinvokeandpoetry:pipinstallinvokepoetryNow clone the git repo:gitclonegit@github.com:CarloDePieri/pymailtm.gitcdpymailtm
invinstallThis will try to create a virtualenv based onpython3.7and install there all
project's dependencies. If a different python version is preferred, it can be
selected by specifying  the--python(-p) flag like this:invinstall-ppython3.8The script can now be run directly by launchinginv run. It also accepts flags,
for example:invrun-nThe test suite can be run with commands:invtest# run the test suiteinvtest--full# run even tests that requires a graphical environmentinvtest-spec# run the tests while showing the output as a spec documentinvtest-cov# run the tests suite and produce a coverage reportTests take advantage ofvcrpyto cache
network requests and responses. If you need to clear this cache run:invclear-cassettesTo test the github workflow withact:invact-dev# test the dev workflowinvact-dev-cshell# open a shell in the act container (the above must fail first!)invact-dev-cclean# stop and delete a failed act container
Package: pymain
Pymain - Simplified mainPymain is a decorator and related tools to simplify yourmainfunction(s).
It is intended to be more simple to use and understand thanargparse, while
still providing most of the functionality of similar libraries.DescriptionThe basic idea ofpymainis that your main function (though it doesn’t need
to be called “main”), and therefore your script or application itself, probably
takes parameters and keyword arguments in the form of command line arguments.
Since that interface works very similar to calling a python function,pymaintranslates between those interfaces for you. In addition, so many scripts with
entry points include theif __name__ == '__main__':boilerplate, and pymain
aims to eliminate that.UsageImport and use the@pymaindecorator before your main function that has type
annotations for the parameters. If you don’t need any short options or aliases,
that is all you need to do. Pymain will detect whether the defining module is
run as a script (and therefore__name__ == "__main__") or if it is being
imported. If it is run as a script, then main will be called and given arguments
based onsys.argv. If it is imported, then pymain will not run the function
as a main function and it can still be called normally.Pymain uses the type annotations to determine what types to expect. For short
options or aliases, you can add an@aliasdecorator after the@pymaindecorator describing the alias (either a single alias or a dictionary of
multiple)All arguments that are greater than one character in length are long options
(e.g. –arg), and arguments that have a single character are short options
(e.g. -a). Aliases follow the same rules.Examplesoptional.py:frompymainimportpymain@pymaindefmain(a:float,b:float,c:str=None):print(a/b)ifcisnotNone:print(c)Command line:~$pythonoptional.py422.0~$pythonoptional.py92message4.5messagekeyword.py:frompymainimportpymain@pymaindefmain(first:int,second:int,*,message:str=None):print(first+second)ifmessageisnotNone:print(message)Command line:~$pythonmain.py4610~$pythonmain.py12--message"Hello, World!"3Hello,World!alias.py:frompymainimportpymain,alias@pymain@alias({"opt1":"x","opt2":"y"})deffoo(value:float,*,opt1:float=1.0,opt2:float=2.0):print(value+opt1)print(value-opt2)Command line:~$pythonalias.py23.00.0~$pythonalias.py5-x1-y16.04.0~$pythonalias.py10--opt15--opt2215.08.0
Package: pymajic
PyMajic: Crafting Django Projects, One Command at a Time!PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.InstallationpipinstallpymajicUsageStore DataTo store environment and project directory information:pymajicstoredataRun Custom Command(In Dev Mode)To run a custom Django management command:pymajicruncommand<your_custom_command>Django Shell AccessTo open a Django shell session:pymajicshellEnvironment Verification(Dev Mode)Ensure the correctness of your project environment:pymajicverifyenvironmentProject Sharing(Dev Mode)Share your Django project easily with PyMajic:pymajicshareprojectThis command creates a new virtual environment, installs the project dependencies, and runs the project.Database Backup and RestoreBackup your Django project database:pymajicbackupdatabaseRestore your Django project database:pymajicrestoredatabase<backup_filename>Project Configuration ViewerView the configuration of your Django project:pymajicprojectinfoUpdate CheckCheck for updates to the PyMajic package:pymajiccheckupdateConfig File EditorEdit the PyMajic configuration file:pymajiceditconfigInteractive ModeEnter interactive mode to execute commands dynamically:pymajicinteractivemodeSet Command AliasSet aliases for your custom commands:pymajicsetalias<alias_name><your_custom_command>ContributingContributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: py-make
Bring basicMakefilesupport to any system with Python.Inspired by work intqdm.Simply install then executepymakein a directory containing aMakefile.pymakeworks on any platform (Linux, Windows, Mac, FreeBSD, Solaris/SunOS).pymakedoes not require any library to run, just a vanilla Python
interpreter will do.Table of contentsInstallationLatest PyPI stable releaseLatest development release on GitHubChangelogUsageKnown IssuesDocumentationContributionsLICENCEAuthorsInstallationLatest PyPI stable releasepipinstallpy-makeLatest development release on GitHubPull and install in the current directory:pipinstall-egit+https://github.com/tqdm/py-make.git@master#egg=py-makeChangelogThe list of all changes is available either on GitHub’s Releases:or on crawlers such asallmychanges.com.UsageSimply install then executepymake-pto list commands andpymake <command>to use a command, in a directory containing aMakefile.Known IssuesFor compatibility, ensure:Every alias is preceded by @[+]make (eg: @make alias)A maximum of one @make alias or command per lineA full list of what is and is not supported is on theissue tracker.Sample makefile compatible withpymake:PY=python-mpy_compile.PHONY:alltestinstallcompileall:@+maketest@makeinstalltest:pytestinstall:python-mpipinstallcompile:$(PY)test.pycircle:# of lifecircleempty:# this is a commentIf you get a “Permission Denied” error, please check if maybe your antivirus may be preventing the launch of compiled python scripts, if the Scripts subdirectory is in the PATH, orother issues with the Python install.Documentation(Since 28 Oct 2016)pymake--helpContributionsAll source code is hosted onGitHub.
Contributions are welcome.See theCONTRIBUTING.mdfile for more information.LICENCEOpen Source (OSI approved):Citation information:AuthorsThe main developers, ranked by surviving lines of code
(git fame -wMC), are:Stephen Larroque (lrq3000, core logic)Casper da Costa-Luis (casperdcl, modularization & maintenance)We are grateful for all.(Since 28 Oct 2016)
Package: pymakefile
pymakefileManage your Makefiles with pythonInstallpip install pymakefileUsageStarting a new Makefilepymake initAdd a new command to the Makefilepymake add '{command_name}' '{command}' '{description}'Example of adding new command:pymake add runlocal 'python manage.py runserver' 'Starts the development server'Show available commands in Makefilemake helpDevelopmentInstall dependenciespoetry installActivate virtualenvpoetry shellRunning the commands from sourcepython pymakefile.py initpython pymakefile.py add '{command_name}' '{command}' '{description}'Applying lint rulesblack .
Package: pymakeplots
A python module for making publication quality plots and output datafiles (including moment zero, one, two, PVD's and spectra) from interferometric datacubes.InstallYou can install pymakeplots withpip install pymakeplots. Alternatively you can download the code, navigate to the directory you unpack it too, and runpython setup.py install.It requires the following modules (which pip should install for you if required):numpymatplotlibscipyastropypafitDocumentationCheck the quick start/tutorial jupyter notebookhereCommumicationIf you find any bugs, or wish to be kept up to date when new versions of this software are released, please raise an issue here on github, or email us at DavisT -at- cardiff.ac.uk.Licensepymakeplots is MIT-style licensed, as found in the LICENSE file.Many thanks,Dr Timothy A. DavisCardiff, UK
Package: pymaketool
pymaketoolpymaketoolis an elegant and simple tool to build and manager large C/C++ projects and libraries.
The main purpose is to ease the build process of a project using Python for find and organize file sources.Quick StartInstall required packages:Ubuntu$sudoapt-getinstall-ygccmakepython3python3-pippython3-gipython3-gi-cairogir1.2-gtk-3.0gittimezipFedora$sudodnfinstallpython3python3-pippython3-gobjectgtk3timezipgitgccArch Linux$sudopacman-Sgccmakepythonpython-pippython-gobjectgtk3timezipgitInstall pymaketool:$pip3installpymaketoolCreate new basic C project.$pynewprojectCLinuxGCC(author)Yourname:Ericson(project_name)Yourprojectname:hello

$cdhello

hello$makeclean

hello$make

hello$./Release/helloNote: this example useEclipseAddonby default, pymaketool generate files.setting/language.settings.xmland.cproject.Quick start in DockerPull imagen and run container:$dockerpullericsonjoseph/pymaketool

$dockerrun-itericsonjoseph/pymaketool

ubuntu@$pynewprojectCLinuxGCCQuick Infopymaketoolprocess modules of code like objects. These objects ware define by files *_mk.py. With Python you can code how to discover and get source files and include paths, e.g.:# File app_mk.pyfrompymakelibimportmodule@module.ModuleClassclassApp(module.AbstractModule):defgetSrcs(self):# Get all sources .c in current folder ./app/# return [ 'app/app.c' ]returnself.getAllSrcsC()defgetIncs(self):# Get all include paths in current folder ./app/# return [ 'app/app.c' ]returnself.getAllIncsC()The file app_mk.py could be more short and ease, e.g.:# File app_mk.pyfrompymakelibimportmodule# BasicCModule inherits from AbstractModule and implement getSrcs and getIncs.@module.ModuleClassclassApp(module.BasicCModule):passThe file app_mk.py in raw style:# File app_mk.pyfrompymakelibimportmodule@module.ModuleClassclassApp():defgetSrcs(self):return['app/app.c']defgetIncs(self):return['app']Remote modules could be load like static libraries  and with special compiler flags. e.g:# File extlib_mk.pyfrompymakelibimportmodule@module.ModuleClassclassExtLib(module.ExternalModule):definit(self):# Compile modulelib like static library (Optional)returnmodule.StaticLibrary("modulelib","Release",rebuild=True)defgetModulePath(self)->str:# Location of modulereturn'/LIBS/module_lib/module_lib_mk.py'defgetCompilerOpts(self):# Override method and set speacial compiler flags (Optional)opts=project.getCompilerOpts()opts['CONTROL-C-OPTS']=['-std=c99']returnoptsFor install guide go toinstall-guideFor more documentation go toRead the Docs
Package: pymako
PyMakoA Consul Client for Python.InstallationTo install PyMako run this command:$ pip3 install pymakoUsageAfter installing the library, Read the following usage criteria:frompymakoimportKVfrompymakoimportStatus# KV Store Modulekv=KV("http://127.0.0.1:8500")kv.get("key")kv.update("key","value")kv.delete("key")# Status Modulestatus=Status("http://127.0.0.1:8500")status.leader()status.peers()MiscChangelogVersion 0.0.2:Status & KV Module.Version 0.0.1:Initial Release.Acknowledgements© 2019, Silverback. Released underMIT License.PyMakois authored and maintained by@silverbackhq.
Package: pymal-basics
pymal_basicPython Basic API wrapper forMyAnimeListWORK ON PROGRESSInstallationpipinstallpymal_basicsUsageBasic Usage:frompymal_basicimportAnimeobj=Anime('YOUR CLIENT ID')ress=obj.SearchAnime('naruto',4)final_ress=obj.GetAnime(ress)# You can process more data by processing the resultsforanimeinfinal_ress:print(f"Title:{anime['title']}, ID:{anime['id']}")
Package: pyMALv2
pyMALv2Python API wrapper forMyAnimeList, supporting MAL version 2 api.Note: This is a work in progress and many endpoints have not been implemented. Expect a lot of bugs.InstallationpipinstallpyMALv2orpythonsetup.pyinstallUsageBasic Usage:frompyMALv2.authimportAuthorization,OAuthfrompyMALv2.servicesimportUserService# Create an oauth client.client=OAuth(client_id='your_client_id',client_secret='your_client_secret',redirect_uri='https://your-redirect-url.com')# Start the oauth flow, starts a http server to receive authorization code.client.start_oauth2_flow(http_server=True,port=8989)# Create an authorization object.auth=Authorization().load_token(access_token=client.tokens.access_token,refresh_token=client.tokens.refresh_token,expires_in=client.tokens.expires_in,)# Create serviceuser=UserService(auth)# Get anime listanime_list=user.anime_list.get()# Returns a list of anime objects.Add/Update/Delete entry to user's anime or manga list:user=UserService(auth)user.anime_list.update(Anime(id=43608),status='watching')user.manga_list.delete(12)Seeexamples/example1.pyfor an example on storing the tokens in a file so that you don't have to keep re-authorizing everytime your script runs. If you've ever worked with the google python api, it looks very similar.Data returned from some functions are json objects deserialised to python objects analogous to the MALv2 API. So please refer to the MAL API for more information.For more information, inspect the source code orMAL api docs. Wrapper API docs are not yet available.Currently Implemented EndpointsSearch Anime/Mangahttps://myanimelist.net/apiconfig/references/api/v2#operation/anime_gethttps://myanimelist.net/apiconfig/references/api/v2#operation/manga_getGet Anime/Mangahttps://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_gethttps://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_getManga List Add/Updatehttps://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_my_list_status_putManga List Deletehttps://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_my_list_status_deleteGet User Manga Listhttps://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_my_list_status_putAnime List Add/Updatehttps://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_my_list_status_putAnime List Deletehttps://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_my_list_status_deleteGet User Anime Listhttps://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_animelist_getOAuth2 Authenticationhttps://myanimelist.net/apiconfig/references/api/v2#section/AuthenticationContributingContributions are welcome. Please fork the repo and submit a pull request. Please ensure that the current tests pass before submitting a pull request.LicenseMIT License
Package: pymamba
PyMamba is a Python library designed to turn the LMDB storage engine into a relatively complete
Database package for use in Python3 applications. In the spirit of the language title, this
package is named after the fastest snake on the planet (Black Mamba) as a nod to the speed of
the LMDB storage engine we’re leaning on.See the API here:https://pymamba.linux.co.ukProject page:https://oddjobz.github.io/pymamba/
Package: pyman
PyMan is a small library that allows you to build your own CLI to manage your projects.
This way you do not have to remember commands to run, you simply navigate your CLI to run those commands.InstallingPyMan is available from the PyPi repository.This means that all you have to do to install PyMan is run the following in a console:$pipinstallpymanCollecting pyman
  Using cached pyman-0.1.3-py2.py3-none-any.whl
Installing collected packages: pyman
Successfully installed pyman-0.1.3Minimal Exampleimportpymanpyman.Main("PyMan - Menu Example",[pyman.Action.Cmd("Hello World","echo 'Testing PyMan'"),pyman.Action.Exit()]).cli()Example Output================================================================
                      PyMan - Menu Example
================================================================

Main Menu
--------------------
1) Hello World
2) Exit
--------------------

Choice:How It WorksPyMan uses the idea of Pages and Actions. Each page is made up of a number of actions.You start off by instanciating the ‘Main Menu’ class, providing the title you wish to display:menu=pyman.Main("PyMan - Menu Example")From here you add other Pages or Actionsmenu.add([pyman.Action.Exit()])pyman.Action.Exit is one of the in-built actions. Other inbuilt actions include:pyman.Actions.Cmdpyman.Actions.Backpyman.Actions.ExitAnd finally, you start the CLI with:menu.cli()Documentation:ReadTheDocsSource Code:GitHub
Package: py-manga
py-mangaa library for getting information from mangaupdates.com!note: i am not affiliated with mangaupdates.commangaupdates, while offering a great source of information for your favorite manga, does not properly expose an api. it just returns the page html!
this is where py-manga comes in. using beautifulsoup, it parses all the information out of the html, making it way easier to work with.to see how the data is organized, seethe documentationCurrently SupportedSeries informationSearchingAdvanced/Genre SearchingLatest Releases
Package: pymanga-dl
Manga-dlManga-dlis a command line tool which helps you search and download comic from multiple sources.Support for Dogemanga、Mangabz、Manhuagui、Manhuabei、Manhuadb and Ykmh. Seesupported sources.Python3 Only. Python 3.7+ Recommended.English| 中文文档Manga-dl是一个基于Python3的命令行工具，可以从多个网站搜索和下载漫画，方便寻找漫画，解决不知道哪个网站有版权的问题。工具的本意是聚合搜索，API是从公开的网络中获得，不是破解版，也不能下载付费漫画。欢迎提交插件支持更多漫画站点！插件写法参考manga_dl/addons中的文件。查看支持的漫画站点。禁止将本工具用于商业用途，如产生法律纠纷与本人无关，如有侵权，请联系我删除。功能使用解析js的方式爬取图片支持 HTTP 和 SOCKS 代理支持搜索结果去重和排序支持搜索关键字高亮支持多线程下载注意：仅支持Python3，建议使用Python3.7 以上版本安装使用pip安装（推荐，注意前面有一个py）：$pipinstallpymanga-dl手动安装（最新）：$gitclonehttps://github.com/iworldtong/manga-dl.git
$cdmanga-dl
$pythonsetup.pyinstall不安装直接运行：$gitclonehttps://github.com/iworldtong/manga-dl.git
$cdmanga-dl
$pipinstall-rrequirements.txt
$./manga-dl# 或 python manga-dl在以下环境测试通过：系统名称系统版本Python版本macOS10.153.7.3使用方式建议先查看帮助$ manga-dl --help
Usage: manga-dl [OPTIONS]

  Search and download comic from multiple sources.

  Supported sites: https://github.com/iworldtong/manga-dl#支持的漫画站点

  Example: manga-dl -k 辉夜大小姐

Options:
  --version             Show the version and exit.
  -k, --keyword TEXT    搜索关键字
  -u, --url TEXT        通过指定的漫画URL下载（可指定为包含漫画链接的txt文件）
  -s, --source TEXT     支持的数据源 ('+'分割): manhuabei+mangabz
  -n, --number INTEGER  搜索数量限制
  -o, --outdir TEXT     指定输出目录, 默认当前终端目录
  -a, --download_all    下载整部漫画，不进入章节选择界面
  -x, --proxy TEXT      指定代理（如socks5://127.0.0.1:1086）
  -v, --verbose         详细模式
  --nomerge             不对搜索结果列表排序和去重
  --auto_proxy          自动按站点配置代理，需设置-x
  --aes_key TEXT        manhuabei
  --aes_iv TEXT         manhuebai
  --help                Show this message and exit.默认搜索manhuabei，数量限制为5，保存到当前终端路径指定序号时可以使用1-5 7 10的形式默认对搜索结果排序和去重支持http代理和socks代理，格式形如-x http://127.0.0.1:1087或-x socks5://127.0.0.1:1086-u参数可指定为包含漫画链接的txt文件，由于不同站点代理设置不同，若从文件加载最好自动设置代理-x socks5://127.0.0.1:1086 --auto_proxy：示例：支持的漫画站点网站名称简介漫画狗近期能上去的。。。Mangabz全網資源最全的在線漫畫、日本漫畫閱讀平臺。擁有時下最熱門的日漫作品，超快的更新速度，第一時間為你奉上極致的閱讀體驗。漫画柜海量的国产漫画、日韩漫画、欧美漫画等丰富漫画资源，免费为漫画迷提供及时的更新、清新的界面和舒适的体验,努力打造属于漫画迷的漫画乐园。漫画呗原名漫画堆、50漫画网，非商业性的二次元分享交流网站，不仅是一个提供宣传推广全世界各种不同漫画文化的分享交流平台，更致力于推动和发展国内原创动漫。不需翻墙漫画DB最专业的日本漫画大全资料库。所有漫画均可免费在线看，同时每部漫画都有丰富的资料，包括登场人物、用语、设定、改编作品及创作幕后等深层的内容。优酷漫画有可能找到一些上面版权受限的漫画，推荐，需翻墙参数名：dogemanga, mangabz, manhuagui, manhuabei, manhuadb, ykmh欢迎提交插件支持更多漫画源！插件写法参考manga_dl/addons中的文件更新记录2021-04-23 推荐使用Dogemanga2020-08-25 实现Manhuabei中AES加密KEY、IV的自动获取，但保留接口；添加ykmh站点；0.1.112020-08-23 Manhuagui访问不稳定；Manhuabei JS解析变动，暂通过--aes_key、-aes_iv手动配置2020-08-18 修复下载进度条显示错位问题2020-08-15 完成v0.1版LICENSEMIT License
Package: pymangaj
PyMangaJPymangaj is a Python library for searching and retrieving manga pages from different sources. It provides a simple interface to fetch manga pages from popular manga websites.InstallationYou can install pymangaj using pip:pipinstallpymangajGetting StartedSearch PagesTo use pymangaj, import thepymangajmodule and call thesearch()method. Pass the manga name, chapter, and the sources you want to search from as arguments. The method will return a list of manga pages.frompymangajimportpymangaj,Sourcespymangaj.search("Naruto",1,sources=[Sources.CHAPMANGANATO,Sources.LER_MANGA])['https://v2.mkklcdnv6tempv2.com/img/tab_2/00/13/32/ng952689/vol_72_chapter_699_the_seal_of_reconciliation/1-o.jpg','https://v2.mkklcdnv6tempv2.com/img/tab_2/00/13/32/ng952689/vol_72_chapter_699_the_seal_of_reconciliation/2-o.jpg'...]Search TitlesImport thepymangajmodule and call thesearch_titles()` method. Pass the manga name you want to search. The method will return a list of manga titles.frompymangajimportpymangaj,Sourcespymangaj.search_titles("Naruto",source=Sources.LER_MANGA)[{'title':'Naruto: Konoha Shinden &#8211; Yukemuri Ninpouchou','url':'https://lermanga.org/mangas/naruto-konoha-shinden-yukemuri-ninpouchou/'},{'title':'Naruto Gaiden: Uzu no Naka no Tsumujikaze','url':'https://lermanga.org/mangas/naruto-gaiden-uzu-no-naka-no-tsumujikaze/'}]Sourcespymangaj supports the following manga sources:SourceLanguageStatusSourceMangaLivrePT-BR❌MANGA_LIVREMuitoMangaPT-BR❌MUITO_MANGAManganatoEN-US✅CHAPMANGANATOLerMangaPT-BR✅LER_MANGALicenseThis project is licensed under theMIT License. See the LICENSE file for details.ContributionContributions to pymangaj are welcome! If you have any bug reports, feature requests, or suggestions, please open an issue on theGitHub repository.Authors@jjeanjacques10Contributors@fabiobarkoski