Saravanan666/pypi-org huggingface dataset:
Package: python-mauth
Install library through pypipipenvinstallpython_mauthSimple usecase of creating applicationfrommauth.applicationsimportApplicationfrommauth.core.clientimportAPIClientapi_client=APIClient(api_key='',api_base_url='http://localhost:8000/api/')app=Application(api_client=api_client)app.title='title'# NOTE. Creation allowed only for admin application.app.create()print(app.id)
Package: python-maven
Archived RepositoryNotice: This repository is part of a Conary/rpath project at SAS that is no longer supported or maintained. Hence, the repository is being archived and will live in a read-only state moving forward. Issues, pull requests, and changes will no longer be accepted.PymavenOverviewPymaven is a Python library for interfacing with the maven build system. There
are two major interfaces:pymaven.client provides a basic maven repository clientpymaven.pom provides a Pom object that can provide progromatic access to
a maven pom file
Package: python-maze-generator
python-mazeGenerates a PNG maze. Thanks toOrestis Zekaifor the original algorithm.Included Maze TypesLine mazeGrid with separate wall segmentsGenerates 2 PNGs -- one solved, one unsolvedEvery grid square is usable as a maze cellCan make more interesting maze generation by adding iterationsIteration is currently very simple -- it's set to maximize the length of the solved pathSmart Mode: Turn on for generating smarter mazes, that make up more of the areaUsage:usage: line_maze.py [-h] [-H HEIGHT] [-W WIDTH] [-S] [-I ITERATIONS]

optional arguments:
  -h, --help            show this help message and exit
  -H HEIGHT, --height HEIGHT
                        how high to make the maze
  -W WIDTH, --width WIDTH
                        how wide to make the maze
  -S, --smart           optimize the maze by being smart
  -I ITERATIONS, --iterations ITERATIONS
                        how many times to tryMultithreaded Line Maze GeneratorGenerates line mazes, using smart modeMay melt CPU'sDefaults are:50 by 50 mazeiterated 100 times10 threadsCurrently the best maze generator in this repo.Usage:usage: multithreaded_maze.py [-h] [-H HEIGHT] [-W WIDTH] [-I ITERATIONS] [-T THREADS]

optional arguments:
 -h, --help            show this help message and exit
 -H HEIGHT, --height HEIGHT
                       how high to make the maze
 -W WIDTH, --width WIDTH
                       how wide to make the maze
 -I ITERATIONS, --iterations ITERATIONS
                       how many times to try
 -T THREADS, --threads THREADS
                       how many threads to spawnLine Maze Example:Line Maze Example:Square mazeKept for historical purposes only. Don't use this. It probably doesn't even work.GridSolving/Optimization isn't working yetUses grid squares for wallsUsage:python square_maze.py <maze_height> <maze_width>Fair warning:This code is horribly inefficient, and large mazes take quite a long time to generate, especially if they are run through many iterations
Package: python-mbee
﻿Пакет mbee предназначен для взаимодействия с радиомодулями MBee производства фирмы “Системы, модули и компоненты” всех серий. Системные требования: Python 3.4 и выше, pip.
Содержит все необходимые функции для отправки и приема пакетов по радио через UART интерфейс. Поддерживает обмен с модулем как с помощью callback-функций, так и посредством периодического
опроса (поллинга). Для работы пакета необходимо, чтобы модуль находился в пакетном режиме UART как на прием, так и на передачу. Кроме этого, должен быть установлен пакет поддержки
последовательного порта - pySerial. Для его установки в командной строке отдайте команду: pip install pySerial.
Поддерживаемые проекты в версии 1.0:
1. SerialStar, сборка 13.02.2018 13:27:56 и выше.
Package: python-MC6470
python-MC6470A python library for accessing MC6470 6-axis accelerometer from mCube via python-smbus using the I2C interface.Default settings are suitable for Raspberry Pi3 and was successfully tested.UsageFollow below mentioned steps:Briefly walk through thedata sheetInstall this package using the command "pip3 install python-MC6470"See the example applicationdemo.pyto understand how to use this library.DevelopPlease send pull requests for improvements and bug fixes inthisgithub repository.LicensePython files in this repository are released under the MIT license.
Package: python-mcollective
IntroductionPython bindings forMCollectiveinspired bymcollective-pythonexample.
Making a ping discovery agent call is just 3 lines:>>> config = config.Config.from_configfile('client.cfg')
>>> msg = message.Message(body='ping', agent='discovery', config=config)
>>> pprint.pprint(rpc.SimpleAction(config=config, msg=msg, agent='discovery').call())
[{':body': 'pong',
  ':msgtime': 1395419893,
  ':requestid': '003ba8142857ccb42cfc4d51262739ecafd43aca',
  ':senderagent': 'discovery',
  ':senderid': 'mco1'}]FeaturesMCollective 2.0 - 2.4Python 2.6 - 3.4All MCollective connectors (STOMP, RabbitMQ, ActiveMQ)SSL security provider (YAML serialization)Battle testedMCollective configuration files parsingMCollective filtersInstallationInstall it just with pip:$ pip install --pre python-mcollectiveThepreargument is required since there is no stable releases yet.ContributeIssue Tracker:https://github.com/rafaduran/python-mcollective/issuesSource Code:https://github.com/rafaduran/python-mcollectiveDocumentation:http://python-mcollective.readthedocs.org/en/latest/SupportIf you are having issues, please just open an issue on GitHub.LicenseThe project is licensed under the BSD license.
