Oscar Odin
Mapping of Oscar eCommerce models to Odin resources.
Installation
To install add oscar_odin to your installed apps
Usage
from oscar.core.loading import get_model
from oscar_odin.mappings import catalogue
Product = get_model("catalogue", "Product")
# Map a product to a resource.
product = Product.objects.get(id=1)
product_resource = catalogue.product_to_resource(product)
Developing odin
Using pip:
make install make test
Using poetry:
poetry install --all-extras poetry run ./manage.py test
Metadata
Release files for django-oscar-odin 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_oscar_odin-0.4.1.tar.gz | 73.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_oscar_odin-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 158.9 kB
Release files / django_oscar_odin-0.4.1.tar.gz
| Download URL | django_oscar_odin-0.4.1.tar.gz |
|---|---|
| Size | 73.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1db4dcb0a63a49e15d2a6eae0a3e5afca4ee8ba605964bdfe31ebb6aee0baaf
|
|
BLAKE2b-256 checksum How to use checksums |
10042546a9d18351c8758c0a82e9b43f9580de182620bcff52f2969c35d92826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Release files / django_oscar_odin-0.4.1-py3-none-any.whl
| Download URL | django_oscar_odin-0.4.1-py3-none-any.whl |
|---|---|
| Size | 85.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8ae68bfdf6d06c86adbd3158d7a595343649d52a26d288bf86874c2ae2b60d9
|
|
BLAKE2b-256 checksum How to use checksums |
bd9089630369d731c1796a3605b5e6d66e7f45f079fe6d1934249246c5a62614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Security for django-oscar-odin 0.4.1
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.