Saravanan666/pypi-org huggingface dataset:
Package: messagemedia-simple
Simple MessageMedia API wrapperSimple and easy to use module for sending SMS and MMS messages throughMessageMedia API.InstallationThe easiest way is to install the package fromPython Package Index:pip3 install messagemedia-simpleNote thatmessagemedia-simpleisonly availableforPython 3.6 and newer. Installation for older Python versions will fail.Usage - sending a SMS messageThe module interface pretty much mirrors theMessageMediaMesagesAPI.
Refer to the API documentation for details about all the possible settings.frommessagemedia_simpleimportMessagesAPIAPI_KEY="ABCDEFGH1234567890XX"API_SECRET="1234567890asdfghjkl1234567890x"# MessageMedia API objectmm=MessagesAPI(API_KEY,API_SECRET,hmac_auth=True)# Send a SMS message and print `message_id`send_response=mm.send_message("Some content","+1234567890")print(f"message_id:{send_response['message_id']})Now we can check the message delivery status as it progresses fromenroutethroughsubmittedtodelivered:status_response=mm.get_message_status(send_response["message_id"])print(f"status:{status_response['status']})And finally we can retrieveMessage Replies. Unfortunately through the API we can only
retrieveallqueued, unconfirmed replies rather than just those for a givenmessage_id.
The filtering has to be done locally after all the replies are retrieved.# Retrieve all replies from MessageMediareplies_response=mm.get_replies()# Filter only the relevant repliesmy_replies=[rforrinreplies_response["replies"]ifr["message_id"]==send_response["message_id"]]# Process the repliesforreplyinmy_replies:print(f"{reply['content']}")MessageMedia API has a concept ofconfirming a reply- as soon as a reply is confirmed it is no longer
returned fromget_replies()call. That means only confirm a reply after it's successfully processed,
for example written to a local database. Multiple replies can be confirmed at once if needed.forreplyinmy_replies:print(f"{reply['content']}")mm.confirm_replies(reply["reply_id"])Likewise we can retrieve and confirm the delivery reports usingget_delivery_reports()andconfirm_delivery_reports(). The logic of the operation is the same as with replies.Sending a MMS and specifying additional parametersFor MMS messages we can specify a few more options, for example Subject, embedded images, links, etc.Thesend_message()function doesn't have named parameters for all the possible options. However we can
pass any valid option as documented in theSend Message API.
The extra parameters are not validated in any way and it's the caller responsibility to ensure that they
are valid for the API.response=mm.send_message(format="MMS",subject="Happy new year!",content="All the best in 2020",media=["https://images.pexels.com/photos/2526105/pexels-photo-2526105.jpeg?cs=srgb&dl=fireworks-display-2526105.jpg&h=853&w=1280"],destination_number="+123456789",scheduled="2020-01-01T00:00:00.000Z",message_expiry_timestamp="2020-01-01T01:23:45.678Z",metadata={"new_year":2020},)Note that MMS sending has to be enabled first by MessageMedia support.AuthorMichael Ludvig @enterprise IT
Package: message-on-change
message on changeis a small python program, that lets you check if a url has changed since the starting of the script.
This can be useful forwaiting some results on some websiteMonitoring the update schedule of some sitesif you install the package regularly it will probably not be available as a shell command
on your system, and instead be installed in the~/.local/bindirectory, from witch based on your shell
configuration you cannot launch the application.Install with sudo to resolve:$ sudo pip install message-on-changeafter the installation you should have two new commands available$ message-on-changeand$ message-on-change-cliThe gui versionThe gui version is based on qt and is very easy to navigate and work with.
Package: message-pusher-sdk
OverviewPython SDK for message-pusherThis project was generated withcookiecutterusingjacebrowning/template-python.SetupRequirementsPython 3.10+InstallationInstall it directly into an activated virtual environment:$ pip install message-pusher-sdkor add it to yourPoetryproject:$ poetry add message-pusher-sdkUsageAfter installation, the package can be imported:$ python
>>> import message_pusher_sdk
>>> message_pusher_sdk.__version__pytest
Package: messager-client
Это клиентская часть чат-приложения, созданного в рамках учебного курса GeekBrains по клиент-серверному взаимодействию и пользовательским интерфейсам. Автор Колесник Иван. Серверная часть находится по адресуhttps://pypi.org/project/msg-srv/0.0.1/
Package: message-rules
History-------1.1.0+++++release 13-June-2018- Add docker infrastructure so it can be run as an independent executable- Pre-create directories1.0.5+++++release 3-November-2017- Dependency fixes1.0.4+++++release 2-November-2017- Dockerized executable- Bug fixes1.0.3+++++release 1-November-2017- Ignore dot files1.0.0+++++released 26-July-2017- Initial ReleaseHome-page: https://github.com/dana/python-message-rulesAuthor: Dana M. DiederichAuthor-email: dana@realms.orgLicense: MITDescription: message-rules=================Fast, simple message rulesUsage=====Usage::from message_rules import mrulesContributing============Open up a pull request via https://github.com/dana/python-message-rules, please consider adding tests for any new functionality.  To set up the dev environment (assuming you're using [virtualenvwrapper](http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvwrapper))::$ mkvirtualenv message-rules$ pip install -r dev-requirements.txt$ py.testDescription===========This is a very light-weight and fast library that does some basic but reasonably powerful message rules.Classes========TBD::class stuffBugs====None known.Copyright=========Copyright (c) 2012, 2013, 2016, 2017 Dana M. Diederich. All Rights Reserved.Author======Dana M. Diederich diederich@gmail.com dana@realms.orgPlatform: UNKNOWNClassifier: Intended Audience :: DevelopersClassifier: Development Status :: 5 - Production/StableClassifier: Programming Language :: Python :: 2Classifier: Programming Language :: Python :: 2.7Classifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5Classifier: License :: OSI Approved :: MIT License
Package: messages
Messages: Create and send messages fast!PurposeMessagesis a package designed to make sending messages easy and efficient!Messagesintends to be alightweightpackage with minimal dependencies.Messageswith aconsistent APIacross all message types.Messagesincludesasynchronoussupport for fast message handling.InstallationPython3 only$pipinstallmessagesDocumentation in theWikiSupported MessagesEmailTelegramTwilioWhatsAppRead theWikifor usage.ExamplesSynchronous Execution# You can send messages right in the REPL>>>frommessagesimportEmail>>>>>>m=Email(from_="me@here.com",to="you@there.com",auth="p@ssw0rd",subject:"Good Advice"body="Hello,\n\tBuy more Bitcoin!",attachments=["./file1.txt","~/Documents/file2.pdf"],)>>>>>>m.send()Messagesent...Asynchronous Execution# You can also send messages inside a scriptimportasynciofrommessagesimportEmailRECIPIENTS=["you@mail.com","him@mail.com","her@mail.com","doglover@mail.com",]loop=asyncio.get_event_loop()forrinRECIPIENTSe=Email(from_="me@gmail.com",to=r,auth="p@ssw0rd",subject="Good Advice",body="This is an asynchronous email.\nContinue buying more Bitcoin!",attachments=["./file1.txt","~/Documents/file2.pdf"],)loop.create_task(e.send_async())tasks=asyncio.all_tasks(loop=loop)group=asyncio.gather(*tasks)loop.run_until_complete(group)ReadtheWikiformore examplesContributing CodeHelp Wanted!All contributions are welcome to build upon the package!If it's amessage, add it to messages!Read theWikifor guidelines.
Package: messages2json
E-mail message to JSON converter================================Version: 0.3.0Author: Jari JuopperiTravis CI build: [![Build Status](https://travis-ci.org/jmjj/messages2json.svg?branch=master)](https://travis-ci.org/jmjj/messages2json)Overview--------A program that can be used to convert messages stored in various mailbox formats into JSON format. Currently the only supported input format is the `mailbox` format referred in the Python standard library[documentation](https://docs.python.org/2/library/mailbox.html#mbox).**Please note that this program is in the early stage of development. It is not ready for the business critical use.**Installation------------To install use pip:$ pip install messages2jsonOr clone the repo:$ git clone https://github.com/jmjj/messages2json.git$ python setup.py installUsage-----To get help on the usage of the program:$  messages2json --helpusage: messages2json [-h] [--input IN_F_OR_D] [--output OUT_F_OR_D] [--body][--format {mbox}] [--force]Convert e-mail messages to JSON formatoptional arguments:-h, --help           show this help message and exit--input IN_F_OR_D    input file or directory--output OUT_F_OR_D  output file or directory--body               include the body of the message, by default onlyheaders are converted--format {mbox}      the format of input messages--force              Overwrite the output files even if they existHow to store messages to a file in `mbox` format ?------------------------------------------The following instructions help you to store messages from your favorite e-mail progran/service into a file in `mbox` format:+ [Mozilla Thunderbird](https://freeshell.de/~kaosmos/mboximport-en.html)+  [Gmail](http://email.about.com/od/gmailtips/fl/How-to-Export-Your-Emails-from-Gmail-As-Mbox-Files.htm), not tested.+ [MS Outlook](http://www.techhit.com/outlook/convert_outlook_mbox.html), not tested.Contributing------------Bug report, pull requests and comments are appreciated. Please use the standard mechanisms of GitHub on [https://github.com/jmjj/messages2json](https://github.com/jmjj/messages2json) to submit your feedback.
Package: messages-sender
Messages SenderFormat and send a message following a template.DescriptionMessage sender is a library which create a message to send from a python dictionnary and a Jinja template and send it by [the method of your choice](##Send methods available).Getting StartedDependenciespython3.8+Installingpipinstallmessages-senderUse itexample:frommessages-senderimportMessageSendercredentials={"SMTP":{"port":465,"password":"your_mail_password","sender_email":"your_mail",},}method="smtp"template="templates/mail_template.jinja"message={"subject":"Test","core":"The results of your analyse are available.","results":{"link":"https://github.com/Ermite28/messages_sender","label":"See the result"},"greetings":"Best regards,\nBenoît de Witte","senders":{"info":"Ermite28, Belgium"},}MessageSender(credentials=credentials,method=method,template=template).send_message("your_email",message=message)TODOMaybe rethink about the library interface?Make more example templateHandle mails attached files.Better error handling.Add unit testshould it handle file (config, template, message)? NOSend methods available:white_check_mark: Telegram:white_check_mark:  SMTP:red_circle: local:red_circle: Signal:red_circle: RSS:red_circle: SMS:red_circle: Discord bot:red_circle: message_senders API (futur project)LicenseThis project is licensed under the MIT License - see the LICENSE.md file for details
Package: message-transform
History-------1.1.2+++++released 24-August-2018- append to transformed attribute if it is an array rather than over-write1.1.1+++++released 9-August-2018- added array handling in keys, allowing multiple substitutions- also test against Python 3.61.1.0+++++released 13-June-2018- remove reliance on 'six' package- much better specials handling- fixed a bug in integer handling1.0.8+++++released 3-November-2017- Fix a bug where transform_control args were being lost1.0.6+++++released 2-November-2017- Fix a dependency problem1.0.5+++++released 2-November-2017- Key-side transforms- Fix some type related bugs1.0.4+++++released 1-November-2017- Properly handling specials1.0.0+++++released 26-July-2017- Initial ReleaseHome-page: https://github.com/dana/python-message-transformAuthor: Dana M. DiederichAuthor-email: dana@realms.orgLicense: MITDescription: message-transform=================Fast, simple message transformationsUsage=====Usage::from message_transform import mtransformmtransform({'a':'b'},{'x':'y'}) => {'a':'b','x':'y'}mtransform({'a':'b'},{'x':'y','c':{'d':'e'}}) => {'a':'b','x':'y','c':{'d':'e'}}mtransform({'a':'b'},{'x':' specials/$message->{a}'}) => {'a':'b','x':'a'}message = {'a': 'b', 'c': ['d', 'e']}mtransform(message, {' specials/x$message->{c}y': 'x'}) => {'a': 'b', 'c': ['d', 'e'], 'xdy': 'x', 'xey': 'y'}Contributing============Open up a pull request via https://github.com/dana/python-message-transform, please consider adding tests for any new functionality.  To set up the dev environment (assuming you're using [virtualenvwrapper](http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvwrapper))::$ mkvirtualenv message-transform$ pip install -r dev-requirements.txt$ py.testDescription===========This is a very light-weight and fast library that does some basic but reasonably powerful message transformations.Function========Function::mtransform(message,transform)Takes two and only two arguments, both dictionaries, and mutates the message according to the transform.Bugs====None known.Copyright=========Copyright (c) 2012, 2013, 2016, 2017 Dana M. Diederich. All Rights Reserved.Author======Dana M. Diederich diederich@gmail.com dana@realms.orgPlatform: UNKNOWNClassifier: Intended Audience :: DevelopersClassifier: Development Status :: 5 - Production/StableClassifier: Programming Language :: Python :: 2Classifier: Programming Language :: Python :: 2.7Classifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5Classifier: License :: OSI Approved :: MIT License
Package: messaging-app
Messaging App for NarunoThe Messaging App is a simple messaging application that allows users to communicate with each other through text messages. This app is built with Python and uses the Naruno blockchain for user authentication.FeaturesDecentralized systemSecure communication between nodesFast and easy to useMaps blockchain addresses to dynamic IPsUses encryption to protect sensitive informationInstallationYou can install Messaging App by pip3:pip3 install messaging_appUsageTo use Messaging App, you can call from the command line:messagingapp -pass MyNarunoPass --port 80 --integrationport 8000And after you can use the app by going tohttp://localhost:80ContributingContributions to the Messaging App are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.LicenseMessaging App is released under the MPL-2.0 License.
Package: messaging-client
Simple network messaging client application that can send messages
stored in a file to a remote host.InstallationThere are currently two different ways of installing the application.Through pip:pip install messaging-clientManually:git clone https://github.com/mjalas/messaging-client.git
cd message-client
python setup.py installUsageThe messaging-client sends messages by default to localhost:8700To send a message written as a command line argument to:messaging-client -m <message string>To send a message written into a file:messaging-client <message file>Either remote host address or port number or both can be specified with
command line options:messaging-client -h <address> -p <port> <filename>ormessaging-client -h <address> -p <port> -m <message string>Setup virtual environmentTo setup a virtual environment after cloning the repository, it is
easiest to use one of the two creation scripts included in the project.
The first option is to create the virtual environment with virtualenv:env_creators/venv_create.shThe second option is to create the environment with virtualenvwrapper:env_creators/venvwrapper_create.shHowever, this requires that virtualenvwrappers has been setup (seehttp://docs.python-guide.org/en/latest/dev/virtualenvs/if not familiar
with virtualenvwrapper)
Package: messanger
# WAY2SMS Free Python API> Now also verify mobile number as email, do cool stuff with it.## Features- Free sms api- 100% delivery guarantee## Limitations- you can write 140 characters in single message## Installation``` pip install messanger ```All you need to write is,```import messanger# Mobile number registered in way2sms website.phone = '+919409567000'# Password in way2sms website.password = ''# Receiver mobile number.receiver = '+14529959578'# Text message that you want to sendmessage = """Hey Donald Trump,Can write a python program which can send free text messages"""messanger.send(phone, password, receiver, message)```# Note- Don't try that number, Donald Trump doesn't owns it.
Package: messari
MessariUnofficialMessari's Crypto Data APIclient in pythonThe library can be used for crypto prices, market data metrics, on-chain metrics, and qualitative information (asset profile).
For more information, seeMessari API DocumentationInstallation:use pip to install:pip install messariAuthentication:Most endpoints are accessible without an API key.Pass API key in object initialization if required.Example usage:from messari import Messari

# initialize api client
# API Key is optional
messari = Messari(key='xxxxxxxxxxxxxxx')

# Get the paginated list of all assets and their metrics and profiles.
resp = messari.get_all_assets()

# Use query parameters
query = {
    'with-profiles': True,
    'with-metrics': True,
    'fields': 'id,slug,symbol,metrics/market_data/price_usd'
}
resp = messari.get_all_assets(**query)

# set filter fields
fields='symbol,name,slug'

# Get basic metadata for an asset.
resp = messari.get_asset(asset_key='btc', fields=fields)

# Get all of our qualitative information for an asset.
fields='symbol,name,profile/general/overview/project_details'
resp = messari.get_asset_profile(asset_key='btc', fields=fields)

# Get all of our quantitative metrics for an asset.
fields = 'id,slug,symbol,market_data/price_usd,market_data/volume_last_24_hours'
resp = messari.get_asset_metrics(asset_key='btc', fields=fields)

# Get the latest market data for an asset.
fields = 'id,slug,symbol,market_data/price_usd,market_data/volume_last_24_hours'
resp = messari.get_asset_market_data(asset_key='btc', fields=fields)

# Lists all of the available timeseries metric IDs for assets.
resp = messari.list_asset_timeseries_metric_ids()

# Retrieve historical timeseries data for an asset.
query_params = {
    'start': '2020-01-01',
    'end': '2020-02-01',
    'interval': '1d',
    'columns': 'open,close',
    'order': 'ascending',
    'format': 'json',
    'timestamp-format': 'rfc3339'
}
resp = messari.get_asset_timeseries(asset_key='bitcoin', metric_id='price', **query_params)

# Get the list of all exchanges and pairs that our WebSocket-based
# market real-time market data API supports.
fields = 'exchange_name,pair,last_trade_at'
resp = messari.get_all_markets(fields=fields)

# Retrieve historical timeseries data for a market.
query_params = {
    'start': '2020-01-01',
    'end': '2020-03-01',
    'interval': '1d',
    'columns': 'open,close',
    'order': 'ascending',
    'format': 'json',
    'timestamp-format': 'rfc3339'
}
resp = messari.get_market_timeseries(market_key='binance-btc-usdt', metric_id='price', **query_params)

# Get the latest (paginated) news and analysis for all assets.
fields='title,content'
resp = messari.get_all_news(fields=fields)

# Get the latest (paginated) news and analysis for all assets.
fields='title,content'
resp = messari.get_news_for_asset(asset_key='btc', fields=fields)
Package: mess-cms
A Django application for managing hierarchical pages of content, possibly in
multiple languages and/or on multiple sites.Django CMS handles the navigation rendering for you with clean, slug based URLs,
and this navigation can be extended by custom Django applicationsYou can define editable areas, called placeholders, in your templates which you
can fill with CMS plugins, by default we ship the following plugins:FileFlashGoogle MapLinkPictureHTML SnippetTeaserTextVideoTwitterHowever this is not the end of the list, there are many3rd party pluginsalready available for you to use. Should you be unable to find a suitable plugin
for you needs, writing your own is very simple.More information onour website.DocumentationPlease head over to ourdocumentationfor all
the details on how to install, extend and use the django CMS.Getting HelpPlease head over to our IRC channel, #django-cms, on irc.freenode.net or write
to ourmailing list.CreditsThis is a fork of thedjango-page-cms.Includes icons fromFamFamFam.Video plugin uses theOSFlashVideoPlayer.Includes theWymeditor.Python tree engine powered bydjango-mptt.Javascript tree in admin usesjsTree.Many thanks to theover 150 contributorsto the django CMS!
Package: messenger-api
InstallationJust use pip, as you would with all packages$pipinstallmessenger-apiDocumentationThere’s no docs, I’m sorry.
Some day I’ll do it.ExamplesSimple example of sending message to thread>>>frommessenger_apiimportMessenger>>>msg=Messenger('login','password')>>>thread=msg.get_thread(485734986798)>>>thread<messenger_api.Thread.GroupThread:"Random chat name"(485734986798)>>>>thread.send_message("TEST MESSAGE!")<messenger_api.Message.Messageobjectat0x000000262414AFD0>Message sent! :)Soon you will be able to find some examples inexamplesdirectoryContributeI will appriciate pull requests, but if you want to help you even can just let me know that it stopped working..
I’m not using this library at everyday use and I don’t have time to check if Facebook made any changes that breaks compatibility.
Package: messengerbot
Python client for Messenger Platform APIInstallationpipinstallmessengerbotUsageRead aboutMessenger PlatformfrommessengerbotimportMessengerClient,messages,attachments,templates,elements# Manully initialise clientmessenger=MessengerClient(access_token='your_token')# With env var export MESSENGER_PLATFORM_ACCESS_TOKEN=your_tokenfrommessengerbotimportmessengerrecipient=messages.Recipient(recipient_id='123')# Send text messagemessage=messages.Message(text='Hello World')request=messages.MessageRequest(recipient,message)messenger.send(request)# Send button templateweb_button=elements.WebUrlButton(title='Show website',url='https://petersapparel.parseapp.com')postback_button=elements.PostbackButton(title='Start chatting',payload='USER_DEFINED_PAYLOAD')template=templates.ButtonTemplate(text='What do you want to do next?',buttons=[web_button,postback_button])attachment=attachments.TemplateAttachment(template=template)message=messages.Message(attachment=attachment)request=messages.MessageRequest(recipient,message)messenger.send(request)
Package: messenger-bot-library
Messenger Bot LibraryMessenger Bot Library (formerly known as bizarro) is a python library for Facebook Messenger Bot. Its basic task is to help developers creating payloads for Facebook Messenger Bot.
Facebook has different templates and buttons for its Messenger Platform. However, it's extremely tedious to write payload every time. This library is here to help you build a bot without worrying about the payload. All you need to do is send the necessary inputs and this library will return the appropriate payload for you.How to InstallIt's aPyPI package.pip install messenger-bot-libraryCurrent supportRight now, bizarro has support for the followingEcho Back (Simple text reply)Quick ReplyTyping OnMarked SeenButtonPostback ButtonUrl ButtonCall ButtonTemplateButton TemplateGeneric TemplateList Template(List Template was deprecated on July 29, 2019)Attachment sending is not enabled in any other buttons or template right now. They will be rolled out in upcoming versions.DocumentationThe documentation of this project is on the wiki page.