File tree 4 files changed +49
-30
lines changed
4 files changed +49
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 ()
Original file line number Diff line number Diff line change 1
1
from distutils .core import setup
2
+
2
3
setup (
3
4
name = 'export-dynamodb' ,
4
5
packages = ['export-dynamodb' ],
5
- version = '1.0.0 ' ,
6
+ version = '1.0.1 ' ,
6
7
description = 'A cli to export Amazon DynamoDb' ,
7
8
author = 'Truong Le' ,
8
9
author_email = 'travistrle@gmail.com' ,
9
10
url = 'https://github.com/travistrle/export-dynamodb.git' ,
10
11
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' ,
12
13
keywords = ['aws' , 'dynamodb' , 'export' ],
13
14
classifiers = [
14
15
'Development Status :: 3 - Alpha' ,
17
18
'Programming Language :: Python :: 3.6' ,
18
19
],
19
20
python_requires = '>=3.6' ,
21
+ install_requires = [
22
+ 'click==6.7' ,
23
+ 'boto3==1.7.19'
24
+ ],
20
25
)
You can’t perform that action at this time.
0 commit comments