Skip to main content

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

Metadata

Release files for anit 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anit 0.0.10
File Size Uploaded
anit-0.0.10.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anit 0.0.10
File Interpreter ABI Platform
anit-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / anit-0.0.10.tar.gz

Download URL anit-0.0.10.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2fd6109a409da6e5a3f7a5273cf8d3c6ef9d4787524f80152f1318332808ffaa
BLAKE2b-256 checksum
How to use checksums
081dfd1ecd2222481fcc069ac6e55eda739402300f3bce68d4e6ddaa89871c64
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / anit-0.0.10-py3-none-any.whl

Download URL anit-0.0.10-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7379891badc8b0f27bd02decd82ebeddb1de19e19f20b34c6f25146857e552ad
BLAKE2b-256 checksum
How to use checksums
9bdce56bd5a8a7e19232bbcf86c174ff161db5d78a7e20c65b061b4ddd489092
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page