Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.


title: The CosmoAI project

The CosmoSim software

This project provides a simulator for gravitational lensing based on Chris Clarkson's Roulettes framework. The code is experimental, and intended for research, with many loose ends. If you think it may be useful, we shall be happy to discuss collaboration and help you get started.

The core team is

Documentation is on the web site, The notes below is just a brief synopsis.

Installation Guide

CosmoSim is set up to build python packages (wheels) that can be installed with pip.

pip install CosmoSim

You can check the version installed with

python -m CosmoSim --version

Local build

We successfully build CosmoSim for Linux/x86_64, MacOS/arm, and Windows/amd64, for python 3.11 through 3.14 (the free-threaded 3.14t build is available on Linux and macOS).

To build locally from source, you can run (from the root of the repo),

pip install build
python -m build

This is highly dependent on the local configuration, and may fail for a number of reasons. If it succeeds, the binary file for the python module appears under src/CosmoSim.

If you can build, pip can also install the package from the working directory. Again, from the root of the repo,

pip install .

For non-standard building, see BUILD.md.

Running the GUI

python3 -m CosmoSim.GUI

The GUI tool is hopefully quite self-explanatory.
The images shown are the actual source on the left and the distorted (lensed) image on the right.

The Command Line Interface (CLI)

An illustrative test set can be generated by the following command.

mkdir images
python3 -m CosmoSim -CR -Z 400 --csvfile Datasets/dataset.csv --directory images

This generates a range of images in the newly created images directory.

The flags may be changed; -C centres det distorted image in the centre of the image (being debugged); -Z sets the image size; -R prints an axes cross.

Further documentation and examples are found on the web site,

Versions

  • The imortant git branches are
    • develop is the current state of the art
    • master should be the last stable version
  • Releases
    • v-test-* are test releases, used to debug workflows. Please ignore.
    • see the releases on github and CHANGELOG.md

Release files for CosmoSim 3.2.4b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CosmoSim 3.2.4b1
File Size Uploaded
cosmosim-3.2.4b1.tar.gz 7.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for CosmoSim 3.2.4b1
File
cosmosim-3.2.4b1-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.4b1-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
cosmosim-3.2.4b1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
cosmosim-3.2.4b1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.4b1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
cosmosim-3.2.4b1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
cosmosim-3.2.4b1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.4b1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
cosmosim-3.2.4b1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
cosmosim-3.2.4b1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.4b1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
cosmosim-3.2.4b1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
cosmosim-3.2.4b1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.4b1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size:97.5 MB

Release files / cosmosim-3.2.4b1.tar.gz

Download URL cosmosim-3.2.4b1.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e51cbd20ec62044363862d95972828d69de94c9a504de038f1ef287114d0ba07
BLAKE2b-256 checksum
How to use checksums
5c8bde87585c9fbb827dee26d9bffbdf7fd40ae9faadee7d8a4bd38e8d1c68c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.4b1-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 15.4 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
90f7578e20f024fe63627cfa48b35193b96d9246bae95f679b285b1d091fe2f5
BLAKE2b-256 checksum
How to use checksums
884eaed3cf69226b74ac07b2b6fb7c154f4ecef1ca924c8a926ffbfd00d01cdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp314-cp314t-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.4b1-cp314-cp314t-macosx_11_0_arm64.whl
Size 9.2 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1ab61aa650cf454678eee91eee9b2f644b709672568b6165ab68918919d13d61
BLAKE2b-256 checksum
How to use checksums
e59ac545e27de583638dac93f96ea34912debad5c4ca8a6e6252fac098e4e1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp314-cp314-win_amd64.whl

Download URL cosmosim-3.2.4b1-cp314-cp314-win_amd64.whl
Size 3.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
7ece0ca551bfc02d6b41a11406c6adb5fbd2a34e1889b905501fb9acf5223c8f
BLAKE2b-256 checksum
How to use checksums
557ce5ad4f425ba2bb8bd5dbb39dddb3746887a802939719efa1aa7f65194205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.4b1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c6c11caea7f6b92bddefc46f90d4868b5335268f437dcf27a77d47987821c587
BLAKE2b-256 checksum
How to use checksums
f1758d30fe6e4b82535a8157e6af6d0a2254e38d079316973d4d5788871da776
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp314-cp314-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.4b1-cp314-cp314-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a2f5c4c8f20a9ecf7a95445eb06c9a30825658e8d08bd1d6814c735433c54f60
BLAKE2b-256 checksum
How to use checksums
a45875ca245dcbb509342d043c7f8aeb148d4e0075356a8ac31c187f0871fbc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp313-cp313-win_amd64.whl

