Skip to main content

safe-file-example

Description

A python package for interacting with SAFE File transfer API

Current Functionalities

  • Generate a JWT Token
  • Import a File
  • Export a File

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 safe-file-example
  • To see all the available commands and options run the following
safe-file-example

Usage:

$ safe-file-example [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get-token: Get and store access token
  • import-file: Import a file
  • export-file: Export a file
  • interactive: Run interactive mode

safe-file-example get-token

Get and store access token

Usage:

$ safe-file-example get-token [OPTIONS]

Options:

  • --help: Show this message and exit.

safe-file-example import-file

Import a file

Usage:

$ safe-file-example import-file [OPTIONS]

Options:

  • --server TEXT: Server name
  • --file-path FILE: Path to file to import
  • -i, --interactive: Run import interactively
  • --help: Show this message and exit.

safe-file-example export-file

Export a file

Usage:

$ safe-file-example export-file [OPTIONS]

Options:

  • --server TEXT: Server name
  • --filename TEXT: Filename to export
  • --output-dir DIRECTORY: Output directory
  • -i, --interactive: Run export interactively
  • --help: Show this message and exit.

safe-file-example interactive

Run interactive mode

Usage:

$ safe-file-example interactive [OPTIONS]

Options:

  • --help: Show this message and exit.

Metadata

Release files for safe-file-example 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for safe-file-example 0.3.1
File Size Uploaded Provenance
safe_file_example-0.3.1.tar.gz 44.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for safe-file-example 0.3.1
File Interpreter ABI Platform
safe_file_example-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 60.1 kB

Release files / safe_file_example-0.3.1.tar.gz

Download URL safe_file_example-0.3.1.tar.gz
Size 44.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3ec2a0634b8bb4f63cb8efff95c4529a36bb1ddf51fe1acdce83cfb6440e0238
BLAKE2b-256 checksum
How to use checksums
4a2227c42066d38058e20b477db13a5f1f61b9d98e87b5146b28cf9cb78d2cb0
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-0.3.1-py3-none-any.whl

Download URL safe_file_example-0.3.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fc545eb0d89e04e68f0fe1580b7079f83e7a7cc1aa6e7c8afb101ffd48d3898
BLAKE2b-256 checksum
How to use checksums
2f8d0cb7f03cf9abf601ddf32d5c379d500ead22db5d37afd63dafcdb1e60039
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 0.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page