Metadata-Version: 2.4
Name: wentian
Version: 1.1.1
Summary: Astronomical calculations and Chinese calendar conversion powered by CelestialCalendar
Keywords: astronomy,chinese-calendar,lunar-calendar,jieqi,ephemeris
Author-Email: "Ningqi Wang (0xf3cd)" <nq.maigre@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Astronomy
Project-URL: Homepage, https://github.com/0xf3cd/celestial-calendar
Project-URL: Documentation, https://0xf3cd.github.io/celestial-calendar/bindings/python/README.html
Project-URL: Repository, https://github.com/0xf3cd/celestial-calendar
Project-URL: Issues, https://github.com/0xf3cd/celestial-calendar/issues
Requires-Python: >=3.11
Requires-Dist: celestial-calendar==1.1.1
Description-Content-Type: text/markdown

# wentian

`wentian` is a short installation and import name for
[CelestialCalendar](https://github.com/0xf3cd/celestial-calendar), an astronomy and Chinese calendar library.
It installs the exact same version of `celestial-calendar` and forwards its public top-level Python API.

```sh
python -m pip install wentian
```

```python
import wentian as astro

lunar = astro.gregorian_to_lunar(astro.LunarAlgorithm.ALGO2, astro.GregorianDate(2024, 2, 10))
print(lunar)
```

The functions, types and exceptions are the original `celestial_calendar` objects. You can install `cele`,
`wentian` and `celestial-calendar` together at the same version. Use `celestial_calendar` for submodule imports.

See the [Python guide](https://0xf3cd.github.io/celestial-calendar/bindings/python/README.html) for supported
platforms, examples and API details. This alias adds no native implementation and has the same platform
requirements as its dependency.
