Saravanan666/pypi-org huggingface dataset:
Package: sendlk
Send.lk Python SDKsendlk is a python SDK for thesend.lkSMS getaway.ExampleHere is an article of example, How to use this package with FastAPI ->ishanga.hashnode.devInstallationUse the package managerpipto install sendlk.pipinstallsendlkFeaturesSend MessagesSend Verify Code (Package's feature)Validate Verify Code (Package's feature)Check BalanceTODO: ContactsTODO: Message HistorySend Normal SMSimportsendlk# Before import any module from sendlk you should initialize it first# secret will use in the OTP/Phone number verify modulesendlk.initialize("sendlk-token","my-custom-super-secret")fromsendlk.responsesimportSmsResponse,ProfileResponsefromsendlk.exceptionsimportSendLKExceptionfromsendlk.engineimportSMS,Profilefromsendlk.optionsimportSendLKVerifyOption,SendLKCodeTemplatetry:response:SmsResponse=SMS.send("07XXXXXXXX","Hello World!","SendTest")print(response)exceptSendLKExceptionase:print(e)Send OTP/Verify Codeimportsendlk# Before import any module from sendlk you should initialize it first# secret will use in the OTP/Phone number verify modulesendlk.initialize("sendlk-token","my-custom-super-secret")fromsendlk.responsesimportSmsResponsefromsendlk.exceptionsimportSendLKExceptionfromsendlk.engineimportSMSfromsendlk.optionsimportSendLKVerifyOption,SendLKCodeTemplate# If you want to use custom text/body you can create custom template using "SendLKCodeTemplate"# If code text template not given default one will be used# Default: "0000 is your verification code."classCustomCodeTemplate(SendLKCodeTemplate):def__init__(self):super().__init__()deftext(self,code:str)->str:returnf"{code}is the verification code for foo service."options:SendLKVerifyOption=SendLKVerifyOption(code_length=6,# Length of the codeexpires_in=5,# Time in minutes the code will expiresender_id=SENDER_ID,# Sender IDsubject="foo",# Subject of the tokencode_template=CustomCodeTemplate()# Custom code template)try:response:SmsResponse=SMS.send_verify_code(PHONE_NUMBER,options)token=response.data.get("token",None)code=input("Enter the code: ")response:SmsResponse=SMS.validate_verify_code(code,token)print(response)print(response.data)exceptSendLKExceptionase:print(e)Check remaining balanceimportsendlk# Before import any module from sendlk you should initialize it first# secret will use in the OTP/Phone number verify modulesendlk.initialize("sendlk-token","my-custom-super-secret")fromsendlk.responsesimportSmsResponse,ProfileResponsefromsendlk.exceptionsimportSendLKExceptionfromsendlk.engineimportSMS,Profiletry:response:ProfileResponse=Profile.balance()print(response.remaining)exceptSendLKExceptionase:print(e)ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: sendmail
Provides smtplib compatible API for sending Internet mail messages,Most Un*x Mail Transfer Agents (MTAs) supply a /usr/sbin/sendmail
program for queuing mail messages without requiring a local (or remote)
SMTP server.Compatible with ‘sendmail’ and ‘postfix’ MTAs.
Not meant for use inside single-process containers!Your mileage may vary.
Offer void where prohbited by law.
Prior results do not guarantee a similar outcome.
Packaged by weight, not volume, some settling may have occurred.
Members of the immediate family are not eligible to participate and win.
Package: send-mail
Send MailThis package makes it much easier to send emails in python.InstallationInstall on Linux/MacOS:python3 -m pip install send_mailInstall on Windows:python -m pip install send_mailUsagefromsend_mailimportSendMail# Create SendMail objectnew_mail=SendMail(# List (or string if single recipient) of the email addresses of the recipients['recipient1@email.com','recipient2@email.com'],# Subject of the email'Email Subject',# Body of the email'Email Body',# Email address of the sender# Leave this paramter out if using environment variable 'EMAIL_ADDRESS''sender@email.com')# Add HTMLnew_mail.add_html_message('<h1>Hello, World</h1>')# If using HTML file# new_mail.add_html_file('/path/to/your/html/file')# List (or string if attaching single file) of relative or absolute file path(s) to filesnew_mail.attach_files(['image.jpg','text.txt','myPDF.pdf'])# Print SendMail object to confirm emailprint(new_mail)# Send the email# Leave this parameter out if using environment variable 'EMAIL_PASSWORD'new_mail.send('fake_password')Let me know if you would like more email services other than Gmail
Package: send_nsca
send_nsca – a pure-python nsca senderNSCA is the remote passive acceptance daemon used with many Nagios installs. It
ships with a (C-language) executable called send_nsca for submitting checks.
This is a mostly-clean re-implementation of send_nsca in pure-python. It
supports 10 of the 26 crypto functions used by upstream NSCA, sending to
multiple hosts with one invocation, and timeouts.
Package: send-nsca3
OverviewNSCA is the remote passive acceptance daemon used with many Nagios installs. It
ships with a (C-language) executable calledsend_nscafor submitting checks.
This is a mostly-clean re-implementation ofsend_nscain pure-python. It
supports 10 of the 26 crypto functions used by upstream NSCA, sending to
multiple hosts with one invocation, and timeouts.Why send_nsca3?Python3 compatible version of send_nsca, packaged for pypi installation. Just a
personal convenience thing, as as none of libraries for sending nsca checks
support python3, and the projects don't seem active.Credits/Copyright/LicenseThis software was written by James Brownjbrown@uber.com.This software is licensed under the LGPL v2.1TestingThe unit/integration tests for this package are located in thetests/directory.  Unit tests only require the unittest package (or python 2.7+)
and the mock library; integration tests also require thenscabinary. To
run them, simply make sure that your$PYTHONPATHis set up correctly and
runnosetests -v tests.InstallingThis software uses setuptools/distutils; you can install it withsudo python setup.py install,
and it's easy to write packaging for your favorite OS.ContributingIt's Github; fork away!
Package: sendoff
The minimal SDF metadata parser.Often, SDFs have lots of useful metadata on them in the title and record fields/values.
However, reading a molecule (via rdkit, OpenEye toolkits, etc) can be slow because those
libraries also construct the molecules. Modifying the metadata, or filtering/sorting based
on the metadata also can induce non-idempotent differences in the file based on
opinionated approaches in chemical libraries.This library strives to be able to handle SDF files even with malformed chemistry or
metadata. Since much debugging of our files and data deals with such files, having access
to simple tools to interrogate the files while not modifying the file is crucial.This package also tried to document the “canonical” ways metadata is handled by the larger
packages. To wit, there are tests to monitor how, for example, rdkit deals with molecules
that have multiline record values, or a “$$$$” molecule title.
Package: sendou-py
sendou.pyAn async Python client for Sendou.inkThis package is a currently a work in progress.MaintainersVincent LeeDependenciesaiohttppython-dateutilInstallationpip install sendou.pySupported EndpointsGet userGet Tournament InfoGet Tournament TeamsGet Tournament Match InfoUsageimportsendouclient=sendou.Client("API_KEY")# Get Sendou's user objectawaitclient.get_user("79237403620945920")Getting an API KeyTo use this library, you must have an API key. You need to DM Sendou for an API Key currently.
Package: sendsafely
SendSafely Python APIThe SendSafely Python API lets you integrate SendSafely secure data transfer capabilities directly into your Python application.QuickstartThe example below shows you how to install thesendsafelypackage, import it as a module, and use it to create a package. Make sure that you havePython 3 or higher installed, as well as pip and Setuptools.To install the SendSafely Python API, simply runpip install sendsafelyImport the SendSafely modules to start making your API callsfromsendsafelyimportSendSafely,PackageCreate a Sendsafely instance objectsendsafely=SendSafely("https://your-company.sendsafely.com","API_KEY","API_SECRET")Create a new packagepackage=Package(sendsafely)Add a secure message to the packagepackage.encrypt_and_upload_message("hello this is a message")Add a recipient to the packagepackage.add_recipient("user@foobar.com")Finalize the package so it can be delivered to the recipients. The returned response contains the Secure Link needed for recipients to access the package.response=package.finalize()You will need to generate your own API_KEY and API_SECRET from the API Keys section of your Profile page when logged into your SendSafely portal.Examplessendsafely_python_example.py- demonstrates how the SendSafely Python API can be used to create packages and handle encrypt/upload and download/decrypt operations without the API developer having to implement these complex operations.python3 sendsafely_python_example.pysendsafely_rest_example.py- demonstrates how the SendSafely Python API can be used to call SendSafely REST API endpoints directly. This is useful for cases where the SendSafely Python API does not currently implement a function for calling the endpoint.python3 sendsafely_rest_example.pyBefore running the example scripts, you will need to update theapi_key,api_secret, andbase_urlvariables in the script before running it.For more information, please refer to ourDeveloper Websiteto familiarize yourself with the core SendSafely API and common operations. You can find our documented REST API endpointshere.SupportFor support, please contactsupport@sendsafely.com.
Package: sendsay-api-python
===================Sendsay API Python===================The client library to support Sendsay API.Installation===================.. code-block:: shellpip install sendsay-api-pythonDependencies===================* requestsIf your Python version older than 2.7.9, the following packages are required to support TLS SNI certificate checking:* ndg-httpsclient* pyopenssl* pyasn1Usage===================Getting the instance of the SendsayAPI class-------------------.. code-block:: pythonfrom sendsay.api import SendsayAPIapi = SendsayAPI(login='<YOUR_LOGIN>', sublogin='<YOUR_SUBLOGIN>', password='<YOUR_PASSWORD>')Making a simple request-------------------.. code-block:: python# Calling with parameters as dictresponse = api.request('member.set', { 'email': 'test1k@test.ru', 'addr_type': 'email', 'if_exists': 'overwrite', 'newbie.confirm': 0, 'return_fresh_obj': 1 })# Or with parameters as kwargs if we don't have '.' in any parameter nameresponse = api.request('sys.settings.get', list=['about.name'])Making an async request-------------------.. code-block:: pythonresponse = api.request('issue.send', {'sendwhen': 'now','letter': {'subject': "Subject",'from.name': "Tester",'from.email': "test@test.ru",'message': {'html': "Sendsay API client test message<hr>Hello!"},'attaches': [api.attach_file("sample.jpg")],},'relink' : 1,'users.list': "test1@test.ru\ntest2@test.ru",'group' : 'masssending',})# Your tracking function definition if you want to trackdef track_process(resp, status_msg):print('---- %s' % status_msg) # Print a status message for example# Waiting for the end of the processresult = api.track_wait(response,callback=track_process, # your tracking function (if necessary)retry_interval=5,max_attempts=100)
Package: send-sms-freemobile
Yet another tool to send SMS through French provider FreeMobile!How to useJust use the following command:send-smsIf the command is not on your PATH, it will be usually found on$HOME/.local/bin.Configuration fileConfiguration file can be found here:Directory: XDG_CONFIG_HOME (default is$HOME/.config)File:send-sms-freemobile.confIt should look like:user: free-user-here
password: free-password-here
Package: sendsmtp
CLI SMTP client in pure Python.Installation:python3 -m pip install --user --upgrade sendsmtpUsage:$sendsmtp--helpusage: sendsmtp [-h] [-m MESSAGE] [-i INPUT] [-p PORT] [-u USERNAME] [--password PASSWORD] [-t] [-c CC] [-b BCC] [-s SUBJECT] HOST FROM TO

 CLI SMTP client in pure Python

 positional arguments:
   HOST                  Host to connect via SMTP.
   FROM                  Sender email.
   TO                    Recipient email(s), comma separated.

 options:
   -h, --help            show this help message and exit
   -m MESSAGE, --message MESSAGE
                         Message to send.
   -i INPUT, --input INPUT
                         Path to file to read message contents.
   -p PORT, --port PORT  Port to connect via SMTP.
   -u USERNAME, --username USERNAME
                         Username for login.
   --password PASSWORD   Password for login.
   -t, --tls             Flag to use TLS.
   -c CC, --cc CC        Recipient address(es) to send copy to, comma separated.
   -b BCC, --bcc BCC     Recipient address(es) to send blind copy to, comma separated.
   -s SUBJECT, --subject SUBJECT
                         Message subject.
