Skip to main content

CLI tools to interface with EMPHub

Project description

emphub-cli

CLI tools to interface with EMPHub.

Installation

First, install the package:

python3 -m pip install emphub-cli

then add a configuration file to connect to the EMPHub instance at ~/.emp/config.yaml

The configuration file has the following format:

---
registry:
    host: <S3 HOST>
    access_key: <S3 ACCESS KEY>
    secret_key: <S3 SECRET KEY>
    secure: false  # set to true if using HTTPS
    bucket: emp-packages

local-storage:
    path: ~/.emp/packages
    connections_file: ~/.emp/connections.xml

Usage

To view all packages available on EMPHub, use the following command:

emp packages

To see the tags for a given package, use the tags command:

emp tags <PACKAGE>

Then to pull a specific tag use the following command:

emp pull <PACKAGE>:<TAG>

The bitfile will then be available at ~/.emp/packages/<PACKAGE>/<TAG>/package/top.bit, along with the address table and a pre-made connections.xml for the Serenity card.

Project details


Download files

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

Source Distribution

emphub_cli-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emphub_cli-0.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file emphub_cli-0.2.0.tar.gz.

File metadata

  • Download URL: emphub_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for emphub_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 451d5bd3e30a6ef2da9e34ba068881799d345f0f225410a9d6b1bcc048584609
MD5 627d82de3bc2d254d8c481bbd32455f0
BLAKE2b-256 a298a1f88bc4b2c64b05472c70c49344bebb499c5d217178cfcd816f4f5536e6

See more details on using hashes here.

File details

Details for the file emphub_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: emphub_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for emphub_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8eb3431afdf2e225468a2e8516519e445058880298154237867233b1c0facadc
MD5 8687f18ccfe4694e5279efa32239c743
BLAKE2b-256 c6adce93513cc3b1bce145ba30761499ae24b2331dba5a57f97c478eb09f1b25

See more details on using hashes here.

Supported by

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