Skip to main content

Lets you make fetch requests in python as you would in JavaScript

Project description

JSFetch

JSFetch is a simple python library that allows you to make HTTP requests in python extaclty the way you would in JavaScript. This allows for sending in requests faster and easier than it's competitors. You also get access to a lot of inbuilt functions to lower the amount of code you need to write.

>>> from jsfetch import fetch
>>> res = fetch("http://httpbin.org/uuid").toJSON()
Promise {<fulfilled>: {}}
>>> res.then(print)
{uuid: '41ddb42d-5d13-406a-a7f1-8fa0419c9267'}
>>> res.status_code
200
>>> res.headers
{'content-type': 'application/json'}

Installing Requests and Supported Versions

JSFetch is available on PyPI:

$ pip install JSFetch --upgrade

JSFetch is currently only tested on Python 3.10 and above.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

JSFetch-0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

JSFetch-0.0.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file JSFetch-0.0.2.tar.gz.

File metadata

  • Download URL: JSFetch-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for JSFetch-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a8780aa140ef1428ad1238f2c6a4ba426acc42d4fc876e0177216d50e1d50030
MD5 9200ffffa565798f502d0d9abae453e9
BLAKE2b-256 a7f2dcfbee65d0dbf9f3b0d2318c4c35483482479597dacd01eaf56552041c81

See more details on using hashes here.

File details

Details for the file JSFetch-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: JSFetch-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for JSFetch-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06ecda12c153f829595418c65707b886cd732687d560870dae4ca5ea2d760156
MD5 67a0efcc20462e41e11936e0031fc541
BLAKE2b-256 b6e277571d7bec577c69d28d2f27815a0ffd64ad64c9b9c45dc07e7e3f14eb26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page