Package: sendspace-cli
# Pre-requisites[Create a Sendspace account](https://www.sendspace.com/register.html), [log in](https://www.sendspace.com/login.html)[Create a Sendspace API key](https://www.sendspace.com/dev_apikeys.html)Create a YAML file at~/.sendspace-apilike so:`yaml api_key: my_api_key username: my_sendspace_username password:my-sendspace-password`Because this file contains sensitive information, be sure to lock who can read this file withchmodor your favourite tool:`sh chmod 0600~/.sendspace-api`.`# InstallationUse pip:`sh pip installsendspace-cli`# Usage`sh sendspace FILE `Output is the URI to the page on SendSpace for download.
Package: sendtelegram
sendtelegramCurrent version: 0.2.0A Telegram replacement for sendmail.sendtelegramuses a Telegram bot to send messages to a specific user. It reads fromstdin, splits the input text into messages of at most MAX_MSG_LEN
characters (default: 4096) and send them
using the Telegram API.sendtelegramadheres to the 12 factor principles to manage settings.It requires two environment variables:SENDTELEGRAM_API_TOKEN: the Telegram API token.SENDTELEGRAM_CHAT_ID: id of the chat between the bot and the target user.Usageusage: sendtelegram [-h] [-m MAX_MSG_LEN]

optional arguments:
  -h, --help            show this help message and exit
  -m MAX_MSG_LEN, --max-msg-len MAX_MSG_LEN
                        Max number of characters of a Telegram message (default: 4096)ExamplesSending a text file as a telegram message:cat README.md | sendtelegramAuthorGiovanni Stracquadanio,giovanni.stracquadanio@ed.ac.uk
