Skip to main content
https://img.shields.io/pypi/v/opx.svg https://img.shields.io/pypi/l/opx.svg https://img.shields.io/pypi/pyversions/opx.svg https://readthedocs.org/projects/opx/badge/?version=latest

Installation

$ pip3 install opx

Requirements

Getting Started

# initialize your workspace
$ opx init

# build all packages
$ opx build

# assemble an installer
$ opx assemble

# remove persistent container
$ opx remove

New Features (Over opx-build)

  • Opinionated defaults
    • Remembers to pull Docker image regularly so you don’t have to

    • Sort packages into pkg/$repo/ after building

    • Persistent container (if inside a workspace)

    • One container allowed per workspace

  • Publish packages to testing

$ opx publish opx-logging
  • Commands are aliased

# all run opx build
$ opx b opx-logging
$ opx bui opx-logging
$ opx build opx-logging

Command Line Completion

Run the command corresponding with your shell. Add to your shell startup file for persistent autocomplete.

# bash
$ eval "$(_OPX_COMPLETE=source-bash opx)"

# zsh
$ eval "$(_OPX_COMPLETE=source-zsh opx)"

# fish
$ eval (env _OPX_COMPLETE=source-fish opx)

Roadmap

  • Port opx_rel_pkgasm from python script to module

  • Port opx_get_packages from python script to module

  • Port opx_bld_basics from python script to module

License

OpenSwitch Development Tool is distributed under the terms of the MIT License.

Release files for opx 1.0.1

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

Source distribution (sdist)

Source distribution for opx 1.0.1
File Size Uploaded
opx-1.0.1.tar.gz 13.5 kB Details

Built distribution (wheel)

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

Total release size: 31.3 kB

Release files / opx-1.0.1.tar.gz

Download URL opx-1.0.1.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
28154a935683077e036491b5602d8e0151c4c013f1b4b0908417dcc9dcfce9c3
BLAKE2b-256 checksum
How to use checksums
37b17322d352fbd36e766b2ddfccc76abd6708fdee6612ca520a4e7b4220cdc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / opx-1.0.1-py3-none-any.whl

Download URL opx-1.0.1-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7badaedd915762ce4dfe35b08a2b0e267e66c6f9f77dbc163b038e7099bb9a45
BLAKE2b-256 checksum
How to use checksums
9709c3af838409c101388abf1720b6faa6faba131dd98ef5e735e9653ec87416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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