Skip to main content

EpiWrap

This is a wrapper for the epitech intranet 'api'

installation

pip install epiwrap 

You can see here some examples:

from epiwrap import intra

client = intra.EpiWrap(token="your token" or autolog="autolog link")

user = client.get_profile()

print("Name: " + user.fullname + "\nCredits: " + str(user.credits))

Go check the wiki for more informations

How to get your token ?

(token are limited in time but not autolog link so it's better to use autolog)

You must be connected to the intranet

Now with the network tool (firefox "ctrl + shift + e", chrome "ctrl + shift + i" and then go in the network tab) Click on the / request
img
Now go on the cookies tab and copy your user token (it should look like this)
img
Now you have your token, (don't forget that the cookie resets, so you have to change it when it's reset. Unfortunately I can't do anything to correct this)

Metadata

Release files for epiwrap 0.1.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 epiwrap 0.1.3
File Size Uploaded
epiwrap-0.1.3.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / epiwrap-0.1.3.tar.gz

Download URL epiwrap-0.1.3.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6a1c29313a84748df1c56cddd72f110cf1fd5f451da54f40399f65e6b2790344
BLAKE2b-256 checksum
How to use checksums
bfbbaf8b02e39b301d7a48f96550e3f722113ac53ddc90536f8dadaafcb64dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release files / epiwrap-0.1.3-py3-none-any.whl

Download URL epiwrap-0.1.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca11984de696586cf509a53a6aae0a1f99f3859680d6dceddfd972ad29579a86
BLAKE2b-256 checksum
How to use checksums
4af3e2a2fc8db5daab9c65d4a80c9f261bace5e9f0489f603ea193829aea596a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

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