Skip to main content

freehackquest-libcliet-py

PyPI Total alerts Language grade: Python

FreeHackQuest Python Client Library for fhq-server: https://github.com/freehackquest/fhq-server.git

Install

pip3 install freehackquest-libclient-py

or

pip3 install freehackquest-libclient-py --upgrade

Example code

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from freehackquest_libclient_py import FreeHackQuestClient

fhq = FreeHackQuestClient("ws://freehackquest.com:1234/ws-api/")

q = fhq.quest({"questid": 148})
print("quest: " + str(q))

# or "ws://freehackquest.com:1234" or "ws://freehackquest.com/ws-api/"
resp = fhq.login({"email": "admin", "password": "admin"})
if resp == None:
    print('Could not login as user (1)')

if resp['result'] == 'FAIL':
    print('Could not login as user (1)')

print("user info: " + str(resp))

Full description API here: API.md

Metadata

Release files for freehackquest-libclient-py 0.2.54

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

Source distribution (sdist)

Source distribution for freehackquest-libclient-py 0.2.54
File Size Uploaded Provenance Actions
freehackquest-libclient-py-0.2.54.tar.gz 18.6 kB Without provenance Details for freehackquest-libclient-py-0.2.54.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for freehackquest-libclient-py 0.2.54
File Interpreter ABI Platform Actions
freehackquest_libclient_py-0.2.54-py3-none-any.whl Python 3 none any Details for freehackquest_libclient_py-0.2.54-py3-none-any.whl

Total release size: 40.8 kB

Release files / freehackquest-libclient-py-0.2.54.tar.gz

Download URL freehackquest-libclient-py-0.2.54.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4ce02dca700689f769f24e0406f1e80b73efd9e598dada953db860b34195f7a0
BLAKE2b-256 checksum
How to use checksums
19293eb3115375d54070f0c820832087f63d9dc91b09aca65d20eb446e5b49b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.14 CPython/3.10.12

Release files / freehackquest_libclient_py-0.2.54-py3-none-any.whl

Download URL freehackquest_libclient_py-0.2.54-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b84eb9de768ec793b275e1df8e4814de1c60926da81f2da1b5ef7a8c89df2bc
BLAKE2b-256 checksum
How to use checksums
56ca7b823431716301c173f9f8d492ed431f00043b19b38fe633e92043f425f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.14 CPython/3.10.12

Security for freehackquest-libclient-py 0.2.54

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.

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