Skip to main content

Eshare

eshare is a Python command-line tool for securely sharing files. It command-line tool for securely encrypting files, sharing them with time-limited tokens, and decrypting them using a password.

Features

  • Encrypt files with a password.
  • Generate time-limited shareable tokens.
  • Decrypt files securely with the token and password.

Installation

To install eshare, use pip:

pip install eshare

Usage

Here’s a brief guide on how to use the eshare command-line tool.

Encrypting a File

To encrypt a file, use the eshare encrypt command with the --file flag to specify the file and the --password flag for encryption.

eshare encrypt --file example.txt --password mypassword

This will encrypt example.txt using the provided password.

Share a File

eshare share --file example.txt.enc --expire 24 --password mypassword

This will generate file shareable token, token is used to decrypt the file.

Decrypting a File

To decrypt an encrypted file, use the eshare decrypt command along with the --file, --token and --password flags:

eshare decrypt --file example.txt.enc --token <token> --password mypassword

This will decrypt the encrypted file example.txt.enc using the provided token and password.

Viewing Help

To view the help options and available commands for eshare, run:

eshare help

To view the help options for specific command, run:

eshare share --help

Example

Here’s a complete example of encrypting and decrypting a file:

# Encrypt a file
eshare encrypt --file example.txt --password mypassword

# Share a file
eshare share --file example.txt.enc --expire 24 --password mypassword

# Decrypt the file
eshare decrypt --file example.txt.enc --token <token> --password mypassword

About the Author

eshare is created by Parth Dudhatra (imParth), a passionate software engineer, developer advocate, and content creator known for his contributions to the tech community. He is passionate about Python programming, open-source software, and sharing knowledge with others.

Parth is active on various social media platforms, where he shares insights, tutorials, and tips related to programming, software development, and security. Connect with Parth Dudhatra on social media:

If you have any questions, feedback, or suggestions, feel free to reach out to me on any platform!

License

This project is licensed under the ISC License.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

Issues

If you encounter any issues, please report them on the issues page.

Metadata

Release files for eshare 1.0.0

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

Source distribution (sdist)

Source distribution for eshare 1.0.0
File Size Uploaded Provenance Actions
eshare-1.0.0.tar.gz 5.4 kB Without provenance Details for eshare-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eshare 1.0.0
File Interpreter ABI Platform Actions
eshare-1.0.0-py3-none-any.whl Python 3 none any Details for eshare-1.0.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / eshare-1.0.0.tar.gz

Download URL eshare-1.0.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b2ae96e0b8239d9b02a4dc758b85c8c299ba4917d1e51b8d93b5fbf563a2cc80
BLAKE2b-256 checksum
How to use checksums
98b06ce2832e017cc92dcff60adfbd062b6f222a94fcac77c7db10243668e510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release files / eshare-1.0.0-py3-none-any.whl

Download URL eshare-1.0.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ada6c8ea3c91cee6b81ef6c74cc6e6629e12eb9d7f755b42404ad61d247e095
BLAKE2b-256 checksum
How to use checksums
8d4c21307386a3920f3eaf53cdd62cf1c3140128cbfa1287553c7c5dd698b6bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Security for eshare 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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