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.6.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.6.tar.gz.
File metadata
- Download URL: django_orm_to_excel-2.1.6.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 |
301a442a381762766e98750c19eb4ab23fb5e15b84940af5b7b9436e87855c5d
|
|
| MD5 |
34585611b4efd134bd475e51bcf7ba36
|
|
| BLAKE2b-256 |
ca1071b4964fa63869ef86eff7d0dd038999289ac92080317c3094c152f45c20
|
File details
Details for the file django_orm_to_excel-2.1.6-py3-none-any.whl.
File metadata
- Download URL: django_orm_to_excel-2.1.6-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
431625777ab314a68a42e73f7688b6a9e32b3997910cb9041d895742052c91f7
|
|
| MD5 |
88a5b5a2fcc34124f052774d6ac5d410
|
|
| BLAKE2b-256 |
0238a6bec903f3b2705ed892d71e193a1a0017296fa1d686a574da91aed00ee6
|