Skip to main content

osier

/ˈōZHər/
Open source multi-objective energy system framework

status Build Status Documentation Status Binder

Installation

Method 1: PyPI

osier is available through PyPI. It may be installed with

python -m pip install osier

or by cloning this repository and building from source:

git clone git@github.com:arfc/osier.git  # requires ssh-keys
# or
git clone https://github.com/arfc/osier.git
cd osier
# for a basic installation
pip install .
# (Windows/Linux) to also install the documentation dependencies
pip install .[doc]
# (MacOS)
pip install .'[doc]'

Method 2: Conda/Mamba Environment

Although osier is not yet available on conda-forge, you may have a more consistent experience by installing osier via a conda environment.

git clone git@github.com:arfc/osier.git  # requires ssh-keys
mamba env create  # mamba and conda are interchangeable, here
mamba activate osier-env

Documentation

The documentation for osier can be viewed here. You can also build the docs locally with:

cd osier/docs
make html
cd build/html
# to serve the documentation
python -m http.server
Users attempting a local install need to make sure that they have `pandoc` installed.
Please visit [`pandoc`'s documentation](https://pandoc.org/installing.html) for 
instructions.

Examples

The examples can be found in the docs/source/examples/ directory. Alternatively, users can run the notebooks and experiment with osier through the Binder app.

Binder

Tests

osier's tests can be run by executing pytest in the top-level directory of osier.

The test package assumes the user has `coin-or-cbc` installed as the default solver. For Windows machines,
this may require some additional steps to install the solver. [Here](https://stackoverflow.com/questions/58868054/how-to-install-coincbc-using-conda-in-windows) is a helpful place to start.

Contributing

Contributions to osier are welcome. For details on how to make bug reports, pull requests, and other information, check the contributing page.

Credits

Some of the documentation infrastructure was inspired by and borrowed from the watts documentation.

Metadata

Release files for osier 0.4.2

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

Source distribution (sdist)

Source distribution for osier 0.4.2
File Size Uploaded
osier-0.4.2.tar.gz 40.5 kB Details

Built distribution (wheel)

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

Total release size: 76.8 kB

Release files / osier-0.4.2.tar.gz

Download URL osier-0.4.2.tar.gz
Size 40.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2a823b8f9a7ef9fa2edd8f5c912be180ade174e08583740087281a97ab553000
BLAKE2b-256 checksum
How to use checksums
18c7e574e4386cbeecb226ef27c8514d572cd87125e8617274d44a809320fd1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / osier-0.4.2-py3-none-any.whl

Download URL osier-0.4.2-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
467065bc424f28d291df6913463eb98d2ff57c106bb1483d43696a4e4d33b353
BLAKE2b-256 checksum
How to use checksums
15280302c4141f3e4e3a08a9e9bb28575edc3664546a20263a2b81b5be18bf0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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