amarantos 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- amarantos-0.1.0/.claude/settings.local.json +24 -0
- amarantos-0.1.0/.github/workflows/ci.yml +27 -0
- amarantos-0.1.0/.gitignore +213 -0
- amarantos-0.1.0/.pre-commit-config.yaml +32 -0
- amarantos-0.1.0/.python-version +1 -0
- amarantos-0.1.0/LICENSE +21 -0
- amarantos-0.1.0/PKG-INFO +112 -0
- amarantos-0.1.0/README.md +94 -0
- amarantos-0.1.0/amarantos/core/loaders.py +13 -0
- amarantos-0.1.0/amarantos/core/schemas.py +156 -0
- amarantos-0.1.0/amarantos/rank.py +101 -0
- amarantos-0.1.0/data/choices/diet/almonds.yaml +37 -0
- amarantos-0.1.0/data/choices/diet/alpha_lipoic_acid.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/apple_cider_vinegar.yaml +36 -0
- amarantos-0.1.0/data/choices/diet/ashwagandha.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/astaxanthin.yaml +37 -0
- amarantos-0.1.0/data/choices/diet/avocado.yaml +34 -0
- amarantos-0.1.0/data/choices/diet/b_vitamins_complex.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/berberine.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/betaine.yaml +37 -0
- amarantos-0.1.0/data/choices/diet/blueberries.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/cacao_flavanols.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/calcium.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/carnitine.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/chlorella.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/choline.yaml +41 -0
- amarantos-0.1.0/data/choices/diet/coffee.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/collagen_peptides.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/coq10.yaml +42 -0
- amarantos-0.1.0/data/choices/diet/creatine.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/cruciferous_vegetables.yaml +43 -0
- amarantos-0.1.0/data/choices/diet/curcumin_turmeric.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/dark_chocolate.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/equol.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/fatty_fish.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/fermented_foods.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/fiber.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/fisetin.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/garlic.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/ginger.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/glycine.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/green_tea.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/iron.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/leafy_greens.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/lion_s_mane_mushroom.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/magnesium.yaml +41 -0
- amarantos-0.1.0/data/choices/diet/mct_oil.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/melatonin.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/mushrooms.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/nad_precursors.yaml +42 -0
- amarantos-0.1.0/data/choices/diet/nuts.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/olive_oil.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/omega_3_fatty_acids.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/pomegranate.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/potassium.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/probiotics.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/quercetin.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/resveratrol.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/rhodiola_rosea.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/seeds.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/selenium.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/spermidine.yaml +42 -0
- amarantos-0.1.0/data/choices/diet/spirulina.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/sulforaphane.yaml +13 -0
- amarantos-0.1.0/data/choices/diet/taurine.yaml +40 -0
- amarantos-0.1.0/data/choices/diet/tomatoes.yaml +13 -0
- amarantos-0.1.0/data/choices/diet/vitamin_c.yaml +13 -0
- amarantos-0.1.0/data/choices/diet/vitamin_d.yaml +38 -0
- amarantos-0.1.0/data/choices/diet/vitamin_e.yaml +39 -0
- amarantos-0.1.0/data/choices/diet/vitamin_k2.yaml +13 -0
- amarantos-0.1.0/data/choices/diet/walnuts.yaml +12 -0
- amarantos-0.1.0/data/choices/diet/zinc.yaml +40 -0
- amarantos-0.1.0/data/choices/environment/air_quality.yaml +42 -0
- amarantos-0.1.0/data/choices/environment/nature_time.yaml +42 -0
- amarantos-0.1.0/data/choices/environment/sun_exposure.yaml +41 -0
- amarantos-0.1.0/data/choices/exercise/cycling.yaml +42 -0
- amarantos-0.1.0/data/choices/exercise/hiit.yaml +40 -0
- amarantos-0.1.0/data/choices/exercise/moderate_cardio.yaml +40 -0
- amarantos-0.1.0/data/choices/exercise/neat.yaml +41 -0
- amarantos-0.1.0/data/choices/exercise/resistance_bands.yaml +39 -0
- amarantos-0.1.0/data/choices/exercise/strength_training.yaml +42 -0
- amarantos-0.1.0/data/choices/exercise/stretching_flexibility.yaml +38 -0
- amarantos-0.1.0/data/choices/exercise/swimming.yaml +38 -0
- amarantos-0.1.0/data/choices/exercise/vigorous_cardio.yaml +39 -0
- amarantos-0.1.0/data/choices/exercise/walking.yaml +41 -0
- amarantos-0.1.0/data/choices/fasting/caloric_restriction.yaml +41 -0
- amarantos-0.1.0/data/choices/fasting/intermittent_fasting.yaml +39 -0
- amarantos-0.1.0/data/choices/fasting/prolonged_fasting.yaml +41 -0
- amarantos-0.1.0/data/choices/fasting/time_restricted_eating.yaml +40 -0
- amarantos-0.1.0/data/choices/mind/breathwork.yaml +39 -0
- amarantos-0.1.0/data/choices/mind/cognitive_training.yaml +40 -0
- amarantos-0.1.0/data/choices/mind/gratitude_journaling.yaml +38 -0
- amarantos-0.1.0/data/choices/mind/meditation.yaml +40 -0
- amarantos-0.1.0/data/choices/pharmaceutical/aspirin_low_dose.yaml +40 -0
- amarantos-0.1.0/data/choices/pharmaceutical/hormone_therapy.yaml +40 -0
- amarantos-0.1.0/data/choices/pharmaceutical/metformin.yaml +41 -0
- amarantos-0.1.0/data/choices/pharmaceutical/rapamycin.yaml +41 -0
- amarantos-0.1.0/data/choices/pharmaceutical/statins.yaml +38 -0
- amarantos-0.1.0/data/choices/sleep/napping.yaml +40 -0
- amarantos-0.1.0/data/choices/sleep/sleep_duration.yaml +41 -0
- amarantos-0.1.0/data/choices/sleep/sleep_environment.yaml +41 -0
- amarantos-0.1.0/data/choices/sleep/sleep_timing.yaml +41 -0
- amarantos-0.1.0/data/choices/social/pet_ownership.yaml +40 -0
- amarantos-0.1.0/data/choices/social/purpose_meaning.yaml +41 -0
- amarantos-0.1.0/data/choices/social/religious_spiritual.yaml +40 -0
- amarantos-0.1.0/data/choices/social/social_connection.yaml +42 -0
- amarantos-0.1.0/data/choices/substance/alcohol.yaml +40 -0
- amarantos-0.1.0/data/choices/substance/caffeine_timing.yaml +42 -0
- amarantos-0.1.0/data/choices/substance/oral_hygiene.yaml +42 -0
- amarantos-0.1.0/data/choices/thermal/cold_exposure.yaml +40 -0
- amarantos-0.1.0/data/choices/thermal/red_light_therapy.yaml +39 -0
- amarantos-0.1.0/data/choices/thermal/sauna_finnish.yaml +42 -0
- amarantos-0.1.0/data/choices/thermal/sauna_infrared.yaml +39 -0
- amarantos-0.1.0/methodology/estimation/README.md +114 -0
- amarantos-0.1.0/methodology/estimation/new_entry_rubric.md +143 -0
- amarantos-0.1.0/pyproject.toml +99 -0
- amarantos-0.1.0/tests/test_loaders.py +44 -0
- amarantos-0.1.0/tests/test_user.py +44 -0
- amarantos-0.1.0/tox.ini +8 -0
- amarantos-0.1.0/uv.lock +1009 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(tree:*)",
|
|
5
|
+
"Bash(uv sync:*)",
|
|
6
|
+
"Bash(uv run pytest:*)",
|
|
7
|
+
"Bash(uv run:*)",
|
|
8
|
+
"Bash(git checkout:*)",
|
|
9
|
+
"Bash(git add:*)",
|
|
10
|
+
"Bash(git commit:*)",
|
|
11
|
+
"Bash(git push:*)",
|
|
12
|
+
"Bash(gh pr create --title \"Add initial Python package setup with hello world\" --body \"$\\(cat <<''EOF''\n## Summary\n\n- Set up amarantos as a Python package for wellness and longevity resources\n- Added README with project name explanation \\(\"unfading/immortal\" in Greek\\) and curated awesome list of longevity tools\n- Created Python package with `hello\\(\\)` function as starting point\n- Configured modern Python tooling consistent with repute repo \\(uv, hatchling, ruff, ty, pre-commit\\)\n- Added GitHub CI workflow for automated quality checks\n\n## Test plan\n\n- [x] `uv sync` completes successfully\n- [x] `uv run pytest -Werror` passes\n- [x] `uv run ruff check` passes\n- [x] `uv run ruff format --check` passes\n- [x] `uv run ty check` passes\n\n🤖 Generated with [Claude Code]\\(https://claude.com/claude-code\\)\nEOF\n\\)\")",
|
|
13
|
+
"Bash(uv add:*)",
|
|
14
|
+
"Bash(gh issue create:*)",
|
|
15
|
+
"Bash(uv remove:*)",
|
|
16
|
+
"Bash(git fetch:*)",
|
|
17
|
+
"Bash(git rebase:*)",
|
|
18
|
+
"Bash(uv lock:*)",
|
|
19
|
+
"WebSearch",
|
|
20
|
+
"Bash(ls:*)",
|
|
21
|
+
"Bash(python -m amarantos.core.cli roi:*)"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
continuous-integration:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
- name: Install uv and set the python version
|
|
14
|
+
uses: astral-sh/setup-uv@v4
|
|
15
|
+
with:
|
|
16
|
+
version: "latest"
|
|
17
|
+
python-version: "3.13"
|
|
18
|
+
- name: Install dependencies
|
|
19
|
+
run: uv sync
|
|
20
|
+
- name: Lint check
|
|
21
|
+
run: uv run ruff check
|
|
22
|
+
- name: Formatting check
|
|
23
|
+
run: uv run ruff format --check
|
|
24
|
+
- name: Type check
|
|
25
|
+
run: uv run ty check
|
|
26
|
+
- name: Unit tests
|
|
27
|
+
run: uv run pytest -Werror
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
#poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
#pdm.lock
|
|
116
|
+
#pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
#pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# SageMath parsed files
|
|
135
|
+
*.sage.py
|
|
136
|
+
|
|
137
|
+
# Environments
|
|
138
|
+
.env
|
|
139
|
+
.envrc
|
|
140
|
+
.venv
|
|
141
|
+
env/
|
|
142
|
+
venv/
|
|
143
|
+
ENV/
|
|
144
|
+
env.bak/
|
|
145
|
+
venv.bak/
|
|
146
|
+
|
|
147
|
+
# Spyder project settings
|
|
148
|
+
.spyderproject
|
|
149
|
+
.spyproject
|
|
150
|
+
|
|
151
|
+
# Rope project settings
|
|
152
|
+
.ropeproject
|
|
153
|
+
|
|
154
|
+
# mkdocs documentation
|
|
155
|
+
/site
|
|
156
|
+
|
|
157
|
+
# mypy
|
|
158
|
+
.mypy_cache/
|
|
159
|
+
.dmypy.json
|
|
160
|
+
dmypy.json
|
|
161
|
+
|
|
162
|
+
# Pyre type checker
|
|
163
|
+
.pyre/
|
|
164
|
+
|
|
165
|
+
# pytype static type analyzer
|
|
166
|
+
.pytype/
|
|
167
|
+
|
|
168
|
+
# Cython debug symbols
|
|
169
|
+
cython_debug/
|
|
170
|
+
|
|
171
|
+
# PyCharm
|
|
172
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
173
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
174
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
175
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
176
|
+
#.idea/
|
|
177
|
+
|
|
178
|
+
# Abstra
|
|
179
|
+
# Abstra is an AI-powered process automation framework.
|
|
180
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
181
|
+
# Learn more at https://abstra.io/docs
|
|
182
|
+
.abstra/
|
|
183
|
+
|
|
184
|
+
# Visual Studio Code
|
|
185
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
186
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
188
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
189
|
+
# .vscode/
|
|
190
|
+
|
|
191
|
+
# Ruff stuff:
|
|
192
|
+
.ruff_cache/
|
|
193
|
+
|
|
194
|
+
# PyPI configuration file
|
|
195
|
+
.pypirc
|
|
196
|
+
|
|
197
|
+
# Cursor
|
|
198
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
199
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
200
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
201
|
+
.cursorignore
|
|
202
|
+
.cursorindexingignore
|
|
203
|
+
|
|
204
|
+
# Marimo
|
|
205
|
+
marimo/_static/
|
|
206
|
+
marimo/_lsp/
|
|
207
|
+
__marimo__/
|
|
208
|
+
|
|
209
|
+
# IDE
|
|
210
|
+
.idea/
|
|
211
|
+
|
|
212
|
+
# OS files
|
|
213
|
+
.DS_Store
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v4.6.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-added-large-files
|
|
9
|
+
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
10
|
+
rev: v2.11.1
|
|
11
|
+
hooks:
|
|
12
|
+
- id: pyproject-fmt
|
|
13
|
+
args: [--no-generate-python-version-classifiers]
|
|
14
|
+
- repo: local
|
|
15
|
+
hooks:
|
|
16
|
+
- id: ty
|
|
17
|
+
name: ty
|
|
18
|
+
entry: uv run ty check
|
|
19
|
+
language: system
|
|
20
|
+
types: [python]
|
|
21
|
+
pass_filenames: false
|
|
22
|
+
always_run: true
|
|
23
|
+
- id: ruff-format
|
|
24
|
+
name: ruff-format
|
|
25
|
+
entry: uv run ruff format
|
|
26
|
+
language: system
|
|
27
|
+
types: [python]
|
|
28
|
+
- id: ruff-lint
|
|
29
|
+
name: ruff-lint
|
|
30
|
+
entry: uv run ruff check --fix --force-exclude
|
|
31
|
+
language: system
|
|
32
|
+
types: [python]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
amarantos-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zach Kurtz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
amarantos-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: amarantos
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Tips and tools for personal wellness and longevity
|
|
5
|
+
Project-URL: Repository, https://github.com/zkurtz/amarantos
|
|
6
|
+
Author-email: Zach Kurtz <zkurtz@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Python: >=3.13
|
|
10
|
+
Requires-Dist: attrs>=25.4
|
|
11
|
+
Requires-Dist: click>=8.3.1
|
|
12
|
+
Requires-Dist: dummio>=1.10.2
|
|
13
|
+
Requires-Dist: matplotlib>=3.10.8
|
|
14
|
+
Requires-Dist: numpy>=2.2.6
|
|
15
|
+
Requires-Dist: pre-commit>=4.0.1
|
|
16
|
+
Requires-Dist: ruamel-yaml>=0.19.1
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# Amarantos
|
|
20
|
+
|
|
21
|
+
Tips and tools for personal wellness and longevity. *Amarantos* (ἀμάραντος) is Greek for "unfading" or "immortal" and is the root of *amaranth*—a flower known for retaining its color even dried.
|
|
22
|
+
|
|
23
|
+
> **Warning: AI-Generated Content**
|
|
24
|
+
>
|
|
25
|
+
> This repository was generated with AI assistance and has not been thoroughly vetted by a human. References, claims, and code may contain errors or inaccuracies. Please double-check all information against primary sources and exercise critical judgment. Treat this as a starting point for careful research, not a definitive resource.
|
|
26
|
+
|
|
27
|
+
## CLI Commands
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Rank all choices by 30th percentile lifespan impact
|
|
31
|
+
amarantos
|
|
32
|
+
|
|
33
|
+
# Filter by domain
|
|
34
|
+
amarantos --domain exercise
|
|
35
|
+
|
|
36
|
+
# Show only top/bottom 5
|
|
37
|
+
amarantos -n 5
|
|
38
|
+
|
|
39
|
+
# Show top 3 from each domain
|
|
40
|
+
amarantos --maxd 3
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Awesome Longevity Resources
|
|
44
|
+
|
|
45
|
+
A curated list of products, tools, and resources for personal wellness and longevity.
|
|
46
|
+
|
|
47
|
+
### Knowledge & Research
|
|
48
|
+
|
|
49
|
+
- [Examine.com](https://examine.com/) - Evidence-based supplement and nutrition information
|
|
50
|
+
- [Peter Attia's The Drive](https://peterattiamd.com/) - Longevity-focused podcast and resources
|
|
51
|
+
- [FoundMyFitness](https://www.foundmyfitness.com/) - Dr. Rhonda Patrick's research on nutrition and aging
|
|
52
|
+
- [Fight Aging!](https://www.fightaging.org/) - Long-running blog covering aging research news
|
|
53
|
+
- [LongevityWiki](https://longevitywiki.org/) - Community-curated longevity information
|
|
54
|
+
- [Longevity Protocols](https://longevity-protocols.com/) - Personal project with AI-analyzed interventions (not peer-reviewed)
|
|
55
|
+
- [Bryan Johnson's Blueprint](https://blueprint.bryanjohnson.com/) - Detailed self-experimentation protocol (note: sells supplements)
|
|
56
|
+
|
|
57
|
+
### Scientific Databases & Journals
|
|
58
|
+
|
|
59
|
+
- [DrugAge Database](https://genomics.senescence.info/drugs/) - Database of aging-related drugs
|
|
60
|
+
- [Human Ageing Genomic Resources](https://genomics.senescence.info/) - Databases on aging-related genes
|
|
61
|
+
- [GeroScience](https://www.springer.com/journal/11357) - Peer-reviewed aging research journal
|
|
62
|
+
|
|
63
|
+
### Communities & DAOs
|
|
64
|
+
|
|
65
|
+
- [r/longevity](https://www.reddit.com/r/longevity/) - Reddit community for longevity research
|
|
66
|
+
- [VitaDAO](https://www.vitadao.com/) - Decentralized collective funding longevity research
|
|
67
|
+
- [LessWrong Longevity Tag](https://www.lesswrong.com/tag/life-extension) - Rationalist perspectives on life extension
|
|
68
|
+
|
|
69
|
+
### GitHub Repos & Awesome Lists
|
|
70
|
+
|
|
71
|
+
- [awesome-longevity (atilatech)](https://github.com/atilatech/awesome-longevity) - Comprehensive longevity resources list
|
|
72
|
+
- [awesome-longevity (Rejuve)](https://github.com/Rejuve/awesome-longevity) - Therapeutics, regenerative medicine, medical AI
|
|
73
|
+
- [awesome-longevity-information](https://github.com/Laurentiu-Andronache/awesome-longevity-information) - Curated healthspan extension resources
|
|
74
|
+
- [longevityTools](https://github.com/tgirke/longevityTools) - R package for longevity research analysis
|
|
75
|
+
- [Longevity Genie](https://github.com/longevity-genie) - Open-source AI tools for longevity research
|
|
76
|
+
|
|
77
|
+
### Tracking & Measurement
|
|
78
|
+
|
|
79
|
+
- [Oura Ring](https://ouraring.com/) - Sleep and activity tracking
|
|
80
|
+
- [Levels](https://www.levels.com/) - Continuous glucose monitoring
|
|
81
|
+
- [InsideTracker](https://www.insidetracker.com/) - Blood biomarker analysis
|
|
82
|
+
- [WHOOP](https://www.whoop.com/) - Strain and recovery monitoring
|
|
83
|
+
|
|
84
|
+
### Academic & Research Institutions
|
|
85
|
+
|
|
86
|
+
- [National Institute on Aging (NIA)](https://www.nia.nih.gov/) - NIH's primary aging research arm
|
|
87
|
+
- [Buck Institute for Research on Aging](https://www.buckinstitute.org/) - Leading independent aging research institute
|
|
88
|
+
- [Lifespan Research Institute (formerly SENS)](https://www.sens.org/) - Nonprofit focused on damage-repair approaches to aging
|
|
89
|
+
- [Altos Labs](https://www.altoslabs.com/) - Well-funded cellular reprogramming research
|
|
90
|
+
- [Calico Labs](https://www.calicolabs.com/) - Google/Alphabet's aging research company
|
|
91
|
+
- [Stanford Center on Longevity](https://longevity.stanford.edu/) - Interdisciplinary longevity research
|
|
92
|
+
- [American Federation for Aging Research (AFAR)](https://www.afar.org/) - Funds aging research and education
|
|
93
|
+
|
|
94
|
+
## Software Tools
|
|
95
|
+
|
|
96
|
+
### Installating amarantos
|
|
97
|
+
|
|
98
|
+
TODO: get on pypi.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
uv add amarantos
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Usage
|
|
105
|
+
|
|
106
|
+
```python
|
|
107
|
+
import amarantos
|
|
108
|
+
|
|
109
|
+
amarantos.hello()
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
TODO: build something!
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Amarantos
|
|
2
|
+
|
|
3
|
+
Tips and tools for personal wellness and longevity. *Amarantos* (ἀμάραντος) is Greek for "unfading" or "immortal" and is the root of *amaranth*—a flower known for retaining its color even dried.
|
|
4
|
+
|
|
5
|
+
> **Warning: AI-Generated Content**
|
|
6
|
+
>
|
|
7
|
+
> This repository was generated with AI assistance and has not been thoroughly vetted by a human. References, claims, and code may contain errors or inaccuracies. Please double-check all information against primary sources and exercise critical judgment. Treat this as a starting point for careful research, not a definitive resource.
|
|
8
|
+
|
|
9
|
+
## CLI Commands
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Rank all choices by 30th percentile lifespan impact
|
|
13
|
+
amarantos
|
|
14
|
+
|
|
15
|
+
# Filter by domain
|
|
16
|
+
amarantos --domain exercise
|
|
17
|
+
|
|
18
|
+
# Show only top/bottom 5
|
|
19
|
+
amarantos -n 5
|
|
20
|
+
|
|
21
|
+
# Show top 3 from each domain
|
|
22
|
+
amarantos --maxd 3
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Awesome Longevity Resources
|
|
26
|
+
|
|
27
|
+
A curated list of products, tools, and resources for personal wellness and longevity.
|
|
28
|
+
|
|
29
|
+
### Knowledge & Research
|
|
30
|
+
|
|
31
|
+
- [Examine.com](https://examine.com/) - Evidence-based supplement and nutrition information
|
|
32
|
+
- [Peter Attia's The Drive](https://peterattiamd.com/) - Longevity-focused podcast and resources
|
|
33
|
+
- [FoundMyFitness](https://www.foundmyfitness.com/) - Dr. Rhonda Patrick's research on nutrition and aging
|
|
34
|
+
- [Fight Aging!](https://www.fightaging.org/) - Long-running blog covering aging research news
|
|
35
|
+
- [LongevityWiki](https://longevitywiki.org/) - Community-curated longevity information
|
|
36
|
+
- [Longevity Protocols](https://longevity-protocols.com/) - Personal project with AI-analyzed interventions (not peer-reviewed)
|
|
37
|
+
- [Bryan Johnson's Blueprint](https://blueprint.bryanjohnson.com/) - Detailed self-experimentation protocol (note: sells supplements)
|
|
38
|
+
|
|
39
|
+
### Scientific Databases & Journals
|
|
40
|
+
|
|
41
|
+
- [DrugAge Database](https://genomics.senescence.info/drugs/) - Database of aging-related drugs
|
|
42
|
+
- [Human Ageing Genomic Resources](https://genomics.senescence.info/) - Databases on aging-related genes
|
|
43
|
+
- [GeroScience](https://www.springer.com/journal/11357) - Peer-reviewed aging research journal
|
|
44
|
+
|
|
45
|
+
### Communities & DAOs
|
|
46
|
+
|
|
47
|
+
- [r/longevity](https://www.reddit.com/r/longevity/) - Reddit community for longevity research
|
|
48
|
+
- [VitaDAO](https://www.vitadao.com/) - Decentralized collective funding longevity research
|
|
49
|
+
- [LessWrong Longevity Tag](https://www.lesswrong.com/tag/life-extension) - Rationalist perspectives on life extension
|
|
50
|
+
|
|
51
|
+
### GitHub Repos & Awesome Lists
|
|
52
|
+
|
|
53
|
+
- [awesome-longevity (atilatech)](https://github.com/atilatech/awesome-longevity) - Comprehensive longevity resources list
|
|
54
|
+
- [awesome-longevity (Rejuve)](https://github.com/Rejuve/awesome-longevity) - Therapeutics, regenerative medicine, medical AI
|
|
55
|
+
- [awesome-longevity-information](https://github.com/Laurentiu-Andronache/awesome-longevity-information) - Curated healthspan extension resources
|
|
56
|
+
- [longevityTools](https://github.com/tgirke/longevityTools) - R package for longevity research analysis
|
|
57
|
+
- [Longevity Genie](https://github.com/longevity-genie) - Open-source AI tools for longevity research
|
|
58
|
+
|
|
59
|
+
### Tracking & Measurement
|
|
60
|
+
|
|
61
|
+
- [Oura Ring](https://ouraring.com/) - Sleep and activity tracking
|
|
62
|
+
- [Levels](https://www.levels.com/) - Continuous glucose monitoring
|
|
63
|
+
- [InsideTracker](https://www.insidetracker.com/) - Blood biomarker analysis
|
|
64
|
+
- [WHOOP](https://www.whoop.com/) - Strain and recovery monitoring
|
|
65
|
+
|
|
66
|
+
### Academic & Research Institutions
|
|
67
|
+
|
|
68
|
+
- [National Institute on Aging (NIA)](https://www.nia.nih.gov/) - NIH's primary aging research arm
|
|
69
|
+
- [Buck Institute for Research on Aging](https://www.buckinstitute.org/) - Leading independent aging research institute
|
|
70
|
+
- [Lifespan Research Institute (formerly SENS)](https://www.sens.org/) - Nonprofit focused on damage-repair approaches to aging
|
|
71
|
+
- [Altos Labs](https://www.altoslabs.com/) - Well-funded cellular reprogramming research
|
|
72
|
+
- [Calico Labs](https://www.calicolabs.com/) - Google/Alphabet's aging research company
|
|
73
|
+
- [Stanford Center on Longevity](https://longevity.stanford.edu/) - Interdisciplinary longevity research
|
|
74
|
+
- [American Federation for Aging Research (AFAR)](https://www.afar.org/) - Funds aging research and education
|
|
75
|
+
|
|
76
|
+
## Software Tools
|
|
77
|
+
|
|
78
|
+
### Installating amarantos
|
|
79
|
+
|
|
80
|
+
TODO: get on pypi.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
uv add amarantos
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Usage
|
|
87
|
+
|
|
88
|
+
```python
|
|
89
|
+
import amarantos
|
|
90
|
+
|
|
91
|
+
amarantos.hello()
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
TODO: build something!
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Load choice data from YAML files."""
|
|
2
|
+
|
|
3
|
+
from amarantos.core.schemas import CHOICES_DIR, Choice
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def load_all_choices(domain: str | None = None) -> list[Choice]:
|
|
7
|
+
"""Load all choices, optionally filtered by domain."""
|
|
8
|
+
if domain:
|
|
9
|
+
paths = sorted((CHOICES_DIR / domain).glob("*.yaml"))
|
|
10
|
+
else:
|
|
11
|
+
paths = sorted(CHOICES_DIR.glob("**/*.yaml"))
|
|
12
|
+
|
|
13
|
+
return [Choice.load(path) for path in paths]
|