Skip to main content

DataClient

Introduction

this is a request tool which packaging method server

Usage

from stormer import Requester

# init Requester instance
requester = Requester(
    "https://www.baidu.com", 
    redis_url="redis://127.0.0.1:6379/0", 
    # redis_nodes="127.0.0.1:7000,127.0.0.1:7001,127.0.0.1:7002", 
    # redis_password="",
    timeout=30, # in seconds,global cache timeout
    # headers={"Content-Type": "text/html;charset=utf8"},
    encoding='utf8'
)

# open debug
requester.set_debugging()

# register request function
requester.register(
    action="get", 
    func="bd_index", 
    uri="/", 
    timeout=5  # in second, this requester cache timeout
)

# execute function
rlt = requester.bd_index()
r_byte = rlt.bytes
print(rlt.data)
print(rlt.resp)

Metadata

Release files for stormer 0.1.2

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

Source distribution (sdist)

Source distribution for stormer 0.1.2
File Size Uploaded Provenance Actions
stormer-0.1.2.tar.gz 6.9 kB Without provenance Details for stormer-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 kB

Release files / stormer-0.1.2.tar.gz

Download URL stormer-0.1.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d4eb557ac2662a0def1078549fcd300b3d52e85c5efb75444b36623ebb3db6c3
BLAKE2b-256 checksum
How to use checksums
d8bf3c63fe1d672d471ca7195ef9fa0b63d8440f1b1cc9c665c0c26ff7558a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

Release files / stormer-0.1.2-py3-none-any.whl

Download URL stormer-0.1.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98bbe857e8dc6059c57535794024ad1e661b408fa24f32da07f0bd9c5de948d3
BLAKE2b-256 checksum
How to use checksums
e4789a26335573103e628b1496c1351a36f4931967b5b48f4fc821f17a93b05c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

Security for stormer 0.1.2

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