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.2.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.2.1
File Size Uploaded Provenance
safe_file_example-0.2.1.tar.gz 23.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 38.0 kB

Release files / safe_file_example-0.2.1.tar.gz

Download URL safe_file_example-0.2.1.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
641b06933c7125081df38b30b9eac9674efe290f93eb6d963950d3816df5b6cd
BLAKE2b-256 checksum
How to use checksums
413f5d6646fa356b402cc1871a4c32def7bb6a265b2bdb7662da87ead889d35d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / safe_file_example-0.2.1-py3-none-any.whl

Download URL safe_file_example-0.2.1-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fce8370258ec87f0324ad006f24caa8abfa7bcbd1b25afc2740a8e3518095671
BLAKE2b-256 checksum
How to use checksums
f554297c6adadaa38aaec5ff3f3a2645e451e133ad2f64ba80f845bd22db9b6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for safe-file-example 0.2.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