baseplate-2.6.0b2
توضیحات
reddit's python service framework
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | baseplate-2.6.0b2 |
| نام | baseplate |
| نسخه کتابخانه | 2.6.0b2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/reddit/baseplate.py |
| آدرس اینترنتی | https://pypi.org/project/baseplate/ |
| مجوز | BSD |
# baseplate.py
* [Documentation](https://baseplate.readthedocs.io/en/stable/)
* [Contribution Guidelines](https://github.com/reddit/baseplate.py/blob/develop/CONTRIBUTING.md)
It's much easier to manage a bunch of services when they all have the same
shape: the way they're developed, the way they interact with the infrastructure
they run on, and the way they interact with each other. Baseplate is reddit's
specification for the common shape of our services. This library, Baseplate.py,
is the Python implementation of that specification.
Baseplate.py glues together tooling for interacting with the reddit backend
ecosystem and spackles over things that are missing. It integrates with Apache
Thrift, Pyramid, and client libraries for many systems to transparently make
your applications observable.
Baseplate applications transparently get:
* Timing and request rate metrics using statsd
* Distributed tracing with Zipkin
* Error reporting and aggregation with Sentry
And can take advantage of:
* Integration with commonly used clients like: Thrift, SQLAlchemy,
cassandra-driver, pymemcache, redis-py, and Kombu
* Secrets securely pulled from Vault
And many other things!
# pre-commit
* [Documentation](https://pre-commit.com/)
This repo comes with pre-commit hooks that let you (on a voluntary basis)
enable pre-commit and/or pre-push hooks.
Configuration can be found at the root of the directory in
`.pre-commit-config.yaml`. On its own, the configuration file doesn't do
anything. You either need to [run the hooks manually](https://pre-commit.com/#pre-commit-run)
or [install them](https://pre-commit.com/#pre-commit-install) so that they run
automatically on every commit or push.
Currently, we run the `make fmt` target on commit and `make lint` / `pytest`
actions on push.
Specific hooks can be [temporarily disabled](https://pre-commit.com/#temporarily-disabling-hooks).
You can install hooks only for a specific step (i.e. [pre-push](https://pre-commit.com/#pre-commit-during-push)).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.18 | boto3 |
| <2.0,>=1.0.0 | posix-ipc |
| <3.0,>=2.0 | python-json-logger |
| <3.0,>=2.21.0 | requests |
| <1.0,>=0.14.1 | thrift-unofficial |
| >=20.5.0 | gevent |
| >=0.12.0 | prometheus-client |
| <5.0,>=4.0.0 | kombu |
| <4.0,>=3.13.0 | cassandra-driver |
| <1.0,>=0.3.0 | reddit-cqlmapper |
| <2.0,>=1.3 | confluent-kafka |
| <1.4.4,>=1.3.0 | pymemcache |
| <1.0,>=0.12.0 | prometheus-client |
| <2.0,>=1.9.0 | pyramid |
| <4.0.0,>=2.10.0 | redis |
| <3.0.0,>=2.1.2 | redis-py-cluster |
| <4.0,>=3.0 | objgraph |
| <2.0,>=1.0.0 | advocate |
| >=1.18 | boto3 |
| <1.0,>=0.19 | sentry-sdk |
| <2.0,>=1.1.0 | sqlalchemy |
| <3.0,>=2.5.0 | kazoo |
| <5.0,>=4.0.0 | kombu |
| <4.0,>=3.13.0 | cassandra-driver |
| <1.0,>=0.3.0 | reddit-cqlmapper |
| <2.0,>=1.3 | confluent-kafka |
| <1.4.4,>=1.3.0 | pymemcache |
| <1.0,>=0.12.0 | prometheus-client |
| <2.0,>=1.9.0 | pyramid |
| <4.0.0,>=2.10.0 | redis |
| <3.0.0,>=2.1.2 | redis-py-cluster |
| <4.0,>=3.0 | objgraph |
| <2.0,>=1.0.0 | advocate |
| >=1.18 | boto3 |
| <1.0,>=0.19 | sentry-sdk |
| <2.0,>=1.1.0 | sqlalchemy |
| <3.0,>=2.5.0 | kazoo |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl baseplate-2.6.0b2:
pip install baseplate-2.6.0b2.whl
نصب پکیج tar.gz baseplate-2.6.0b2:
pip install baseplate-2.6.0b2.tar.gz