Skip to main content
Pre-release

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

🐍 basilisp 🐍

A Lisp dialect inspired by Clojure targeting Python 3.

Disclaimer: Basilisp is a project I created to learn about Python, Clojure, and hosted languages generally. It should not be used in a production setting.

PyPI python CircleCI Coveralls github license

Getting Started

Basilisp is developed on GitHub and hosted on PyPI. You can fetch Basilisp using a simple:

pip install basilisp

Once Basilisp is installed, you can enter into the REPL using:

basilisp repl

Basilisp features many of the same functions and idioms as Clojure so you may find guides and documentation there helpful for getting started.

Developing on Basilisp

Requirements

This project uses pipenv to manage the Python virtual environment and project dependencies. pipenv can be installed using Homebrew (on OS X) or pip otherwise:

brew install pipenv
pip install --user pipenv

Additionally, pyenv is recommended to manage versions of Python readily on your local development environment. Setup of pyenv is somewhat more specific to your environment, so see the documentation in the repository for more information.

Getting Started

To prepare your pipenv environment, you need to install dependencies and install Basilisp as an editable dependency:

make setup-dev

Afterwards, you can start up the REPL for development with a simple:

make repl

If dependencies are added or changed afterwards, you may need to make setup-dev again before attempting to start the REPL again or run tests.

Linting, Running Tests, and Type Checking

Basilisp automates linting, running tests, and type checking using Tox. All three steps can be performed using a simple make target:

make test

Testing is performed using PyTest. Type checking is performed by MyPy. Linting is performed using Prospector.

License

MIT License

Metadata

Release files for basilisp 0.1.dev4

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

Source distribution (sdist)

Source distribution for basilisp 0.1.dev4
File Size Uploaded
basilisp-0.1.dev4.tar.gz 132.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basilisp 0.1.dev4
File Interpreter ABI Platform
basilisp-0.1.dev4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 287.9 kB

Release files / basilisp-0.1.dev4.tar.gz

Download URL basilisp-0.1.dev4.tar.gz
Size 132.9 kB
Tags Source
SHA-256 checksum
How to use checksums
755f45ccce83f6e536a5e198dc6a4d78d2cac19dac76d20ed076bf2f913fc294
BLAKE2b-256 checksum
How to use checksums
86fb2cd96b1e9ffcbc3c8a7b6176c14d052180579465b2a5a7a9edb9715e37e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

Release files / basilisp-0.1.dev4-py2.py3-none-any.whl

Download URL basilisp-0.1.dev4-py2.py3-none-any.whl
Size 155.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fc2123b9873fdbfdbdd77664612210afbe4ea46fbb08157181785e2d7d7c9ebf
BLAKE2b-256 checksum
How to use checksums
5e7b7b8daab792d5d7b84b6979ce9b8b40eea65024cad56b92a385c0b87563ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

Release history Release notifications | RSS feed

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

This release

0.1.dev4 This release

2 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