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.1.tar.gz (28.8 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.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fhy_core-0.0.1.tar.gz
  • Upload date:
  • Size: 28.8 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.1.tar.gz
Algorithm Hash digest
SHA256 3f3dd7fec52bf3ae3bfd41eea5f5632f2373cd19bbc5e401ee4f211381142124
MD5 402b35c02d713d1d49a54e01e8cfc515
BLAKE2b-256 cb4cd7efac5aa3210d7297487f53a5dad7e7a6faf7d29ba4d79d3b152a7649d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fhy_core-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c94e9619e0dbb08b18bc3a142b96e2ca8110032a84bd59c9c2dcaccce974a1f8
MD5 704751488bf197e4e862c7fa31fc3575
BLAKE2b-256 1f4506376121a9b85e4039a42271a4fe3cdf9cfb9a0337b229c2a53a0104f50d

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