coconut 3.2.0


pip install coconut

  Latest version

Released: Dec 31, 2025

Project Links

Meta
Author: Evan Hubinger

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Topic
  • Software Development
  • Software Development :: Code Generators
  • Software Development :: Compilers
  • Software Development :: Interpreters
  • Software Development :: Libraries :: Python Modules
  • Utilities

Environment
  • Console

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 2
  • Python :: 2.6
  • Python :: 2.7
  • Python :: 3
  • Python :: 3.2
  • Python :: 3.3
  • Python :: 3.4
  • Python :: 3.5
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Other
  • Other Scripting Engines
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Framework
  • IPython
  • Jupyter

Typing
  • Typed
Backers on Open Collective Sponsors on Open Collective Join the chat at https://gitter.im/evhub/coconut

Coconut (coconut-lang.org) is a variant of Python that adds on top of Python syntax new features for simple, elegant, Pythonic functional programming.

Coconut is developed on GitHub and hosted on PyPI. Installing Coconut is as easy as opening a command prompt and entering:

pip install coconut

To help you get started, check out these links for more information about Coconut:

  • Tutorial: If you’re new to Coconut, a good place to start is Coconut’s tutorial.

  • Documentation: If you’re looking for info about a specific feature, check out Coconut’s documentation.

  • Online Interpreter: If you want to try Coconut in your browser, check out Coconut’s online interpreter.

  • FAQ: If you have general questions about Coconut—like who Coconut is built for and whether or not you should use it—Coconut’s frequently asked questions are often the best place to start.

  • Create a New Issue: If you’re having a problem with Coconut, creating a new issue detailing the problem will allow it to be addressed as soon as possible. Creating a new issue is also absolutely welcome as a way to ask any questions you might have about Coconut.

  • Releases: Want to know what’s been added in recent Coconut versions? Check out the release log for all the new features and fixes.

Credits

Contributors

This project exists thanks to all the people who contribute! Become a contributor.

https://opencollective.com/coconut/contributors.svg?width=890&button=false

Backers

Thank you to all our backers! Become a backer.

https://opencollective.com/coconut/backers.svg?width=890

Sponsors

Support Coconut by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.

https://opencollective.com/XX/sponsor/0/avatar.svg

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras:
Dependencies:
setuptools (>=44)
argparse (>=1.4)
psutil and (>=6)
psutil (>=7)
prompt_toolkit (>=1)
futures (>=3.4)
backports.functools-lru-cache (>=1.6)
prompt_toolkit (<2,>=1)
pygments (>=2.3)
pygments (>=2.19)
typing_extensions (>=4.15)
typing_extensions (>=3.10)
typing_extensions and (>=4.1)
dataclasses and (>=0.8)
typing_extensions and (>=4.7)
typing_extensions and (>=4.12)
trollius and (>=2.2)
aenum (>=3.1.16)
typing (>=3.10)
async_generator (>=1.10)
tstr (>=0.4)
exceptiongroup and (>=1)
anyio (>=3)
cPyparsing (<2.4.7.2.5,>=2.4.7.2.4.1)
pyparsing (<2.4.8,>=2.4.7)