Skip to main content

Graph theoretic classes and helper functions.

Project description

Graphworks

Python package

A Python module for efficient graph theoretic programming

NOTE This is a very old project I created for my undergrad capstone project. It's not in a working state at the moment, but I'm bringing it back to life.

Usage

TODO

Development

Requirements

  • Python 3.9+
  • virtualenv
  • numpy
  • graphviz

Install the required packages

pip install virtualenv
virtualenv env

Start the virtualenv

source ./env/bin/activate

You can deactivate the virtualenv with

deactivate

Lastly, install the required libraries

pip install -r requirements.txt

Building the package

  • Update the version number in setup.py
  • Run python setup.py sdist bdist_wheel
  • Run twine check dist/*
  • Run twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Diagnostics

  • Run the unit tests: python -m unittest discover tests '*_tests.py'
  • Run unit test coverage: coverage run --source=graphworks/ -m unittest discover tests '*_tests.py'
  • Generate test coverage reports (either works):
    • coverage report --omit="*/test*,*/venv/*"
    • coverage html --omit="*/test*,*/venv/*"

TODO

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

graphworks-0.1.4.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

graphworks-0.1.4-py3-none-any.whl (16.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page