Skip to content

Commit 79fdfcb

Browse files
committed
Initial commit
1 parent 6653d4a commit 79fdfcb

File tree

16 files changed

+565
-0
lines changed

16 files changed

+565
-0
lines changed

.copier-answers.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2+
_commit: 66fd52c
3+
_src_path: gh:schwallergroup/copier-liac-minimal
4+
author_email: [email protected]
5+
author_name: Alberic Vigne, Fane Shala; John Stewart
6+
github_org: albericvgn
7+
package_name: chembalancer
8+
project_name: ChemBalancer
9+
short_description: Chemical Equation Balancer

.github/workflows/test.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run tests
2+
on: push
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
python-version: ["3.10", "3.11"]
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set up Python ${{ matrix.python-version }}
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: ${{ matrix.python-version }}
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install tox tox-gh-actions
20+
- name: Test with tox
21+
run: tox

.gitignore

Lines changed: 248 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks,windows,macos
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,jupyternotebooks,windows,macos
3+
4+
### JupyterNotebooks ###
5+
# gitignore template for Jupyter Notebooks
6+
# website: http://jupyter.org/
7+
8+
.ipynb_checkpoints
9+
*/.ipynb_checkpoints/*
10+
11+
# IPython
12+
profile_default/
13+
ipython_config.py
14+
15+
# Remove previous ipynb_checkpoints
16+
# git rm -r .ipynb_checkpoints/
17+
18+
### macOS ###
19+
# General
20+
.DS_Store
21+
.AppleDouble
22+
.LSOverride
23+
24+
# Icon must end with two \r
25+
Icon
26+
27+
28+
# Thumbnails
29+
._*
30+
31+
# Files that might appear in the root of a volume
32+
.DocumentRevisions-V100
33+
.fseventsd
34+
.Spotlight-V100
35+
.TemporaryItems
36+
.Trashes
37+
.VolumeIcon.icns
38+
.com.apple.timemachine.donotpresent
39+
40+
# Directories potentially created on remote AFP share
41+
.AppleDB
42+
.AppleDesktop
43+
Network Trash Folder
44+
Temporary Items
45+
.apdisk
46+
47+
### macOS Patch ###
48+
# iCloud generated files
49+
*.icloud
50+
51+
### Python ###
52+
# Byte-compiled / optimized / DLL files
53+
__pycache__/
54+
*.py[cod]
55+
*$py.class
56+
57+
# C extensions
58+
*.so
59+
60+
# Distribution / packaging
61+
.Python
62+
build/
63+
develop-eggs/
64+
dist/
65+
downloads/
66+
eggs/
67+
.eggs/
68+
lib/
69+
lib64/
70+
parts/
71+
sdist/
72+
var/
73+
wheels/
74+
share/python-wheels/
75+
*.egg-info/
76+
.installed.cfg
77+
*.egg
78+
MANIFEST
79+
80+
# PyInstaller
81+
# Usually these files are written by a python script from a template
82+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
83+
*.manifest
84+
*.spec
85+
86+
# Installer logs
87+
pip-log.txt
88+
pip-delete-this-directory.txt
89+
90+
# Unit test / coverage reports
91+
htmlcov/
92+
.tox/
93+
.nox/
94+
.coverage
95+
.coverage.*
96+
.cache
97+
nosetests.xml
98+
coverage.xml
99+
*.cover
100+
*.py,cover
101+
.hypothesis/
102+
.pytest_cache/
103+
cover/
104+
105+
# Translations
106+
*.mo
107+
*.pot
108+
109+
# Django stuff:
110+
*.log
111+
local_settings.py
112+
db.sqlite3
113+
db.sqlite3-journal
114+
115+
# Flask stuff:
116+
instance/
117+
.webassets-cache
118+
119+
# Scrapy stuff:
120+
.scrapy
121+
122+
# Sphinx documentation
123+
docs/_build/
124+
125+
# PyBuilder
126+
.pybuilder/
127+
target/
128+
129+
# Jupyter Notebook
130+
131+
# IPython
132+
133+
# pyenv
134+
# For a library or package, you might want to ignore these files since the code is
135+
# intended to run in multiple environments; otherwise, check them in:
136+
# .python-version
137+
138+
# pipenv
139+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
140+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
141+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
142+
# install all needed dependencies.
143+
#Pipfile.lock
144+
145+
# poetry
146+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
147+
# This is especially recommended for binary packages to ensure reproducibility, and is more
148+
# commonly ignored for libraries.
149+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
150+
#poetry.lock
151+
152+
# pdm
153+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
154+
#pdm.lock
155+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
156+
# in version control.
157+
# https://pdm.fming.dev/#use-with-ide
158+
.pdm.toml
159+
160+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
161+
__pypackages__/
162+
163+
# Celery stuff
164+
celerybeat-schedule
165+
celerybeat.pid
166+
167+
# SageMath parsed files
168+
*.sage.py
169+
170+
# Environments
171+
.env
172+
.venv
173+
env/
174+
venv/
175+
ENV/
176+
env.bak/
177+
venv.bak/
178+
179+
# Spyder project settings
180+
.spyderproject
181+
.spyproject
182+
183+
# Rope project settings
184+
.ropeproject
185+
186+
# mkdocs documentation
187+
/site
188+
189+
# mypy
190+
.mypy_cache/
191+
.dmypy.json
192+
dmypy.json
193+
194+
# Pyre type checker
195+
.pyre/
196+
197+
# pytype static type analyzer
198+
.pytype/
199+
200+
# Cython debug symbols
201+
cython_debug/
202+
203+
# PyCharm
204+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
205+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
206+
# and can be added to the global gitignore or merged into this file. For a more nuclear
207+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
208+
#.idea/
209+
210+
### Python Patch ###
211+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
212+
poetry.toml
213+
214+
# ruff
215+
.ruff_cache/
216+
217+
# LSP config files
218+
pyrightconfig.json
219+
220+
### Windows ###
221+
# Windows thumbnail cache files
222+
Thumbs.db
223+
Thumbs.db:encryptable
224+
ehthumbs.db
225+
ehthumbs_vista.db
226+
227+
# Dump file
228+
*.stackdump
229+
230+
# Folder config file
231+
[Dd]esktop.ini
232+
233+
# Recycle Bin used on file shares
234+
$RECYCLE.BIN/
235+
236+
# Windows Installer files
237+
*.cab
238+
*.msi
239+
*.msix
240+
*.msm
241+
*.msp
242+
243+
# Windows shortcuts
244+
*.lnk
245+
246+
# End of https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks,windows,macos
247+
248+
docs/docs_out

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 by Alberic Vigne, Fane Shala; John Stewart <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

assets/banner.png

1.18 MB
Loading

assets/coverage-badge.svg

Lines changed: 1 addition & 0 deletions
Loading

data/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Data
2+
3+
Folder to place your data.

docs/source/_static/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)