Skip to main content

Utils for norma43 files, like exporting to Google Spreadsheets or CSV

Project description

Norma43 Utils

Build status Code style: black Checked with mypy

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

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.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

norma43utils-1.0.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file norma43utils-1.0.4.tar.gz.

File metadata

  • Download URL: norma43utils-1.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for norma43utils-1.0.4.tar.gz
Algorithm Hash digest
SHA256 efc40111ff1b475cffa2269a81e6cab2427a44b3019304f855a8e015c27ceefa
MD5 17e3b761ba5590e79468bf417c9fc171
BLAKE2b-256 ec1c2061a8c8b7ba0cbd1a248faa7c7d39ff1244768a1501773640f59e2943ce

See more details on using hashes here.

File details

Details for the file norma43utils-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: norma43utils-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for norma43utils-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a66912eeb7484fe1f4d7807d496f21d2c3e28e218080b20407132e6fd58ab8a9
MD5 d91b3842a10ee0adeebe6c85717e920b
BLAKE2b-256 09a0cdb41c5cafc253c31ccba9d0fd2746c5acf199cc154550cf70040cae194d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page