GithubHelp home page GithubHelp logo

r4's People

Contributors

buckbaskin avatar robert-wagner avatar

Watchers

 avatar  avatar  avatar  avatar

r4's Issues

Add User login (web views)

Add a couple of simple pages to create a new user (username, password -> API Key, API secret), request/recreate credentials for a user, delete user)

These should plug into the backend mechanics using some sort of class based view thingamahbob. See #16

Add User login (behind the scenes)

Add key generation and such

  • system for creating r4 credentials
  • parse r4 credentials from request
  • validate r4 credentials
  • replace r4 credentials with managed r4 credentials
  • send out replaced credentials via threadit

Create an R4 backend

  • simple version: support the minimum requests of the R4 client R4 api with a custom interface
  • complex version: begin implementing S3 endpoints to make an S3 compatible/drop-in API so that boto3 clients can use R4's distribution as if it were a single S3 bucket

Add usernames to bucket naming convention

actual bucket naming: global prefix + service prefix + username + bucket name
This is an update in threadit

The user example_user submits a bucket named abc
This could get renamed to io.r4.s3.us-east-2.example_user.abc and io.r4.s3.us-east-1.example_user.abc

Setup Airbrake for your Python application

Installation

Using pip

pip install -U airbrake

Setup

The easiest way to get set up is with a few environment variables (You can find your project ID and API KEY with your project's settings):

export AIRBRAKE_API_KEY=<Your project API KEY>
export AIRBRAKE_PROJECT_ID=<Your project ID>
export AIRBRAKE_ENVIRONMENT=production

and you're done!

Otherwise, you can instantiate your AirbrakeHandler by passing these values as arguments to the getLogger() helper:

import airbrake


logger = airbrake.getLogger(api_key="<Your project API KEY>", project_id=<Your project ID>)


try:
    1/0
except Exception:
    logger.exception("Bad math.")

For more information please visit our official GitHub repo.

Create an S3 client

  • Basic functionality
  • Add additional features, including making it (somewhat) API compatible with boto3

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.