Skip to main content

AWS-based drop box uploader

Project description

sobe

Documentation Status

A simple command-line tool to upload files to an AWS S3 bucket that is publicly available through a CloudFront distribution. This is the traditional "drop box" use case that existed long before the advent of modern file sharing services.

Full documentation: https://sobe.readthedocs.io/en/latest/

It will upload any files you give it to your bucket, in a current year subdirectory, because that's the only easy way to organize chaos.

"Sobe" is Portuguese for "take it up" (in the imperative), as in "upload".

Installation

Use uv to manage it.

uv tool install sobe

If you have Python ≥ 3.11, you can also install it via pip:

pip install sobe

Configuration

On first run, sobe will create its config file as appropriate to the platform and tell you its location. You'll need to edit this file with your AWS bucket and CloudFront details.

Here's a minimal set up.

url = "https://example.com/"
[aws]
bucket = "your-bucket-name"
cloudfront = "your-cloudfront-distribution-id"

More information in the docs.

Usage

The basic example is uploading files to current year directory:

$ sobe file1.jpg file2.pdf
https://example.com/2025/file1.jpg ...ok.
https://example.com/2025/file2.pdf ...ok.

You can call it with --help for all available options. You can delete files, clear the CloudFront cache (cached objects stay for 1 day by default), tweak the upload year. The documentation contains better examples.

License

See the LICENSE file for details.

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

sobe-0.2.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

sobe-0.2.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file sobe-0.2.1.tar.gz.

File metadata

  • Download URL: sobe-0.2.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sobe-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d698e26315369c6e05f249b2200247f813962e6f12a4c6e4eb16fb2e8e9c7952
MD5 c27ab15f1d14d046303a5f717558ca63
BLAKE2b-256 b1d9b2a1a49971e90650e7553527ea4ec2717cab8a53274101a8dc8d278842c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sobe-0.2.1.tar.gz:

Publisher: pypi.yaml on Liz4v/sobe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sobe-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sobe-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sobe-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d21ad2308bc18f421911c684c2fc03727e9c40f43cf9d76f87c3e656a9d9b4f5
MD5 1d2641378f9fc1d6d41a639fca568943
BLAKE2b-256 394d11cb7733d4bb9d700bf06ff3effa8c76f1bbcc4d3f6bf9daaf44871feb94

See more details on using hashes here.

Provenance

The following attestation bundles were made for sobe-0.2.1-py3-none-any.whl:

Publisher: pypi.yaml on Liz4v/sobe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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