tsukiMOJi
Moon phase emoji for any date. 月 (tsuki, "moon") + moji, as in emoji.
from tsukimoji import get_moon_phase, emoji
phase = get_moon_phase()
phase.emoji # "🌔"
phase.name # "Waxing Gibbous"
phase.age_days # 12.3
phase.illumination # 0.87
emoji() # just the emoji, for "now"
from datetime import datetime, timezone
get_moon_phase(datetime(2026, 1, 1, tzinfo=timezone.utc)) # phase for any specific time
# Moon faces: 🌚 for New Moon and 🌝 for Full Moon
emoji(datetime(2026, 10, 26, 4, tzinfo=timezone.utc), faces=True) # "🌝"
Installation
pip install tsukimoji
How it works
tsukiMOJi measures elapsed time since a known new moon (2000-01-06 18:14 UTC) against the synodic month (29.530588853 days) to find how far into the current lunar cycle a given moment falls, then maps that fraction onto the eight standard moon-phase emoji (🌑🌒🌓🌔🌕🌖🌗🌘). Illumination is derived separately from the same cycle position via a cosine curve, for display purposes.
License
MIT
Metadata
Release files for tsukimoji 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tsukimoji-0.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tsukimoji-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / tsukimoji-0.1.2.tar.gz
| Download URL | tsukimoji-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4244a7f9c3dbebdde08b0748884053aac2199fe02fdf8f30c179c7100a2b4c6
|
|
BLAKE2b-256 checksum How to use checksums |
7a81de82dfc20f2621db4ba6d7cf51e61c82f3576338afde9aadc694c5fda49d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.1
|
Release files / tsukimoji-0.1.2-py3-none-any.whl
| Download URL | tsukimoji-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dab53a84524f138d8e0814fb0c94ce8afc16c260132211d125bd7425690b3296
|
|
BLAKE2b-256 checksum How to use checksums |
de40d1daca712a892a7555c53705a13b7fee3c422910c98e8faa5d727ecb8810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.1
|