Skip to main content

Add static script_dir() method to Path

Project description

# graphing

This Python library provides several graphing-related utilities that can be used to apply graph theory concepts and graph algorithms to a variety of problems.

## Getting Started This library is available for use on PyPI here: [https://pypi.org/project/graphing/](https://pypi.org/project/graphing/)

For local development, do the following. - Clone this repository. - Set up and activate a Python3 virtual environment using conda. More info here: [https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands) - Navigate to the graphing repo. - Run the command: python3 setup.py install to install the package in the conda virtual environment. - As development progresses, run the above command to update the build in the conda virtual environment.

## Sample Code

Try to run the following sample code:

> from graphing.special_graphs.neural_trigraph.path_cover import min_cover_trigraph > > from graphing.special_graphs.neural_trigraph.rand_graph import * > ## Generate a random neural trigraph. Here, it is two sets of edges between layers 1 and 2 (edges1) and layers 2 and 3 (edges2) > edges1, edges2 = neur_trig_edges(7, 3, 7, shuffle_p=.05) > ## Find the full-path cover for this neural trigraph. > paths1 = min_cover_trigraph(edges1, edges2) > > print(paths1)

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

graphing-0.0.26.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

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

graphing-0.0.26-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file graphing-0.0.26.tar.gz.

File metadata

  • Download URL: graphing-0.0.26.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for graphing-0.0.26.tar.gz
Algorithm Hash digest
SHA256 cb245e31bb933362c4709a0c2814becf073d60a6a7044b6b7f885e39e7bdc34b
MD5 9ce4fb2ab1fe91e5cb11c7f63fd1d111
BLAKE2b-256 8830b95833ac21a1cae5f695361e48a2275bef9bac34c7d1a9488bbd97618e66

See more details on using hashes here.

File details

Details for the file graphing-0.0.26-py3-none-any.whl.

File metadata

  • Download URL: graphing-0.0.26-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for graphing-0.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 f55f6088ba9f95bbdfdfa8b63fcb513dca39452925796dc992fdbed5f1421905
MD5 b7d0cfa6cfedc0709bc935d94d086a21
BLAKE2b-256 9caf7cb538edd3daf2c6a400838657d0f3decd48f33154a7dcf814ee5ff9f558

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