Metadata-Version: 1.1
Name: csvfile
Version: 1.0.0
Summary: A little wrapper around reading and writing of csv file.
Home-page: https://github.com/imbolc/csvfile
Author: Imbolc
Author-email: imbolc@imbolc.name
License: ISC
Description: csvfile
        =======
        A little wrapper around reading and writing of csv file.
        
        You can use:
        
        .. code-block:: python
        
            data = csvfile.open('my-data.csv').load()
            data[0]['field'] = 'new value'
            data.save()
        
        
        Instead of:
        
        .. code-block:: python
        
            data = []
            with open('my-data.csv', 'rt') as f:
                reader = csv.DictReader(f)
                fieldnames = reader.fieldnames
                for row in reader:
                    data.append(row)
        
            data[0]['field'] = 'new value'
        
            with open('my-data.csv, 'wt') as f:
                writer = csv.DictWriter(f, fieldnames=fieldnames)
                writer.writeheader()
                writer.writerows(data)
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
