You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

yaop

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaop

Yet Another Option Parser (full fledged)

0.1.1
pipPyPI
Maintainers
1

A simple and light library that handle both command line parsing and config file reading.

The only thing you have to do, is to describe (throught a YAML resource / config file) all options and parameters your main function expects.

This way, you only describe what to do, and not how to do it.

Every is done under the hood ; a simple call to the library handle :

  • application banner and help screen printing
  • command line parsing
  • building of dictionnary that hold configuration (flags, options and parameters values)
  • parsing optional config file that will override default values
  • etc.

Please read file README for getting started.

Other instructions are available in the documentation : both user and reference manuals.

Please be warned, that the library is in pre-alpha stage (for a short time), until full documentation will be written : so package don't contains all source files yet.

Keywords

yaop command line optparse config file YAML resource banner help script application console shell

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.