This project has been archived by its maintainers, and is no longer receiving any updates.
basedflare-session-niquests
A package that extends Python's niquests session to solve some BasedFlare Proof of Work (PoW) challenges automatically. It also includes utility functions to solve the challenges manually.
Please note that this package is a work in progress and may not function in all cases.
Currently, it supports the argon2 and sha256 PoW challenges.
Any other challenge, such as a CAPTCHA, will raise an exception.
Fork notice: This is a port of basedflare-session to niquests. Big thanks to @loynet and @jawah for their work! I intend to maintain this fork up to date with the original package, as well as introduce improvements where applicable.
Usage
Suppose example.com is a website that requires you to solve a challenge before you can access it. Below is a simple
example of how to use the package:
from basedflare_session_niquests import BasedSession
# Create a new session
session = BasedSession()
# Use the session to send a GET request
response = session.get('https://example.com')
# Print the response
print(response.text)
Metadata
Release files for basedflare-session-niquests 0.2.1
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 |
|---|---|---|---|---|
| basedflare_session_niquests-0.2.1.tar.gz | 16.0 kB | Without provenance | Details for basedflare_session_niquests-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| basedflare_session_niquests-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for basedflare_session_niquests-0.2.1-py3-none-any.whl |
Total release size: 33.3 kB
Release files / basedflare_session_niquests-0.2.1.tar.gz
| Download URL | basedflare_session_niquests-0.2.1.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56bb91c96a50c1d7e02e347546f4fe1fa52b7b0db174d7f0f49ebb2e12eb008c
|
|
BLAKE2b-256 checksum How to use checksums |
b9b35a4e4dccf9c31a38baf7c3a14900316858efb732ac72c2223bad73263d7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / basedflare_session_niquests-0.2.1-py3-none-any.whl
| Download URL | basedflare_session_niquests-0.2.1-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
340845d6a746d406b6ccc0b35a11acbd869846ab1d0edf7ef4cc007736a02f11
|
|
BLAKE2b-256 checksum How to use checksums |
8b4d9f55c68c18eecfef748249f5b839746f14f51cd08e64540f1ede895f26a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for basedflare-session-niquests 0.2.1
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.