No project description provided
Project description
primitive
Table of Contents
Installation
pip install primitive
Configuration
Authenticate
primitive config
Register your Hardware
primitive hardware register
License
primitive is distributed under the terms of the MIT license.
Development Setup
For Primitive engineers, you may have these steps completed.
Python Setup
# install required libs for macos
xcode-select --install
# install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install fish
brew install fish
echo /usr/local/bin/fish | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish
# install fisher
brew install fisher
fisher install jorgebucaran/nvm.fish
# install git
brew install git
# set global info
git config --global user.email "<user@email.com>"
git config --global user.name “<firstName lastName>”
# install make
brew install make
fish_add_path /opt/homebrew/opt/make/libexec/gnubin
# install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install
fish_add_path "$(uv python dir)/bin"
Repository Setup
Clone and run setup.
cd ~/Development/primitivecorp/
git clone git@github.com:primitivecorp/primitive-cli.git
cd primitive-cli
make setup
With the backend and frontend development environments running, configure the CLI for local use.
# bash or zsh
source .venv/bin/activate
# fish
source .venv/bin/activate.fish
primitive --host localhost:8000 config --transport http
You can find or create a Primitive API token at http://localhost:3000/account/tokens
Please enter your Primitive API token: # create a token and copy the value here
Config created at '/Users/<user>/.config/primitive/credentials.json' on host 'localhost:8000'
# verify the configuration worked via
primitive --host localhost:8000 whoami
Logged in as <username>
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file primitive-0.2.82.tar.gz.
File metadata
- Download URL: primitive-0.2.82.tar.gz
- Upload date:
- Size: 149.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b8ca5b8cd5f52e275e90862361681267c9c5f79e3b137922e7497b117d69f2
|
|
| MD5 |
ae1f73394512efbfaecb5b1737b0dcae
|
|
| BLAKE2b-256 |
c6deda93059bc9575107cb0baabd38b47a039874aad98451b31b6f718276adfa
|
Provenance
The following attestation bundles were made for primitive-0.2.82.tar.gz:
Publisher:
publish.yml on primitivecorp/primitive-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
primitive-0.2.82.tar.gz -
Subject digest:
60b8ca5b8cd5f52e275e90862361681267c9c5f79e3b137922e7497b117d69f2 - Sigstore transparency entry: 707825248
- Sigstore integration time:
-
Permalink:
primitivecorp/primitive-cli@c080b11645674b044b28819be2fcbe71a867b372 -
Branch / Tag:
refs/tags/v0.2.82 - Owner: https://github.com/primitivecorp
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c080b11645674b044b28819be2fcbe71a867b372 -
Trigger Event:
push
-
Statement type:
File details
Details for the file primitive-0.2.82-py3-none-any.whl.
File metadata
- Download URL: primitive-0.2.82-py3-none-any.whl
- Upload date:
- Size: 112.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c062befc2253502f8a7041ee35a8b844e6e360e127699562a11f48743f5b6330
|
|
| MD5 |
8b3e89c7add1399ca1bf7d8d4642dcdb
|
|
| BLAKE2b-256 |
3f0d899caa4816159834493a0a3a1e07e5bf04e71639af8806057f39f631efd9
|
Provenance
The following attestation bundles were made for primitive-0.2.82-py3-none-any.whl:
Publisher:
publish.yml on primitivecorp/primitive-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
primitive-0.2.82-py3-none-any.whl -
Subject digest:
c062befc2253502f8a7041ee35a8b844e6e360e127699562a11f48743f5b6330 - Sigstore transparency entry: 707825255
- Sigstore integration time:
-
Permalink:
primitivecorp/primitive-cli@c080b11645674b044b28819be2fcbe71a867b372 -
Branch / Tag:
refs/tags/v0.2.82 - Owner: https://github.com/primitivecorp
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c080b11645674b044b28819be2fcbe71a867b372 -
Trigger Event:
push
-
Statement type: