Skip to main content

MonetDB profiler connection tool

Project description

PyPIBadge ActionsBadge DocsBadge CoverageBadge

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.

Project details


Download files

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

Source Distribution

monetdb_pystethoscope-0.3.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

monetdb_pystethoscope-0.3.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file monetdb_pystethoscope-0.3.0.tar.gz.

File metadata

  • Download URL: monetdb_pystethoscope-0.3.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-1025-azure

File hashes

Hashes for monetdb_pystethoscope-0.3.0.tar.gz
Algorithm Hash digest
SHA256 beb80404d7debe169a895359bfcf2eaa0f405eed76472437aff982900e8f6d39
MD5 89a244e58e4f6bf67eabc02909b59e85
BLAKE2b-256 85ae9f4963423914be32e54b5a008ee80535dd02929565e1da47a9f9d44d164d

See more details on using hashes here.

File details

Details for the file monetdb_pystethoscope-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for monetdb_pystethoscope-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffd2f6b3d103ea176084f302b448f8eabd118824a99b9e9f60eacce6b360d3b1
MD5 c3b1fed5fdce65dd47cdf6590028ba74
BLAKE2b-256 71d8ad2a07e286375b5c9919ec0cc733bf4d86f290469c2d895cd9b9aed16163

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page