Skip to main content

Django I/O

Importing and exporting of data, and other file operations for Django apps

Quick start

pip install django-io

Add django_io to INSTALLED_APPS

INSTALLED_APPS = [
    ...,
    'django_io',
]

Create a form to upload your data and save it, and the view to show the form. In the admin panel for the model you are importing:

@admin.register(SomeModel)
class SomeModelAdmin(
    DataImportableAdmin,
    admin.ModelAdmin
):
    upload_url = reverse_lazy('app:model:upload')  # path to the view

Development and Testing

IDE Setup

Add the example directory to the PYTHONPATH in your IDE to avoid seeing import warnings in the tests modules. If you are using PyCharm, this is already set up.

Running the Tests

Install requirements

pip install -r requirements.txt

For local environment

pytest

For all supported environments

tox

Metadata

Release files for django-io 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-io 0.1.0
File Size Uploaded Provenance
django-io-0.1.0.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-io 0.1.0
File Interpreter ABI Platform
django_io-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / django-io-0.1.0.tar.gz

Download URL django-io-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ddd6242e3e4da9ce6c0ccda1eb67e5e835d302beeed81046c62e1f24f972afb5
BLAKE2b-256 checksum
How to use checksums
ea2fd009c5bf2c032d1a92f3694f1a2e005f612a05ec554523c59705509747aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / django_io-0.1.0-py3-none-any.whl

Download URL django_io-0.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a86e7ee357e5ddc62962e937eaf6d4153ce746184885eeb49f66a5f8ac243d2
BLAKE2b-256 checksum
How to use checksums
6e1f8afb807856e5546b88bc205bd6f09354be3c9e950f129779fd3bea3205b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for django-io 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page