Skip to main content

curler

Import curl command in python and use it with requests, httpx, etc. libraries.

🎉 Installation

Install curler package using pip command:

pip install -U curler

🧩 Usage

import curler

command = """curl 'https://pypi.python.org/project/arv-easy-analysis' \
  -H 'Accept-Encoding:gzip,deflate,sdch' \
  -H 'Accept-Language:en-US,en;q=0.8'"""
curler.parse_curl(command)
# Output:

ParsedCurl(
    method="GET",
    url="https://pypi.python.org/project/arv-easy-analysis",
    params={},
    data=None,
    data_binary=None,
    headers={
        "Accept-Encoding": "gzip,deflate,sdch",
        "Accept-Language": "en-US,en;q=0.8",
    },
    cookies={},
    insecure=False,
    user=(),
    proxy={},
    compressed=False,
    include=False,
    silent=False,
)

🧪 You can also check package tests to gain more insights about this package.

😎 Acknowledgment

Metadata

Release files for curler 0.2.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 curler 0.2.2
File Size Uploaded Provenance Actions
curler-0.2.2.tar.gz 5.0 kB Without provenance Details for curler-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 9.9 kB

Release files / curler-0.2.2.tar.gz

Download URL curler-0.2.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dbac5ab0a476b93b141b801c753174b94e3cd7e34aa096b6ccbb3f785234d2aa
BLAKE2b-256 checksum
How to use checksums
5d32f89d9f29979144e93c412690928d3f5ebfdd754a658a600589d18944320c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / curler-0.2.2-py3-none-any.whl

Download URL curler-0.2.2-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
343e19738ea8643d72f1f07e601d9d8e8a5de5bb8e99e7ce2571fbe40cbc6689
BLAKE2b-256 checksum
How to use checksums
52404eecaf8b630093f8fd3d6841cc4dda353c401d432b9df3767fb7ff2068ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for curler 0.2.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