Skip to main content

Serverless Conan remote storing packages in S3 bucket

Project description

conan-client-remote-s3

A bare-bones serverless Conan remote storing packages in S3 bucket.

This grew out of this discussion.

This package relies on requests-adapter-injector which does some global injection trickery, so it is recomended, if you do not do so already, to install Conan in a dedicated venv. You may want to try pipx tool to manage venvs for Python-based tools.

If using pipx, you can install this as pipx install conan && pipx inject conan conan-client-remote-s3, or just pipx inject conan conan-client-remote-s3 if you already have Conan installed via pipx.

Otherwise, doing it manually:

$ python -mvenv venv
$ venv/bin/pip install conan conan-client-remote-s3

To add a remote do

$ conan remote add <remote-name> conan-s3://<s3-bucket-name>

Note that this remote does not support revisions, and most probably will not, as doing so would require some distributed locking. This library implements locking using AWS DynamoDB, however this would increase operational complexity.

Note: search functionality is yet to be implemented.

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

conan-client-remote-s3-0.0.6.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

conan_client_remote_s3-0.0.6-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page