Skip to main content

sPyTial: Spatial Python visualization with declarative constraints

Project description

sPyTial: Lightweight Diagrams for Structured Python Data

pip install spytial-diagramming

Sometimes you just want to see your data.

You’re working with a tree, a graph, a recursive object -- maybe an AST, a neural network, or a symbolic term. You don’t need an interactive dashboard or a production-grade visualization system. You just need a diagram, something that lays it out clearly so you can understand what’s going on.

That’s what sPyTial is for. It’s designed for developers, educators, and researchers who work with structured data and need to make that structure visible — to themselves or to others — with minimal effort.

Why Spatial Representation Matters

There’s strong evidence — from cognitive science, human-computer interaction, and decades of programming tool design — that spatial representations help people understand structure. When elements are placed meaningfully in space — grouped, aligned, oriented — we can spot patterns, detect errors, and reason more effectively. This idea shows up in research from Barbara Tversky, Larkin & Simon, and in the design of tools like Alloy and Scratch.

sPyTial gives you that kind of spatial layout by default. When you visualize a Python object, the diagram reflects how the parts are connected, not just how they're stored. You get:

  • A box-and-arrow diagram that shows the shape of your data
  • A layout that follows cognitive and structural conventions
  • A tool that knows when something doesn't make sense

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

spytial_diagramming-0.3.1.tar.gz (153.6 kB view details)

Uploaded Source

Built Distribution

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

spytial_diagramming-0.3.1-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file spytial_diagramming-0.3.1.tar.gz.

File metadata

  • Download URL: spytial_diagramming-0.3.1.tar.gz
  • Upload date:
  • Size: 153.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for spytial_diagramming-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a212540f185e36cb88b7ba1c34732929310bf770a84711c721b41f2f5b651bdd
MD5 c761c59b87da89f891ed12ae0f559cc7
BLAKE2b-256 54be35157ab9be8b4bd340b6b97d159a3b28ada97b184682b20df49cb041a2ca

See more details on using hashes here.

File details

Details for the file spytial_diagramming-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spytial_diagramming-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35727507e8113e1377d3b58e479970dcdfd499f965cd5f08a6da6385b73fb978
MD5 8735f46d150b1aec82f51309d164a210
BLAKE2b-256 290d5e0b1e2c9544cda585d5a30b2999082362743a3994db7093715e6a58aad1

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