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.2b3

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.2b3
File Size Uploaded
cosmosim-3.2.2b3.tar.gz 7.9 MB Details

Built distributions (wheels)

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

Download URL cosmosim-3.2.2b3.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
6351502376c22e432529f8f0c30bc5473a341633d861a850f7ea772989011579
BLAKE2b-256 checksum
How to use checksums
d751a47b09e5c7916ee76302584e5a7a6dbf9cff7bdf68f3013d2a04d2ccb36a
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.2b3-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
12f820cee3ebb82d34d9a8732d3071e416c705b14ef0eed6b1edee222d6f5430
BLAKE2b-256 checksum
How to use checksums
71821f073e38f8a5a632eee9300669e02dfe6c968a3eeccf1a26afc6b6fc2793
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp314-cp314t-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.2b3-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
220a4a2598c69794540ce9f1b7a5876bb9ad64a86eb0630373144eb7cb48534d
BLAKE2b-256 checksum
How to use checksums
9946494b2381aaf946646a128ac756af46737fe503f93a31b710d1e7360e8e84
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp314-cp314-win_amd64.whl

Download URL cosmosim-3.2.2b3-cp314-cp314-win_amd64.whl
Size 3.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
194267731c1c032e3fd4bc4c3fe18ee388f749fc68498f91d8cf72a9ffa71934
BLAKE2b-256 checksum
How to use checksums
80e3d4426933613b2d4e6b187be1b99f418c009752da3c5f4b08153f359d6efd
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.2b3-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
b0af9255e2dc8c2abef8fe37e44d87cd9ba26047430228a6d39a165e69c2db2a
BLAKE2b-256 checksum
How to use checksums
558a9f8c4282897e1a6072c1c11ec4396cdc594fb96e61dd4cd6993151696843
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp314-cp314-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.2b3-cp314-cp314-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bcf8a3d39ac596e01389b33b804917162ad213dc21670abd3749f17b61db25a4
BLAKE2b-256 checksum
How to use checksums
6cda0fd424bb547701265a5ecd8c1a9d1cfe615005a608b235babcd190ce7f5a
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp313-cp313-win_amd64.whl

Download URL cosmosim-3.2.2b3-cp313-cp313-win_amd64.whl
Size 3.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c454795b131b95245d9acedcb37034f5ebf5668397f62ed3de9e512778d06b65
BLAKE2b-256 checksum
How to use checksums
8e04456521e170e08c0ea439d3b632c4a66e72d04cd68f238dae9b2f31c72bd5
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.2b3-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
0c874be05c330816cf4b9f8938d57bf4364315b1c92806ddf97655aac551bf68
BLAKE2b-256 checksum
How to use checksums
af54f32fd4fe2d2e2fd3be3f58c7c98e15bf8fddd1d091cc5a4cefb53ff2115f
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp313-cp313-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.2b3-cp313-cp313-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
11b1733429d77dba07ce9002c747c6cd04bb3fd026ce36982c13306252388b3e
BLAKE2b-256 checksum
How to use checksums
0d6f1b1dcc43d2e11b9ea5aa6a43383e689e35a9cf7ad552c5b85808ee988962
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp312-cp312-win_amd64.whl

Download URL cosmosim-3.2.2b3-cp312-cp312-win_amd64.whl
Size 3.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f172498bfbd4bfcd6245836533a090470767b7e96b1f5ddcfa87b1a0520ca084
BLAKE2b-256 checksum
How to use checksums
b0a61916ef9b7470504a696b624e3480425e01ef8b9b332f41933870c5f84c82
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.2b3-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
b0ca5ebc7f4cc82786c4ad2064831ffaf1d06ca3a95af94b7d5e5c3351c9dcad
BLAKE2b-256 checksum
How to use checksums
1303449ddd6ad32452c1e39920e5fb7df986580121bbbed5d164b1bd513ae3a3
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp312-cp312-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.2b3-cp312-cp312-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a0064bb65818ed099abb48b3da81ecb21d85ee727e5bc18650a831c0023fe4e8
BLAKE2b-256 checksum
How to use checksums
5096fb67c410e1bc5e7c810fdfa3f4beb8e55cdc411fc76b1a0a7e0d3705b220
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp311-cp311-win_amd64.whl

Download URL cosmosim-3.2.2b3-cp311-cp311-win_amd64.whl
Size 3.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ab9320581bad3d704fc02a40727000d1096a792bc4de9d1eb9ff2ba9f73859e9
BLAKE2b-256 checksum
How to use checksums
3862863c66face7e0486b212eee5e4dc69a29ef1a8cbe42f650f6e9b1e521321
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL cosmosim-3.2.2b3-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
01ef147223bfbab455bdb034483ba23f0ac346398f4b34a154fecf9e6fca54c6
BLAKE2b-256 checksum
How to use checksums
885d1162ec5017bfba8ccf5d50e347a7f458232f2608d947dcf88f2dfe3d0339
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 10, 2026.

Transparency log

Release files / cosmosim-3.2.2b3-cp311-cp311-macosx_11_0_arm64.whl

Download URL cosmosim-3.2.2b3-cp311-cp311-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
818cf62e80e95a8e8db313bd9897a605f2fcd0efc968c12248ea4a0140bea423
BLAKE2b-256 checksum
How to use checksums
3653fc2e46a90c3317be276c49b8c06a44707c76cf69e1f34a6dd19a3ecb9bbb
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 10, 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.2b3 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