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.7.tar.gz
(25.1 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.7.tar.gz.
File metadata
- Download URL: django_orm_to_excel-2.1.7.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b192ef3060374424d8f454db49768bffa5454a6321f89e14350b068fbbb1ad8
|
|
| MD5 |
4b88e593209afab7378812b9e2217545
|
|
| BLAKE2b-256 |
120f7e6bde14e0891a5e86658bb4a7a19fc32a00296405ff94648dd52129fcd5
|
File details
Details for the file django_orm_to_excel-2.1.7-py3-none-any.whl.
File metadata
- Download URL: django_orm_to_excel-2.1.7-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60a7f9d190f740bb07c1b47f9f593f8c461ab8acd8e675f72809ca0a363debe4
|
|
| MD5 |
761727732f235a9e5b439fbf56484bf2
|
|
| BLAKE2b-256 |
d0cb48fa440a239efb439f52ee469f143d37ca04c3e5bfbe61597a0318767138
|