Skip to main content

bamboo

bamboo PyPI version License

Supported Interfaces

  • WSGI
  • ASGI v3.0 (HTTP, WebSocket and Lifespan)

Installing

  • Python: >= 3.7
python -m pip install bamboo-core

Usage

以下は簡単な実装例です.

from bamboo import WSGIApp, WSGIEndpoint, WSGITestExecutor

app = WSGIApp()

@app.route("hello")
class MockEndpoint(WSGIEndpoint):

    def do_GET(self) -> None:
        self.send_body(b"Hello, World!")

if __name__ == "__main__":
    WSGITestExecutor.debug(app)

上記スクリプトを実行後,ブラウザで http://localhost:8000/hello にアクセスするとレスポンスを確認できます.

API documentation

API ドキュメントはこちら

Examples

upsidedown

リクエストされた文字列を逆順に反転させて返すアプリケーションです.

image_traffic

アクセスに対して静的な画像を返すアプリケーションです.

tweets

CLI ベースの簡易的な Twitter のような投稿アプリです.認証機能は実装されていません.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bamboo-core-0.10.5.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

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

bamboo_core-0.10.5-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file bamboo-core-0.10.5.tar.gz.

File metadata

  • Download URL: bamboo-core-0.10.5.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for bamboo-core-0.10.5.tar.gz
Algorithm Hash digest
SHA256 9987a6279e4b877afadaf341d451f6d2fb3efa8d1c543339c993ad8f2ce91293
MD5 65ba4c4d5fc59fc00a5799ea95396d80
BLAKE2b-256 ed37bc4768b7aaf62b583e8063c054590ad6038dd346ee7bf5196efc5f631f9d

See more details on using hashes here.

File details

Details for the file bamboo_core-0.10.5-py3-none-any.whl.

File metadata

  • Download URL: bamboo_core-0.10.5-py3-none-any.whl
  • Upload date:
  • Size: 61.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for bamboo_core-0.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77beb129af6b36156e84c976aeb5b1a662709906aaf213dbc731b22d6ef03ccb
MD5 85f4317e4437515dfe493c4ba0cafad1
BLAKE2b-256 2c3ebe3e75a77c422d4a762dd39df044e570596bdf035bd4076871ea8b7b817b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.5 This release

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.16

2 files

0.7.15

2 files

0.7.14

2 files

0.7.13

2 files

0.7.12

2 files

0.7.11

2 files

0.7.10

2 files

0.7.9

2 files

0.7.8

2 files

0.7.7

2 files

0.7.6

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page