Unique constraints for Google Appengine NDB
NDBUnq emulates unique constraints on Google Appengine Datastore using NDB hooks.
Example
There is full working example for Flask: https://github.com/vmihailenco/ndbunq-example/:
import ndbunq
from google.appengine.ext import ndb
class User(ndbunq.Model):
username = ndb.StringProperty(required=True)
class Meta:
# username is guaranteed to be unique
unique = (('username',),)
Metadata
Release files for ndbunq 0.1.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 |
|---|---|---|---|---|
| ndbunq-0.1.0.tar.gz | 2.5 kB | Without provenance | Details for ndbunq-0.1.0.tar.gz |
Release files / ndbunq-0.1.0.tar.gz
| Download URL | ndbunq-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77d9f1adff1bab96aafb5d1b39fa9d7c09698eec8a81d54aa4c796f3d3501ee3
|
|
BLAKE2b-256 checksum How to use checksums |
cd0abfe699d036af45a110bac27701abf1161c38299f1d8a01178d9ee2c2a7ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ndbunq 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.