Create Excel
This Package will help you to create Excel file more quickly and efficiently.
How to Install it?
On Windows:
pip install nestap_excel_create
On Linux:
sudo pip3 install nestap_excel_create
How to Use it?
Initializing The Package
from nestap_excel_create.create_excel_helper import create_excel
data1 = Employee.objects.values('eno', 'ename', 'esal', 'eaddr').all()
data2 = Student.objects.values('roll_no', 'name', 'school', 'addr').all()
columns1 = [
('eno', 'Employee Number'),
('ename', 'Employee Name'),
('esal', 'Employee Salary'),
('eaddr', 'Employee Address')
]
columns2 = [
('roll_no', 'Roll Number'),
('name', 'Student Name'),
('school', 'School'),
('addr', 'Address')
]
create_excel([
{
'sheet_name': Your sheet name 1,
'columns_keys': columns1
'data_list': list(data1)
},
{
'sheet_name': Your sheet name 2,
'columns_keys': columns2
'data_list': list(data2)
}
]) # Provide the list of the dictionary while Initializing
This Nestap Excel package create 1 and more than 1 excel sheet in same excel file
This Nestap Excel Package create excel file more quickly and efficiently.
Metadata
Release files for nestap-excel-create 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nestap_excel_create-1.0.2.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nestap_excel_create-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / nestap_excel_create-1.0.2.tar.gz
| Download URL | nestap_excel_create-1.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520548424e7ed2f9f043b686c64be93847c704766e289b1e43c718069dd5504e
|
|
BLAKE2b-256 checksum How to use checksums |
1c3e003244470e3aeca8460e1933f0677da559c740d29aaec2f694dc61696ff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / nestap_excel_create-1.0.2-py3-none-any.whl
| Download URL | nestap_excel_create-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7d4e7b710dac7c74f04721b7dca36015685636ddcfb9de25d5a0a7521b41fa2
|
|
BLAKE2b-256 checksum How to use checksums |
097c791d731a84220db36a75cc881397f179a59b19e8bac745dd4e8cf9f979a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|