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.1.0.tar.gz (4.2 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.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emphub_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for emphub_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2d7d778c6de56f83e413e1cb3eea593dac89b51145a05fa9fa9b94fbe6a69d3
MD5 3cb7a78ca4e8e26cdb6c59be9375f024
BLAKE2b-256 b29c49d70cd582b5ec597a8fe3089de653d9b0689051a778032a76eb222984e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emphub_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for emphub_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffccff403c16c215d2e4b479c88d133a7087109ad2cf76894ee0ceb102d53490
MD5 7469231150779066025d3b1e90c6c248
BLAKE2b-256 8302f961c73d8b9c01890155a403fad052603c6646cefe1d0d6fc885c12d50d5

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