Package: python-mcs-sdk
Python-MCS-SDK is a python software development kit for theMulti-Chain Storage(MCS)service. It provides a convenient interface for working with the MCS API.Please take a look at our documentation for how to install and use Python-MCS-SDK:Get StartedIf you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:Discord channelIssue trackingIf you want to get involved, head over to GitHub to get the source code, look at our developer documentation and feel free to jump on the developer mailing lists and chat rooms:GitHub PageDevelopment documentationCode of ConductEveryone interacting in the pip project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow thePSF Code of Conduct.
Package: python-mcstatus
Python MCStatusPython MCStatus is a library which wraps around themcstatus.ioapi. It is developed very similar
to thenode-mcstatusnpm package. It's essentially the same just ported to python.Table of ContentsInstallationUsageLicenseInstallationpip install python-mcstatusUsageJava Statusfrompython_mcstatusimportJavaStatusResponse,statusJavahost='demo.mcstatus.io'port=25565query=Trueresponse:JavaStatusResponse=statusJava(host,port,query)# port is optional and defaults to 25565# You can receive and error in the above when the response is not 200, this copies the functionality from the node library.Bedrock Statusfrompython_mcstatusimportBedrockStatusResponse,statusBedrockhost='demo.mcstatus.io'port=19132response:BedrockStatusResponse=statusBedrock(host,port)# port argument is optional and defaults to 19132Licensepython-mcstatusis distributed under the terms of theMITlicense.
Package: python-md
python-mdpython-md is a Python library for helping writing Markdown documents.InstallationUse the package managerpipto install python-md.pipinstallpython-mdUsagefrompython_mdimportMarkdownmd=Markdown('examples.md')content=md.h1('simple python-md example')header=['this','is','a','table','header']body=[['this','is','the','first','row'],['this','is','the','second','row'],['this','is','the','third','row'],]content+=md.table(header,body)md.write_to_file(content,'w+')For more examples of what you can do, check here:Code:examples.pyYou can also usemaketo generate the examples file:makeexamplesTestingTo run tests, use:maketestsContributingPull 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: python-mdc-utils
# Mock Draft Central Data ExporterExports Mock Draft Central baseball ADP values in CSV format.## Installation```bash$ pip install python-mdc-utils```## Usage```bashusage: download-mdc-adp [-h] -u USERNAME -p PASSWORD [--headers]optional arguments:-h, --help            show this help message and exit-u USERNAME, --username USERNAMEMock Draft Central username-p PASSWORD, --password PASSWORDMock Draft Central password--headers             Include CSV headers in export```## Notes- This app is hard-coded for baseball, mixed 5x5 only. It may not always be this way.- Usage of this app requires a Mock Draft Central account.
Package: python-mecab-ko
python-mecab-koA python binding for mecab-koHelpSeedocumentationfor more details.InstallationUsingpip:$pipinstallpython-mecab-koUsageTo perform morpheme analysis, you need to make a MeCab instance first:>>>frommecabimportMeCab>>>mecab=MeCab()To extract morphemes in a given sentence, usemecab.morphs():>>>mecab.morphs('영등포구청역에 있는 맛집 좀 알려주세요.')['영등포구청역','에','있','는','맛집','좀','알려','주','세요','.']To extract nouns in a given sentence, usemecab.nouns():>>>mecab.nouns('우리나라에는 무릎 치료를 잘하는 정형외과가 없는가!')['우리','나라','무릎','치료','정형외과']To perform a morpheme analysis on a given sentence, usemecab.pos():>>>mecab.pos('자연주의 쇼핑몰은 어떤 곳인가?')[('자연주의','NNG'),('쇼핑몰','NNG'),('은','JX'),('어떤','MM'),('곳','NNG'),('인가','VCP+EF'),('?','SF')]If you would like to obtain detailed morpheme analysis results, usemecab.parse():>>>mecab.parse('즐거운 하루 보내세요!')[Morpheme(span=Span(start=0,end=3),surface="즐거운",feature=Feature(pos="VA+ETM",semantic=None,has_jongseong=True,reading="즐거운",type="Inflect",start_pos="VA",end_pos="ETM",exprssion="즐겁/VA/*+ᆫ/ETM/*",),),Morpheme(span=Span(start=4,end=6),surface="하루",feature=Feature(pos="NNG",semantic=None,has_jongseong=False,reading="하루",type=None,start_pos=None,end_pos=None,exprssion=None,),),Morpheme(span=Span(start=7,end=9),surface="보내",feature=Feature(pos="VV",semantic=None,has_jongseong=False,reading="보내",type=None,start_pos=None,end_pos=None,exprssion=None,),),Morpheme(span=Span(start=9,end=11),surface="세요",feature=Feature(pos="EP+EF",semantic=None,has_jongseong=False,reading="세요",type="Inflect",start_pos="EP",end_pos="EF",exprssion="시/EP/*+어요/EF/*",),),Morpheme(span=Span(start=11,end=12),surface="!",feature=Feature(pos="SF",semantic=None,has_jongseong=None,reading=None,type=None,start_pos=None,end_pos=None,exprssion=None,),),]AcknowledgmentsAPIs are inspired byKoNLPy
Package: python-mecab-ko-dic
python-mecab-ko-dicThis is a version ofmecab-ko-dicpackaged for easy use in Python.  In order to usemecab-ko-dic, a complicated process of installingmecab-koand building the dictionary is required. This library performs these processes in advance and makes the built dictionary available just through installation.CreditsThe dictionary was created by Yongwoon Lee and Yungho Yu as part ofthe Eunjeon proejct.Usageimportmecab_ko_dicprint("Dictionary path:",mecab_ko_dic.dictionary_path)
Package: python-mediator
python-mediatorElastic and extensible high-performance asyncio CQRS + ES python microframework.
Compatible with recent python versions of CPython and pypy3.Corresponds to clean architecture patterns, ideal for
command/query segregation scenarios and event-driven design approaches.Key features:automatic handler inspection and action matching-
like in modern frameworks (FastAPI, Typer, Click etc.) machinery is fully automatic
and command, query or event object is matched with handler automaticallyextra parameters injection with ease-
extra context information like credentials can be passed safely and easily to handler
with zero complexityconfigurable middleware (modifier) stack-
handler call flow can be extended easily
with i.e. data mapping, special exception handling or extra logging
by defining modifier stack that wraps handler executionultra-lightweight and performance optimized-
has no external dependencies and all features are implemented
in care of low runtime overheadHelpWork in progress...A command/query handling examplefromdataclassesimportdataclassfrommediator.requestimportLocalRequestBusbus=LocalRequestBus()@dataclassclassPrintMessageCommand:message:str@bus.registerasyncdefcommand_handler(event:PrintMessageCommand):print(f"print message:{event.message}")returnevent.message@dataclassclassDataQuery:id:int@bus.registerasyncdefquery_handler(query:DataQuery):print(f"data query:{query.id}")return{"id":query.id,"data":"test"}asyncdefmain():printed_message=awaitbus.execute(PrintMessageCommand(message="test"))assertprinted_message=="test"data=awaitbus.execute(DataQuery(id=1))assertdata=={"id":1,"data":"test"}# -- output --# print message: test# data query: 1More advanced example available inexample/test_request_advanced.pyfor reference.An event handling examplefromdataclassesimportdataclassfrommediator.eventimportLocalEventBusbus=LocalEventBus()@dataclassclassMessageEvent:message:str@bus.registerasyncdeffirst_handler(event:MessageEvent):print(f"first handler:{event.message}")@bus.registerasyncdefsecond_handler(event:MessageEvent):print(f"second handler:{event.message}")asyncdefmain():awaitbus.publish(MessageEvent(message="test"))# -- output --# first handler: test# second handler: testMore advanced example available inexample/test_event_advanced.pyfor reference.
Package: python-medusa
python-medusa简介python-medusa是一个闻名的爆破工具medusa的python库,可以帮助使用medusa进行端口爆破，希望能为使用者带来益处。如果您也想贡献好的代码片段，请将代码以及描述，通过邮箱（xinkonghan@gmail.com）发送给我。代码格式是遵循自我主观，如存在不足敬请指出！**文档地址：
**https://python-medusa.xink.top/**PyPi地址：
**https://pypi.org/project/python-medusa**GitHub地址：
**https://github.com/hanxinkong/python-medusa安装pip install python-medusa支持的协议 (不完全统计)AFPCVSFTPHTTPIMAPMS-SQLMySQLNCP (NetWare)NNTPPcAnywherePOP3PostgreSQLrexecrloginrshSMBSMTP (AUTH/VRFY)SNMPSSHSSHv2TelnetVmAuthdVNC简单使用✨在使用之前,请确保已安装medusa应用程序frommedusaimportPortBlastermds=PortBlaster()print("medusa version:",mds.medusa_version)mds.brute(hosts='192.168.2.185',ports='22',user='root',password='root',arguments='-M ssh',isfile_hosts=False,isfile_user=False,isfile_password=False)print("medusa command line:",mds.command_line)print(mds.get_medusa_last_output)# print('medusa bruteinfo: ', mds.bruteinfo)# print('medusa brutestats: ', mds.brutestats)forhostinmds.all_hosts:print("Host:%s(%s)"%(host,mds[host]))参数说明字段名类型必须描述hostsstring是主机,可多个（用,号分隔）portsstring否端口,可多个（23,80,666-777）userstring否用户（默认：root）passwordstring否密码（默认：root）argumentsstring否附加参数（详见附加参数说明）isfile_hostsboolean否主机从文件导入,可多个（每行为一个）isfile_userboolean否用户从文件导入,可多个（每行为一个）isfile_passwordboolean否密码从文件导入,可多个（每行为一个）附加参数说明-O[FILE]指定成功后文件日志信息路径
-e[n/s/ns]N意为空密码，S意为密码与用户名相同
-M[TEXT]模块执行名称
-m[TEXT]传递参数到模块
-d显示所有的模块名称
-n[NUM]使用非默认端口
-s启用SSL
-r[NUM]重试间隔时间，默认为3秒
-t[NUM]设定线程数量
-L并行化，每个用户使用一个线程
-f在任何主机上找到第一个账号/密码后，停止破解
-q显示模块的使用信息
-v[NUM]详细级别（0-6）
-w[NUM]错误调试级别（0-10）
-V显示版本
-Z[TEXT]继续扫描上一次依赖内置依赖reType Hints for Python.osType Hints for Python.shlexType Hints for Python.subprocessType Hints for Python.sysType Hints for Python.jsonType Hints for Python.注：依赖顺序排名不分先后链接Github：https://github.com/hanxinkong/python-medusa在线文档：https://python-medusa.xink.top贡献者许可证该项目根据MIT许可条款获得许可.免责声明若使用者滥用本项目,本人无需承担任何法律责任.本程序仅供娱乐,源码全部开源,禁止滥用和二次贩卖盈利.禁止用于商业用途.
Package: python-melangeclient
This is a client for the Openstack Melange API. It contains a Python API
(themelange.clientmodule), and a command-line script (melange).Running the testsCurrently the test suite requires a running melange-server running onhttp://localhost:9898.Tests are run undertox. First installtoxusing pip or your distribution’s packages then runtoxfrom
the distribution directory to run the tests in isolated virtual
environments.
Package: python-meli
python-meli=======```python-meli``` is a wrapper for MercadoLibre API, current version of the API isV1, this wrapper does not yet totally supports the entire API, see below forsupported endpoints.Features--------* Categories and Listings:- Fully supported, see [the docs](http://developers.mercadolibre.com/API-directory/)* Locations and Currencies- Fully supported, see [the docs](http://developers.mercadolibre.com/API-directory/)Installation------------(pip install | easy_install) python-meli... or, you can clone the repo and install it the old fashioned waygit clone https://github.com/mathiasbc/python-meli.gitcd python-melisudo python setup.py installUsage-----Every method below returns a JSON of the the endpoint response, the following example is just to show the basic usage of this wrapper, however I recommend you to read the meli.py module to see what does every method exactle does and what parameters can be passed to them.###### Mercado Libre endpoints```pythonfrom meli.meli import MercadoLibreMELI = MercadoLibre()# Locations and Currencies =================================================print MELI.countries()print MELI.country_detail(country_id='PE')print MELI.state_detail(state_id='PE-ARE')print MELI.city_detail(city_id='TVBFQ0FSRTE0YjA5')print MELI.currencies()print MELI.currency_detail(currency_id='PEN')print MELI.currency_conversion(currency_id_from='PEN', currency_id_to='USD')# Categories and Listings ==================================================print MELI.sites()print MELI.site_detail(site_id='MPE')print MELI.site_domains(site_domain_url='www.mercadolibre.com.pe')print MELI.site_listing_types(site_id='MPE')print MELI.site_listing_exposures(site_id='MPE', listing_exposure_id='low')print MELI.site_listing_prices(site_id='MPE', price=10000, quantity=10)print MELI.site_categories(site_id='MPE')print MELI.category_detail(category_id='MPE1182')```Notes-----For the moment oauth is not supported, I'm currently working on it.Want to help?-------------Python-MELI is a usefull wrapper but I would greatly appreciate any help, you could contribute writing the Wiki or forking and then making pull request with new features. Feel free to contact me.(c) 2012 - Mathias Bustamante mathias@worldrat.com - Distributed under the BSD license - Made in Peru.
Package: python-memcached
OverviewThis software is a 100% Python interface to the memcached memory cache
daemon.  It is the client side software which allows storing values
in one or more, possibly remote, memcached servers.  Search google for
memcached for more information.This library is stable and largely in maintenance mode.  Another library that
is getting more active enhancements ispymemcacheand they have links and a
good set of comparisons between them on their page.This package was originally written by Evan Martin of Danga.  Please do
not contact Evan about maintenance.  Sean Reifschneider of tummy.com,
ltd. has taken over maintenance of it.Please report issues and submit code changes to the github repository at:https://github.com/linsomniac/python-memcachedFor changes prior to 2013-03-26, see the old Launchpad repository at:Historic issues:https://launchpad.net/python-memcachedTestingTest patches locally and easily by running tox:pip install tox
tox -e py312Test for style by running tox:tox -e pep8
Package: python-memcached-py38fix
## OverviewThis project forks the origin python-memcached project, and fix the SyntaxWarning for python 3.8.This software is a 100% Python interface to the memcached memory cache
daemon.  It is the client side software which allows storing values
in one or more, possibly remote, memcached servers.  Search google for
memcached for more information.This package was originally written by Evan Martin of Danga.  Please do
not contact Evan about maintenance.  Sean Reifschneider of tummy.com,
ltd. has taken over maintenance of it.Please report issues and submit code changes to the github repository at:https://github.com/linsomniac/python-memcachedFor changes prior to 2013-03-26, see the old Launchpad repository at:Historic issues:https://launchpad.net/python-memcached## TestingTest patches locally and easily by running tox:pip install tox
tox -e py27Test for style by running tox:tox -e pep8
Package: python-memcached-udp
A simple UDP Memcached client implementation written in Python.Implemented for my own needs, use at your own risk :-)Python Compatibility>= 2.7 (3 included)Supported OperationssetgetInstallationpipinstallhttps://github.com/idanmo/python-memcached-udp/archive/master.zipUsageimportmemcached_udpclient=memcached_udp.Client([('192.168.0.1',11211),('192.168.0.5',11211)])client.set('key1','value1')r=client.get('key1')
Package: python-memo
Descriptionmemoizeandkeyed-memoizedecorators.memo: The classicalmemoizedecorator. It keeps a cacheargs->resultso you don’t continue to perform the same computations.keymemo(key): This decorator factory act asmemobut it permits to
specify akeyfunction that takes theargsof the decorated function
and computes akeyvalue to use as key in the cache dictionary. This way
you can for example use a single value of a dictionary as key of the cache,
or apply a function before passing something to the cache.instancememo: The classicalmemoizedecorator that can be applied to
class functions. It keeps a cacheargs->resultso you don’t continue
to perform the same computations. The cache is kept in the class namespace.instancekeymemo(key): This decorator factory works like a combination ofinstancememoandkeymemo, so it allows to specify a function that
generate the cache key based on the function arguments and can be applied
to class functions.Usagefrommemoimportmemo@memodeffibonacci(n):ifn<=2:return1returnfibonacci(n-1)+fibonacci(n-2)frommemoimportkeymemo@keymemo(lambdatup:tup[0])deffunction(tup):# build a cache based on the first value of a tuple...InstallationThe package has been uploaded toPyPI, so you can install it with pip:pip install python-memo
Package: python-menu
MenusEasy CLI menu creation toolInstallationpip install python-menuMenu Example>>>frommenuimport*>>>menu1=Menu(title="Menu1",options=["option1","option2","option3"],result="index">>>menu1.show()[+]Menu1[1]option1[2]option2[3]option3(Menu)>1>>>print(menu1.value)1>>>menu1.update(title="Updated Menu1",options=["option1","option2","option3"],result="value")>>>menu1.show()[+]UpdatedMenu1[1]option1[2]option2[3]option3(Menu)>1>>>print(menu1.value)option1List Example>>>frommenuimport*>>>list1=List(title="List1",options="Option 1",result="index")>>>list1.show()[+]List1[+]1-Option1(Option)>1>>>print(list1.value)1>>>list1.update(title="Update List1",options=["Option 1","Option 2"],result="value")>>>list1.show()[+]UpdateList1[+]1-Option1[+]2-Option2(Option)>2>>>print(list1.value)Option2
Package: python-mermaid
Python-MermaidThis modules aims to implement a simple way for developers/admin-sys/devops to create on-the-flyMermaid diagrams.Installationpipinstallpython_mermaidHow to useAll examples are availablehereRun the script below to see diagram generation# Creating a simple flowchart diagramfrompython_mermaid.diagramimport(MermaidDiagram,Node,Link)# Family membersmeg=Node("Meg")jo=Node("Jo")beth=Node("Beth")amy=Node("Amy")robert=Node("Robert March")the_march_family=[meg,jo,beth,amy,robert]# Create linksfamily_links=[Link(robert,meg),Link(robert,jo),Link(robert,beth),Link(robert,amy),]chart=MermaidDiagram(title="Little Women",nodes=the_march_family,links=family_links)print(chart)Returns the following---
title: Little Women
---
graph 
meg["Meg"]
jo["Jo"]
beth["Beth"]
amy["Amy"]
robert_march["Robert March"]
robert_march ---> meg
robert_march ---> jo
robert_march ---> beth
robert_march ---> amywhich results can be seenhereRoadmapCheckissuesfor more informationDevelopmentRequirements: installPoetry. Here is the official method below. ⚠️ Please consider getting a look at Poetry's documentation if it doesn't work. ⚠️curl-sSLhttps://install.python-poetry.org|python3-All-in-one command below to clone and install dependenciescurl-sSLhttps://install.python-poetry.org|python3-
gitclonehttps://github.com/Dynnammo/python_mermaidcdpython_mermaid
poetryshell
poetryinstall--withdevTo launch tests:poetryrunpytestTo check linting:poetryrunflake8This project comes with a tool calledpre-committhat checks if your code is correctly linted.
If you want to use it, run the followingpre-commitinstallContributeWanna help ? Find a bug ?Do not hesitate to fork the repository and send PRs with your changesNo time to code ? Send a bug/feature issuehere