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 details)
Built Distribution
File details
Details for the file pydeepxlsx-1.0.4.tar.gz
.
File metadata
- Download URL: pydeepxlsx-1.0.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c60b0e6dfcb46a774d7de0bc18905e45b21a2b847ab6d3c68f72b4002769bf |
|
MD5 | 2a8d0692ca9fd18a682ea95629bad9e2 |
|
BLAKE2b-256 | 3028950cf4533b44e6b71b38786b59f67c65570f349321727201445eca07f12b |
File details
Details for the file pydeepxlsx-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: pydeepxlsx-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 749526dbf79d550e8a4f184b7cc11b8433af3c4ddf5e6b5d691ebe44ce001365 |
|
MD5 | 2fe77b0327f8ec50944482ff7efcad8e |
|
BLAKE2b-256 | 7d857e151fb636ee95401b65272201769392fc5ed02b7bd006321324116a824a |