Francy Widget
Francy Python adapter for representing graphs in Jupyter
Based on Francy http://github.com/gap-packages/francy
Installation
Local install from source
Download the source from the git repository:
$ git clone https://github.com/zerline/francy-widget.git
Change to the root directory and run:
$ pip install --upgrade --no-index -v .
For convenience this package contains a [makefile](makefile) with this and other often used commands. Should you wish too, you can use the shorthand:
$ make install
# For JupyterLab jupyter lab build
# For Notebook jupyter nbextension enable –py –sys-prefix jupyter_francy
Usage
Once the package is installed, you can use it in Jupyter Notebook.
from francy_widget import FrancyWidget import networkx g = network.PathGraph(3) w = FrancyWidget(g) w
See the demo notebook.
Sage Usage
This package is usable also within the Sagemath environment:
See the Sage example notebook.
Tests
Once the package is installed, you can use the Python test system configured in setup.py to run the tests:
$ python -m doctest
Documentation
The documentation of the package can be generated using Sphinx installation:
$ cd docs $ make html
Thanks
All my thanks to Manuel Machado Martins for his excellent Francy package, to Sebastian Gutsche, Sylvain Corlay, Claus Fieker and Nicolas Thiéry for various help at different stages.
Metadata
Release files for francy-widget 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| francy-widget-0.3.0.tar.gz | 82.5 kB | Without provenance | Details for francy-widget-0.3.0.tar.gz |
Release files / francy-widget-0.3.0.tar.gz
| Download URL | francy-widget-0.3.0.tar.gz |
|---|---|
| Size | 82.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c71212cd96a6c76638022eb7de039e09a22815ec0a3dd607e3d760a05b048b87
|
|
BLAKE2b-256 checksum How to use checksums |
7c901b64190824f85f1c7309d40da058885bef3454258f734ac986cea56f59e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
|
Security for francy-widget 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.