Skip to main content

A completely experimental and untested zkVyper version manager.

Usage

  1. Install with pip.

    $ pip install git+https://github.com/skellet0r/zkvvm@master#egg=zkvvm
  2. Use the built-in CLI

    $ zkvvm --help
    usage: zkvvm [-h] [--cache-dir CACHE_DIR] [--log-file LOG_FILE] [-v] {ls,ls-remote,install,uninstall} ...
    
    zkVyper Version Manager
    
    optional arguments:
    -h, --help            show this help message and exit
    --cache-dir CACHE_DIR
                            Default: /home/user/.cache/zkvvm
    --log-file LOG_FILE   Default: /home/user/.cache/zkvvm/log/zkvvm.log
    -v
    
    commands:
    {ls,ls-remote,install,uninstall}
        ls                  List available local versions
        ls-remote           List available remote versions
        install             Install a remote version
        uninstall           Uninstall a local version
  3. Use in a script

    import zkvvm
    
    output = zkvvm.compile(["tmp/Foo.vy"])
    
    src = """# @version 0.3.3
    
    @view
    @external
    def foo(_a: uint256) -> uint256:
        return _a
    """
    output = zkvvm.compile_source(src, zk_version="1.1.1", vyper_version="0.3.3")

Metadata

Release files for zkvvm 0.1.0

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

Source distribution (sdist)

Source distribution for zkvvm 0.1.0
File Size Uploaded
zkvvm-0.1.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zkvvm 0.1.0
File Interpreter ABI Platform
zkvvm-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / zkvvm-0.1.0.tar.gz

Download URL zkvvm-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f568ef908d632a271989545a38104b3f96be7665021be1357ca9b570628122e7
BLAKE2b-256 checksum
How to use checksums
2104e502e20b677348ed72c7d323db3486c87257771304cde5aa7d97c121883f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.14 Linux/5.15.64-1.fc32.qubes.x86_64

Release files / zkvvm-0.1.0-py3-none-any.whl

Download URL zkvvm-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
091feb8f5680d327daa30935b02500dc4f46ec9a6f041c2c7357cb524f6a96b8
BLAKE2b-256 checksum
How to use checksums
b6250dac00b996e93d9cb01acabe0dad866bf588a225f24e719a7357632cbc5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.14 Linux/5.15.64-1.fc32.qubes.x86_64

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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