Skip to main content

Maintained Python wrapper for TryHackMe public API
This fork is unofficial and not associated with TryHackMe, but i would love to.

Installation

pip3 install tryhackme.py

Example

import tryhackme

client = tryhackme.Client(session="<tryHackMe cookie: `connect.sid`>") # Logging in is optional
client.get_stats() # {'publicRooms': 203, 'totalUsers': 88017, 'cloneableRooms': 967}

For more info over getting the connect.sid visit #1

API documentation

For the API documentation please visit the TryHackMe-API-Doc

Contributing

You're welcome to create Issues/Pull Requests with features you'd want to see

License

MIT LICENSE

Metadata

Release files for tryhackme.py 1.2.7

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

Source distribution (sdist)

Source distribution for tryhackme.py 1.2.7
File Size Uploaded Provenance Actions
tryhackme.py-1.2.7.tar.gz 17.0 kB Without provenance Details for tryhackme.py-1.2.7.tar.gz

Release files / tryhackme.py-1.2.7.tar.gz

Download URL tryhackme.py-1.2.7.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b6ffabd07cd47478f9e1466b69433c3ed46d0504316062e6d5e3e79f48e3731f
BLAKE2b-256 checksum
How to use checksums
c6af957aa69f3c6b8ec604a071fd01b2ca9824eb078265e1f22cedce7097f989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for tryhackme.py 1.2.7

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.

Release history Release notifications | RSS feed

This release

1.2.7 This release

1 release file No provenance

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