Skip to main content

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…

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)

Source distribution for birdcage 0.9.0
File Size Uploaded
birdcage-0.9.0.tar.gz 3.5 kB Details

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

Release history Release notifications | RSS feed

This release

0.9.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page