Skip to main content

Utilities that I use regularly

Project description

hopsa

Developer Guide

If you are new to using nbdev here are some useful pointers to get you started.

Install hopsa in Development mode

Using pip

Prefered method because nbdev assumes that you use pip.

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

# make changes under nbs/ directory
# ...

# compile to have changes apply to hop
$ nbdev_prepare

Using uv

The package manager uv has many advantages over pip, but is not the default for nbdev, so this approach might lead to some confusion.

Contrary to pip, uv installs the project in editable mode, such that changes to the source code are immediately reflected in the environment. uv sync and uv run both accept a --no-editable flag, which instructs uv to install the project in non-editable mode.

# make sure hop package is installed in development mode
$ uv sync

# make changes under nbs/ directory
# ...

# compile to have changes apply to hop
$ nbdev_prepare

Usage

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/Hopsakee/hopsa.git

or with uv

$ uv add git+https://github.com/Hopsakee/hopsa.git

or from pypi

With pip

$ pip install hopsa

or with uv

$ uv add hopsa

Documentation

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

How to use

Fill me in please! Don’t forget code examples:

1+1
2

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

hopsa-0.2.2.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

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

hopsa-0.2.2-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file hopsa-0.2.2.tar.gz.

File metadata

  • Download URL: hopsa-0.2.2.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for hopsa-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c6d7af9ec1545c0cb60f84f38961ea4dabeab8e0af0eb270da210069f4f8c4d7
MD5 123d9a6e3ee2b748829efa53892aad1c
BLAKE2b-256 dc3408337c0ebccf33b85f31b24ab303a2600c3aac6c7df1d9ee46446e661252

See more details on using hashes here.

File details

Details for the file hopsa-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: hopsa-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for hopsa-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e65a2a8d3d8600d5f0ed7960ded24a6d34e5bdca76d504349bdca7167abcc07
MD5 b6a1ddf094a32f09ec79a3a6e8fc1c71
BLAKE2b-256 14248fc2a63f0c90b3c9799612672cc6e21e8af5560bc26c7bb68bb3d5d8fe88

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