Skip to main content

Ape Ethereum Framework

Project description

Pypi.org Apache licensed Build Status Discord chat Twitter

Overview

Ape Framework is an easy-to-use Web3 development tool. Users can compile, test, and interact with smart contracts all in one command line session. With our modular plugin system, Ape supports multiple contract languages and chains.

Ape is built by ApeWorX LTD.

Join our ApeWorX Discord server to stay up to date on new releases, plugins, and tutorials.

If you want to get started now, see the Quickstart section.

Documentation

Read our technical documentation to get a deeper understanding of our open source Framework.

Read our academic platform will help you master Ape Framework with tutorials and challenges.

Prerequisite

In the latest release, Ape requires:

  • Linux or macOS
  • Python 3.9 up to 3.12
  • Windows: Install Windows Subsystem Linux (WSL)

Check your python version in a terminal with python3 --version.

Installation

There are three ways to install ape: pipx, pip, or Docker.

Considerations for Installing

  • If using pip, we advise using the most up-to-date version of pip to increase the chance of a successful installation.

  • We advise installing in a virtualenv or venv to avoid interfering with OS-level site packages.

  • We advise installing ape with recommended plugins pip install eth-ape'[recommended-plugins]'.

  • We advise for macOS users to install virtual env via homebrew.

Installing with pipx or pip

  1. Install pipx via their installation instructions or pip via their installation instructions.

  2. Install ape via pipx install eth-ape or pip install eth-ape.

Installing with docker

Ape can also run in a docker container.

You can pull our images from ghcr. This image is built using our recommended-plugins extra, so it is a great starting point for running ape in a containerized environment.

We also have a slim docker image that is built without any installed plugins. This image is meant for production support and must be further configured if any plugins are in use.

You can pull the image:

$ docker pull ghcr.io/apeworx/ape:latest  # installs with recommended-plugins

or pull the slim if you have specific needs that you'd like to build from:

$ docker pull ghcr.io/apeworx/ape:latest-slim  # installs ape with required packages

or build the image locally from source:

$ docker build -t ape:latest-slim -f Dockerfile.slim .
$ docker build -t ape:latest .

An example of running a command from the container would be:

docker run \
  --volume $HOME/.ape:/home/harambe/.ape \
  --volume $HOME/.vvm:/home/harambe/.vvm \
  --volume $HOME/.solcx:/home/harambe/.solcx \
  --volume $PWD:/home/harambe/project \
  apeworx/ape compile

Note: The above command requires the full install which includes recommended-plugins installation extra.

Quickstart

After you have installed Ape, run ape --version to verify the installation was successful.

Interact with Ape using either the CLI or Python code.

See the following user-guides for more in-depth tutorials:

Plugin System

Ape's modular plugin system allows users to have an interoperable experience with Web3.

If a plugin does not originate from the [ApeWorX GitHub Organization](https://github.com/ApeWorX?q=ape&type=all), you will get a warning about installing 3rd-party plugins.
Install 3rd party plugins at your own risk.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eth-ape-0.8.15.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

eth_ape-0.8.15-py3-none-any.whl (366.3 kB view details)

Uploaded Python 3

File details

Details for the file eth-ape-0.8.15.tar.gz.

File metadata

  • Download URL: eth-ape-0.8.15.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.66.5 importlib-metadata/8.5.0 keyring/25.4.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.15

File hashes

Hashes for eth-ape-0.8.15.tar.gz
Algorithm Hash digest
SHA256 35e584f7cccd7cbcceefcb2c04109347a11f07f2c1e9eac1e2987bf7c54be6e3
MD5 b4acc7e8fcbdf74d4a707c7417a7bfd6
BLAKE2b-256 f0f0897ff3fdb24e932fccdd63a635a0c56cdc7e3726fa431bd6ae5bc47590b7

See more details on using hashes here.

File details

Details for the file eth_ape-0.8.15-py3-none-any.whl.

File metadata

  • Download URL: eth_ape-0.8.15-py3-none-any.whl
  • Upload date:
  • Size: 366.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.66.5 importlib-metadata/8.5.0 keyring/25.4.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.15

File hashes

Hashes for eth_ape-0.8.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d5a68ac06a2336c55859374c3c1d6c32fcfb9fe510e4f8c5e0292a264ff226eb
MD5 d5f38d70db0b0ae2caac7f31af93157c
BLAKE2b-256 d7c73e6ec4ead3592fb9cd8466e0dcf7f8200f573756393d3aa14c95787b8fbb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page