Skip to main content

# morphine

Simple Prolog trace formatter.

This is a simple wrapper around [swipl](https://www.swi-prolog.org/) tracer. To be more precise morphine creates its own shell and runs `console swipl -s path/to/file -g "leash(-all),trace,start." -t halt ` When output seems like swipl’s tracing morphine formats it.

## Requirements

  • python 3.5 or higher

  • swipl

## Installation

`console pip install morphine `

## Usage

`console morphine path/to/prolog/file `

Make sure the file has the predicate start/0 (takes no arguments). Morphine automatically runs this predicate.

### User input

Morphine’s shell can receive and pass to swipl user input.

Metadata

Release files for morphine-tracer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morphine-tracer 0.1.0
File Size Uploaded Provenance
morphine-tracer-0.1.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for morphine-tracer 0.1.0
File Interpreter ABI Platform
morphine_tracer-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.1 kB

Release files / morphine-tracer-0.1.0.tar.gz

Download URL morphine-tracer-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bdf0b44ae1ea2d23a7af71e0d4b39c63d5f08b75d9e96cc5936da0c6070b690e
BLAKE2b-256 checksum
How to use checksums
4adfc8c7a2618c71eccbcae031cd0f3457f898daae49fd6139019b0212788564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release files / morphine_tracer-0.1.0-py2.py3-none-any.whl

Download URL morphine_tracer-0.1.0-py2.py3-none-any.whl
Size 6.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4336d72999642ff1f756188b7abbf1220c9c4a3279f36eeaef4992a7f2d87a5e
BLAKE2b-256 checksum
How to use checksums
4ce80c319a603425c7304e3175fb082a4d9d1e1ae6f707eb497ef601a34cdcfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Security for morphine-tracer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page