Skip to main content

Chaturanga

Chaturanga is a Chess API written in Python that supports both single-player and two-player games.

Installation

$ pip install Chaturanga

Functionality

  • Chessboard generation from a given valid FEN position
  • Pretty print of the Chessboard using Unicode (optional, defaults to False)
  • Generation of all legal moves for a given position. (including en-passant, castling, and promotion)
  • Identifying potential draw situations (3-fold repitition, 100 plies) and checks.
  • Identification of all game ending criteria (Checkmate, Stalemate, 5-fold repitition, 150 plies)
  • Undoing a move
  • Resetting the Chessboard
  • Chess Engine using Depth Analysis and a Piece-Square Table
  • Lichess BOT

As of now, the Chessboard supports input in UCI notation (eg. e2e4, b7b8n) to make a move.

License

MIT

Metadata

Release files for Chaturanga 0.1.8

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

Source distribution (sdist)

Source distribution for Chaturanga 0.1.8
File Size Uploaded Provenance Actions
Chaturanga-0.1.8.linux-x86_64.tar.gz 17.6 kB Without provenance Details for Chaturanga-0.1.8.linux-x86_64.tar.gz

Release files / Chaturanga-0.1.8.linux-x86_64.tar.gz

Download URL Chaturanga-0.1.8.linux-x86_64.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d51ce6caaa02ad222a299f6dfeabde22fa6563d4d092aa5db6d373a99b9b756a
BLAKE2b-256 checksum
How to use checksums
45f9484ae264521ecf66e5084f081fa268e40f815a0e4c77c872a36993b4a889
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.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1

Security for Chaturanga 0.1.8

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