Skip to main content

simple-spider-tool17


simple-spider-tool 0.0.18及后续版本兼容之前版本使用的可选扩展包

安装

pip install simple-spider-tool[seventeen]

简单使用

from simple_spider_tools import format_json, jsonpath

data = {
    "code": 200,
    "data": [
        {
            "id": 1,
            "username": "admin",
            "level": "boss"
        },
        {
            "id": 2,
            "username": "user",
            "level": "staff"
        }
    ]
}

boss_name = jsonpath(data, '$.data[?(@.level=="boss")].username', first=True)
all_user_info = jsonpath(data, '$.data[*].username')

print(boss_name)
print(format_json(all_user_info))

Metadata

Release files for simple-spider-tool17 0.17

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

Source distribution (sdist)

Source distribution for simple-spider-tool17 0.17
File Size Uploaded Provenance
simple_spider_tool17-0.17.tar.gz 2.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-spider-tool17 0.17
File Interpreter ABI Platform
simple_spider_tool17-0.17-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / simple_spider_tool17-0.17.tar.gz

Download URL simple_spider_tool17-0.17.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b98c3db7d06f449ddd68a6d8e81c042cfc4cebd95988333072240969dea680
BLAKE2b-256 checksum
How to use checksums
1dc18b53b6df62b763292d46e2266f7e8082c49f67638e8333818b9c27c1ddf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release files / simple_spider_tool17-0.17-py3-none-any.whl

Download URL simple_spider_tool17-0.17-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20f7cc6f6b0e938c74087b9589b85548255e9b378f662934494a0dc045770e58
BLAKE2b-256 checksum
How to use checksums
dafe1c7c061189abd4ae08eb1ea7c653e6ccb165a09c64e69ecc3c2bcc188ddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Security for simple-spider-tool17 0.17

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.

Release history Release notifications | RSS feed

This release

0.17 This release

2 release files 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