nortre-cli
Deprecation warning
This pip package will be depricated at the end of 2026. Please transfer over to the new package located at https://pypi.org/project/nortre-cli/
Description
A python package for interacting with SAFE File transfer API
Current Functionalities
- Generate a JWT Token
- Import file/s
- Export a file
- Exit
Prerequisite
- Having minimum Python 3.12 installed in your system and setting up a Python Virtual Environment.
Workflow
- Activate your Python Virtual Environment,
- Then run the following command.
pip install nortre-cli
- To see all the available commands and options run the following
safe-cli
Usage:
$ safe-cli [OPTIONS] COMMAND [ARGS]...
Options:
--help,--man,--manual: Show help and exit.
Commands:
get-token: Get and store access tokenimport-file: Import file/sexport-file: Export a fileinteractive: Run interactive modeexit: Exits the cli
safe-cli get-token
Get and store access token
Usage:
$ safe-cli get-token [OPTIONS]
Options:
--help,--man,--manual: Show help and exit.
safe-cli import-file
Import a file
Usage:
$ safe-cli import-file [OPTIONS]
Options:
--server TEXT: Server name--filename FILE: Path to file to be imported-i, --interactive: Run import interactively--help,--man,--manual: Show help and exit.
safe-cli export-file
Export a file
Usage:
$ safe-cli export-file [OPTIONS]
Options:
--server TEXT: Server name--filename TEXT: Filename to export--output-dir DIRECTORY: Output directory-i, --interactive: Run export interactively--help,--man,--manual: Show help and exit.
safe-cli interactive
Run interactive mode
Usage:
$ safe-cli interactive [OPTIONS]
Options:
--help,--man,--manual: Show help and exit.
Metadata
Release files for safe-file-example 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| safe_file_example-1.0.0.tar.gz | 47.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| safe_file_example-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.5 kB
Release files / safe_file_example-1.0.0.tar.gz
| Download URL | safe_file_example-1.0.0.tar.gz |
|---|---|
| Size | 47.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fdec712a27392cbf1f4991d7352e303c4b607bc9f5c251a17fb87e3a490bd4d
|
|
BLAKE2b-256 checksum How to use checksums |
23ba42b9051c6a49b9ff9ad70b639bed095aabbc12c5f4ffa5e9e393b46bf212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / safe_file_example-1.0.0-py3-none-any.whl
| Download URL | safe_file_example-1.0.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
313f4667d5e98ec0b55b640bd0155993bc0b22e7e79788fb5352b84f2844a89a
|
|
BLAKE2b-256 checksum How to use checksums |
ef21cccdd3f0e419e8f819f42da7f7d0cefe3ee9d75d1e83073ca4397ed176fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for safe-file-example 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.