This release is a pre-release and may not be stable for production use.
Ely Content Generator
This is a simple component for generating zope content. It is especially useful for tests. It uses a simple xml syntax for defining the content structure and some hooks to call python methods or read data from files.
eg:
<cs:contentstructure
xmlns:cs="http://www.elyt.com/cs"
xmlns:z="http://www.zope.org/">
<cs:container z:portal_type="Folder" z:id="folder1">
<cs:leaf cs:repeat="10" z:portal_type="Document" z:id="page1"/>
<cs:leaf z:portal_type="Document" z:id="page2"/>
<cs:leaf z:portal_type="Document" z:id="page3"/>
</cs:container>
<cs:container z:portal_type="Folder" z:id="folder2">
<cs:leaf z:portal_type="Document" z:id="page4" z:description="file: ${testfolder}/page4_description.txt"/>
<cs:leaf z:portal_type="Document" z:id="page5" z:description="python: self.description_page5"/>
<cs:leaf z:portal_type="Link" z:id="link1" z:remoteUrl="http://www.google.com"/>
<cs:leaf cs:repeat="2" z:portal_type="Document" z:id="page6"/>
</cs:container>
</cs:contentstructure>
see the src/ely/contentgenerator/README.txt and tests/testcontent1.txt for the fuller story.
A plone 3 buildout is provided to help with development, testing, and documentation.
To buildout and test from source
python2.4 bootstrap.py ./bin/buildout -N -vvv ./bin/instance test -m "ely.contentgenerator"
Metadata
Release files for ely.contentgenerator 0.1.dev-r122
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 |
|---|---|---|---|---|
| ely.contentgenerator-0.1.dev-r122.tar.gz | 8.9 kB | Without provenance | Details for ely.contentgenerator-0.1.dev-r122.tar.gz |
Release files / ely.contentgenerator-0.1.dev-r122.tar.gz
| Download URL | ely.contentgenerator-0.1.dev-r122.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3619123aef7059d0b41a68b72c6733858b03dc60d14811115c3c1285eff3b663
|
|
BLAKE2b-256 checksum How to use checksums |
54ebf6ed1eb3b2e413ecb4abaf06e4ded48ba5c320b0fdacc2d49fbdba6cd622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ely.contentgenerator 0.1.dev-r122
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.