Skip to main content

chibi_requests

https://img.shields.io/pypi/v/chibi_requests.svg https://img.shields.io/travis/dem4ply/chibi_requests.svg Documentation Status

handle urls in a more easy and human way

how to use

Chibi_url

from chibi_requests import Chibi_url

url = Chibi_url( "http://ifconfig.me'" )
response = url.get()
assert response.status_code == 200
assert response.is_text
assert isinstance( response.native, str )

response = url.post()
assert response.status_code == 200
assert response.json
assert isinstance( response.native, dict )

url = Chibi_url( "https://google.com" )
url += "cosa/cosa2'
assert "https://google.com/cosa/cosa2" == url
url += "cosa3"
assert "https://google.com/cosa/cosa2/cosa3" == url

url = Chibi_url( "https://google.com" )
url += { 'param1': 'value1', 'param2': 'value2' }
assert url.parmas == { 'param1': 'value1', 'param2': 'value2' }

url = Chibi_url( "https://google.com" )
url += "?param1=value1"
assert url.params == { 'param1': 'value1' }

url = Chibi_url( "https://google.com" )
assert url.host == 'google.com'
assert url.schema == 'https'

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2.3.0 ( 2026-08-19 )

  • ahora la propiedad de url elimana los fragmentos de la url o lo que sigue de #

2.3.0 ( 2026-07-30 )

  • se cambio la excepcion de 400 status code

2.1.1 ( 2026-07-21 )

  • correcion de bug que agregaba 2 // cuando sumaba un string que ya tenia al final /

  • se agrego excepcion para los status code 400

2.1.0 ( 2026-07-21 )

  • se agrego el caso de que la url empiese con // solo remplace el protocolo

2.0.0 ( 2026-05-10 )

  • se agrego la propiedad de context a las respuestas para enviar el contexto a los serializadores

1.5.0 ( 2026-03-21 )

  • se agrega el manejo del context de marshmallow version > 4

1.4.0 ( 2025-09-18 )

  • se agrega la copia de los status codes de django rest framwork en chibi_requests.status_code

1.3.1 ( 2025-03-11 )

  • se agrego la funcion parse_like_html

1.3.0 ( 2025-02-08 )

  • se agrego la funcion from_response

1.2.2 ( 2025-02-01 )

  • se agrego la posibilidad que los response lanzen excepciones segun el codigo de error

1.2.1 ( 2025-02-01 )

  • dependencia de marshmallow > 2.26

1.2.0 ( 2024-10-26 )

  • se agrego funcion para sufijos

1.1.0 ( 2024-10-26 )

  • regresa el tipo correcto con herencia

0.0.1 (2019-11-14)

  • First release on PyPI.

Metadata

Release files for chibi-requests 2.3.0

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

Source distribution (sdist)

Source distribution for chibi-requests 2.3.0
File Size Uploaded Provenance
chibi_requests-2.3.0.tar.gz 16.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chibi-requests 2.3.0
File Interpreter ABI Platform
chibi_requests-2.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.2 kB

Release files / chibi_requests-2.3.0.tar.gz

Download URL chibi_requests-2.3.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
19ce9d2e6ac4717805bdf47f1ca299ac532090203baf4b2122b1b45780471833
BLAKE2b-256 checksum
How to use checksums
d12c3b31ceb5f498ec9a1675e2cf0d02850380eff70a0181e081b2d8db2c045c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Release files / chibi_requests-2.3.0-py2.py3-none-any.whl

Download URL chibi_requests-2.3.0-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
50a11daa6ec7706d4efd46523b16ab4fff842a212919528b5c41d865a44e365e
BLAKE2b-256 checksum
How to use checksums
036b46df66f8f64e2093115e3ba841bb1f3e0153bc6f8601817482d0a12032c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.7

Security for chibi-requests 2.3.0

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