Skip to main content

API utils

Code style: black

API utils simplify life when creating or consuming APIs

Module: apiu.path

Method: apiu.path.join()

Join one or more path components intelligently.

Rules:

  • If any component starts with "http", all previous parts will be discarded.
  • The returned path will always start with "/", except if it starts with "http".
  • The returned path will never end with "/", except when ending in a protocol notation ("://") or enforced (see below)
  • A trailing slash can be enforced with a final component "/"
  • Empty strings are skipped

Metadata

Release files for api-utils 2019.9.18

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

Source distribution (sdist)

Source distribution for api-utils 2019.9.18
File Size Uploaded
api-utils-2019.9.18-3.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for api-utils 2019.9.18
File Interpreter ABI Platform
api_utils-2019.9.18-3-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / api-utils-2019.9.18-3.tar.gz

Download URL api-utils-2019.9.18-3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6b823478e760fae8a6be552301db08b5528f7dab0c9244d4f74b1974f6820325
BLAKE2b-256 checksum
How to use checksums
c66ee45e92ad8d7328bf3fbbb1347f8e7fa652e39722075269a99231752eb1c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / api_utils-2019.9.18-3-py3-none-any.whl

Download URL api_utils-2019.9.18-3-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf0757299cfaa30c6d91a9c9c10334179f286101bff14f2d71edd3e824e941ee
BLAKE2b-256 checksum
How to use checksums
eed3172d967c34459646ca2c9394e96d22f4ec6abefd6b6c6383b58b5d1ad37c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

2019.9.18 This release

2 release files

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