Skip to main content

.. image:: https://github.com/jmeyers314/batoid/workflows/batoid%20CI/badge.svg :target: https://github.com/jmeyers314/batoid/workflows/batoid%20CI/badge.svg .. image:: https://codecov.io/gh/jmeyers314/batoid/branch/master/graph/badge.svg :target: https://codecov.io/gh/jmeyers314/batoid

batoid

A c++ backed python optical raytracer.

docs

https://jmeyers314.github.io/batoid/overview.html

Requirements

Batoid is known to work on MacOS and linux, using Python version 3.6+, and either the clang or gcc compiler with support for c++14.

Installation

PyPI

Released versions of batoid are available on pypi as source distributions. This means you will need at least c++14 compiler available and that setup.py can find it. This should hopefully be the case on most *nix systems, in which case, the following ought to work::

pip install batoid

Github

If Pypi doesn't work, then you can try cloning the source from github and running setup.py. One minor hiccup in this case is that the batoid repo includes pybind11 as a submodule, so when cloning for the first time, a command similar to one of the following should be used ::

git clone --recurse-submodules git@github.com:jmeyers314/batoid.git

or ::

git clone --recurse-submodules https://github.com/jmeyers314/batoid.git

Once the repo and the submodules have been cloned, then compile and install with ::

python setup.py install

or optionally ::

python setup.py install --user

Tests

To run the unit tests, from the batoid directory, first install the testing requirements ::

pip install -r test_requirements.txt

And then run the tests using setup.py ::

python setup.py test

Metadata

Release files for batoid 0.3.2

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

Source distribution (sdist)

Source distribution for batoid 0.3.2
File Size Uploaded Provenance Actions
batoid-0.3.2.tar.gz 241.6 kB Without provenance Details for batoid-0.3.2.tar.gz

Release files / batoid-0.3.2.tar.gz

Download URL batoid-0.3.2.tar.gz
Size 241.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e4513929265945ddf6f3e536772a30af101e8eab0d7235ac8069bfaf924567f
BLAKE2b-256 checksum
How to use checksums
67a7da15fa4cf3c13a4c75e98615e71c6fa75eae0a2196ee4d6f3df56033d396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.8

Security for batoid 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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