Git Product home page Git Product logo

ceph-s3-examples's Introduction

CEPH S3 Commands

This repo offers commands to interact with a CEPH file system account. This service exposes an API compatible with AWS S3, reason why the main dependency of this project is boto3.

How to use it.

  1. Create a credentials.json file. This file will contain the credentials to connect to the CEPH FS account. You'll find a credentials.json.tpl file as a reference indicating the credentials required. Please DON'T COMMIT credentials.json file (it is ignored in the repo just in case)

  2. Create a virtualenv in python3 and install the requirements with pip install -r requirements.txt. The commands have been tested in Python 3.7 and 3.8.

  3. Activate the virtualenv and proceed using the commands. Every file in this repo whose name starts with ceph- is a command. The name of he files are self-explanatory, describing the operation to execute. To run them, you just need to execute the appropriate python file and specify the argurment, if required. For instance, to list all the buckets in a CEPH account, just run:

./ceph-list-buckets.py

This is a command that requires no arguments. You can check every command arguments by running them with the -h option (help) or by looking at the file content.

ceph-s3-examples's People

Contributors

jfavellar90 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.