Use Birdcage to constrain tweets.
Library to take text collections and create a Phrase of those text collections and fit within the specified length.
This is what the library does:
$ birdcage/example.py No maximum set, generate phrase
expecting: one hour, fourty-five minutes until armageddon strikes the earth expecting: one hour, fourty-five minutes until armageddon strikes the earth
No maximum length set, generate phrase with “: “ as the delimiter
expecting: one hour, fourty-five minutes: until armageddon strikes the earth expecting: one hour, fourty-five minutes: until armageddon strikes the earth
Set a maximum length of 40 characters
expecting: 1h45m until armageddon strikes the ea… expecting: 1h45m until armageddon strikes the ea…
Metadata
Release files for birdcage 0.9.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 |
|---|---|---|---|---|
| birdcage-0.9.0.tar.gz | 3.5 kB | Without provenance | Details for birdcage-0.9.0.tar.gz |
Release files / birdcage-0.9.0.tar.gz
| Download URL | birdcage-0.9.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d99c8d2f1699ed2ca8c5119acd8232004110cd6b0797fe55fe5fee674b04cbf
|
|
BLAKE2b-256 checksum How to use checksums |
7c3dced1152fcd10627dfc1c2d5ea74a859976e0a660d6a69accf57f2d7fffc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for birdcage 0.9.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.