Skip to main content

Pixelsuft Parse Arguments

Parse Command Line Arguments From String

Change Log

Added set Function For Getting String From Arguments

Example

from parse_args import get as get_args
from parse_args import set as get_str
print(str(get_args('   test.exe /f /m --file "lol lol.txt"   --test 1 2')))
print(get_str(['test.exe', '-F', 'test.txt lol']))

Output:
['test.exe', '/f', '/m', '--file', 'lol lol.txt', '--test', '1', '2']
"test.exe" "-F" "test.txt lol"

Metadata

Release files for parse-args 2.0.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 parse-args 2.0.0
File Size Uploaded Provenance Actions
parse_args-2.0.0.tar.gz 1.8 kB Without provenance Details for parse_args-2.0.0.tar.gz

Release files / parse_args-2.0.0.tar.gz

Download URL parse_args-2.0.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dd061fcfb08f6c26c1cf5eddc460e8306cdfe09157e8597593a47afe8d18a32c
BLAKE2b-256 checksum
How to use checksums
194c2329cfe4439c4a329da27fc45b747846cd29b1da942aa5c96a24f678a027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.0

Security for parse-args 2.0.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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file No provenance

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