Skip to main content

May the force be with you.

Project description

Anit

Provided by Animite Software Foundation

Created by Shaurya Pratap Singh

For Python3 and above

Anit 0.0.9

Installation

type the following command in command line

pip install anit

then in your .py file type this,

from anit import *

Email

First we have to create a message class,

msg = Message('Hello World', """
    May the force be with you.
""")

You can also pass in a html file,

msg = Message('Hello World', 'something.html')

Then, create a new class,

mailer = Mailer('email', 'password')

to send it, do this,

mailer.send_message('Your message class here.')
mailer.send_to('recievers email')

Done!

Mailer and Message mixin classes:

class MyMessage(MessageMixin):
    subject = None
    message = None
class MyMailer(MailerMixin):
    email = None
    pwd = None
    person = 'the person who youare sending to'

You can also use the terminal command:

anit -i mailer

Open browser url,

open_browser_url('why do we love star wars?')

Terminal command for this:

anit -i open

Creating package structure

create_package('name of package')

Terminal command for this:

anit -i package

Anit variables

print(anit.OS)# returns your os
print(anit.VERSION) #returns anit version 
print(anit.DATE) # returns the date
print(anit.TIMESTAMP) # returns the timestamp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anit-0.0.10.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

anit-0.0.10-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file anit-0.0.10.tar.gz.

File metadata

  • Download URL: anit-0.0.10.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for anit-0.0.10.tar.gz
Algorithm Hash digest
SHA256 2fd6109a409da6e5a3f7a5273cf8d3c6ef9d4787524f80152f1318332808ffaa
MD5 1e31a6eeae1c3c1650e2d486935a794a
BLAKE2b-256 081dfd1ecd2222481fcc069ac6e55eda739402300f3bce68d4e6ddaa89871c64

See more details on using hashes here.

File details

Details for the file anit-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: anit-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for anit-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7379891badc8b0f27bd02decd82ebeddb1de19e19f20b34c6f25146857e552ad
MD5 c8e3792c09bbd3d68612e7d2d552b194
BLAKE2b-256 9bdce56bd5a8a7e19232bbcf86c174ff161db5d78a7e20c65b061b4ddd489092

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page