Metadata-Version: 2.4
Name: vs-event-ephemeris
Version: 1.0.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: Microsoft :: Windows
License-File: LICENSE
License-File: LICENSE-DATA.md
License-File: NOTICE
Summary: Offline precomputed VirgoStars event ephemeris and TT catalog reader
Keywords: astronomy,astrology,ephemeris,synod,moon
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# vs-event-ephemeris

Offline VirgoStars event ephemeris for Python. The Windows x64 wheel for
version 1.0.0 includes the precomputed TT MVP for astronomical years
0000–2200. It contains 4,407,492 aspects and 1,167,911 sign ingresses,
stations, lunar phases, synod phases and solar lunar-apsis conjunctions.

Use the catalog with Julian Date TT bounds and the published event
manifest digest. The Rust reader also supports caller-supplied VSEPH-P0
archives with the recorded UTC synod API.

```console
pip install vs-event-ephemeris==1.0.0
```

```python
from virgostars_events import TtEventDataset

with TtEventDataset.open_bundled(
    expected_sha256="0d5b47e28c0f9b00617373449e0e4766de9c337199d3f9cac888e7f257626497",
    allow_unreviewed=True,
) as catalog:
    phases = catalog.between_tt_jd(2460310.5, 2460676.5, family="lunar_phase")
    with catalog.open_aspects() as aspects:
        conjunctions = aspects.between_tt_jd(
            2460310.5, 2460676.5, body_a="Sun", body_b="osc. Apogee", target_degrees=0
        )

```

```python
from virgostars_events import VirgoStarsEvents

# Supply a separately obtained VSEPH-P0 archive and its independently trusted
# SHA-256; these placeholders are not an archive or digest.
with VirgoStarsEvents.open("events.p0", expected_sha256="<64 hex digits>") as events:
    result = events.get_synods_at("2026-01-01T12:00:00Z")
```

The instant must include an explicit UTC offset. The returned times are UTC
ISO-8601 strings with microsecond precision and recorded source thresholds.
Missing events and phases remain unknown. The TT catalog is an offline
numerical model with explicit review and coverage flags.

In this source checkout and locally built candidates, `TtCandidateReport` reads
a caller-supplied Uranus–Neptune, Uranus–Pluto
or Neptune–Pluto research scan using Julian Date **TT** bounds. The returned
`pair` identifies the directed body order. A compact solar midpoint screen is
embedded for three exact daily scan digests; other scans explicitly return
`unavailable`. `solar_projection_needs_review` is a research flag, while
`unreviewed_no_solar_flag` does not certify visibility, event accuracy or
coverage. The full candidate scan is not bundled.

In this source checkout, `Chiron675Report` also reads either of two **caller-supplied**
research summaries for the first three days of 0675. It requires the exact
supported SHA-256 and explicit `allow_unreviewed=True`. These are mixed-model
three-hour candidate brackets in TT; they do not establish event accuracy,
physical visibility or coverage. The summaries are not bundled or downloaded.

```python
from virgostars_events import Chiron675Report
with Chiron675Report.open("local-refined-summary.json",
        expected_sha256="e8a1951ced2e2d5297ef162be7fd2f64653d057906847fa363a781d974b7c89b",
        allow_unreviewed=True) as report:
    result = report.between_tt_jd(1967598.5, 1967601.5, model="MPCORB", body="Moon")
    print(result["candidates"], result["coverage_certified"])
```

```python
from virgostars_events import TtCandidateReport
with TtCandidateReport.open("local-report.json", expected_sha256="<64 hex digits>",
                            allow_unreviewed=True) as report:
    result = report.between_tt_jd(2033492.4, 2033492.5, target_degrees=120)
    print([candidate["solar_screen"] for candidate in result["candidates"]])
```

The published native wheel is for 64-bit Windows and Python 3.10 or newer;
other platforms may build from source with a supported Rust toolchain and
build dependencies. Only the Windows wheel was verified for this release.

Local catalog files can be opened by path and SHA-256, including when
using a source build. The two bundled catalogs use CC BY 4.0 with
attribution to VirgoStars. See the [TT catalog guide](https://github.com/Cesare-ml/VirgoStars-Event-Ephemeris/blob/main/docs/TT_EVENT_MVP.md)
and [dataset license](https://github.com/Cesare-ml/VirgoStars-Event-Ephemeris/blob/main/LICENSE-DATA.md).

Source and issue tracker: <https://github.com/Cesare-ml/VirgoStars-Event-Ephemeris>.
The code is licensed under CPAL-1.0; see the bundled LICENSE, NOTICE, and Rust
dependency notices for applicable terms and attribution requirements.

Powered by VirgoStars — <https://www.virgostars.it/>

