• Stars
    star
    3,937
  • Rank 10,548 (Top 0.3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple, elegant, Pythonic functional programming.

logo Coconut

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.
  • Gitter: For any questions, concerns, or comments about anything Coconut-related, ask around at Coconut's Gitter, a GitHub-integrated chat room for Coconut developers.
  • 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.

image

Backers

Thank you to all our backers! Become a backer.

image

Sponsors

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

image

More Repositories

1

pyprover

Resolution theorem proving for predicate logic in pure Python.
Python
87
star
2

bbopt

Black box hyperparameter optimization made easy.
Python
74
star
3

cpyparsing

Cython PyParsing implementation.
Python
29
star
4

coconut-prelude

An implementation of Haskell's Prelude in Python using Coconut.
Python
21
star
5

minecraft-deep-learning

Deep reinforcement learning in Minecraft using gym-minecraft and keras-rl.
Makefile
20
star
6

sublime-coconut

Coconut syntax highlighting for Sublime Text and VSCode.
Python
16
star
7

rabbit

Rabbit is a modern, functional programming language built on top of Python.
Python
12
star
8

iternash

Iterative equilibrium finder for simulating arbitrary games in Python/Coconut.
Python
8
star
9

cards-against-humanity

An extensible cards against humanity game engine.
Makefile
7
star
10

mesa-optimization

Source for the paper "Risks from Learned Optimization in Advanced Machine Learning Systems" by Evan Hubinger, Chris van Merwijk, Vladimir Mikulik, Joar Skalse, and Scott Garrabrant.
TeX
7
star
11

bayesian-nn-example

A toy Bayesian neural network example.
TeX
7
star
12

better_einsum

np.einsum but better
Python
7
star
13

live-song-id

Replication of Known-Artist Live Song Identification Using Audio Hashprints in Python.
Jupyter Notebook
5
star
14

transfer-learning-live-song-id

Use transfer_learning_music to implement live song identification.
Python
4
star
15

conditioning-predictive-models

Repository for the paper “Conditioning Predictive Models" by Hubinger et al.
TeX
3
star
16

prisoner

Run Prisoner's Dilemma competitions in Python.
Makefile
3
star
17

audio-quality-detection

Binary classification of songs based on audio quality.
Jupyter Notebook
3
star
18

score-retrieval

Wrapper for music score retrieval dataset.
Python
2
star
19

coconut-travis-generator

Generates .travis.yml files for use with Coconut and Cocotest.
Makefile
2
star
20

cocotest

Test repository for the Coconut Programming Language.
2
star
21

lean-math-examples

A collection of various mathematical theorems/objects/constructs in Lean.
Lean
2
star
22

point-free-transformer

A point-free implementation of a one-layer transformer in Coconut.
Python
2
star
23

text-game-engine

Custom extensible text game engine.
Python
2
star
24

11-proposals

LaTeX version of "An overview of 11 proposals for building safe advanced AI."
TeX
2
star
25

relaxed-adversarial-training

The source for my post "An exploration of relaxed adversarial training for inner alignment."
TeX
2
star
26

song-annotation-db

Database of aligned song snippets.
Python
2
star
27

coco-cs

Coconut documentation Czech translation by @Tovim
Python
2
star
28

tf-ddpg

An implementation of Deep Deterministic Policy Gradients in TensorFlow using Coconut.
Python
1
star
29

steganography

A Python steganography library, written in Coconut.
1
star
30

travis-dotfile-generator

Generate .travis.yml files from Python/Coconut scripts.
1
star
31

evhub.github.io

GitHub Pages for Evan Hubinger
TeX
1
star
32

master-mind

Graphical single- or multi- player Master Mind simulator.
Python
1
star
33

baselines

OpenAI Baselines: high-quality implementations of reinforcement learning algorithms
Python
1
star