Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 908 Bytes

File metadata and controls

38 lines (27 loc) · 908 Bytes

BasisCommon.jl

CI

BasisCommon is a collection of modules providing essential functionality such as session management, HTTP request handling, cost estimation, external variable retrieval, and other utilities that can be commonly used across various Julia projects.

Installation

If not already done, add the package (once it's registered or from a specific repo):

using Pkg
Pkg.add("BasisCommon")

Usage Example

using BasisCommon

Use Session features, for example:

session_state = BasisCommon.Session.empty_sessionstate()

Or retrieve environment-based variables with the ExoVars module:

using BasisCommon.ExoVars
with_env_handler() do
    value = get_exo_value("MY_VAR")
    println(value)
end
``