-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.yml
114 lines (108 loc) · 3.23 KB
/
environment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# This file is to automatically configure your environment. It allows you to
# run the code with a single command without having to install anything
# (extra).
# First run: conda env create --file environment.yml
# If you change this file, run: conda env update --file environment.yml
# Remove with:
# conda remove --name snncompare --all
# Instructions for this networkx-to-lava-nc repository only. First time usage
# On Ubuntu (this is needed for lava-nc):
# sudo apt upgrade
# sudo apt full-upgrade
# yes | sudo apt install gcc
# For code structure visualisation:
# yes | sudo apt install graphviz
# Conda configuration settings. (Specify which modules/packages are installed.)
name: snncompare
channels:
- conda-forge
dependencies:
# Specify specific python version.
- python=3.10
# Install git without sudo if it is not installed.
- git
# Generate plots.
- matplotlib
# Pre-commit packages for code quality:
# Run python tests.
- pytest-cov
# Turns relative import paths into absolute import paths.
- absolufy-imports
# Auto format Python code to make it flake8 compliant.
- autoflake
# Scan Python code for security issues.
- bandit
# Code formatting compliance.
- black
# Correct code misspellings.
- codespell
# Verify percentage of code that has at least 1 test.
- coverage
# Show graph plots live in browser.
- dash
# Auto formats the Python documentation written in the code.
- docformatter
# Auto generate docstrings.
- flake8
# Create gif of SNN behaviour.
- imageio
# Auto sort the import statements.
- isort
# Auto format Markdown files.
- mdformat
# Auto check static typing.
- mypy
# Run graph software quickly.
# Lava depends on networkx 2.8.7
- networkx>=2.8.7
# used to visualise dash plots.
- pandas
# Auto generate documentation.
- pdoc3
# Another static type checker for python like mypy.
- pyright
# Include GitHub pre-commit hook.
- pre-commit
# Visualise the structure of the code based on a command.
- pycallgraph2
# Automatically upgrades Python syntax to the new Python version syntax.
- pyupgrade
# Auto generate docstrings.
- pyment
# Auto check programming style aspects.
- pylint
# Used to visualise dash plots
- seaborn
# Enable publishing the pip package.
- twine
# Ensure the python function arguments are verified at runtime.
- typeguard
# Enable creating the pip package.
- setuptools
- wheel
# pip packages:
- pip
- pip:
# Run pip install on .tar.gz file in GitHub repository (For lava-nc only).
#- https://github.com/lava-nc/lava/releases/download/v0.3.0/lava-nc-0.3.0.tar.gz
#- https://github.com/lava-nc/lava/releases/download/v0.5.0/lava-nc-0.5.0.tar.gz
- https://github.com/a-t-0/lava/archive/refs/tags/v0.5.1.tar.gz
# Show table with radiated neuron failure modes.
- dash-bootstrap-components
# Install visualisation tool.
- dash-daq
# Support parsing Json files.
- jsons
# Visualise dash plots.
- kaleido
# Seems to be an autoformatter like black, but installed using npm instead of pip.
- prettier
# Tag files using Python.
- pytaggit
#- pipreqs
# Allow for auto generation of type-hints during runtime.
- pyannotate
# Time function durations.
- customshowme
# Create boxplots.
- simplt