Saravanan666/pypi-org huggingface dataset:
Package: python-moganclient
This is a client library for Mogan built on the Mogan API. It provides a
Python API (themoganclientmodule) and a OSC (the openstackclient CLI)
command-line tool (openstack baremetalcompute).Free software: Apache licensePyPi- package installationOnline DocumentationLaunchpad project- release managementBlueprints- feature specificationsBugs- issue trackingSource
Package: python_mojepanstwo
===============================python-mojepanstwo===============================.. image:: https://img.shields.io/pypi/v/python_mojepanstwo.svg:target: https://pypi.python.org/pypi/python_mojepanstwo.. image:: https://img.shields.io/travis/ad-m/python_mojepanstwo.svg:target: https://travis-ci.org/ad-m/python_mojepanstwo.. image:: https://readthedocs.org/projects/python-mojepanstwo/badge/?version=latest:target: https://python-mojepanstwo.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status.. image:: https://pyup.io/repos/github/ad-m/python_mojepanstwo/shield.svg:target: https://pyup.io/repos/github/ad-m/python_mojepanstwo/:alt: UpdatesA Python client for mojePaństwo API.* Free software: MIT license* Documentation: https://python-mojepanstwo.readthedocs.io.Features--------* TODOCredits---------This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template... _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage=======History=======0.1.0 (2016-09-11)------------------* First release on PyPI.
Package: python-mollusc
Aboutpython-molluscis a portable Python module to use the ClamAV anti-virus engine on
Windows, Linux, MacOSX and other platforms. It requires a running instance of
theclamddaemon.This is a fork ofhttps://github.com/graingert/python-clamdUsageTo use with a unix socket:>>> import clamd
>>> cd = clamd.ClamdUnixSocket()
>>> cd.ping()
'PONG'
>>> cd.version()                             # doctest: +ELLIPSIS
'ClamAV ...
>>> cd.reload()
'RELOADING'To scan a file:>>> open('/tmp/EICAR','wb').write(clamd.EICAR)
>>> cd.scan('/tmp/EICAR')
{'/tmp/EICAR': ('FOUND', 'Eicar-Test-Signature')}To scan a stream:>>> from io import BytesIO
>>> cd.instream(BytesIO(clamd.EICAR))
{'stream': ('FOUND', 'Eicar-Test-Signature')}Licensepython-molluscis released as open-source software under the LGPL license.clamd InstallHow to install the ClamAV daemonclamdunder Ubuntu:sudo apt-get install clamav-daemon clamav-freshclam clamav-unofficial-sigs
sudo freshclam
sudo service clamav-daemon startChanges1.0.3Make it work with gevent1.0.2 (2014-08-21)Remove all dependencies. clamd is now standalone!Use plain setuptools no d2to1.Create universal wheel.1.0.1 (2013-03-06)Updated d2to1 dependency1.0.0 (2013-02-08)Change public interface, including exceptionsSupport Python 3.3, withdraw 2.5 support0.3.4 (2013-02-01)Use regex to parse file status reponse instead of complicated string split/join0.3.3 (2013-01-28)First version of clamd that can be installed from PyPI
Package: pythonmommy
pythonmommyView on PyPIMommy's here to support you when running python~ ❤️THIS IS A PORT OF Gankra/cargo-mommyInstallationInstall python-mommy like you would any other python package~> pip install pythonmommyUsageRun whatever python you would normally but add "-m python_mommy" after python~> cat hello.py

