Introduction
ZTFY.sequence is a small package used to set sequential identifiers on selected persistent contents.
The SequentialIntIds utility is based on zope.intid.IntIds utility, but overrides a few methods to be able to define these sequential IDs.
Classes for which we want to get these sequential IDs have to implement the ISequentialIntIdTarget marker interface. They can also implement two attributes, which allows to define the name of the sequence to use and a prefix.
This prefix, which can also be defined on the utility, is used to define an ID in hexadecimal form, as for example ‘LIB-IMG-000012ae7c’, based on the ‘main’ numeric ID.
Sequence utility
Sequences are handled by a utility implementing ISequentialIntIds interface and registered for that interface.
You can set two optional parameters on this utility, to define the first hexadecimal ID prefix as well as the length of hexadecimal ID (not including prefix).
Contributors
Thierry Florac <tflorac@ulthar.net>, Author
Changelog
0.1.1
force unicode on hexadecimal OID value
added TAL “sequence:” namespace package
0.1.0
package created using templer [Thierry Florac]
Metadata
Release files for ztfy.sequence 0.1.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 |
|---|---|---|---|---|
| ztfy.sequence-0.1.1.tar.gz | 9.3 kB | Without provenance | Details for ztfy.sequence-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ztfy.sequence-0.1.1-py2.7.egg | Legacy Egg format | - | - | Details for ztfy.sequence-0.1.1-py2.7.egg |
Total release size: 34.9 kB
Release files / ztfy.sequence-0.1.1.tar.gz
| Download URL | ztfy.sequence-0.1.1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33287df6b9198b150e7227165fc0cbe3292e6c765e3f28c7ed587e17836db2af
|
|
BLAKE2b-256 checksum How to use checksums |
4e41522adf3793cf9713bc13fd7a8845d5f91d4d01ffa0f4c92354bf752c285d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ztfy.sequence-0.1.1-py2.7.egg
| Download URL | ztfy.sequence-0.1.1-py2.7.egg |
|---|---|
| Size | 25.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c400c3734de98535a83d4a0732c5595c33f08b2598042f5ec2847edd3ac6164f
|
|
BLAKE2b-256 checksum How to use checksums |
e24dbecac57a5b9d6c8a5e78fe5e8ec289576ec3cfa3a17e21ce4f773fd5cde7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ztfy.sequence 0.1.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.