Python SafeLine is a python wrapper for the SafeLine WAF
Install
pip install safeline
Example
import safeline
if __name__ == '__main__':
BASE_URL = "https://xxx.com"
API_TOKEN = "IX62FxxxxxxxxxxW2WB4C"
waf = SafeLine(BASE_URL,
API_TOKEN
)
# list all certification
print(waf.certification.list)
# certification
waf.certification.update(cert_id, crt, key)
# ip_group
waf.ip_group.update(ipgroup_id, ipgroup_list)
Metadata
Release files for safeline 0.0.7
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 |
|---|---|---|---|---|
| safeline-0.0.7.tar.gz | 3.7 kB | Without provenance | Details for safeline-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| safeline-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for safeline-0.0.7-py3-none-any.whl |
Total release size: 7.6 kB
Release files / safeline-0.0.7.tar.gz
| Download URL | safeline-0.0.7.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79f6facbafaff93aa7c9ee7076d84c56a3e534a07c8c5d9b6dcca37af6df48bd
|
|
BLAKE2b-256 checksum How to use checksums |
1aa077fe5868e84e30db84b0bda481d306fa5e6ee3486d3a854db508a4c3b83f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / safeline-0.0.7-py3-none-any.whl
| Download URL | safeline-0.0.7-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba5bfd62cf73cdea9b6cb74a1eb855c98b2ac9234dcefc8b6c2f28441a11efd8
|
|
BLAKE2b-256 checksum How to use checksums |
0b39d058edd833ec8a6d3d9d4f3aa30450a230032e12be8db09c18e6f4779ac1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for safeline 0.0.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.