https://github.com/sergief/norma43utils
Utils for Norma43 files
https://github.com/sergief/norma43utils
api csv google google-sheets norma43 python
Last synced: 3 months ago
JSON representation
Utils for Norma43 files
- Host: GitHub
- URL: https://github.com/sergief/norma43utils
- Owner: sergief
- License: mit
- Created: 2020-04-13T14:16:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:33:24.000Z (over 3 years ago)
- Last Synced: 2025-09-25T00:37:46.541Z (6 months ago)
- Topics: api, csv, google, google-sheets, norma43, python
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Norma43 Utils
[](https://github.com/sergief/norma43utils/actions?query=workflow%3A%22Python+package%22)
[](https://github.com/psf/black)
[](http://mypy-lang.org/)
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:
```bash
pip install norma43utils
```
Then, create a OAUTH2 client credentials file `credentials.json` to use the google API from there:
* [Google Developers console](https://console.developers.google.com/apis/credentials)
Copy the credentials file to the following file path:
```bash
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
```bash
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`