Skip to main content

cpus

Developer Guide

Setup

# create conda environment
$ mamba env create -f env.yml

# update conda environment
$ mamba env update -n cpus --file env.yml

Install

pip install -e .

# install from pypi
pip install cpus

nbdev

# activate conda environment
$ conda activate cpus

# make sure the cpus package is installed in development mode
$ pip install -e .

# make changes under nbs/ directory
# ...

# compile to have changes apply to the cpus package
$ nbdev_prepare

Publishing

# publish to pypi
$ nbdev_pypi

# publish to conda
$ nbdev_conda --build_args '-c conda-forge'
$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'

Usage

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/dsm-72/cpus.git

or from conda

$ conda install -c dsm-72 cpus

or from pypi

$ pip install cpus

Documentation

Documentation can be found hosted on GitHub repository pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.

Metadata

Release files for cpus 0.0.3

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

Source distribution (sdist)

Source distribution for cpus 0.0.3
File Size Uploaded
cpus-0.0.3.tar.gz 9.6 kB Details

Built distribution (wheel)

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

Total release size: 18.7 kB

Release files / cpus-0.0.3.tar.gz

Download URL cpus-0.0.3.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
125cde0d33803dc4cb9bf6157d66b41e37787171bf68fe399b3322d8b8169b01
BLAKE2b-256 checksum
How to use checksums
ee73d69262884604fa29bb18b7e9b9cc36631a4cb7e1c42bff75436915a462e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / cpus-0.0.3-py3-none-any.whl

Download URL cpus-0.0.3-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
322adf44fec156e5466b34246f9c981a366a6799ac959b4a0719d1516640b5d1
BLAKE2b-256 checksum
How to use checksums
d5db2401b51f97655c8c1cfb82f48957dfb304e6401e08dc34addbb207f873af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.3 This release

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