Skip to main content

pytigon-lib

Pytigon is a full-stack Python/Django application framework designed for building web applications across multiple environments: desktop, web server, Android, and WebAssembly (Emscripten).

This library (pytigon-lib) is the core component of the Pytigon platform, providing:

  • Multi-format document rendering — Convert HTML to PDF, DOCX, XLSX, and Cairo graphics
  • Indentation-based HTML preprocessor (ihtml) — Write templates in a concise, Python-like indented syntax
  • Django extensions — Auto-generated CRUD views, GraphQL integration, custom model/form fields
  • Spreadsheet processing — Transform ODF (.ods) and OOXML (.xlsx) spreadsheets
  • Virtual filesystem — Unified API for local and Django storage backends
  • Task scheduling — Background task scheduling with cron-like patterns
  • HTTP/WebSocket tools — REST clients, ASGI bridges, OAuth2 helpers

Installation

pip install pytigon-lib

With optional dependencies:

pip install pytigon-lib[spreadsheet,llvm,plotting,svg]

Quick start

Render HTML to PDF

from pytigon_lib.schhtml.htmlviewer import stream_from_html

html_content = "<html><body><h1>Hello World</h1></body></html>"
pdf_bytes = stream_from_html(html_content).getvalue()

Auto-generate Django CRUD views

from pytigon_lib.schviews import GenericTable

views = GenericTable(MyModel).table('mytable').gen()

Requirements

  • Python 3.12+
  • Django >= 6.0

License

LGPLv2.1 — see LICENSE

Metadata

Release files for pytigon-lib 0.260929

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

Source distribution (sdist)

Source distribution for pytigon-lib 0.260929
File Size Uploaded
pytigon_lib-0.260929.tar.gz 273.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytigon-lib 0.260929
File Interpreter ABI Platform
pytigon_lib-0.260929-py3-none-any.whl Python 3 none any Details

Total release size: 573.4 kB

Release files / pytigon_lib-0.260929.tar.gz

Download URL pytigon_lib-0.260929.tar.gz
Size 273.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff2a3a4656a638f67718d3693ec2821c774cc9e66a4a30906d8d736a25021ace
BLAKE2b-256 checksum
How to use checksums
6b384b1aeee526bf4ca54568eced11887e4def20f12facd9ea13cf0dc168ac5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pytigon_lib-0.260929-py3-none-any.whl

Download URL pytigon_lib-0.260929-py3-none-any.whl
Size 300.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56905f54f561cbfb27b1dff2ed02f4efcd8dd834a8849e5b6dfd94350ff4253e
BLAKE2b-256 checksum
How to use checksums
9981dc9743681036c8fee39ea995792f1cfa1cce8c8feb6687b99857cc632af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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