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.4b2

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.4b2
File Size Uploaded
cosmosim-3.2.4b2.tar.gz 7.9 MB Details

Built distributions (wheels)

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

Total release size:97.6 MB

Release files / cosmosim-3.2.4b2.tar.gz

Download URL cosmosim-3.2.4b2.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
a2a3760e682893f10ff47c55dfd12c0b04e7b2cb95e8e522e22d47bd0cf4c610
BLAKE2b-256 checksum
How to use checksums
3335da4b3690be0d13314b2a5235c3698158223198193a6212c52bf1a20afc79
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 15.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a15aa7b355e8aed06fb95216e85bb33a6b5df580c001be92833acedd76b2bcaf
BLAKE2b-256 checksum
How to use checksums
627ec0ec9ed7bab436bb885bba6792e755121ab5347e2bb12ebd433bafbb1bee
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
a63cf8883b77c64b104a92be1acff10640433bd11e5107d5b99d5e8d3767a544
BLAKE2b-256 checksum
How to use checksums
918861fcdc31b6e9add3304da751e37ad28954b13a94cbbb1985b35d7de3b6f6
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-cp314-cp314-win_amd64.whl
Size 3.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
7bc619ad927b12e2122c4381f21d46cafb9a793d3b2936ca7af72510b0d5fabb
BLAKE2b-256 checksum
How to use checksums
77b57f444784ae5df042c9a4ac64ff09d349da6f6dfe0bff2188c396afbb73b0
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
50036e8d25522d245348d8a60241a10b3ed8f507fa8f124246f27fc2c6e639c1
BLAKE2b-256 checksum
How to use checksums
86518c9964866bb6d251ad4276774715a7be9172ac6ea59f8fbecca8e91e93f4
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
2213a51d824d607427f9a801371ac3365e10c398177f76ac7208ac9721c97f93
BLAKE2b-256 checksum
How to use checksums
58f7181bf8f9762b448944e56b6af53675d7a348409b8632e5676fb4889d6459
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-cp313-cp313-win_amd64.whl
Size 3.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
bea8f1b7534eacb19d3d57edfbece0a2611f63062750a8d5ac72df6ff8a08fe5
BLAKE2b-256 checksum
How to use checksums
9503f51a2c6740f1c8f171a93c07523c5211e92409efec7a1093a750dd7ab6db
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
f7ac79328c3e75231801e08fbe0b81c82d57c73e22e1b6f6be5f76ff6bf0396c
BLAKE2b-256 checksum
How to use checksums
e6b221779505d1d69d20e79d3251255ccea061fff8489578187023db1c534486
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
5516842f1b1c22a07174390fe03faa63adae7dcebb7d573fb3388d534c075e5e
BLAKE2b-256 checksum
How to use checksums
dc593dd58bd8bf7a87bc1423399b82aea66f540213a866539a5a141037e83898
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-cp312-cp312-win_amd64.whl
Size 3.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d3474054b26008d185f671f6c6d541bfafd2efbf6d0c1f7d0b5f28c0f347899c
BLAKE2b-256 checksum
How to use checksums
ffe8be383db0c79a4357e3330cf42768c78583e88d494fcd13cf31c03f14609f
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
c1111811b4fe10dd4f59cc85f8582f97714cd3706df4d46f59dcbec029f1c899
BLAKE2b-256 checksum
How to use checksums
173a8fe91688098995f91b57eae2a3a667645ac04c06d6365ddbc3d81f013ba9
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
ee0dd57cd7c9f73f062dbd3086cfbc7054d154df797a6a81d7fb034fd103b68d
BLAKE2b-256 checksum
How to use checksums
a044b1d5b198e0201b682c99588117dd6c6b64891d12c8ae4fd3efb17c4ab4c4
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-cp311-cp311-win_amd64.whl
Size 3.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
152b921e3c84e8c8e445c0c3727cf2bf4be7c26b5f038ba2732282c795f31743
BLAKE2b-256 checksum
How to use checksums
c76f9674db396d8457d8ed6cc7d195e426f3bcadff456a8ee993070c5ba97b28
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
9009f76913d96c0c80eed1d00355b377553cc45ebe3a32758d9263638526e0d4
BLAKE2b-256 checksum
How to use checksums
0df502d8663a953bd765c7071e00bca62ad9697568c42d0f8eadec246534e0b1
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 18, 2026.

Transparency log

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

Download URL cosmosim-3.2.4b2-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
6c81cd92a80ca7b1c96d05d98c1e2b4861166870267da2bee71306a0fca19d4a
BLAKE2b-256 checksum
How to use checksums
a0a383e60b61c652314d2d54470cebf1aada9a3cdf86535840ea9c070f6ff82e
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 18, 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.4b2 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