Metadata-Version: 1.1
Name: atum
Version: 0.1.0
Summary: Erlang-like atoms in Python 3
Home-page: https://github.com/hiway/atum
Author: Harshad Sharma
Author-email: harshad@sharma.io
License: MIT
Description: atum
        ====
        
        Erlang-like atoms in Python 3
        
        A tiny utility that lets you refer to often-used strings in your project
        as imported object names.
        
        Instead of writing:
        
        .. code:: python
        
           @app.route('/register', methods=['GET', 'POST'])
           def register():
               pass
        
        You could write:
        
        .. code:: python
        
           from atum import GET, POST
        
           @app.route('/register', methods=[GET, POST])
           def register():
               pass
        
        This might be useful if you use autocompletion. Another benefit is
        exceptions occur sooner in case of typos, since the interpreter itself
        validates the imported names. Pay attention when importing, simply
        tab-to-complete later.
        
        Examples
        --------
        
        .. code:: python
        
           from atum import machine, human
        
           assert human == human
           assert machine == machine
           assert human != machine 
           assert human is human
           assert machine is machine
        
        .. code:: python
        
           from atum import user_is_awake
           from queue import Queue
        
           q = Queue()
        
           q.put(user_is_awake)
        
           assert q.get() == user_is_awake
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
