Skip to content

Commit

Permalink
Fix readme, 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kageurufu committed Feb 13, 2017
1 parent 4ced365 commit a436472
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 17 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include README.md
include LICENSE
include README.rst
14 changes: 0 additions & 14 deletions README.md

This file was deleted.

30 changes: 30 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
==============
comanage_nacha
==============
A simple Wells Fargo flavor NACHA file builder, parser, and validation toolkit
------------------------------------------------------------------------------

.. image:: https://travis-ci.org/DisruptiveLabs/comanage_nacha.svg?branch=master
:target: https://travis-ci.org/DisruptiveLabs/comanage_nacha
.. image:: https://coveralls.io/repos/github/DisruptiveLabs/comanage_nacha/badge.svg?branch=master
:target: https://coveralls.io/github/DisruptiveLabs/comanage_nacha?branch=master
.. image:: https://badge.fury.io/py/comanage_nacha.svg
:target: https://badge.fury.io/py/comanage_nacha

.. code-block:: bash
pip install comanage_nacha
.. code-block:: python
from comanage_nacha import NachaFile
nacha = NachaFile()
batch = nacha.add_batch()
batch.add_entry(receiving_dfi_routing_number='12345678', transaction_code=23, amount=10000)
batch.add_entry(receiving_dfi_routing_number='12345678', transaction_code=23, amount=10000)
nacha_string = nacha.render_to_string()
:Authors:
Franklyn Tackitt @kageurufu
3 changes: 3 additions & 0 deletions comanage_nacha/nacha_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ def lines(self):
for line in batch.lines:
yield line
yield self.file_control

def render_to_string(self):
return '\n'.join(line.dumps() for line in self.lines)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

setuptools.setup(
name='comanage_nacha',
version='0.1.0',
version='0.1.1',
url='https://github.com/DisruptiveLabs/comanage_nacha',
author='DisruptiveLabs',
author_email='team+nacha@comanage.com',
description='NACHA File Generation',
long_description=open('README.md', 'r').read(),
long_description=open('README.rst', 'r', encoding='utf-8').read(),
platforms='any',
include_package_data=True,
install_requires=['six'],
Expand Down

0 comments on commit a436472

Please sign in to comment.