scaffolded PySwiss microservice: Django 6.0 project at pyswiss/ (core/ settings, apps/charts/), GET /api/chart/ + GET /api/charts/ views, EphemerisSnapshot model + migration, populate_ephemeris management command, 41 ITs (integrated + unit, all green); separate .venv with pyswisseph 2.10.3.2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Disco DeDisco
2026-04-13 19:03:45 -04:00
parent 97ec2f6ee6
commit b8af0041cc
23 changed files with 780 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Generated by Django 6.0.4 on 2026-04-13 20:40
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='EphemerisSnapshot',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('dt', models.DateTimeField(db_index=True, unique=True)),
('fire', models.PositiveSmallIntegerField()),
('water', models.PositiveSmallIntegerField()),
('earth', models.PositiveSmallIntegerField()),
('air', models.PositiveSmallIntegerField()),
('time_el', models.PositiveSmallIntegerField()),
('space_el', models.PositiveSmallIntegerField()),
('chart_data', models.JSONField()),
],
options={
'ordering': ['dt'],
},
),
]