Utils for norma43 files, like exporting to Google Spreadsheets or CSV
Project description
Norma43 Utils
Python cli that reads a norma43
file and transforms it to another format.
The current options are:
- Append to a google spreadsheet
- Transform to CSV (not yet implemented)
How to install it:
From PIP:
pip install norma43utils google-api-python-client google-auth-httplib2 google-auth-oauthlib
Then, create a OAUTH2 client credentials file credentials.json
to use the google API from there:
Copy the credentials file to the following file path:
mkdir -p $HOME/.norma43togooglespreadsheet/google/ && cp credentials.json $HOME/.norma43togooglespreadsheet/google/
How to use it
The PIP package creates and executable that is included in you path. Just use the CLI
usage: norma43utils [-h] input {google} output {EN,ES}
Reads a norma43 formatted document, converts it and uploads it to Google
Spreadsheets.
positional arguments:
input norma43 input file path
{google} Format to output the result
output Google spreadsheet document id
{EN,ES} Date format (EN/ES)
optional arguments:
-h, --help show this help message and exit
For instance: norma43utils movements.n43 google document_id EN
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
norma43utils-1.0.3.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for norma43utils-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46093d1401dd8cb5723a01dcea58106af8b974a9600d4fab6461c793daedc4cc |
|
MD5 | 4a683a971a503dcf8a04d985341c89cc |
|
BLAKE2b-256 | 25a1ce50246632d87eb8ed0d3e052557283ee9a7ac698d252bcba88665833162 |