Metadata-Version: 2.1
Name: pyflat
Version: 0.2.1
Summary: Python library to transform objects into positional flat string lines
Home-page: https://github.com/risparfinance/pyflat
Author: Rafael Izidoro
Author-email: izidoro.rafa@gmail.com
License: MIT
Description: # pyflat
        
        The pyflat package aims to provide easy serialization of Python objects into positional fixed-width strings.
        These kind of structures are useful when integrating with old system which depends on positional flat files.
        
        ## Quick Start
        
        ### Instalation
        To install Pyflat, use pip or pipenv:
        
        ```bash
        $ pip install pyflat
        ```
        
        ### Example Usage
        
        ```python
        from pyflat import Base, Field, RIGHT
        
        class User(Base):
            name = Field(size=20)
            income = Field(size=10, sep='0', justify=RIGHT)
        
        
        user = User()
        user.name = 'John Doe'
        user.income = 4500.35
        
        
        user.dump() # => John Doe            0000450035
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Customer Service
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