Package: send-text
send_textA simple Python module to send text messages. Using this, it's possible to connect to an email and send a text message with it.Some of the data in the text messages sent might be changed, and this is most likely an issue with the recipient's carrier or mobile OS. Sometimes, trailing newlines are cut off, or the filenames of images/videos aren't the same. It's also not possible to send.giffiles using this module. It is possible to send.mp4files, however, so converting a.gifto a(n).mp4and sending that is possible.This module is available under the MIT license. SeeLICENSEfor more information.Do not expect this to be updated frequently.UsageFirst, run the commandpython -m pip install send_textto install the module. No dependencies, outside of modules that come with Python by default, are required for this module. Shown below is the ideal way to use this module.importsend_textwithsend_text.Sender("johnsmith@gmail.com","password123","smtp.gmail.com",587)assender:sender.text("1234567890@mms.att.net","I sent this text message using the send_text module!")sender.text_image("1234567890@mms.att.net","/path/to/image.png")sender.text_video("1234567890@mms.att.net","/path/to/video.mp4")send_text.Sendertakes 4 arguments: an email, its password, the SMTP server of the email's domain, and the port to be used to connect to said SMTP server. It's possible to omit the last 2 arguments when creating a Sender, but it is not recommended. If they are omitted, the program will try to find that data by itself; however, the program can only find data for some of the most popular email domains, such as gmail.com and outlook.com.Sender.text,Sender.text_image, andSender.text_videoeach take 2â€“3 arguments. The first argument is the phone number of the recipient. Ideally, it contains the MMS gateway domain as well (Ex: "1234567890@vzwpix" for Verizon). If the MMS gateway domain isn't there, the format should be "1234567890" (as a str; NOT an int). Additionally, the 3rd argument (carrier) must be included if the MMS gateway domain isn't in the number. It's case-insensitive, so there's no difference between "Verizon" and "verizon". Note that even if you include the carrier, the program might still fail; only some of the most popular carriers in the US are supported (e.g. Verizon, AT&T, T-Mobile).The second argument of these functions all differ. InSender.text, the second argument is the message to be sent. InSender.text_imageandSender.text_video, the second argument is a path to the image/video to be used.If, for some reason, you do not want to use the with statement, the code below also works.importsend_textsender=send_text.Sender("johnsmith@gmail.com","password123","smtp.gmail.com",587)sender.start()try:sender.text("1234567890@mms.att.net","I sent this text message using the send_text module!")sender.text_image("1234567890@mms.att.net","/path/to/image.png")sender.text_video("1234567890@mms.att.net","/path/to/video.mp4")finally:sender.quit()
Package: send-the-raven
Send the Raven is a Python library that provides a comprehensive collection of toolkits and algorithms for handling US addresses. It aims to simplify the process of working with US addresses, offering functionalities such as parsing, validation, formatting, and more.Checkout the officialdocumentation.FeaturesAddress Parsing: Extract structured information from US addresses, including street names, house numbers, city, state, and ZIP codes.Address Validation: Validate US addresses to ensure accuracy and compliance with USPS standards.Address Formatting: Format US addresses in a consistent and standardized manner for various purposes.Address Geocoding: Convert US addresses into Longitude and Latitude.Additional Utilities: Additional utilities to enhance address handling, such as address comparison, address normalization, and more.Installationsend_the_raven can be installed from PyPI:pipinstallsend-the-ravenUsageHere is a quick example of using send_the_raven to validate addresses into USPS Database:fromsend_the_ravenimportValidatoraddresses=[{"street":"123 Main St","city":"Anytown","state":"CA","zip_code":"12345"},{"street":"456 Oak Rd","city":"Forest","state":"VT","zip_code":"67890"}]validator=Validator(addresses,usps_id="MY_ID")valid_addresses=validator()send_the_raven handles parsing the address data, constructing the validation requests, and returning the corrected addresses.The :py|.`~send_the_raven.address.Address`|_ class also provides methods for normalizing, geocoding, and working with addresses.Acknowledgmentssend_the_raven uses the following open source libraries:usaddress-scourgifyfor parsing addresses.xmltodictfor working with XML.aiohttpfor asynchronous HTTP requests.geopyfor geocoding.h3-pyfor geospatial indexing.We thank the developers of these libraries for their contributions.ExamplesAPI ReferenceContributing
Package: sendtokindle
Send To KindleA utility to send documents to your Kindle via the Internet.Currently only works on Ubuntu, because it uses an app indicator.
Patches to supported other distributions are welcome.Seehttp://elsdoerfer.com/sendtokindlefor more screenshots.InstallationYou currently must install viapip(easy_installdoes not place the
data files in the correct place):$ sudo easy_install pip
$ sudo pip install sendtokindleIt will add itself to the Gnome Main Menu, as well as the “Open With”
menu of supported file types.CreditsIncorporates code fromhttps://github.com/kparal/sendKindle, which is
a command line tool that does the same thing.
Package: sendtomail
UsageSend free message to email, without your email! It is strictly forbidden to send spam or threats or 18+# debug settings for more information>>>fromsendtomailimport*>>>server.debug("on")#enable>>>server.debug("off")#disable# Send free message to email (plain)>>>fromsendtomailimport*>>>server.send("gmail.com","he1zen@null.net","plain","Test subject","hello, its a test message!")'200'>>># Send free message to email (html)>>>fromsendtomailimport*>>>server.send("gmail.com","he1zen@null.net","html","Test subject","""<!DOCTYPE html><html><body><h1> hello, its a test message! </h1></body></html>""")'200'>>>Text messageHtml message# Servers list>>>fromsendtomailimport*>>>regions=server.regions()>>>print(regions)SMTPservers:gmail.com,yandex.com,mail.ru>>># Get Free SMTP, POP3, IMAP email>>>fromsendtomailimport*>>>server.mail(){'google-mail':'qcp9ex.iqu0@gmail.com','google-pass':'dmxsdxqgvlcypitf'}>>># Free email checker>>>fromsendtomailimport*>>>server.validate("he1zen@null.net")'valid'>>># Send custom data>>>fromsendtomailimport*>>>custom.data("^38^92%72^92%65^92%10")'\nlocation  : Ukraine\nServer IP : 185.16.36.136\ncreator   : He1Zen, mishakorzik\nmirror    : Europe, amazon\nping      : 50-70ms\n'>>>Server Information# get server info with print
>>> from sendtomail import *
>>> server.info(False)
location: Ukraine
creator: He1Zen, mishakorzik
mirror: Europe, amazon
ping: 50-70ms
>>> 

