Turning Django ORM objects to Excel
Project description
django-orm-to-excel
A small library for turning Django ORM objects (such as records or QuerySet) into an Excel spreadsheet.
Example:
from ormxl import save_to_excel
# querysets
profiles = Profile.objects.all()
with open("queryset_dump.xlsx", "w") as file:
save_to_excel(file, profiles, fields=["name", "age"])
# records
profile = profiles.first()
with open("record_dump.xlsx", "w") as file:
save_to_excel(file, profile, fields=["name", "age"])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_orm_to_excel-2.1.5.tar.gz
(24.9 kB
view details)
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_orm_to_excel-2.1.5.tar.gz.
File metadata
- Download URL: django_orm_to_excel-2.1.5.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ad02fe79ad5eef6c12018b73076292e6a9598901a298111c7358742eaefc2b3
|
|
| MD5 |
1235bb4675df2d914336c14ffe50e048
|
|
| BLAKE2b-256 |
d7db5019ef2d1cd3a90539c970cb9ccdb6a4da803588cc0cfa2e27238f1947f1
|
File details
Details for the file django_orm_to_excel-2.1.5-py3-none-any.whl.
File metadata
- Download URL: django_orm_to_excel-2.1.5-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9d5e12b38346cc5f2924baec23fa52b94538ad0fbe94a3900e6b49e1b3d4b85
|
|
| MD5 |
accac5846c7c236037c44c902f24275d
|
|
| BLAKE2b-256 |
716648b6c14a2a2c5e9ffadac5beb953c1284f31bcdbe328c793b047ae2d39df
|