Skip to main content

No project description provided

Project description

Trame

Concepts

  • A Trame is a list of Pieces, which are themselves made of Actors
  • The goal is to display information, Piece by Piece

Dev / Install

Install locally with dev dependencies

pip3 install -e ".[dev]"

If you don't need dev dependencies, you can install locally without the .[dev] suffix :

pip3 install -e .

Install

pip install pca-trame
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ "pca-trame[dev]==0.0.2"

Try it out !

python -m trame_tests.sandbox README.md
python -m trame_tests.sandbox README.md --style src/trame_tests/data/obvious-style.css

Install locally

pip install -e .

Run unit tests

python -m trame_tests

Sandbox

python -m trame_tests.sandbox /path/to/markdown.md
python -m trame_tests.sandbox /path/to/markdown.md --port=8000 --style=/path/to/style.css
python -m trame_tests.sandbox src/trame_tests/data/dummy.md
python -m trame_tests.sandbox src/trame_tests/data/rgpd_maths.pm.md --port=8000 --style=/path/to/style.css

Release

python -m trame_tests
python -m build
python -m twine upload dist/* --verbose

Play with test trame

from trame_tests.get_trame import get_trame_from_test
trame = get_trame_from_test("dummy.md")

where dummy.md can be replace by any file under src/trame_tests/data

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

pca_trame-0.0.11.tar.gz (98.0 kB view details)

Uploaded Source

Built Distribution

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

pca_trame-0.0.11-py3-none-any.whl (103.9 kB view details)

Uploaded Python 3

File details

Details for the file pca_trame-0.0.11.tar.gz.

File metadata

  • Download URL: pca_trame-0.0.11.tar.gz
  • Upload date:
  • Size: 98.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pca_trame-0.0.11.tar.gz
Algorithm Hash digest
SHA256 1fc79c615604e4a9726664b8617d52febea53eda7f9008cf3ec9a86fe9d19c86
MD5 2eca02e28449f335314974ed143b1166
BLAKE2b-256 81c206f11284c96465a034c75733121a0786dc72300861d02b83d7b66d907885

See more details on using hashes here.

File details

Details for the file pca_trame-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: pca_trame-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 103.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pca_trame-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 88032249f9add9023f9f830b2c1922d6848deae890527440b9f0a13018d39f94
MD5 a3c52784b6db950d4a3aedf35f8c0e03
BLAKE2b-256 993ba9272a220ea79896c7751f1f2bf18387433eb39ff5b82737541299dc5989

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