semvec/pypi-packages huggingface dataset:
ezflags 1.4.2
A tool that makes creating command line flags super easy.
License: MIT
Requires Python: >=3.6

ezflags
=======

.. image:: https://travis-ci.com/karx1/ezflags.svg?branch=master
    :target: https://travis-ci.com/karx1/ezflags
.. image:: https://badge.fury.io/py/ezflags.svg
    :target: https://badge.fury.io/py/ezflags
    :alt: PyPI package
.. image:: https://readthedocs.org/projects/ezflags/badge/?version=latest
	:target: https://ezflags.readthedocs.io/en/latest/?badge=latest
	:alt: Documentation Status


A tool that makes creating command line flags super easy.

Similar to `argparse <https://docs.python.org/3/library/argparse.html>`__,
switching is no problem at all! You can even use the FlagParserExtended as if it
were a normal ArgumentParser for full integration with existing
arguments.

Install with:

.. code:: bash

   pip install ezflags

Here’s a simple example:

.. code:: py

   # main.py
   import ezflags

   parser = ezflags.FlagParser()
   parser.add_flag('--flag', '-f', value=True, help="A demo flag.")

   flags = parser.parse_flags()
   print(flags.flag)

To integrate with ArgumentParser:

.. code:: py

   from ezflags.ext import FlagParserExtended

   parser = FlagParserExtended()
   parser.add_flag('--flag', '-f', value=True, help="A demo flag.")
   parser.add_argument('--arg', '-a', help="A demo argument.")

   args = parser.parse_args() # Flags are included, too!
   print(args.flag)
   print(args.arg)

This can be invoked as such:

.. code:: bash

   python main.py --flag
   # With ArgumentParser()
   python main.py --flag --arg arg

View the full documentation
`here <https://ezflags.readthedocs.io/en/latest/>`__.

Supports
--------

Supports Python 3.6 and up.

License
-------

MIT license. See the
`LICENSE <https://github.com/karx1/ezflags/blob/master/LICENSE>`__ file
for more details.
read-only-class-attributes 1.0.1
This package provides a decorator to make read only attributes on a given Python class
License: MIT

## Read only Python Class Attributes
This package provides a decorator to make read only attributes on a given
Python class

### Install
``` bash
pip install read_only_class_attributes
```

### Usage
``` python
from read_only_class_attributed import read_only

#example for all read only attributes
@read_only('*')
class _CONSTANTS:
    pi = 3.14159
    G = 6.67430e-11

CONSTANTS = _CONSTANTS()


#example for some read only attributes
@read_only('pi', 'G')
class _PLANETCONSTANTS:
    pi = 3.14159
    G = 6.67430e-11
    g = 9.18 #can change
    planet = 'Earth' #can change

PLANETCONSTANTS = _PLANETCONSTANTS()
```