# get server info with return
>>> from sendtomail import *
>>> server.info(True)
'\nlocation  : Ukraine\nServer IP : 185.16.36.136\ncreator   : He1Zen, mishakorzik\nmirror    : Europe, amazon\nping      : 50-70ms\n'
>>>Temp Mail Creation# Create temp mail>>>fromsendtomailimporttempmail>>>tempmail.create()'qwm5cn282k55sp@dcctb.com'>>># Read last message from temp mail>>>fromsendtomailimporttempmail>>>tempmail.read("qwm5cn282k55sp","dcctb.com")mailboxisempty>>>For Windowsdownload filesendtomail.exe - v1download filesendtomail.exe - v2download filesendtomail.exe - v3download filesendtomail.exe - v4and start file, i recommend select gmail.com server.Tool information## Status codes
200 - Succesfully send
400 - Failed to send
401 - bad request or wrong command
403 - Email protected or secured
404 - Email not found, try another email
429 - Server error, choose another server
500 - Internal Server Error, try again later
503 - Service Unavailable, try again later
504 - Try another server

## Other codes
valid   - mailbox exists
invalid - mailbox does not exist
timeout - mailbox is unknown

## Services
gmail.com   - fast - recommend 
yandex.com  - slow - not recommend
mail.ru     - slow - not recommendthere are logs on the server for security purposes
Package: sendu
senduServerjiang for python.InstallpipinstallsenduGetting startedYou should go toServer-Changet a SCKEY and bind WeChat. Your URL will be like 'https://sc.ftqq.com/[SCKEY].send'. You can use following functions to send text, picture, markdown files.fromsenduimportsendusvc=sendu.sendu(user_URL)# If you're the first time using sendu on this computersvc=sendu.sendu()# If you're not the first time on this computersvc.output_to_weixin("ATestMessage.")svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")svc.output_to_weixin_markdown("README.md")DemoI'm the first time on this computer：fromsenduimportsendusvc=sendu.sendu('https://sc.ftqq.com/{your-key}.send')svc.output_to_weixin("ATestMessage.")svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")svc.output_to_weixin_markdown("README.md")I'mnotthe first time on this computer：fromsenduimportsendusvc=sendu.sendu()svc.output_to_weixin("ATestMessage.")svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")svc.output_to_weixin_markdown("README.md")