Skip to main content

Utilities that I use frequently

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.3.1.tar.gz (12.3 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.3.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hopsa-0.3.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hopsa-0.3.1.tar.gz
Algorithm Hash digest
SHA256 b49be05224d8ab76cf65e8370599728cfe90a7c9bc6140dfe4cc04b70f6e17d5
MD5 7b0099696b32a66dfbe245ea563058c4
BLAKE2b-256 7276c51193cc3524cffaee2483f34ae8f0d5e0dd3921eb3c6173bf4077c49020

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hopsa-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hopsa-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51c652ef4373b346e1567b252d15c282b17a7bc4d30de4ed77badceca80cfba4
MD5 8615d730247645b227e5f74a84cdc662
BLAKE2b-256 c04b65eadbbcaa53d34fd7998aa0a946d74775ca7961961f04cddc505d7793d3

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