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

Installation Guide

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

pip install CosmoSim

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.0b6

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.0b6
File Size Uploaded
cosmosim-3.2.0b6.tar.gz 7.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for CosmoSim 3.2.0b6
File
cosmosim-3.2.0b6-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.0b6-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
cosmosim-3.2.0b6-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
cosmosim-3.2.0b6-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.0b6-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
cosmosim-3.2.0b6-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
cosmosim-3.2.0b6-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.0b6-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
cosmosim-3.2.0b6-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
cosmosim-3.2.0b6-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.0b6-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
cosmosim-3.2.0b6-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
cosmosim-3.2.0b6-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
cosmosim-3.2.0b6-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size:97.4 MB

Release files / cosmosim-3.2.0b6.tar.gz

Download URL cosmosim-3.2.0b6.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
edff2e8186f97c9496e23e86879c60cc01c105a111530755a56faf2fa9558c90
BLAKE2b-256 checksum
How to use checksums
aa076a0b809a16eba03d99cf1b8429e4ce9d7b16fa2f39395bbf0c061caa4927
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.0b6-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
d3b5aa6693d97386e828e4e6a471dcce485f80a062899e1aedb21c76b4ac715a
BLAKE2b-256 checksum
How to use checksums
c4c69f662a1daaadf6869904fd5d0031524449e0073168521f249fa08bcc611e
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp314-cp314t-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.0b6-cp314-cp314t-macosx_11_0_arm64.whl
Size 9.1 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bd1580a9956d5ddfedf635ef575ed8cbb1a0fe17de89cc183a7db5bc47aeb222
BLAKE2b-256 checksum
How to use checksums
de4ab676027eeb10f11bc4ae206bd964e09f929689bbb3c4278bbd48863fabd1
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp314-cp314-win_amd64.whl

Download URL cosmosim-3.2.0b6-cp314-cp314-win_amd64.whl
Size 3.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a9696a996ae91fcf02f7a53e6bf125b26a693defb52d05b986701779e4946e7d
BLAKE2b-256 checksum
How to use checksums
cdbcbbfc72ba64196cd0f31a15200f5cfe6c8c5f803947c7500632383f128842
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.0b6-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
0d9e2f5c598a0397d9d9b6e48f38ab2d39da7c3a73fd797acecb52bdec08b1b5
BLAKE2b-256 checksum
How to use checksums
9c7ef5a8bbf2ae046d57c7f0d5c9a45e9bf4adb9d8ba4e4b07716f17b5477978
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp314-cp314-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.0b6-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
047d0e7574841252636fdc40dd89220c206c5995e7eabc01c74349d9913843f8
BLAKE2b-256 checksum
How to use checksums
b7f337212de97c589de6d06984a28b755a8ebd83bff282112bacb6d79dacc7f8
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp313-cp313-win_amd64.whl

Download URL cosmosim-3.2.0b6-cp313-cp313-win_amd64.whl
Size 3.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e85ea93921457ec82ffa3884e73b1aedc059f6db3d791ca3afd69aec7e329abb
BLAKE2b-256 checksum
How to use checksums
94597bb4ed0da1342d440fe35f29192c0ef02221773a5a54b515342d8fb5e227
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.0b6-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
68fbb877a6d114cfa8d9e0cc2ef9004c945a00ac634abf1549385b23e49c5f26
BLAKE2b-256 checksum
How to use checksums
be2daa1cbe650bbfc01b66e86f33c7862374ec46229e2e8f53601dda6f1fe841
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp313-cp313-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.0b6-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
ffe21537d803ed01a313d198a27eb645e6333e4ac01b80d1b435671fa77138c9
BLAKE2b-256 checksum
How to use checksums
5b9a794afecd9087bc0f70b893a9569d9498d0a8406e07e6570264a6583f6f79
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp312-cp312-win_amd64.whl

Download URL cosmosim-3.2.0b6-cp312-cp312-win_amd64.whl
Size 3.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5229193584a2f57aefa19b360bea2527a2a695ddf37191ade6e91b9035f97901
BLAKE2b-256 checksum
How to use checksums
97f84f4e40322571b34afc80997ddddc1d31783cfa13a932d1dec1feaad7ecc5
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.0b6-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
b1d36182f1dc643365bf1493cb9f7cad643cd93477f03ed57bc5f2b0523b3818
BLAKE2b-256 checksum
How to use checksums
7dd63387cbedf89759509d1a2999d7623796002b4e2c961e2fea6c1016f8f192
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp312-cp312-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.0b6-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
1df3810765285971dbeaf10815519432af9ccda0344ca83f9ddbdfcab00fd3e2
BLAKE2b-256 checksum
How to use checksums
6564a6cfb420972faa140b02e50a4952d8108d7d1f698b993cb04022345a3c4e
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp311-cp311-win_amd64.whl

Download URL cosmosim-3.2.0b6-cp311-cp311-win_amd64.whl
Size 3.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8eef821a39f8b0aec2d5a6ac15eed07510cea9515bfc8e13116acbff48ab58a6
BLAKE2b-256 checksum
How to use checksums
b47f1f4925e5f1cd32c7cfba84ed454c6d851f1d09c1da8028114ffbcc02c633
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.0b6-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
43e04cb7e26c446bf491d987dc44c2a59482c3d95dfee2e8dcfc36f9c0cbb334
BLAKE2b-256 checksum
How to use checksums
0e2fb0cbbb241e51dcb6dd99ee74f82c255fe31d45211eff3ac670476ea34c43
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 8, 2026.

Transparency log

Release files / cosmosim-3.2.0b6-cp311-cp311-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.0b6-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
a99d25057884a3ca9b4965cf1845cd6301cc494501b0d15df070c432c692c6e5
BLAKE2b-256 checksum
How to use checksums
599a4292da8e1b9faf9079a8ce4ff294e8a1e60065c8e041c8a0ce211b46f9ca
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 8, 2026.

Transparency log

Release history Release notifications | RSS feed

3.3.0

15 release files

3.2.4

15 release files

3.2.3

15 release files

3.2.2

15 release files

This release

3.2.0b6 This release

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