Last active
March 19, 2020 21:56
-
-
Save beckermr/9862deb8b1069e2543c318577c15739f to your computer and use it in GitHub Desktop.
conda forge graph getting started
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| git clone https://github.com/regro/cf-scripts.git | |
| pushd cf-scripts | |
| pip install --no-deps -e . | |
| popd | |
| git clone --depth=1 https://github.com/regro/cf-graph-countyfair.git | |
| cd cf-graph-countyfair | |
| # run the python script here or start your interpreter | |
| ipython |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # type this code in at the interpreter | |
| from conda_forge_tick.utils import load_graph | |
| gx = load_graph() | |
| # from here you can inspect the graph object | |
| print("# of nodes:", len(gx.nodes)) | |
| with gx.nodes['python']['payload'] as attrs: | |
| print('python node data:', attrs.data) |
Author
yup! let's move this discussion to that issue as well
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heee, finaly. Probably it was something with windows. by "harvesting code I sent", it's this regro/cf-scripts#842 right ?