rebecca.todict_bpmappers
rebecca.todict_bpmappers is implementation for rebecca.todict using bpmappers
INSTALL
Install using pip or easy_install.:
$ pip install rebecca.todict_bpmappers $ easy_install rebecca.todict_bpmappers
USAGE
rebecca.todict_bpmappers has include hook.:
config.include('rebecca.todict_bpmappers')
This hook will include rebecca.todict too.
bpmapper decorator register todict adapter implemented by bpmappers.
from bpmappers import Mapper, RawField
from rebecca.todict_bpmappers import bpmapper
@bpmapper('dummy.Person', name="p1")
class PersonMapper(Mapper):
username = RawField('name')
num = RawField('value')
To use that mapper, call todict API of rebecca.todict:
d = todict(request, person, name="p1")
Contributors
Atsushi Odagiri, Original Author
Changelog
0.1 (2013-02-16)
first release
Metadata
Release files for rebecca.todict_bpmappers 0.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 | Actions |
|---|---|---|---|---|
| rebecca.todict_bpmappers-0.1.tar.gz | 3.0 kB | Without provenance | Details for rebecca.todict_bpmappers-0.1.tar.gz |
Release files / rebecca.todict_bpmappers-0.1.tar.gz
| Download URL | rebecca.todict_bpmappers-0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f5a2ec34968b35287034acc80a55995da38fd937e88c8a8e2ce9e08b374b560
|
|
BLAKE2b-256 checksum How to use checksums |
94e1445d3b9fc94b4d2c0912528d7d340cbae85f022398c0ee703059e4a45586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rebecca.todict_bpmappers 0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.