From 1eb84da107c9123f8d536efb89a9c5973989dc29 Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:24:47 +0000 Subject: [PATCH 1/6] Bump version to 2.0.0 --- csv_wrangler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_wrangler/__init__.py b/csv_wrangler/__init__.py index 8ce9b36..afced14 100644 --- a/csv_wrangler/__init__.py +++ b/csv_wrangler/__init__.py @@ -1 +1 @@ -__version__ = '0.1.3' +__version__ = '2.0.0' From 9dfa893419cddc6fd1187152fba1bb786db73571 Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:25:08 +0000 Subject: [PATCH 2/6] Update README and setup.py --- README.md | 28 +++++++++++++++------------- setup.py | 5 +++-- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3071477..860683b 100644 --- a/README.md +++ b/README.md @@ -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 =================== +[![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/csv-wrangler.git@v0.1.3#egg=csv-wrangler -``` +Install from 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. diff --git a/setup.py b/setup.py index 9322623..e22fa2d 100644 --- a/setup.py +++ b/setup.py @@ -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 = 'engineering@dabapps.com' @@ -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): """ From c6474f8a225b716db372687f2b4cb996f1453eee Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:25:20 +0000 Subject: [PATCH 3/6] Change year on licence --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 8f2cea9..b309963 100644 --- a/LICENSE +++ b/LICENSE @@ -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 From e9448380b18bbe767fb684b556ae11282e573750 Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:44:37 +0000 Subject: [PATCH 4/6] Fix version --- csv_wrangler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_wrangler/__init__.py b/csv_wrangler/__init__.py index afced14..1f356cc 100644 --- a/csv_wrangler/__init__.py +++ b/csv_wrangler/__init__.py @@ -1 +1 @@ -__version__ = '2.0.0' +__version__ = '1.0.0' From 2ed2cd4606067b7b3d485e9dc6db9d8f38844948 Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:44:58 +0000 Subject: [PATCH 5/6] Change Statically typed to Statically-typed --- README.md | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 860683b..4cf8ffe 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ CSV Wrangler [![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. +Statically-typed Python 3 CSV generation helpers. Write nicely typed CSV handling logic, with reorderable headers! ## Getting Started diff --git a/setup.py b/setup.py index e22fa2d..acca5c1 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ name = 'csv-wrangler' package = 'csv_wrangler' -description = 'Statically typed Python 3 CSV generation helpers' +description = 'Statically-typed Python 3 CSV generation helpers' url = 'http://www.dabapps.com' author = 'DabApps' author_email = 'engineering@dabapps.com' @@ -19,7 +19,7 @@ "Django>=1.8", ] -long_description = """Statically typed Python 3 CSV generation helpers. +long_description = """Statically-typed Python 3 CSV generation helpers. Write nicely typed CSV handling logic, with reorderable headers!""" def get_version(package): From 2c908cbfb3b0ab80bd06cd53ca54e090cf8b74c2 Mon Sep 17 00:00:00 2001 From: narani Date: Fri, 1 Feb 2019 15:45:24 +0000 Subject: [PATCH 6/6] Change 'Install from pip' to 'Install with pip' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cf8ffe..23fe864 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Write nicely typed CSV handling logic, with reorderable headers! ### Installation -Install from PIP +Install with `pip` pip install csv-wrangler