Experimental Vyper interpreter
Project description
Titanoboa
An experimental Vyper interpreter
Background
Titanoboa (/tiˌtɑːnoʊˈboʊə/) is an extinct genus of very large snakes that lived in what is now La Guajira in northeastern Colombia. They could grow up to 12.8 m (42 ft), perhaps even 14.3 m (47 ft) long and reach a weight of 1,135 kg (2,500 lb). This snake lived during the Middle to Late Paleocene epoch, around 60 to 58 million years ago following the extinction of the dinosaurs. Although originally thought to be an apex predator, the discovery of skull bones revealed that it was more than likely specialized in preying on fish. The only known species is Titanoboa cerrejonensis, the largest snake ever discovered,[1] which supplanted the previous record holder, Gigantophis garstini.[2]
Installation
pip install git+https://github.com/vyperlang/titanoboa
Usage
# simple.vy
@external
def foo() -> uint256:
x: uint256 = 1
return x + 7
>>> import boa
>>> simple = boa.load("simple.vy")
>>> simple.foo()
8
>>> simple.foo()._vyper_type
uint256
basic tests:
$ python -m tests.sim_veYFI
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
Built Distribution
File details
Details for the file titanoboa-0.1.0.tar.gz
.
File metadata
- Download URL: titanoboa-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20bd54cdb20d4c7647a73e21fbfc169c255adbb94fc1dae28f43738394ed07f2 |
|
MD5 | a254851673632aa1f98f37b81964c3e4 |
|
BLAKE2b-256 | 7fe9edaa61a1b2e164ee219f5b51073d71e2612572dcfca22a9ae0aa289b9a76 |
File details
Details for the file titanoboa-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: titanoboa-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f58d5469522990d8301112917710dc9ce4f9f36359ff1c972189b659c3ae90ce |
|
MD5 | 363ae5b1da9af0f004f51342ef8e9443 |
|
BLAKE2b-256 | 66541250f30581e4167de05bc127a951a159607b8074881b92091e70f2fb4bc0 |