Documentation
Install:
pip install --upgrade epytech
Import
from epytech import session, user, login, notif
Example:
from epytech import user, session, login, notif
class content:
# Initialisation of the classes
user = user.init()
login = login.init()
notif = notif.init()
key = session.create("https://intra.epitech.eu/******************")
def loader():
# Load the content into the classes
content.user.load(content.key)
content.login.load(content.key)
content.notif.load(content.key)
def test():
i = 0
loader()
if content.login.search('message') == "Success":
print("Login Success")
print("Welcome %s" % content.user.search('login'))
if content.notif.data:
if content.notif.len() > 1:
print("Your Notifications:\n")
while i < content.notif.len():
print(content.notif.search(i))
i += 1
else:
print("Your notification: %s" % content.notif.search(0))
else:
print("Login Failed")
test()
Result:
Login Success
Welcome *********@epitech.eu
You have a notification: Your login time is insufficient (0).
Metadata
Release files for epytech 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epytech-0.9.tar.gz | 2.3 kB | Without provenance | Details for epytech-0.9.tar.gz |
Release files / epytech-0.9.tar.gz
| Download URL | epytech-0.9.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40a3a8b7ec45b6da61c682bc6d7ba8b35a495cbb9bdf9678370c4bc9219bec28
|
|
BLAKE2b-256 checksum How to use checksums |
bc9c5315409c23077e70459def1c1f7280afedf271c1ec2fd9b8221b5b135f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for epytech 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.