Skip to content

Commit

Permalink
Merge pull request #13 from dabapps/create-installable-package
Browse files Browse the repository at this point in the history
Create installable package
  • Loading branch information
nvlaarhoven authored Feb 1, 2019
2 parents 22d185a + 2c908cb commit 740577a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016, DabApps
Copyright (c) 2019, DabApps
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
[![Build Status](https://travis-ci.com/dabapps/csv-wrangler.svg?token=apzD3FKHpTNKHAtAu9xC&branch=master)](https://travis-ci.com/dabapps/csv-wrangler)
CSV Wrangler
===================
Statically typed Python 3 CSV generation helpers.
[![Build Status](https://travis-ci.com/dabapps/csv-wrangler.svg?token=apzD3FKHpTNKHAtAu9xC&branch=master)](https://travis-ci.com/dabapps/csv-wrangler)
[![pypi release](https://img.shields.io/pypi/v/csv-wrangler.svg)](https://pypi.python.org/pypi/csv-wrangler)

Statically-typed Python 3 CSV generation helpers.
Write nicely typed CSV handling logic, with reorderable headers!

Settings
--------
## Getting Started

Currently not on `pip`, as this isn't quite ready to hit the big time. Whack this into your requirements file:
### Installation

```
git+git://github.com/dabapps/[email protected]#egg=csv-wrangler
```
Install with `pip`

And then add it to your `INSTALLED_APPS`
pip install csv-wrangler

```python
'csv_wrangler'
```
Add `csv_wrangler` to your installed apps

INSTALLED_APPS = (
...
'csv_wrangler',
)

## Usage

Usage
-----
### Create an Exporter

Generally, you'll want to subclass `Exporter` and provide two required changes, `headers` and `fetch_records`. You'll also want a way to get data into the exporter - override `__init__` for this.
Expand Down
2 changes: 1 addition & 1 deletion csv_wrangler/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.3'
__version__ = '1.0.0'
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

name = 'csv-wrangler'
package = 'csv_wrangler'
description = 'Statically-typed CSV helpers'
description = 'Statically-typed Python 3 CSV generation helpers'
url = 'http://www.dabapps.com'
author = 'DabApps'
author_email = '[email protected]'
Expand All @@ -19,7 +19,8 @@
"Django>=1.8",
]

long_description = """Statically-typed CSV helpers"""
long_description = """Statically-typed Python 3 CSV generation helpers.
Write nicely typed CSV handling logic, with reorderable headers!"""

def get_version(package):
"""
Expand Down

0 comments on commit 740577a

Please sign in to comment.