Skip to main content

cpus

Project description

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.

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

cpus-0.0.3.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpus-0.0.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file cpus-0.0.3.tar.gz.

File metadata

  • Download URL: cpus-0.0.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cpus-0.0.3.tar.gz
Algorithm Hash digest
SHA256 125cde0d33803dc4cb9bf6157d66b41e37787171bf68fe399b3322d8b8169b01
MD5 db8030dbafb38dd8ada4cd48ff3bf3e9
BLAKE2b-256 ee73d69262884604fa29bb18b7e9b9cc36631a4cb7e1c42bff75436915a462e2

See more details on using hashes here.

File details

Details for the file cpus-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cpus-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cpus-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 322adf44fec156e5466b34246f9c981a366a6799ac959b4a0719d1516640b5d1
MD5 2671a55f088d87c167a8049249696684
BLAKE2b-256 d5db2401b51f97655c8c1cfb82f48957dfb304e6401e08dc34addbb207f873af

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