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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytigon_lib-0.260806.tar.gz (259.5 kB view details)

Uploaded Source

Built Distribution

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

pytigon_lib-0.260806-py3-none-any.whl (285.6 kB view details)

Uploaded Python 3

File details

Details for the file pytigon_lib-0.260806.tar.gz.

File metadata

  • Download URL: pytigon_lib-0.260806.tar.gz
  • Upload date:
  • Size: 259.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pytigon_lib-0.260806.tar.gz
Algorithm Hash digest
SHA256 65eb9957e27488a94ef1b1328ca5d9a29a79cc0f90e9cf265a1a8d52c5a55e67
MD5 1e836ea1e04c76eb1a0c7c581e1e8211
BLAKE2b-256 f13c6b8891f272056d81a9a624f03e23fad477d0db9964ae65177b43bba0461a

See more details on using hashes here.

File details

Details for the file pytigon_lib-0.260806-py3-none-any.whl.

File metadata

  • Download URL: pytigon_lib-0.260806-py3-none-any.whl
  • Upload date:
  • Size: 285.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pytigon_lib-0.260806-py3-none-any.whl
Algorithm Hash digest
SHA256 24f2d8b3b8a2f8c02d499a697d4ee51dd43cbd7117136065c38e3766686aaf64
MD5 4b374e24b4b652a622c04a3a2b4f9114
BLAKE2b-256 1802b7af42daafa71b4009194ef396a40e1b6c0a6188268e6e452f2816258754

See more details on using hashes here.

Release history Release notifications | RSS feed

0.260823

2 files

0.260822

2 files

0.260813

2 files

This release

0.260806 This release

2 files

0.260805

2 files

0.260804

2 files

0.260802

2 files

0.260723

2 files

0.260721

2 files

0.260719

2 files

0.260714

2 files

0.260713

2 files

0.260706

2 files

0.260705

2 files

0.260629

2 files

0.260511

2 files

0.250514

2 files

0.250425

2 files

0.250423

2 files

0.230307

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page