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.4.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pydeepxlsx-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 749526dbf79d550e8a4f184b7cc11b8433af3c4ddf5e6b5d691ebe44ce001365 |
|
MD5 | 2fe77b0327f8ec50944482ff7efcad8e |
|
BLAKE2b-256 | 7d857e151fb636ee95401b65272201769392fc5ed02b7bd006321324116a824a |