Skip to main content

Create nice CLIs without bloating your apps.

Project description

Arguing

Arguing is a little library who lets you create a nice CLI without bloating your app.
Arguing doesn't needs you defining every argument that you wan't, just get it.

Installation

You can use PIP or GIT to install the library, both are the same version.

pip install arguing
git clone https://github.com/ZSendokame/arguing

Use

After installing the library, here's a brief tutorial.

import arguing

arguing.set('--argument') # To specify a type for the argument value, use the parameter "argumentType", like
arguing.set('--argument', argumentType=int) # For example, Converts to int.

# arguing.set() is for mandatory arguments, in case you don't need a mandatory argument you can just get it with
arguing.get('--argument') # Work with mandatory and not mandatory arguments.

# In case you wan't to check if the user passed an specific argument you can use
arguing.check('--argument') # Return True or False.

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

arguing-1.0.3.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file arguing-1.0.3.tar.gz.

File metadata

  • Download URL: arguing-1.0.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for arguing-1.0.3.tar.gz
Algorithm Hash digest
SHA256 57493aff0ec42f2661837d71f33deb99a2b9dd09661c07a2d6608fbd67c8e200
MD5 534dcd52284765fe96810ac9fe80878b
BLAKE2b-256 94c8e08299ff5be4754256086a01922e0b0db07a46185478f66ca3e97f407c09

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