XLSX file as a template
Project description
pydeepxlsx
pydeepxlsx
is a package used to build a XLSX file using openpyxl and a XLSX file as a template.
flowchart LR
id1[(Database)]
id2(XLSX template file)
id3[[pydeepxl]]
id4(XLSX generated file)
id1-->id3
id2-->id3
id3-->id4
Install it from PyPI
pip install project_name
Usage
See Documentation
Simple use case
from pydeepxlsx import PyDeepXLSX
xlsx = PyDeepXLSX('./demo.xlsx')
xlsx.copy_as_it('Demo', 0)
xlsx.append_lines(
'Demo',
[
{
'item': 'Titi',
'unit_price': 3500,
'quantity': 0.05,
'vat': 0.1
},
{
'item': 'Toto',
'unit_price': 1500,
'quantity': 0.001,
'vat': 0.2
}
]
)
xlsx.wb.save('./test.xlsx')
Development
Read the CONTRIBUTING.md file.
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
pydeepxlsx-1.0.2.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pydeepxlsx-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dedebff3797c0b499c8798f58505db1065bf3a6843ff875ff8c64abfc288c29e |
|
MD5 | 8f2e67631838477afa7709e41675c059 |
|
BLAKE2b-256 | b99f823a0cd00b1bad872c90eee2ef4c9c44fe7f3286d40b3d4e24694884605f |