NAME
url-param-sorted - предоставляет функцию для cортировки параметров url в порядке их возрастания
VERSION
0.0.2
SYNOPSIS
from url_param_sorted import url_param_sorted
url_param_sorted('y=1&z=&x=2&x=3&z&x=1') # -> 'x=1&x=2&x=3&y=1&z&z='
url_param_sorted({'y': 1, 'z': ["", None], 'x': [2, 3, 1]}) # -> 'x=1&x=2&x=3&y=1&z&z='
try:
url_param_sorted([]) # -> raise TypeError("Аргумент может быть только str или dict")
except TypeError as e:
pass
DESCRIPTION
Функция url_param_sorted сортирует параметры url в порядке их возрастания.
С библиотекой поставляется утилита url-param-sorted.
$ url-param-sorted 'y=1&z=&x=2&x=3&z&x=1'
x=1&x=2&x=3&y=1&z&z=
INSTALL
$ pip3 install url-param-sorted
REQUIREMENTS
- Нет
AUTHOR
Kosmina O. Yaroslav darviarush@mail.ru
LICENSE
MIT License
Copyright (c) 2020 Kosmina O. Yaroslav
Metadata
Release files for url-param-sorted 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| url-param-sorted-0.0.2.tar.gz | 3.2 kB | Without provenance | Details for url-param-sorted-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| url_param_sorted-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for url_param_sorted-0.0.2-py3-none-any.whl |
Total release size: 7.2 kB
Release files / url-param-sorted-0.0.2.tar.gz
| Download URL | url-param-sorted-0.0.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a79b2c87fb16cc2f899c7be85722cf3b4839aa50f993a4978acb58ba60cff9ae
|
|
BLAKE2b-256 checksum How to use checksums |
0b662299b1faebe056e3d4737381307f816f295aa33126035c94b17a54666779
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / url_param_sorted-0.0.2-py3-none-any.whl
| Download URL | url_param_sorted-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a1bf411312304d35d68c2008901c7620812a488de67ab56751340ee291cc1dd
|
|
BLAKE2b-256 checksum How to use checksums |
463339ff8d130d2e137264f7523dd73ec61614293a63f0a81bf321c9c0211d04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for url-param-sorted 0.0.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.