Skip to main content

Python profiling library with block-level profiling and multi-track organization

Project description

Stichotrope

In Development - v0.2.0 with verified performance characteristics

A Python profiling library for deterministic function and block-level profiling.

Overview

Stichotrope is a native Python equivalent of CppProfiler, offering:

  • Block-level profiling: Fills the gap between function-level and line-level profiling
  • Multi-track organization: Logical grouping of profiling data
  • Explicit instrumentation: Decorators and context managers for precise control
  • Thread-safe profiling: Built-in support for multi-threaded applications
  • Low overhead: ≤1% overhead for functions ≥1ms (verified)
  • Deterministic profiling: Predictable, reproducible performance measurements

Project Status

🔄 Phase 2 - Core Architecture - Milestone 2.1 Complete

This project is actively being developed following a structured roadmap toward v1.0.0. Completed:

  • ✅ Testing framework and performance baseline
  • ✅ CI/CD pipeline
  • ✅ Thread-safe architecture (v0.2.0)
  • ✅ Core profiler implementation with verified performance
  • 🔄 Documentation infrastructure
  • ⏳ PyPI packaging setup
  • ⏳ Configuration system
  • ⏳ Production features

Planned Features

  • Thread-safe profiling for multi-threaded applications
  • TOML-based configuration system
  • CSV/JSON export (CppProfiler-compatible)
  • Statistical benchmarking with confidence intervals
  • Cross-platform support (Windows, Linux, macOS)
  • Python 3.9-3.12 support

Installation

Not yet available on PyPI

Once released, installation will be:

pip install stichotrope

Quick Start

Coming soon - The library is not yet ready for use.

Example usage (planned):

from stichotrope import Profiler

profiler = Profiler("MyApp")

@profiler.track(0, "process_data")
def process_data(data):
    return transform(data)

def complex_function():
    with profiler.block(1, "database_query"):
        result = query_database()
    return result

Documentation

Documentation will be available at Read the Docs once the project reaches a stable release.

Development

This project follows a milestone-based development workflow with strict quality gates. See the roadmap for detailed planning.

Contributing

Contributions are welcome once the project reaches v1.0.0. For now, development is focused on establishing the core infrastructure and architecture.

License

This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).

Links


Target Release: v1.0.0 (7-9 weeks from project start)
Current Version: 0.2.0 (development)

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

stichotrope-0.2.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

stichotrope-0.2.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file stichotrope-0.2.0.tar.gz.

File metadata

  • Download URL: stichotrope-0.2.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stichotrope-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e7ae98082f45d44c288e04cb7c1bf94cd26c8093f735a5ccc60f596890c43659
MD5 45507798e352050837958ec66b4daa31
BLAKE2b-256 746eee7f8b6ffcc1417992d9522314dac06e404a61f8ab7d0fdf5aab11bd2b1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for stichotrope-0.2.0.tar.gz:

Publisher: release.yml on LittleCoinCoin/stichotrope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stichotrope-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: stichotrope-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stichotrope-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc3cca6f0e6e4a3fec243e60c7df13b467b006ce078072ef492c7d96c16ef62
MD5 3ede142c1fb7289b67fb73d5ffb418ef
BLAKE2b-256 45f9d01bc73c3bc8b78523af774396bc72edaa2df826cef09141541be892ad57

See more details on using hashes here.

Provenance

The following attestation bundles were made for stichotrope-0.2.0-py3-none-any.whl:

Publisher: release.yml on LittleCoinCoin/stichotrope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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