Mezzanine Vendors
A Django / Mezzanine application to manage a vendor catalog. Features:
CSV imports
Uses the Google Maps API to determine coordinates from human-readable addresses
Categorize vendors by service type and subject
Install
Add your Google Maps API Key in your settings.py as GOOGLE_MAPS_API_KEY
Install via pip: pip install mezzanine-vendors.
Add django_google_maps and import_export to INSTALLED_APPS.
Also add vendors after them.
Include vendors.urls in your root urlconf.
Run migrations.
Create Vendors, Subjects, and Types using the admin interface.
Create your own views
Note: This package provides the models, admin, and a JSON endpoint that returns the vendors. You’ll need to create your own frontend to display them.
Management Command
Run python manage.py add_vendor_locations to add coordinates to vendors that are missing them (for example, vendors added via admin import). This uses Google’s GeoCoder API and will fail if the address cannot be parsed. It will also count towards the usage limit of your Google Maps API key.
Contributing
Review contribution guidelines at CONTRIBUTING.md.
Metadata
Release files for mezzanine-vendors 1.2.0
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 | Actions |
|---|---|---|---|---|
| mezzanine-vendors-1.2.0.tar.gz | 7.3 kB | Without provenance | Details for mezzanine-vendors-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mezzanine_vendors-1.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mezzanine_vendors-1.2.0-py2.py3-none-any.whl |
Total release size: 18.1 kB
Release files / mezzanine-vendors-1.2.0.tar.gz
| Download URL | mezzanine-vendors-1.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56505ac441d363a4dc93c917f7b33531ff088f81f0036fca707fd9a381052cf9
|
|
BLAKE2b-256 checksum How to use checksums |
f8eedb141c0023284259285f1e775692a30afa70ce4770ac7d9f0e3cdd8ba4a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14
|
Release files / mezzanine_vendors-1.2.0-py2.py3-none-any.whl
| Download URL | mezzanine_vendors-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ef1f016168247a601139f35c8c97f594d573ea7bfe8f5d331b3e1ae19ff8f8ef
|
|
BLAKE2b-256 checksum How to use checksums |
0afac1076b3d581d38ae32ed1453b5a22c57194f400e5be4b59c969c5ad5f696
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14
|
Security for mezzanine-vendors 1.2.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.