A Python package that includes Cryptography, Maths, and Telebot modules
Project description
How to use the module Atr
For Windows:
Till now there are two submodule...
- Maths: Different maths topics are here....
- Telebot: Telebot Api and other useful functions are here.....
To use the module into your project do the following steps....
- open cmd and type the following:
C:\Users\atraj>where python
and hit enter.
The out put will be something as follows:
C:\Users\atraj>where python
D:\downloads\Python\python.exe
C:\Users\atraj\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\atraj>
Then open powershell and do the following:
PS C:\Users\atraj> cd D:\downloads\Python
PS D:\downloads\Python> git clone https://github.com/atrajit-sarkar/Atr.git
After hitting enter you now can use Atr module in your projects........
Important Note:
The directory shown above after typing
C:\Users\atraj>where python
Are two namely, D:\downloads\Python\python.exe
C:\Users\atraj\AppData\Local\Microsoft\WindowsApps\python.exe in my case.
In your case you also have to set the path that is not same as the second path as in my case. This path will be always same for every pc.
How to use Atr in your .py file....
Creat a .py file in your favourite IDE. and type the following....
from Atr.Maths import numbertheory as nt
print(f"The GCD(12,16) is {nt.gcd(12,16)}")
Similaly you can use the following also
from Atr.Maths import linear_alg as la
from Atr.Maths import switch
from Atr.Telebot import TELEBOT_API
# All the modules docs are given in their readme files that you always can read from their corresponding folders.
For Linux:
atrajit@Atrajit:~$ sudo su
[sudo] password for atrajit:
root@Atrajit:/home/atrajit# ls
Insta-Cypher SocialMediaHackingToolkit hydra.restore main.py myC password.txt
root@Atrajit:/home/atrajit# mkdir myPython
root@Atrajit:/home/atrajit# ls
Insta-Cypher SocialMediaHackingToolkit hydra.restore main.py myC myPython password.txt
root@Atrajit:/home/atrajit# cd myPython/
root@Atrajit:/home/atrajit/myPython# git clone https://github.com/atrajit-sarkar/Atr.git
Cloning into 'Atr'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 0), reused 12 (delta 0), pack-reused 0
Receiving objects: 100% (12/12), done.
root@Atrajit:/home/atrajit/myPython# ls
Atr
root@Atrajit:/home/atrajit/myPython# nano main.py
root@Atrajit:/home/atrajit/myPython# python3 main.py
The GCD(12,16) is 4
root@Atrajit:/home/atrajit/myPython#
Happy Coding and learning......
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
atrajit-3.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Atrajit-3.0-py3-none-any.whl
(8.0 kB
view hashes)