
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
This util creates new service of python. This one has some additional command cli for control of development
Tamplar is service generator. This project can to help you control your development. We think, you should development with isolated environment. Therefore we creates docker-compose for local debugging and testing.
Now, we use this python layout.
pip install tamplar
If you want local environments, you need a docker. Please install:
sudo apt-get install docker.io
We don't use docker-compose as console util. We build docker-compose from source and we use docker API into python code.
tamplar can work with:
Go to empty directory and init your first project
tamplar init
After that, you get FastAPI service with healthcheck methods. FastAPI is ASGI framework instead of Flask.
If you want reinitialize, tamplar ask you about cleaning repo. If you works with JetBrains IDE, while initialization we
ignore .idea
files.
We use default excellent library for logging. This is loguru. Loguru is a very useful wrapper over standart python logger. After initilize you can install all dependencies:
tamplar deps
This command uses pip
and requirements
.
You can upload your package to concrete pypi registry and docker registry
tamplar upload --docker=True --pypi=True --namespace=<your-namespace from .pypirc>
After that, it built your docker image, pypi registry and push to the registry with latest version from info.py
.
Registry is selected by namespace parameter.
This command checks struct of project by python-service-layout.
tamplar validate
This command build and run docker with services with environment (dependencies of services)
tamplar run --mode=full
We implement execute docker-compose by python library docker-compose internal API. After run, it run docker-compose file or you get status code error
This command build and run docker WITHOUT services with environment (dependencies of services)
tamplar run --mode=env
We implement execute docker-compose by python library docker-compose internal API. After run, it run docker-compose file or you get status code error
Clean is command for cleaning your building files:
tamplar clean
If you want to add new service as dependency, you need to go to the deployment/docker-compose.*.yml
. After that, you
need new service to your docker-compose files.
Tamplar have a lot of good tests. But we have not any integration tests, because it is very difficult emulate python's environment. Therefore we change integration tests to unit tests mixed integration tests (we creates and deletes files) while tests:
make test
If you want to execute test from IDE, you need to go tests/__init__.py
and change deep=2
.
FAQs
This util creates new service of python. This one has some additional command cli for control of development
We found that tamplar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.