Skip to content

Commit 6d35498

Browse files
author
Truong Le
committed
Update readme
1 parent 607f3e1 commit 6d35498

File tree

4 files changed

+49
-30
lines changed

4 files changed

+49
-30
lines changed

README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
export_dynamodb
2+
===============
3+
4+
A cli to export dynamodb.
5+
6+
* [Key Features](key-features)
7+
* [How to use](#how-to-use)
8+
* [Getting started](#getting-started)
9+
10+
Key Features
11+
============
12+
* Scan table in single or parallel thread.
13+
* Output file can be json or csv.
14+
* Get list of tables from yaml file.
15+
16+
How to use
17+
==========
18+
19+
Getting started
20+
---------------
21+
22+
.. code:: bash
23+
24+
# Install virtual environment
25+
$ pip3 install virtualenv
26+
$ virtualenv -p python3 venv
27+
$ source venv/bin/activate
28+
29+
# Install dependencies
30+
$ pip install -r requirements.txt
31+
32+
# if you want to exit from development environment, use deactivate command
33+
$ deactivate

export-dynamodb/main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import click
2+
3+
@click.command()
4+
@click.option('--table', help='Name of table to export.')
5+
def main(table):
6+
print('Dynamodb: {}'.format(table))
7+
8+
if __name__ == '__main__':
9+
main()

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
from distutils.core import setup
2+
23
setup(
34
name = 'export-dynamodb',
45
packages = ['export-dynamodb'],
5-
version = '1.0.0',
6+
version = '1.0.1',
67
description = 'A cli to export Amazon DynamoDb',
78
author = 'Truong Le',
89
author_email = 'travistrle@gmail.com',
910
url = 'https://github.com/travistrle/export-dynamodb.git',
1011
license = 'GPLv3',
11-
download_url = 'https://github.com/travistrle/export-dynamodb/archive/1.0.0.tar.gz',
12+
download_url = 'https://github.com/travistrle/export-dynamodb/archive/1.0.1.tar.gz',
1213
keywords = ['aws', 'dynamodb', 'export'],
1314
classifiers = [
1415
'Development Status :: 3 - Alpha',
@@ -17,4 +18,8 @@
1718
'Programming Language :: Python :: 3.6',
1819
],
1920
python_requires='>=3.6',
21+
install_requires=[
22+
'click==6.7',
23+
'boto3==1.7.19'
24+
],
2025
)

0 commit comments

Comments
 (0)