Skip to main content

tools for development….. in anad labo

Installation

pip install anad_dev

Usage

ecrypt

e.g.:

>>> from anad_dev import ecrypt
>>> pw = 'test_pass_phrase'
>>> ec_pw = ecrypt.ecrypt.compr(pw)
>>> ec_pw
'/Td6WFoAAATm1rRGAgAhARYAAAB0L+WjAQAPdGVzdF9wYXNzX3BocmFzZQA3khspehQ3iwABKBDl\nC2xgH7bzfQEAAAAABFla\n'
>>>
>>> ecrypt.ecrypt.decompr(ec_pw)
'test_pass_phrase'
this is just a easy encryption everybody CAN decrypt.
I just use it when I don’t want to show my password at glimpse.

send_gmail

e.g.:

from anad_dev import ecrypt, send_gmail
account = 'dais.cns@gmail.com'
passwd = ecrypt.ecrypt.decompr('/Td6WFoAAATm1rRGAgAhARYAAAB0L+WjAQAPdGVzdF9wYXNzX3BocmFzZQA3khspehQ3iwABKBDl\nC2xgH7bzfQEAAAAABFla\n')
body = 'test\nhehehe'
subject = 'gmail test send'
msg_to = 'dais.cns@gmail.com'
send_gmail.send_gmail.doIt(account, passwd, body, subject, msg_to)

*** you need to turn on as your gmail account can used low level access on your gmail setting page.


any questions to:

Metadata

Release files for anad_dev 0.0.3

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

Source distribution (sdist)

Source distribution for anad_dev 0.0.3
File Size Uploaded
anad_dev-0.0.3.tar.gz 2.3 kB Details

Release files / anad_dev-0.0.3.tar.gz

Download URL anad_dev-0.0.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c46d8beb961393189304983a04020152a19d594522477601d417932044e20a65
BLAKE2b-256 checksum
How to use checksums
202ec51f5a8b4405cd8a53d59aa698bb61e5a572e10b23f41fdd5312f7397d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

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