mnt.designer 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mnt_designer-0.1.0/.github/dependabot.yml +25 -0
- mnt_designer-0.1.0/.github/release-drafter.yml +49 -0
- mnt_designer-0.1.0/.github/workflows/codeql.yml +44 -0
- mnt_designer-0.1.0/.github/workflows/deploy.yml +74 -0
- mnt_designer-0.1.0/.github/workflows/release-drafter.yml +24 -0
- mnt_designer-0.1.0/.gitignore +267 -0
- mnt_designer-0.1.0/.pre-commit-config.yaml +92 -0
- mnt_designer-0.1.0/LICENSE +21 -0
- mnt_designer-0.1.0/MANIFEST.in +2 -0
- mnt_designer-0.1.0/PKG-INFO +60 -0
- mnt_designer-0.1.0/README.md +0 -0
- mnt_designer-0.1.0/img/mnt_dark.svg +173 -0
- mnt_designer-0.1.0/img/mnt_light.svg +174 -0
- mnt_designer-0.1.0/pyproject.toml +152 -0
- mnt_designer-0.1.0/setup.cfg +4 -0
- mnt_designer-0.1.0/setup.py +3 -0
- mnt_designer-0.1.0/src/mnt/__init__.py +0 -0
- mnt_designer-0.1.0/src/mnt/designer/app.py +1815 -0
- mnt_designer-0.1.0/src/mnt/designer/static/css/styles.css +59 -0
- mnt_designer-0.1.0/src/mnt/designer/static/favicon.ico +0 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/AND_DIN.svg +8 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/BUFC.svg +11 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/BUFK.svg +11 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/BUF_DIN.svg +7 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/INV_DIN.svg +8 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/NOR_DIN.svg +9 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/OR_DIN.svg +8 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/XNOR_DIN.svg +12 -0
- mnt_designer-0.1.0/src/mnt/designer/static/gates/XOR_DIN.svg +11 -0
- mnt_designer-0.1.0/src/mnt/designer/static/js/script.js +2368 -0
- mnt_designer-0.1.0/src/mnt/designer/static/mnt_dark.svg +173 -0
- mnt_designer-0.1.0/src/mnt/designer/static/tum_logo.svg +12 -0
- mnt_designer-0.1.0/src/mnt/designer/templates/index.html +1348 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/PKG-INFO +60 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/SOURCES.txt +37 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/dependency_links.txt +1 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/entry_points.txt +2 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/requires.txt +14 -0
- mnt_designer-0.1.0/src/mnt.designer.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "pip" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "weekly"
|
|
12
|
+
day: "friday"
|
|
13
|
+
time: "06:00"
|
|
14
|
+
timezone: "Europe/Berlin"
|
|
15
|
+
assignees:
|
|
16
|
+
- "simon1hofmann"
|
|
17
|
+
- package-ecosystem: "github-actions"
|
|
18
|
+
directory: "/"
|
|
19
|
+
schedule:
|
|
20
|
+
interval: "weekly"
|
|
21
|
+
day: "friday"
|
|
22
|
+
time: "06:00"
|
|
23
|
+
timezone: "Europe/Berlin"
|
|
24
|
+
assignees:
|
|
25
|
+
- "simon1hofmann"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name-template: "MNTDesigner $RESOLVED_VERSION Release"
|
|
2
|
+
tag-template: "v$RESOLVED_VERSION"
|
|
3
|
+
categories:
|
|
4
|
+
- title: "🚀 Features and Enhancements"
|
|
5
|
+
labels:
|
|
6
|
+
- "feature"
|
|
7
|
+
- "usability"
|
|
8
|
+
- title: "🐛 Bug Fixes"
|
|
9
|
+
labels:
|
|
10
|
+
- "bug"
|
|
11
|
+
- title: "📄 Documentation"
|
|
12
|
+
labels:
|
|
13
|
+
- "documentation"
|
|
14
|
+
- title: "🤖 CI"
|
|
15
|
+
labels:
|
|
16
|
+
- "continuous integration"
|
|
17
|
+
- title: "📦 Packaging"
|
|
18
|
+
labels:
|
|
19
|
+
- "packaging"
|
|
20
|
+
- title: "⬆️ Dependencies"
|
|
21
|
+
collapse-after: 5
|
|
22
|
+
labels:
|
|
23
|
+
- "dependencies"
|
|
24
|
+
- "submodules"
|
|
25
|
+
- "github_actions"
|
|
26
|
+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
|
27
|
+
change-title-escapes: '\<*_&'
|
|
28
|
+
version-resolver:
|
|
29
|
+
major:
|
|
30
|
+
labels:
|
|
31
|
+
- "major"
|
|
32
|
+
minor:
|
|
33
|
+
labels:
|
|
34
|
+
- "minor"
|
|
35
|
+
patch:
|
|
36
|
+
labels:
|
|
37
|
+
- "patch"
|
|
38
|
+
default: patch
|
|
39
|
+
autolabeler:
|
|
40
|
+
- label: "dependencies"
|
|
41
|
+
title:
|
|
42
|
+
- "/update pre-commit hooks/i"
|
|
43
|
+
|
|
44
|
+
template: |
|
|
45
|
+
## What Changed 👀
|
|
46
|
+
|
|
47
|
+
$CHANGES
|
|
48
|
+
|
|
49
|
+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: "CodeQL"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
pull_request:
|
|
7
|
+
schedule:
|
|
8
|
+
- cron: "7 3 * * 5"
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
analyze:
|
|
16
|
+
name: Analyze
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
permissions:
|
|
19
|
+
actions: read
|
|
20
|
+
contents: read
|
|
21
|
+
security-events: write
|
|
22
|
+
|
|
23
|
+
strategy:
|
|
24
|
+
fail-fast: false
|
|
25
|
+
matrix:
|
|
26
|
+
language: [javascript, python]
|
|
27
|
+
|
|
28
|
+
steps:
|
|
29
|
+
- name: Checkout
|
|
30
|
+
uses: actions/checkout@v4
|
|
31
|
+
|
|
32
|
+
- name: Initialize CodeQL
|
|
33
|
+
uses: github/codeql-action/init@v3
|
|
34
|
+
with:
|
|
35
|
+
languages: ${{ matrix.language }}
|
|
36
|
+
queries: +security-and-quality
|
|
37
|
+
|
|
38
|
+
- name: Autobuild
|
|
39
|
+
uses: github/codeql-action/autobuild@v3
|
|
40
|
+
|
|
41
|
+
- name: Perform CodeQL Analysis
|
|
42
|
+
uses: github/codeql-action/analyze@v3
|
|
43
|
+
with:
|
|
44
|
+
category: "/language:${{ matrix.language }}"
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: Deploy to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
pull_request:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
env:
|
|
16
|
+
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
|
17
|
+
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
build_wheel:
|
|
21
|
+
name: Build wheel
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
with:
|
|
26
|
+
fetch-depth: 0
|
|
27
|
+
- uses: actions/setup-python@v5
|
|
28
|
+
with:
|
|
29
|
+
python-version: "3.9"
|
|
30
|
+
name: Install Python
|
|
31
|
+
- name: Build wheel
|
|
32
|
+
run: pipx run build --wheel
|
|
33
|
+
- name: Install wheel
|
|
34
|
+
run: python -m pip install --verbose dist/*.whl
|
|
35
|
+
- uses: actions/upload-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: "artifact-wheel"
|
|
38
|
+
path: dist/*.whl
|
|
39
|
+
|
|
40
|
+
build_sdist:
|
|
41
|
+
name: Build source distribution
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
with:
|
|
46
|
+
fetch-depth: 0
|
|
47
|
+
- uses: actions/setup-python@v5
|
|
48
|
+
with:
|
|
49
|
+
python-version: "3.9"
|
|
50
|
+
name: Install Python
|
|
51
|
+
- name: Build sdist
|
|
52
|
+
run: pipx run build --sdist
|
|
53
|
+
- name: Install sdist
|
|
54
|
+
run: python -m pip install --verbose dist/*.tar.gz
|
|
55
|
+
- uses: actions/upload-artifact@v4
|
|
56
|
+
with:
|
|
57
|
+
path: dist/*.tar.gz
|
|
58
|
+
|
|
59
|
+
upload_pypi:
|
|
60
|
+
if: github.event_name == 'release' && github.event.action == 'published'
|
|
61
|
+
name: 🚀 Deploy to PyPI
|
|
62
|
+
runs-on: ubuntu-latest
|
|
63
|
+
environment:
|
|
64
|
+
name: pypi
|
|
65
|
+
url: https://pypi.org/p/mnt.designer
|
|
66
|
+
permissions:
|
|
67
|
+
id-token: write
|
|
68
|
+
needs: [build_wheel, build_sdist]
|
|
69
|
+
steps:
|
|
70
|
+
- uses: actions/download-artifact@v4
|
|
71
|
+
with:
|
|
72
|
+
name: artifact
|
|
73
|
+
path: dist
|
|
74
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Release Drafter
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
types: [opened, reopened, synchronize]
|
|
9
|
+
pull_request_target:
|
|
10
|
+
types: [opened, reopened, synchronize]
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
update_release_draft:
|
|
17
|
+
permissions:
|
|
18
|
+
contents: write
|
|
19
|
+
pull-requests: write
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- uses: release-drafter/release-drafter@v6
|
|
23
|
+
env:
|
|
24
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
|
|
2
|
+
# Created by https://www.toptal.com/developers/gitignore/api/python,pycharm,jupyternotebooks
|
|
3
|
+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,pycharm,jupyternotebooks
|
|
4
|
+
|
|
5
|
+
### Manually added
|
|
6
|
+
.idea/*
|
|
7
|
+
*.DS_Store
|
|
8
|
+
*hist_output/*png
|
|
9
|
+
|
|
10
|
+
### JupyterNotebooks ###
|
|
11
|
+
# gitignore template for Jupyter Notebooks
|
|
12
|
+
# website: http://jupyter.org/
|
|
13
|
+
|
|
14
|
+
.ipynb_checkpoints
|
|
15
|
+
*/.ipynb_checkpoints/*
|
|
16
|
+
|
|
17
|
+
# IPython
|
|
18
|
+
profile_default/
|
|
19
|
+
ipython_config.py
|
|
20
|
+
|
|
21
|
+
# Remove previous ipynb_checkpoints
|
|
22
|
+
# git rm -r .ipynb_checkpoints/
|
|
23
|
+
|
|
24
|
+
### PyCharm ###
|
|
25
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
26
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
27
|
+
|
|
28
|
+
# User-specific stuff
|
|
29
|
+
.idea/**/workspace.xml
|
|
30
|
+
.idea/**/tasks.xml
|
|
31
|
+
.idea/**/usage.statistics.xml
|
|
32
|
+
.idea/**/dictionaries
|
|
33
|
+
.idea/**/shelf
|
|
34
|
+
|
|
35
|
+
# AWS User-specific
|
|
36
|
+
.idea/**/aws.xml
|
|
37
|
+
|
|
38
|
+
# Generated files
|
|
39
|
+
.idea/**/contentModel.xml
|
|
40
|
+
|
|
41
|
+
# Sensitive or high-churn files
|
|
42
|
+
.idea/**/dataSources/
|
|
43
|
+
.idea/**/dataSources.ids
|
|
44
|
+
.idea/**/dataSources.local.xml
|
|
45
|
+
.idea/**/sqlDataSources.xml
|
|
46
|
+
.idea/**/dynamic.xml
|
|
47
|
+
.idea/**/uiDesigner.xml
|
|
48
|
+
.idea/**/dbnavigator.xml
|
|
49
|
+
|
|
50
|
+
# Gradle
|
|
51
|
+
.idea/**/gradle.xml
|
|
52
|
+
.idea/**/libraries
|
|
53
|
+
|
|
54
|
+
# Gradle and Maven with auto-import
|
|
55
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
56
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
57
|
+
# auto-import.
|
|
58
|
+
# .idea/artifacts
|
|
59
|
+
# .idea/compiler.xml
|
|
60
|
+
# .idea/jarRepositories.xml
|
|
61
|
+
# .idea/modules.xml
|
|
62
|
+
# .idea/*.iml
|
|
63
|
+
# .idea/modules
|
|
64
|
+
# *.iml
|
|
65
|
+
# *.ipr
|
|
66
|
+
|
|
67
|
+
# CMake
|
|
68
|
+
cmake-build-*/
|
|
69
|
+
|
|
70
|
+
# Mongo Explorer plugin
|
|
71
|
+
.idea/**/mongoSettings.xml
|
|
72
|
+
|
|
73
|
+
# File-based project format
|
|
74
|
+
*.iws
|
|
75
|
+
|
|
76
|
+
# IntelliJ
|
|
77
|
+
out/
|
|
78
|
+
|
|
79
|
+
# mpeltonen/sbt-idea plugin
|
|
80
|
+
.idea_modules/
|
|
81
|
+
|
|
82
|
+
# JIRA plugin
|
|
83
|
+
atlassian-ide-plugin.xml
|
|
84
|
+
|
|
85
|
+
# Cursive Clojure plugin
|
|
86
|
+
.idea/replstate.xml
|
|
87
|
+
|
|
88
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
89
|
+
com_crashlytics_export_strings.xml
|
|
90
|
+
crashlytics.properties
|
|
91
|
+
crashlytics-build.properties
|
|
92
|
+
fabric.properties
|
|
93
|
+
|
|
94
|
+
# Editor-based Rest Client
|
|
95
|
+
.idea/httpRequests
|
|
96
|
+
|
|
97
|
+
# Android studio 3.1+ serialized cache file
|
|
98
|
+
.idea/caches/build_file_checksums.ser
|
|
99
|
+
|
|
100
|
+
### PyCharm Patch ###
|
|
101
|
+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
102
|
+
|
|
103
|
+
# *.iml
|
|
104
|
+
# modules.xml
|
|
105
|
+
# .idea/misc.xml
|
|
106
|
+
# *.ipr
|
|
107
|
+
|
|
108
|
+
# Sonarlint plugin
|
|
109
|
+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
|
|
110
|
+
.idea/**/sonarlint/
|
|
111
|
+
|
|
112
|
+
# SonarQube Plugin
|
|
113
|
+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
|
|
114
|
+
.idea/**/sonarIssues.xml
|
|
115
|
+
|
|
116
|
+
# Markdown Navigator plugin
|
|
117
|
+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
|
|
118
|
+
.idea/**/markdown-navigator.xml
|
|
119
|
+
.idea/**/markdown-navigator-enh.xml
|
|
120
|
+
.idea/**/markdown-navigator/
|
|
121
|
+
|
|
122
|
+
# Cache file creation bug
|
|
123
|
+
# See https://youtrack.jetbrains.com/issue/JBR-2257
|
|
124
|
+
.idea/$CACHE_FILE$
|
|
125
|
+
|
|
126
|
+
# CodeStream plugin
|
|
127
|
+
# https://plugins.jetbrains.com/plugin/12206-codestream
|
|
128
|
+
.idea/codestream.xml
|
|
129
|
+
|
|
130
|
+
### Python ###
|
|
131
|
+
# Byte-compiled / optimized / DLL files
|
|
132
|
+
__pycache__/
|
|
133
|
+
*.py[cod]
|
|
134
|
+
*$py.class
|
|
135
|
+
|
|
136
|
+
# C extensions
|
|
137
|
+
*.so
|
|
138
|
+
|
|
139
|
+
# Distribution / packaging
|
|
140
|
+
.Python
|
|
141
|
+
build/
|
|
142
|
+
develop-eggs/
|
|
143
|
+
dist/
|
|
144
|
+
downloads/
|
|
145
|
+
eggs/
|
|
146
|
+
.eggs/
|
|
147
|
+
lib/
|
|
148
|
+
lib64/
|
|
149
|
+
parts/
|
|
150
|
+
sdist/
|
|
151
|
+
var/
|
|
152
|
+
wheels/
|
|
153
|
+
share/python-wheels/
|
|
154
|
+
*.egg-info/
|
|
155
|
+
.installed.cfg
|
|
156
|
+
*.egg
|
|
157
|
+
MANIFEST
|
|
158
|
+
|
|
159
|
+
# PyInstaller
|
|
160
|
+
# Usually these files are written by a python script from a template
|
|
161
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
162
|
+
*.manifest
|
|
163
|
+
*.spec
|
|
164
|
+
|
|
165
|
+
# Installer logs
|
|
166
|
+
pip-log.txt
|
|
167
|
+
pip-delete-this-directory.txt
|
|
168
|
+
|
|
169
|
+
# Unit test / coverage reports
|
|
170
|
+
htmlcov/
|
|
171
|
+
.tox/
|
|
172
|
+
.nox/
|
|
173
|
+
.coverage
|
|
174
|
+
.coverage.*
|
|
175
|
+
.cache
|
|
176
|
+
nosetests.xml
|
|
177
|
+
coverage.xml
|
|
178
|
+
*.cover
|
|
179
|
+
*.py,cover
|
|
180
|
+
.hypothesis/
|
|
181
|
+
.pytest_cache/
|
|
182
|
+
cover/
|
|
183
|
+
|
|
184
|
+
# Translations
|
|
185
|
+
*.mo
|
|
186
|
+
*.pot
|
|
187
|
+
|
|
188
|
+
# Django stuff:
|
|
189
|
+
*.log
|
|
190
|
+
local_settings.py
|
|
191
|
+
db.sqlite3
|
|
192
|
+
db.sqlite3-journal
|
|
193
|
+
|
|
194
|
+
# Flask stuff:
|
|
195
|
+
instance/
|
|
196
|
+
.webassets-cache
|
|
197
|
+
|
|
198
|
+
# Scrapy stuff:
|
|
199
|
+
.scrapy
|
|
200
|
+
|
|
201
|
+
# Sphinx documentation
|
|
202
|
+
docs/_build/
|
|
203
|
+
|
|
204
|
+
# PyBuilder
|
|
205
|
+
.pybuilder/
|
|
206
|
+
target/
|
|
207
|
+
|
|
208
|
+
# Jupyter Notebook
|
|
209
|
+
|
|
210
|
+
# IPython
|
|
211
|
+
|
|
212
|
+
# pyenv
|
|
213
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
214
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
215
|
+
# .python-version
|
|
216
|
+
|
|
217
|
+
# pipenv
|
|
218
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
219
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
220
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
221
|
+
# install all needed dependencies.
|
|
222
|
+
#Pipfile.lock
|
|
223
|
+
|
|
224
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
225
|
+
__pypackages__/
|
|
226
|
+
|
|
227
|
+
# Celery stuff
|
|
228
|
+
celerybeat-schedule
|
|
229
|
+
celerybeat.pid
|
|
230
|
+
|
|
231
|
+
# SageMath parsed files
|
|
232
|
+
*.sage.py
|
|
233
|
+
|
|
234
|
+
# Environments
|
|
235
|
+
.env
|
|
236
|
+
.venv
|
|
237
|
+
env/
|
|
238
|
+
venv/
|
|
239
|
+
ENV/
|
|
240
|
+
env.bak/
|
|
241
|
+
venv.bak/
|
|
242
|
+
|
|
243
|
+
# Spyder project settings
|
|
244
|
+
.spyderproject
|
|
245
|
+
.spyproject
|
|
246
|
+
|
|
247
|
+
# Rope project settings
|
|
248
|
+
.ropeproject
|
|
249
|
+
|
|
250
|
+
# mkdocs documentation
|
|
251
|
+
/site
|
|
252
|
+
|
|
253
|
+
# mypy
|
|
254
|
+
.mypy_cache/
|
|
255
|
+
.dmypy.json
|
|
256
|
+
dmypy.json
|
|
257
|
+
|
|
258
|
+
# Pyre type checker
|
|
259
|
+
.pyre/
|
|
260
|
+
|
|
261
|
+
# pytype static type analyzer
|
|
262
|
+
.pytype/
|
|
263
|
+
|
|
264
|
+
# Cython debug symbols
|
|
265
|
+
cython_debug/
|
|
266
|
+
|
|
267
|
+
# End of https://www.toptal.com/developers/gitignore/api/python,pycharm,jupyternotebooks
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# To run all pre-commit checks, use:
|
|
2
|
+
#
|
|
3
|
+
# pre-commit run -a
|
|
4
|
+
#
|
|
5
|
+
# To install pre-commit hooks that run every time you commit:
|
|
6
|
+
#
|
|
7
|
+
# pre-commit install
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
ci:
|
|
11
|
+
autoupdate_commit_msg: "⬆️🪝 update pre-commit hooks"
|
|
12
|
+
autofix_commit_msg: "🎨 pre-commit fixes"
|
|
13
|
+
skip: [mypy]
|
|
14
|
+
|
|
15
|
+
repos:
|
|
16
|
+
# Standard hooks
|
|
17
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
18
|
+
rev: "v4.5.0"
|
|
19
|
+
hooks:
|
|
20
|
+
- id: check-added-large-files
|
|
21
|
+
- id: check-case-conflict
|
|
22
|
+
- id: check-docstring-first
|
|
23
|
+
- id: check-merge-conflict
|
|
24
|
+
- id: check-toml
|
|
25
|
+
- id: check-yaml
|
|
26
|
+
- id: debug-statements
|
|
27
|
+
- id: end-of-file-fixer
|
|
28
|
+
- id: mixed-line-ending
|
|
29
|
+
- id: trailing-whitespace
|
|
30
|
+
|
|
31
|
+
# Handling unwanted unicode characters
|
|
32
|
+
- repo: https://github.com/sirosen/texthooks
|
|
33
|
+
rev: "0.6.2"
|
|
34
|
+
hooks:
|
|
35
|
+
- id: fix-ligatures
|
|
36
|
+
- id: fix-smartquotes
|
|
37
|
+
exclude: "mnt/bench/templates/legal.html"
|
|
38
|
+
|
|
39
|
+
# Python linting using ruff
|
|
40
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
41
|
+
rev: v0.1.3
|
|
42
|
+
hooks:
|
|
43
|
+
#- id: ruff
|
|
44
|
+
# args: ["--fix", "--show-fixes"]
|
|
45
|
+
- id: ruff-format
|
|
46
|
+
|
|
47
|
+
# Also run Black on examples in the documentation
|
|
48
|
+
- repo: https://github.com/asottile/blacken-docs
|
|
49
|
+
rev: "1.16.0"
|
|
50
|
+
hooks:
|
|
51
|
+
- id: blacken-docs
|
|
52
|
+
additional_dependencies: [black==23.*]
|
|
53
|
+
|
|
54
|
+
# Clean jupyter notebooks
|
|
55
|
+
- repo: https://github.com/srstevenson/nb-clean
|
|
56
|
+
rev: "3.1.0"
|
|
57
|
+
hooks:
|
|
58
|
+
- id: nb-clean
|
|
59
|
+
# Check for spelling
|
|
60
|
+
- repo: https://github.com/codespell-project/codespell
|
|
61
|
+
rev: "v2.2.6"
|
|
62
|
+
hooks:
|
|
63
|
+
- id: codespell
|
|
64
|
+
args: ["-L", "wille,linz"]
|
|
65
|
+
exclude: "mnt/bench/templates/legal.html"
|
|
66
|
+
|
|
67
|
+
# Format configuration files with prettier
|
|
68
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
69
|
+
rev: "v3.0.3"
|
|
70
|
+
hooks:
|
|
71
|
+
- id: prettier
|
|
72
|
+
types_or: [yaml, markdown, html, css, javascript, json]
|
|
73
|
+
|
|
74
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
75
|
+
rev: v0.1.1
|
|
76
|
+
hooks:
|
|
77
|
+
- id: ruff
|
|
78
|
+
args: ["--fix", "--show-fixes"]
|
|
79
|
+
|
|
80
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
81
|
+
rev: v1.6.1
|
|
82
|
+
hooks:
|
|
83
|
+
- id: mypy
|
|
84
|
+
files: ^(src|setup.py)
|
|
85
|
+
args: []
|
|
86
|
+
additional_dependencies:
|
|
87
|
+
- importlib_resources
|
|
88
|
+
- pytest
|
|
89
|
+
- types-setuptools
|
|
90
|
+
- types-requests
|
|
91
|
+
- types-tqdm
|
|
92
|
+
- types-flask
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Simon Hofmann and Robert Wille
|
|
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.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: mnt.designer
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MNT Designer - An MNT tool for designing FCN circuits
|
|
5
|
+
Author-email: Simon Hofmann <simon.t.hofmann@tum.de>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2023 Simon Hofmann and Robert Wille
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/cda-tum/mntdesigner
|
|
29
|
+
Project-URL: Bug Tracker, https://github.com/cda-tum/mntdesigner/issues
|
|
30
|
+
Project-URL: Discussions, https://github.com/cda-tum/mntdesigner/discussions
|
|
31
|
+
Project-URL: Research, https://www.cda.cit.tum.de/research/nanotech/
|
|
32
|
+
Keywords: MNT,field-coupled nanocomputing,design
|
|
33
|
+
Classifier: Development Status :: 4 - Beta
|
|
34
|
+
Classifier: Intended Audience :: Developers
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
37
|
+
Classifier: Operating System :: MacOS
|
|
38
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
39
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
+
Classifier: Intended Audience :: Science/Research
|
|
45
|
+
Classifier: Natural Language :: English
|
|
46
|
+
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
|
|
47
|
+
Requires-Python: >=3.9
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
49
|
+
License-File: LICENSE
|
|
50
|
+
Requires-Dist: flask>=2.0.0
|
|
51
|
+
Requires-Dist: packaging>=21.0
|
|
52
|
+
Requires-Dist: requests>=2.31.0
|
|
53
|
+
Requires-Dist: mnt.pyfiction>=0.6.8
|
|
54
|
+
Provides-Extra: test
|
|
55
|
+
Requires-Dist: pytest>=7.2; extra == "test"
|
|
56
|
+
Provides-Extra: coverage
|
|
57
|
+
Requires-Dist: mnt.designer[test]; extra == "coverage"
|
|
58
|
+
Requires-Dist: pytest-cov[toml]; extra == "coverage"
|
|
59
|
+
Provides-Extra: dev
|
|
60
|
+
Requires-Dist: mnt.designer[coverage]; extra == "dev"
|
|
File without changes
|