Skip to main content

Core utilities for the FhY compiler infrastructure.

Project description

FhY Core

FhY Core is a collection of utilities for FhY and other parts of the compiler.

Utility Description
Identifier Unique naming class with a non-unique name hint and a unique ID.
Expression General expression represented as an AST with a parser and printer.
Constraint General logical constraint.
Parameter Real, integer, orginal, categorical, and permutation parameters.
General Utility - Stack General stack utility that wraps deque.
General Utility - POSET General partially ordered set utility represented as a directed graph.
General Utility - Lattice General lattice (order theory) utility represented with a POSET.
General Utility - Dictionary Utilities Additional dictionary helper functions.

Table of Contents

Install FhY Core from PyPi

Coming Soon

Build FhY Core from Source Code

  1. Clone the repository from GitHub.

    git clone https://github.com/actlab-fhy/FhY-core.git
    
  2. Create and prepare a Python virtual environment.

    cd FhY-core
    python -m venv .venv
    source .venv/bin/activate
    python -m pip install -U pip
    pip install setuptools wheel
    
  3. Install FhY.

    # Standard Installation
    pip install .
    
    # For contributors
    pip install ".[dev]"
    

Contributing - For Developers

Want to start contributing the FhY Core? Please take a look at our contribution guide

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

fhy_core-0.0.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

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

fhy_core-0.0.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file fhy_core-0.0.0.tar.gz.

File metadata

  • Download URL: fhy_core-0.0.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fhy_core-0.0.0.tar.gz
Algorithm Hash digest
SHA256 d70bfeb51fd5e093ea6f8a72e4ffa846b5085ace2c017b60f5bf7add5c707dd1
MD5 4acac26416ac5cc341061bf01a550ab8
BLAKE2b-256 225d22ca2307104eb9058e45c4590f60c1064d1f87756347a085fe2e2085db8c

See more details on using hashes here.

File details

Details for the file fhy_core-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: fhy_core-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fhy_core-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4041a92156b9b3c0f66a7f73a3b135d92a2787b4a512230fbe3c3f73d91d5e
MD5 13635ca068e57b965c7eeb476698a18d
BLAKE2b-256 b70ca8d2b18f0da8cd69dda0a9091b88938feea2c7116bff48df2e0cc8858920

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