Simple Excel file Generator
Project description
Simple Excel File Generator From Django Model.
Required Packages:
pip install pandas
Usage :
from django_model_to_excel import generate_excel_file
def fun(request):
queryset = User.objects.all().values()
# all_to_excel accepts six parameter
# queryset will be your model data
# file_path : 'your absloute path' or None if it is None fill will store in your project Base Directory
# file_name : 'string' or None
# sheet_name : 'string' or None
# index and header : Boolean
generate_excel = generate_excel_file.all_to_excel(queryset, file_path, file_name, sheet_name, index, header)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_model_to_excel-0.1.2.tar.gz.
File metadata
- Download URL: django_model_to_excel-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a63a1bf6bddcdfd03dcfca70238f88e12aca8ba3d438980dedfcbd0a54f6d3a
|
|
| MD5 |
47eefb2fc1f3427422c35f3c68804741
|
|
| BLAKE2b-256 |
c10fd37c2c32ca1481a3bc44a7115d6a4ee1ac8749019d04aa47fc0f37a66e16
|
File details
Details for the file django_model_to_excel-0.1.2-py3-none-any.whl.
File metadata
- Download URL: django_model_to_excel-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b735a58031d88050ad095dedee9432b0cabfa0ba77e3f5a2bd2eb66332c6e81
|
|
| MD5 |
75027fa0d4391ddbd7d2cc834567ec0c
|
|
| BLAKE2b-256 |
a894a95518f2cec3230b0709a38f276d7cc0f5b393c28151664ce2858f07a63e
|