oreiller
The package for easy image manipulation backed by pillow power.
The package for clean Pillow codebases.
from oreiller import Oreiller as orey
w, h = 220, 190
img = orey.new("RGB", (w, h))
orey.fill(None)
orey.oline(40, 40, w-10, h-10, width=0) # use .line for normal
img.show()
orey.cleanup()
Docs
Methods prefixed by o is inspired by the processing API.
.new
Returns Image.new
.fill
Modifies fill value. Impacts all functions. No need to re-specify fill=
.line
Draws line without the need of ImageDraw
.oline
Processing api of line(x1, y1, x2, y2)
.otext
- x
- y
- text
- pilmoji keyword arguments
.font
- font(ImageDraw.font(...))
.arc
- args same as pillow args
.oarc
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
.chord
- args same as pillow args
.ochord
- x1
- y1
- x2
- y2
- start
- end
- Keyword arguments same as pillow
.rectangle
- args same as pillow args
.orect
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
.ellipse
- args same as pillow args
.oellipse
- x1
- y1
- x2
- y2
- Keyword arguments same as pillow
.rectangle
- args same as pillow args
.orounded_rect
- x1
- y1
- x2
- y2
- radius
- Keyword arguments same as pillow
.polygon
- args same as pillow args
Changelog
0.2.0
🎉 .otext
🎉 .font
🎉 .arc
🎉 .oarc
🎉 .chord
🎉 .ochord
🎉 .polygon
🎉 .fill impacts all functions
🎉 .rectangle
🎉 .orect
🎉 .ellipse
🎉 .oellipse
🎉 .rectangle
🎉 .orounded_rect
0.1.0
🎉 Package skeleton
🎉 Oreiller class
🎉 .line
🎉 .oline
🔧 Fix cleanup: inform when closing closed images
Metadata
Release files for oreiller 0.2.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 |
|---|---|---|---|---|
| oreiller-0.2.0.tar.gz | 9.8 kB | Without provenance | Details for oreiller-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oreiller-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for oreiller-0.2.0-py3-none-any.whl |
Total release size: 17.0 kB
Release files / oreiller-0.2.0.tar.gz
| Download URL | oreiller-0.2.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abf95b06b7c3108b903b6a543f8754b9bda261ee370d4f3d1bef57ef2f76eec5
|
|
BLAKE2b-256 checksum How to use checksums |
feb5ee75f6c34d84d7bfde757d8657c1bbcc9d280bea408d8b02aaeec3a2121f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / oreiller-0.2.0-py3-none-any.whl
| Download URL | oreiller-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e9e3b7eeed31c406bfd17c0cf6fb0ad1e1906872c2d3b4c3eeb655f4e07a324
|
|
BLAKE2b-256 checksum How to use checksums |
eb4812c414575f5c7ed1f19c4a1ecd5d47acd43280d0c96ff4aa9854b4950cbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for oreiller 0.2.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.