Developing a DSL for generating PDF files. It could be used in other apps as a tool for generating dynamic reports, contracts, invoices etc.
Project description
Generating PDF file using a DSL
Team
- Nikola Zejak E2 140/2021
- Milan Lukić E2 77/2021
- Milana Tucakov E2 138/2021
General Idea
Developing a DSL for generating PDF files. It could be used in other apps as a tool for generating dynamic reports, contracts, invoices etc.
Features
Must have
- PDF text elements (Heading, text block...)
- Font customization
- Including DSL features into Python module
- Images
- Tabels
Nice to have
- PDF Templates (for contracts, reports...)
- Text customization (Size, Bolded, Underline, Italic, Alignment)
Could have
- VSCode plugin
Create virtual environment
python3 -m venv /path/to/new/virtual/environment
Start virtual environment
Mac:
source NAME_OF_MY_VIRTUAL_ENVIRONMENT/bin/activate
Windows:
NAME_OF_MY_VIRTUAL_ENVIRONMENT\Scripts\activate
Install requirements from requirements.txt
pip install requirements.txt
Generate pdf and html file
Mac users:
cd src && python3 main.py
Windows users:
cd src && python main.py
Installing from a local src tree
python3 -m pip install -e .
Installing from local archives
python3 -m pip install <path>
Installing from PyPI
python3 -m pip install "PDF-Generator-with-TextX==version_of_project"
VS Code language support extension
There is language support extension for our new DSL .tff files in VS Code Marketplace. You can search for TFF FTNTeam3 extension.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for PDF Generator with TextX-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485191c37469340357cf089765c4178fdd53ea60d03a4a0bf7f6a5f75d5fc5e8 |
|
MD5 | 0e0a90f3c8f3ce8cbdb5bf17df60557c |
|
BLAKE2b-256 | 240c10d498cfc5069ffdb16b1b796e9ddcabd80724ca363e6e7969f398f8a6f8 |
Close
Hashes for PDF_Generator_with_TextX-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e96a6889ee48ed534cfbecf89520b9ac4cfe7a451ffbdbc96b554a79602fb124 |
|
MD5 | 006668d84dbcb64d2a43ffbdc97585d9 |
|
BLAKE2b-256 | a2aa4a800c74c05666d912e49750a59aa0ee5c821ba53bb59a93ab7cfd9da19a |