GithubHelp home page GithubHelp logo

abdesslem / localstack-python-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from localstack/localstack-python-client

0.0 2.0 0.0 21 KB

๐Ÿ A lightweight Python client for LocalStack

License: Apache License 2.0

Makefile 18.57% Python 81.43%

localstack-python-client's Introduction

LocalStack Python Client

This is an easy-to-use Python client for LocalStack. The client library provides a thin wrapper around boto3 which automatically configures the target endpoints to use LocalStack for your local cloud application development.

Prerequisites

To make use of this library, you need to have LocalStack installed on your local machine. In particular, the localstack command needs to be available.

Installation

The easiest way to install LocalStack is via pip:

pip install localstack-client

Usage

This library provides an API that is identical to boto3's. For example, to list the SQS queues in your local (LocalStack) environment, use the following code:

import localstack_client.session

session = localstack_client.session.Session()
sqs = session.client('sqs')
assert sqs.list_queues() is not None

Developing

We welcome feedback, bug reports, and pull requests!

Use these commands to get you started and test your code:

make install
make test

Changelog

  • v0.6: Add endpoint for AWS secretsmanager
  • v0.5: Fix passing of credentials to client session
  • v0.4: Add functions to retrieve service port mappings
  • v0.3: Add new service endpoints
  • v0.2: Add missing service endpoints; enable SSL connections; put default endpoints into config.py
  • v0.1: Initial version

License

The LocalStack Python Client is released under the Apache License, Version 2.0 (see LICENSE).

localstack-python-client's People

Contributors

ajhalaria-godaddy avatar astraluma avatar sfdye avatar whummer 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.