Skip to content

Commit 716c0c3

Browse files
committed
improving
1 parent 072db29 commit 716c0c3

4 files changed

Lines changed: 37 additions & 15 deletions

File tree

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# SHINE: SHear INference Environment
22

33
<div align="center">
4-
<img src="assets/logo.png" alt="SHINE Logo" width="1024"/>
4+
<img src="https://raw.githubusercontent.com/CosmoStat/SHINE/main/assets/logo.png" alt="SHINE Logo" width="1024"/>
55

66
**A JAX-powered framework for probabilistic shear estimation in weak gravitational lensing**
77

88
[![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/)
99
[![JAX](https://img.shields.io/badge/JAX-latest-green.svg)](https://github.com/google/jax)
10+
[![PyPI](https://img.shields.io/pypi/v/shine-wl.svg)](https://pypi.org/project/shine-wl/)
1011
[![Docs](https://img.shields.io/badge/docs-cosmostat.github.io%2FSHINE-7c4dff.svg)](https://cosmostat.github.io/SHINE/)
1112
[![License](https://img.shields.io/badge/license-MIT-orange.svg)](LICENSE) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
1213
[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg)](#contributors-)
@@ -30,12 +31,15 @@ SHINE (SHear INference Environment) is a modern, high-performance framework for
3031
## 📦 Installation
3132

3233
```bash
33-
# Clone the repository
34+
pip install shine-wl
35+
```
36+
37+
For development (editable install from source):
38+
39+
```bash
3440
git clone https://github.com/CosmoStat/SHINE.git
3541
cd SHINE
36-
37-
# Install dependencies (recommended: use a virtual environment)
38-
pip install -e .
42+
pip install -e ".[dev,test]"
3943
```
4044

4145
## 🚀 Quick Start

docs/getting-started.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,26 @@
77
- Python >= 3.11
88
- A JAX-compatible GPU is recommended but not required
99

10-
### Install from source
10+
### Install from PyPI
11+
12+
```bash
13+
pip install shine-wl
14+
```
15+
16+
### Install from source (development)
17+
18+
For contributing or working on SHINE itself:
1119

1220
```bash
1321
git clone https://github.com/CosmoStat/SHINE.git
1422
cd SHINE
15-
pip install -e .
23+
pip install -e ".[dev,test]"
1624
```
1725

18-
For documentation tools:
26+
Optional extras:
1927

2028
```bash
21-
pip install -e ".[docs]"
29+
pip install -e ".[docs]" # documentation tools (mkdocs)
2230
```
2331

2432
## Your First Run

docs/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ fast, GPU-accelerated inference using **NumPyro** and **JAX-GalSim**.
3030
## Quick Start
3131

3232
```bash
33-
# Install
34-
git clone https://github.com/CosmoStat/SHINE.git
35-
cd SHINE
36-
pip install -e .
33+
# Install from PyPI
34+
pip install shine-wl
3735

3836
# Run inference
3937
python -m shine.main --config configs/test_run.yaml

pyproject.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@ requires-python = ">=3.11"
1111
authors = [
1212
{name = "Emma Ayçoberry", email = "emma.aycoberry@cea.fr"},
1313
{name = "Ezequiel Centofanti", email = "ezequiel.centofanti@cea.fr"},
14-
{name = "Sam Farrens", email ="sam.farrens@cea.fr"},
15-
{name = "Francois Lanusse", email = "francois.lanusse@cnrs.fr"}
14+
{name = "Sam Farrens", email = "sam.farrens@cea.fr"},
15+
{name = "Francois Lanusse", email = "francois.lanusse@cnrs.fr"},
16+
]
17+
maintainers = [
18+
{name = "Emma Ayçoberry", email = "emma.aycoberry@cea.fr"},
19+
{name = "Ezequiel Centofanti", email = "ezequiel.centofanti@cea.fr"},
20+
{name = "Sam Farrens", email = "sam.farrens@cea.fr"},
21+
{name = "Francois Lanusse", email = "francois.lanusse@cnrs.fr"},
1622
]
1723
license = "MIT"
1824
keywords = ["cosmology", "weak-lensing", "shear", "jax", "astronomy"]
@@ -56,6 +62,12 @@ shine-bias-run = "shine.validation.cli:run_bias_realization"
5662
shine-bias-extract = "shine.validation.cli:extract_bias_results"
5763
shine-bias-stats = "shine.validation.cli:compute_bias_statistics"
5864

65+
[project.urls]
66+
Homepage = "https://github.com/CosmoStat/SHINE"
67+
Documentation = "https://cosmostat.github.io/SHINE/"
68+
Repository = "https://github.com/CosmoStat/SHINE"
69+
Issues = "https://github.com/CosmoStat/SHINE/issues"
70+
5971
[tool.setuptools]
6072
packages = ["shine", "shine.validation"]
6173

0 commit comments

Comments
 (0)