Introduction
pystethoscope is a command line tool to filter and format the events coming from the MonetDB profiler. The profiler is part of the MonetDB server and works by emitting two JSON objects: one at the start and one at the end of every MAL instruction executed. pystethoscope connects to a MonetDB server process, reads the objects emitted by the profiler and performs various transformations specified by the user.
Installation
Installation is done via pip:
pip install monetdb-pystethoscope
This project is compatible with Python 3.5 or later and with MonetDB server version Jun2020 or later.
We recommend the use of virtual environments (see this primer if you are unfamiliar) for installing and using monetdb-pystethoscope.
Developer notes
pystethoscope is developed using Poetry, for dependency management and packaging.
Installation for development
In order to install pystethoscope do the following:
pip3 install --user poetry
PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
export PATH="$PATH:$PYTHON_BIN_PATH"
git clone git@github.com:MonetDBSolutions/monetdb-pystethoscope.git
cd monetdb-pystethoscope
poetry install
poetry run pystethoscope --help
Documentation
For more detailed documentation please see the documentation on readthedocs.
Metadata
Release files for monetdb-pystethoscope 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| monetdb_pystethoscope-0.3.2.tar.gz | 19.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monetdb_pystethoscope-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.3 kB
Release files / monetdb_pystethoscope-0.3.2.tar.gz
| Download URL | monetdb_pystethoscope-0.3.2.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5301af5c2b8b04548ae15ca1c589f9a0be2f748011e718a7884eec08305fa08f
|
|
BLAKE2b-256 checksum How to use checksums |
21d41793268a44d2f149ac01df45ec3cce8412278b6460aaec88aea8ca8831cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.8.9 Linux/5.4.0-1046-azure
|
Release files / monetdb_pystethoscope-0.3.2-py3-none-any.whl
| Download URL | monetdb_pystethoscope-0.3.2-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
600dd1033bf7aa6e78316dfef2fc8f6ffcaf974694e147799f03d91130a8f563
|
|
BLAKE2b-256 checksum How to use checksums |
4c051ea5016d9bdc5e1bd619bb8c074fc67e3220f24234a417ad42eecb961aa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.8.9 Linux/5.4.0-1046-azure
|