Skip to main content

A CLI tool to diff Python objects by dotted path.

Project description

diffract

PyPI version License: MIT

A CLI tool and library to diff the source of Python objects specified by dotted paths.

Installation

You can install diffract from PyPi:

pip install diffract

The output will be colorized if rich is installed. This can be installed at the same time:

pip install "diffract[color]"

or separately:

pip install rich

Usage

diffract package_a.module_a.function_a package_b.module_b.function_b

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

diffract-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

diffract-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file diffract-0.1.1.tar.gz.

File metadata

  • Download URL: diffract-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Darwin/23.6.0

File hashes

Hashes for diffract-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2155172ce3e8821749be79734f14572be58b03c63fd515c40f4e58e73cd7bf81
MD5 22fc960d75a3c4011285295988ab9aa2
BLAKE2b-256 c64229184f64a2f089b9419f0e5902e14ea0ea4163f3dd98e46fa08b385bcc71

See more details on using hashes here.

File details

Details for the file diffract-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: diffract-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Darwin/23.6.0

File hashes

Hashes for diffract-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f31fa3e640eb77d2cb2949b2c73057063f8f85e7e6cf29c33e5f88a312f2f7e
MD5 5c2450eb509b6f6b57ca2986ef34077e
BLAKE2b-256 1e1e15f5cb21c82949662b23abad746b07226dd2cd2c82d893a88808596940b6

See more details on using hashes here.

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