Download URL cosmosim-3.2.4b1-cp313-cp313-win_amd64.whl
Size 3.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
42b3df7a977ac37d4dc9011a300271e26c0a9dd79cdc0824bbcee95394e7db7a
BLAKE2b-256 checksum
How to use checksums
97e733b16a33378a0a4cb640194ac86369a0d655e47050436a352ca1205209ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.4b1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1f5f7325c0384cc138d6aa3cd4318c68af871d9780859ca6f06ee9eb7b35df49
BLAKE2b-256 checksum
How to use checksums
dc5be655fdae094266756862656848222b01ddf62058fc2ad7e6bec7bd70af4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp313-cp313-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.4b1-cp313-cp313-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
de3b0d4bf7dfced7508d707c6f3cb0b84a80d331bfad516ff95913963d88cac4
BLAKE2b-256 checksum
How to use checksums
69fc97a46b2299ad9e816ec4b4302e28bfd59c50e8b8b97ff82281709255db68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp312-cp312-win_amd64.whl

Download URL cosmosim-3.2.4b1-cp312-cp312-win_amd64.whl
Size 3.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
35426ea8a27f6e21674c33795bee12e94127f5ff8ffb1090746c939483e8560e
BLAKE2b-256 checksum
How to use checksums
61f12d998e42fb8e130ff091ce8def979cad4ee3cb7c3c797dff8d3be79fe859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.4b1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bba048a2b60e37711618e98ab8851750f27094ed36900617f3a0d7de952ecf76
BLAKE2b-256 checksum
How to use checksums
bb3fe16e6210fa53423d2614ce49dc51b21d5e504140811b9b772f493a988dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp312-cp312-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.4b1-cp312-cp312-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
294f38344f5c51ff0f47f493efbae238110ec659eeae282456293d14d1202c1d
BLAKE2b-256 checksum
How to use checksums
54f68940fd4911b460407e65e05b8a6972f99c72272510f15a0bb7df73a892ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp311-cp311-win_amd64.whl

Download URL cosmosim-3.2.4b1-cp311-cp311-win_amd64.whl
Size 3.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
716819fdc795a126a9889187ae79ca597929165c18fdb3f554be80dd5451507c
BLAKE2b-256 checksum
How to use checksums
13053de1255b8e3d41c116f57e357cc53f2ef6ef5c8650b2f860004ebfcbce1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.4b1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
90b495bf8964dba8fa36925f8d7210eb7077cbebbd36e458ed21362205cc7873
BLAKE2b-256 checksum
How to use checksums
9ebe4a8e39753d7ee79fa85a5447a10ff4cefaba81b48d7a02d0feb03b91d649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / cosmosim-3.2.4b1-cp311-cp311-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.4b1-cp311-cp311-macosx_11_0_arm64.whl
Size 4.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ded5bb99df539485e9d6d214db953ffb821bfcacba9ec7905abab877d061bdb3
BLAKE2b-256 checksum
How to use checksums
1af432aaf69072ffb184a387b9a7fda37c1c89ab0e162be8902ae1b1bbb41e7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release history Release notifications | RSS feed

3.3.0

15 release files

3.2.4

15 release files

This release

3.2.4b1 This release

15 release files

3.2.3

15 release files

3.2.2

15 release files

3.1.0

15 release files

3.0.5

15 release files

3.0.4

15 release files

3.0.3

11 release files

3.0.2

11 release files

3.0.1

11 release files

3.0.0

11 release files

2.8.1

11 release files

2.8.0

11 release files

2.7.0

11 release files

2.6.8

11 release files

2.6.7

11 release files

2.6.3

11 release files

2.6.1

11 release files

2.6.0

11 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page