This repository contains placeholder packages to reserve the "behavedb" name across multiple package registries.
npm install 3rdpartyThis repository contains placeholder packages to reserve the "behavedb" name across multiple package registries.
- npm (JavaScript/Node.js)
- Cargo (Rust)
- PyPI (Python)
macOS:
``bashUsing Homebrew
brew install node
Windows:
`bash
Using winget
winget install OpenJS.NodeJSOr download installer from nodejs.org
`Linux:
`bash
Ubuntu/Debian
sudo apt update
sudo apt install nodejs npmFedora
sudo dnf install nodejs npmArch Linux
sudo pacman -S nodejs npm
`Create npm account: https://www.npmjs.com/signup
$3
macOS / Linux:
`bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
`Windows:
Download and run rustup-init.exe from https://rustup.rs/
All platforms:
After installation, restart your terminal and verify:
`bash
rustc --version
cargo --version
`Create crates.io account: https://crates.io/
Get login token: https://crates.io/me
$3
macOS:
`bash
Using Homebrew
brew install pythonmacOS usually comes with Python pre-installed
python3 --version
`Windows:
`bash
Using winget
winget install Python.Python.3.12Or download from python.org
`Linux:
`bash
Ubuntu/Debian
sudo apt update
sudo apt install python3 python3-pipFedora
sudo dnf install python3 python3-pipArch Linux
sudo pacman -S python python-pip
`Install publishing tools (all platforms):
`bash
pip install build twine
or
pip3 install build twine
`Create PyPI account: https://pypi.org/account/register/
Publishing Commands
$3
`bash
Login to npm (one time)
npm loginPublish
npm publish
`$3
`bash
Login to crates.io (one time)
cargo login Publish
cargo publish
`$3
pre
`bash
python3 -m venv .venv
source .venv/bin/activate
pip install build
pip install twine
``bash
Build the package
python -m buildLogin to PyPI (one time - creates ~/.pypirc)
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
You'll be prompted for username and password
Or use API token in ~/.pypirc:
[pypi]
username = __token__
password =
Build the package
python -m buildUpload to PyPI
twine upload dist/*
`Update Package Information
Before publishing, update the following in each file:
- package.json: Add your details if needed
- Cargo.toml: Update
authors field
- setup.py: Update author and author_email
- pyproject.toml: Update authors sectionVersion Updates
To publish a new version, update the version number in:
-
package.json - npm
- Cargo.toml - Cargo
- setup.py and pyproject.toml` - PyPIMIT