print("Hello, world"

> python -m pythonmommy hello.py

File "/home/little_girl/hello.py", line 1
    print("Hello, world"
         ^
SyntaxError: '(' was never closed

mommy knows her little girl can do better~ ❤️

>_You can alias mommy directly to python if you want,> alias python="python -m pythonmommy"ConfigurationMommy will read the following environment variables to make her messages better for you~ ❤️PYTHON_MOMMYS_LITTLE- what to call you~ (default: "girl")PYTHON_MOMMYS_PRONOUNS- what pronouns mommy will use for themself~ (default: "her")PYTHON_MOMMYS_ROLES- what role mommy will have~ (default "mommy")PYTHON_MOMMYS_EMOTES- what emotes mommy will have~ (default "❤️/💖/💗/💓/💞")All of these options can take a/separated list. Mommy will randomly select one of them whenever she talks to you~For example, the phrase "mommy loves her little girl~ 💞" is "PYTHON_MOMMYS_ROLE loves PYTHON_MOMMYS_PRONOUNS little PYTHON_MOMMYS_LITTLE~"So if you setPYTHON_MOMMYS_ROLES="daddy",PYTHON_MOMMYS_PRONOUNS="his/their", andPYTHON_MOMMYS_LITTLE="boy/pet/baby"then you might get any ofdaddy loves their little boy~ ❤️daddy loves his little pet~ 💗daddy loves their little baby~ 💗And so on~ 💓Configuration (kink)THIS IS NSFW, STOP READING IF YOU WANT MOMMY TO REMAIN INNOCENT!......Good pet~ ❤️All of mommy's NSFW content is hidden behind PYTHON_MOMMYS_MOODS, where "thirsty" is heavy teasing/flirting and "yikes" is full harsh dommy mommy kink~You can enable "true mommy chaos mode" by settingPYTHON_MOMMYS_MOODS="chill/thirsty/yikes", making mommy oscillate wildly between light positive affirmation and trying to break you in half~PYTHON_MOMMYS_MOODS- how kinky mommy will be~ (default: "chill", possible values "chill", "thirsty", "yikes")PYTHON_MOMMYS_PARTS- what part of mommy you should crave~ (default: "milk")PYTHON_MOMMYS_FUCKING- what to call mommy's pet~ (default: "slut/toy/pet/pervert/whore")Here's some examples of mommy being thirsty~ ❤️tugs your leashthat's a VERY good girl~ 💞smooches your foreheadgood job~ 💗are you just keysmashing now~?
cute~ 💖if you don't learn how to code better, mommy is going to put you in time-out~ 💓And here's some examples of mommy being yikes~ 💞good slut~
you've earned five minutes with the buzzy wand~ 💗slides her finger in your mouththat's a good little toy~ ❤️get on your knees and beg mommy for forgiveness you pervert~ 💗mommy is starting to wonder if you should just give up and become her breeding stock~ 💗Licensingmommy likes freedom~ ❤️, and is licensed underMIT.
Package: python-monascaclient
Python bindings to the Monasca APIThis is a client library for Monasca built to interface with the Monasca API.
It provides a Python API (themonascaclientmodule) and a command-line tool
(monasca).License: Apache License, Version 2.0PyPi- package installationOnline DocumentationBugs- issue tracking (we usebugtag to differentiate from new features)SourceRelease Notes
Package: python-money
Introductionpython-money provides carefully designed basic Python primitives for working with money and currencies.The primary objectives of this module is to aid in the development of financial applications by increasing testability and reusability, reducing code duplication and reducing the risk of defects occurring in the code.The module defines two basic Python classes – a Currency class and a Money class. It also pre-defines all the world’s currencies, according to the ISO 4217 standard. The classes define some basic operations for working with money, overriding Python’s addition, substraction, multiplication, etc. in order to account for working with money in different currencies. They also define currency-aware comparison operators. To avoid floating point precision errors in monetary calculations, the module uses Python’s Decimal type exclusively.The design of the module is based on the Money enterprise design pattern, as described in Martin Fowler’s “Patterns of Enterprise Application Architecture”.This project also contains Django helper classes for easy integration with python-money.Installationpython setup.py installProject Sitehttp://code.google.com/p/python-money/This project is sponsored byA115 Ltd.
Package: python-mongorm
MongORMMongORMis an ORM (object relational mapping) wrapper using async library motor forMongoDBconnection and pydantic for data definition and validation.This module is a work in progress and API may change radically.MongORMusespydanticfor data validation
andmotorfor async MongoDB connection.InstallationUsing PIP:pip install python-mongormUsing poetry:poetry add python-mongormUsageCreate clientfrommongormimportMongORMclient=MongORM("mongodb://root:root@localhost:27017/","database")Define modelfrommongormimportBaseModel,MongoIndex,MongoIndexTypeclassBook(BaseModel):"""Define models the way you would define pydantic models"""classMeta:"""Meta contains the model's configuration and indexes"""client=client# pass the client to the model's Metacollection="books"title=MongoIndex("title",MongoIndexType.ASCENDING)author=MongoIndex("author",MongoIndexType.ASCENDING)# id field of type ObjectId is created automaticallytitle:strauthor:stryear_published:int
Package: python-monkey-business
Aboutpython-monkey-business is a package that provides a decorator for
monkey-patching python functions at runtime.InstallationUsing pip:pip install python-monkey-businessOr, to install from source:pip install -e git+https://github.com/theatlantic/python-monkey-business.git#egg=python-monkey-businessIf the source is already checked out, use setuptools:python setup.py developUsageTo use python-monkey-business to swap out a function in a class or module at runtime:importmonkeybizfromfoomoduleimportFooClassimportbarmodule# This replaces FooClass.bar with our method@monkeybiz.patch(FooClass)defbar(original_fn,*args,**kwargs):print"Patched!"returnoriginal_fn(*args,**kwargs)# This replaces barmodule.baz with our function@monkeybiz.patch(barmodule)defbaz(original_fn,*args,**kwargs):#...The first argument tomonkeybiz.patchcan be either a module, a class,
or a list of modules and/or classes. The decorator also takes optionalnameandavoid_doublewrapkeyword arguments. Ifnameis omitted,
the name of the function being patched will be the name of the function being
decorated. Ifavoid_doublewrapis True (the default), then functions and
methods can only be patched once using this function.Usemonkeybiz.unpatch()to revert a monkey-patched function to its original.LicenseThis code is licensed under theSimplified BSD
License. View theLICENSEfile under the root directory for complete license and
copyright information.
Package: python-monnify
=====Python Monnify=====This library makes it easy to connect with Monnify API (To create reserve accounts)It will be updated and maintained as neededDetailed documentation is in the "docs" directory.Quick start-----------1. pip install requests python_monnify2. To use from monnify import Monnify3. method includes> generateToken: Method generate Token to be used in the subsequent calls> createReserveAccount: Creates reserve accounts and returns value from monnify's API> createHashFromWebhook: Generate hash as described on monnify's documentation to compare with transactionsHash4. #=========== USAGE ==========x = Monnify("apiKey", "clientSecretKey")print(x.generateToken())print(x.createReserveAccount())
Package: python-moo
Return to the goals of foo (implemented)SSH connector for execution remote Unix/Linux shell commandsWhat is mooEasy way how to run the same query in multiple SQL databasesPythonobject created for accessing SQL databases (used internallySQLAlchemy)Simplification of the existing project called foo by using an agile approach to programmingWhat is fooOne of my first projects inPython(the best way how to learn programming in any language is, that you try to create something useful)A project with big ambitions (to be universal interface between the database administrator and the rest of the world, foo has connectors to many SQL databases, connectors for SSH, FTP, etc.)A project with a very low quality of source codeStill and probably never finished projectWhy the name mooIt is similar to foo, you need only change one letterMnemonically: results from the database are moo-ed youIt is my favorite LinuxEaster egg;)root@work:~#apt-getmoo(__)(oo)/------\//|||*/\---/\~~~~..."Have you mooed today?"...How to use moo.database#!/usr/bin/env python3importmoo.databaseexecute=moo.database.execute(config='./examples/oracle.moo',script_directory='./examples/')execute('select host_name from v$instance')execute.script('hostname.sql')# or: execute(script='hostname.sql')How to use moo.ssh#!/usr/bin/env python3importmoo.sshexecute=moo.ssh.execute(config='./examples/ssh.moo',script_directory='./examples/')execute('df -h')execute.script('freespace.sh')# or: execute(script='freespace.sh')Any ideas are welcomeHugo ShamrockChangelog0.4 (2016 Nov 22)add configurator as submodulemodify the source code by pep8print raised exceptionfix print datetime values0.3 (2015 Jan 16)create ‘moo’ packagebugfix: new version of paramikoadd ssh connector0.2 (2014 May 27)several attempts to resolve the crashes on encfsadd multiprocessing support0.1 (2014 Apr 17)initial release ~> basic functionality
Package: python-moonalloy
moonalloySmelting moonstone and corroded metal to forge a powerful alloy! (Rust + Lua)What is moonalloy?Moonalloy is a library for scientific computing and data analysis.
It contains functionality for manipulating mathematical objects
like Arrays (Vectors) and Matrices.It also has structures for handling data tables and functions to analyze that data.GoalsThe aim of the project is to a all-in-one, go-to library for scientific computing
and data analysis. The functionality should include:Tools for numeric linear algebraTools for computational scienceTools for statistics and machine learning for data analysisIn short, it aims to have similar functionality as NumPy/SciPy and Pandas.
It will not be an exact clone of the mentioned libraries.Why moonalloyMoonalloy is written with speed and ease of use in mind.
Rust was chosen as the backend language since it is fast (similar to C/C++),
but it has more safety features and a more modern toolchain than C/C++
that works out-of-box. It also has a built-in FFI that is compatible with C/C++.Lua was chosen as the frontend language since it is a fast,
interpreted scripting language similar to python.
It also supports operator overloading and object-oriented programming,
which makes it pleasant to implement a library with an intuitive syntax.
Package: python-mop
python_moppython toolkit for monitor-oriented programming.Examplesimportmop@mop.monitor(lambdav:4<v<6,lambdav:5)defadd0(a,b):returna+bprint(add0(1.1,1.1))@mop.monitor(int,int)defadd1(a,b):returna+bprint(add1(1.1,1.1))# 2@mop.monitor(mop.mrv()==1,None,1)defadd2(a,b):returna+bprint(add2(1.1,1.1))# 1
Package: python-mope
Python MopéClient library for Mopé by HakrinbankToken acquisition and API DocsAPI DocsInstructions foracquiring a tokenRequirementsPython >= 3.7,<=3.11requests (currently not sure what the min required version is)Mopé API TokensGetting StartedFirst, you can install from PyPi by runningpip install python-mopeExample usage:frommopeimportMopemope=Mope(token='test_123')mope.shop.get_payment_request(payment_id='123')ResourcesshopMethodsshop.create_payment_requestArgumentTypeRequiredamountintyesdescriptionstringyesorder_idstringyescurrencyenum (USD, SRD, EU)yesredirect_urlstringyesreturn type:mope.models.payments.CreatePaymentResponseshop.get_payment_requestArgumentTypeRequiredpayment_idstringyesreturn type:mope.models.payments.PaymentRequest
Package: python-motion
Python MotionA Python library for interfacing with theMotion🧪 This library is still in development and is not yet ready for production use.Installationpipinstallpython-motionUsagefrommotionimportMotionmotion=Motion('your-api-key')# Get Taskstasks=motion.tasks.list()DocumentationLibrary docs are a work in progress. For now, you can refer to theofficial API documentationfor more information.Every resource has alist,retrieve,create,update, anddeletemethod.# Listtasks=motion.tasks.list()# Retrievetask=motion.tasks.retrieve('task-id')# Createtask=motion.tasks.create({'name':'Task Name','description':'Task Description'})# Updatetask=motion.tasks.update('task-id',{'name':'New Task Name'})# Deletemotion.tasks.delete('task-id')Available Resources:TasksProjectsUsersWorkspacesCommentsScheduleRoadmapInitial implementationNamed arguments for all methodsAsync supportConvert responses to Pydantic models
Package: python-MotionMount
IntroductionThis Python module allows control of the TVM7675 Pro (Signature) series of MotionMount's from Vogel's Products.Getting StartedThis module can be installed using the following command:pip install python-MotionMountIn your Python code you can then use the module as follows:import asyncio
import motionmount

ip = "MMF8A55F.local." # Can also be "169.254.13.16" or similar
port = 23 # The best way to get the port number is using zeroconf, but it's likely '23'

async def main():
    mm = MotionMount(ip, port)

    try:
        await mm.connect()
        await mm.go_to_preset(1)

        print(f"Extension: {mm.extension}")

        name = await mm.get_name()
        print(f"The name is: \"{name}\"")

        await mm.go_to_position(50, -50)
    except Exception as e:
        print(f"Something bad happened: {e}")
    finally:
        await asyncio.sleep(1)
        await mm.disconnect()


if __name__ == '__main__':
    asyncio.run(main())To get the IP address of the MotionMount you can usepyzeroconfor you can use a manual tool likedns-sdin the macOS Terminal or a GUI tool likeDiscovery(macOS) orBonjour Browser(Windows)A simple example usingpyzeroconfis included in theexamplesfolder.MIT LicenseCopyright (c) 2023 Vogel's ProductsPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: python-mpd2
python-mpd2is a Python library which provides a client interface for
theMusic Player Daemon.Difference with python-mpdpython-mpd2 is a fork ofpython-mpd.  While 0.4.x was backwards compatible
with python-mpd, starting with 0.5 provides enhanced features which areNOTbackward compatibles with the originalpython-mpdpackage (seePorting
Guidefor more information).The following features were added:Python 3 support (but you need at least Python 3.6)asyncio/twisted supportsupport for the client-to-client protocolsupport for new commands from MPD (seekcur, prio, prioid,
config, searchadd, searchaddpl, listfiles, rangeid, addtagid, cleartagid,
mount, umount, listmounts, listneighbors)remove deprecated commands (volume)explicitly declared MPD commands (which is handy when using for
exampleIPython)a test suiteAPI documentation to add new commands (seeFuture Compatible)support for Unicode strings in all commands (optionally in python2,
default in python3 - seeUnicode Handling)configurable timeoutssupport forloggingimproved support for stickerimproved support for rangesGetting the latest source codeIf you would like to use the latest source code, you can grab a
copy of the development version from Git by running the command:$ git clone https://github.com/Mic92/python-mpd2.gitGetting the latest releaseThe latest stable release ofpython-mpd2can be found onPyPIPyPI:$ pip install python-mpd2Installation in Linux/BSD distributionsUntil Linux distributions adapt this package, here are some ready to use
packages to test your applications:SeeINSTALL.rstInstalling from sourceTo installpython-mpd2from source, simply run the command:$ python setup.py installYou can use the–helpswitch tosetup.pyfor a complete list of commands
and their options. See theInstalling Python Modulesdocument for more details.DocumentationDocumentationGetting StartedCommand ReferenceExamplesTestingJust run:$ python setup.py testThis will installTox. Tox will take care of
testing against all the supported Python versions (at least available) on our
computer, with the required dependenciesIf you have nix, you can also use the provideddefault.nixto bring all supported
python versions in scope usingnix-shell. In that case runtoxdirectly instead
of usingsetup.py:$ nix-shell --command 'tox'Building DocumentationInstall Sphinx:$ pip install SphinxChange to the source directory and run:$ python ./setup.py build_sphinxThe command reference is generated from the official mpd protocol documentation.
In order to update it, install python-lxml and run the following command:$ python ./doc/generate_command_reference.py > ./doc/topics/commands.rst
Package: python-mpd-server
python-mpd-server permits to bind a player to aMPD server.You can control your player with a MPD client such asSonata,Gmpcor a command line toolmpc. This module
defines a server which manages client requests, parses a request and
generates a respond. A MPD command is a class that you can override.Current supported features are:Playback control (play, stop, next, …)Manage a playlist (add, move, delete, …)Store/Load playlistsUser management via password command
Package: python-mpns
Python module for Microsoft Push Notification Service (MPNS) for Windows Phone.It supports Toast, Tile and Raw notification formats (the latter one is not tested yet).Usagefrom mpns import MPNSTile, MPNSToast, MPNSRawuri = ‘http://db3.notify.live.net/throttledthirdparty/01.00/ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890’
toast = MPNSToast()
tile = MPNSTile()toast.send(uri, {‘text1’: ‘Hello’, ‘text2’: ‘Windows Phone’})
toast.send(uri, {‘text1’: ‘Tap this message’, ‘text2’: ‘To open application’})tile.send(uri, {‘title’: ‘Tile title’}Useful linksMPNS overview:http://msdn.microsoft.com/en-us/library/ff402558%28v=vs.92%29.aspxProtocol specification:http://msdn.microsoft.com/en-us/library/hh202945%28v=vs.92%29.aspxWP8 enhancements:http://msdn.microsoft.com/en-us/library/windows/apps/jj662933%28v=vs.105%29.aspxError codes:http://msdn.microsoft.com/en-us/library/ff941100%28v=VS.92%29.aspxAuthenticated Web Service:http://msdn.microsoft.com/en-us/library/ff941099%28v=vs.92%29.aspxTODOSupport Windows Phone 8 extended tile notificationsMore testing
Package: python-mpv-jsonipc
Python MPV JSONIPCThis implements an interface similar topython-mpv, but it uses the JSON IPC protocol instead of the C API. This means
you can control external instances of MPV including players like SMPlayer, and it can use MPV players that are prebuilt
instead of needinglibmpv1. It may also be more resistant to crashes such as Segmentation Faults, but since it isn't
directly communicating with MPV via the C API the performance will be worse.Please note that this only implements the subset ofpython-mpvthat is used byplex-mpv-shimandjellyfin-mpv-shim. Other functionality has not been implemented.Installationsudopip3installpython-mpv-jsonipcBasic usageCreate an instance of MPV. You can use an already running MPV or have the library start a
managed copy of MPV. Command arguments can be specified when initializing MPV if you are
starting a managed copy of MPV.Please also see theAPI Documentation.frompython_mpv_jsonipcimportMPV# Uses MPV that is in the PATH.mpv=MPV()# Use MPV that is running and connected to /tmp/mpv-socket.mpv=MPV(start_mpv=False,ipc_socket="/tmp/mpv-socket")# Uses MPV that is found at /path/to/mpv.mpv=MPV(mpv_location="/path/to/mpv")# After you have an MPV, you can read and set (if applicable) properties.mpv.volume# 100.0 by defaultmpv.volume=20# You can also send commands.mpv.command_name(arg1,arg2)# Bind to key press events with a decorator@mpv.on_key_press("space")defspace_handler():pass# You can also observe and wait for properties.@mpv.property_observer("eof-reached")defhandle_eof(name,value):pass# Or simply wait for the value to change once.mpv.wait_for_property("duration")