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.2.4.tar.gz (123.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.2.4-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spytial_diagramming-0.2.4.tar.gz
  • Upload date:
  • Size: 123.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.10

File hashes

Hashes for spytial_diagramming-0.2.4.tar.gz
Algorithm Hash digest
SHA256 5b1324c56d275831dee6327da4be3b29b3bf24b6042bf1c9b22db00a17fc057c
MD5 1a30ca1c30d33cd4607b3f9ff020d0a2
BLAKE2b-256 5ab9cc99285af1909284530640aeaf5bb29501ea4ea1d287f5d9c36dbe08f53f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spytial_diagramming-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b0b3af9b56f8966f3514754a71a8eb31bbd2c6b9d492cfb1cd0e6ff5bf2392
MD5 184ae3ccce4f3135f7bb23ea27d74723
BLAKE2b-256 b20c36d6437203f038d724216b3a253e923c2c284380731d546fe34b29a04b6b

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