crystalbuilder 0.5.4__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.
Potentially problematic release.
This version of crystalbuilder might be problematic. Click here for more details.
- crystalbuilder-0.5.4/.github/workflows/release.yml +34 -0
- crystalbuilder-0.5.4/.gitignore +173 -0
- crystalbuilder-0.5.4/.readthedocs.yaml +13 -0
- crystalbuilder-0.5.4/LICENSE +674 -0
- crystalbuilder-0.5.4/PKG-INFO +12 -0
- crystalbuilder-0.5.4/README.md +6 -0
- crystalbuilder-0.5.4/README.rst +0 -0
- crystalbuilder-0.5.4/crystalbuilder/__init__.py +27 -0
- crystalbuilder-0.5.4/crystalbuilder/bilbao.py +297 -0
- crystalbuilder-0.5.4/crystalbuilder/conversions/lumc.py +36 -0
- crystalbuilder-0.5.4/crystalbuilder/conversions/t3d.py +179 -0
- crystalbuilder-0.5.4/crystalbuilder/convert.py +379 -0
- crystalbuilder-0.5.4/crystalbuilder/geometry.py +759 -0
- crystalbuilder-0.5.4/crystalbuilder/lattice.py +795 -0
- crystalbuilder-0.5.4/crystalbuilder/utils.py +22 -0
- crystalbuilder-0.5.4/crystalbuilder/vectors.py +279 -0
- crystalbuilder-0.5.4/crystalbuilder/viewer.py +82 -0
- crystalbuilder-0.5.4/docs/Makefile +20 -0
- crystalbuilder-0.5.4/docs/_requirements.txt +5 -0
- crystalbuilder-0.5.4/docs/conf.py +39 -0
- crystalbuilder-0.5.4/docs/index.rst +37 -0
- crystalbuilder-0.5.4/docs/make.bat +35 -0
- crystalbuilder-0.5.4/docs/source/bilbao.rst +10 -0
- crystalbuilder-0.5.4/docs/source/convert.rst +12 -0
- crystalbuilder-0.5.4/docs/source/crystalbuilder.rst +65 -0
- crystalbuilder-0.5.4/docs/source/diamond_examples.rst +105 -0
- crystalbuilder-0.5.4/docs/source/geometry.rst +12 -0
- crystalbuilder-0.5.4/docs/source/getting_started.rst +12 -0
- crystalbuilder-0.5.4/docs/source/lattice.rst +12 -0
- crystalbuilder-0.5.4/docs/source/vectors.rst +12 -0
- crystalbuilder-0.5.4/examples/3Dexample.ipynb +471 -0
- crystalbuilder-0.5.4/examples/DiamondCoreShell-Unitless.png +0 -0
- crystalbuilder-0.5.4/examples/ExtraFeatures/SpaceGroup180.ipynb +230 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/DiamondPhCs/MPB-DiamondSpheres.ipynb +3414 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/DiamondPhCs/core_shell_diamond.ipynb +1840 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/DiamondPhCs/diamond_lattice-square-CoreShell.ipynb +4809 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/DiamondPhCs/diamond_lattice-square.ipynb +3581 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/DiamondPhCs/diamond_lattice.ipynb +438 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/Double Gyroid Weyl Crystal.ipynb +561913 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/MPB-Isofrequency.ipynb +196 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/SRSNetworkExample.ipynb +495 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/Tetrahedral.ipynb +2382 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/mpb_output.txt +1130 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/OtherPhCs/mpb_output_band_path.txt +1145 -0
- crystalbuilder-0.5.4/examples/VedoAndMPB/basic_screw.ipynb +16 -0
- crystalbuilder-0.5.4/examples/core_shell_diamond.ipynb +1553 -0
- crystalbuilder-0.5.4/examples/sandbox.ipynb +128 -0
- crystalbuilder-0.5.4/pyproject.toml +26 -0
- crystalbuilder-0.5.4/version.py +49 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This workflow will upload a Python Package to PyPI when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
name: Upload Python Package
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
release:
|
|
12
|
+
types: [created]
|
|
13
|
+
workflow_dispatch:
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
deploy:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- uses: actions/setup-python@v2
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip
|
|
25
|
+
pip install hatch-vcs
|
|
26
|
+
pip install setuptools wheel twine build
|
|
27
|
+
- name: Build and publish
|
|
28
|
+
env:
|
|
29
|
+
TWINE_USERNAME: __token__
|
|
30
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
31
|
+
run: |
|
|
32
|
+
python version.py
|
|
33
|
+
python -m build
|
|
34
|
+
twine upload --repository pypi dist/*
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
*.obj
|
|
2
|
+
*.stl
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# Byte-compiled / optimized / DLL files
|
|
6
|
+
__pycache__/
|
|
7
|
+
*.py[cod]
|
|
8
|
+
*$py.class
|
|
9
|
+
|
|
10
|
+
# C extensions
|
|
11
|
+
*.so
|
|
12
|
+
|
|
13
|
+
# Distribution / packaging
|
|
14
|
+
.Python
|
|
15
|
+
build/
|
|
16
|
+
develop-eggs/
|
|
17
|
+
dist/
|
|
18
|
+
downloads/
|
|
19
|
+
eggs/
|
|
20
|
+
.eggs/
|
|
21
|
+
lib/
|
|
22
|
+
lib64/
|
|
23
|
+
parts/
|
|
24
|
+
sdist/
|
|
25
|
+
var/
|
|
26
|
+
wheels/
|
|
27
|
+
share/python-wheels/
|
|
28
|
+
*.egg-info/
|
|
29
|
+
.installed.cfg
|
|
30
|
+
*.egg
|
|
31
|
+
MANIFEST
|
|
32
|
+
|
|
33
|
+
# PyInstaller
|
|
34
|
+
# Usually these files are written by a python script from a template
|
|
35
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
36
|
+
*.manifest
|
|
37
|
+
*.spec
|
|
38
|
+
|
|
39
|
+
# Installer logs
|
|
40
|
+
pip-log.txt
|
|
41
|
+
pip-delete-this-directory.txt
|
|
42
|
+
|
|
43
|
+
# Unit test / coverage reports
|
|
44
|
+
htmlcov/
|
|
45
|
+
.tox/
|
|
46
|
+
.nox/
|
|
47
|
+
.coverage
|
|
48
|
+
.coverage.*
|
|
49
|
+
.cache
|
|
50
|
+
nosetests.xml
|
|
51
|
+
coverage.xml
|
|
52
|
+
*.cover
|
|
53
|
+
*.py,cover
|
|
54
|
+
.hypothesis/
|
|
55
|
+
.pytest_cache/
|
|
56
|
+
cover/
|
|
57
|
+
|
|
58
|
+
# Translations
|
|
59
|
+
*.mo
|
|
60
|
+
*.pot
|
|
61
|
+
|
|
62
|
+
# Django stuff:
|
|
63
|
+
*.log
|
|
64
|
+
local_settings.py
|
|
65
|
+
db.sqlite3
|
|
66
|
+
db.sqlite3-journal
|
|
67
|
+
|
|
68
|
+
# Flask stuff:
|
|
69
|
+
instance/
|
|
70
|
+
.webassets-cache
|
|
71
|
+
|
|
72
|
+
# Scrapy stuff:
|
|
73
|
+
.scrapy
|
|
74
|
+
|
|
75
|
+
# Sphinx documentation
|
|
76
|
+
docs/_build/
|
|
77
|
+
|
|
78
|
+
# PyBuilder
|
|
79
|
+
.pybuilder/
|
|
80
|
+
target/
|
|
81
|
+
|
|
82
|
+
# Jupyter Notebook
|
|
83
|
+
.ipynb_checkpoints
|
|
84
|
+
|
|
85
|
+
# IPython
|
|
86
|
+
profile_default/
|
|
87
|
+
ipython_config.py
|
|
88
|
+
|
|
89
|
+
# pyenv
|
|
90
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
91
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
92
|
+
# .python-version
|
|
93
|
+
|
|
94
|
+
# pipenv
|
|
95
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
96
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
97
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
98
|
+
# install all needed dependencies.
|
|
99
|
+
#Pipfile.lock
|
|
100
|
+
|
|
101
|
+
# poetry
|
|
102
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
103
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
104
|
+
# commonly ignored for libraries.
|
|
105
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
106
|
+
#poetry.lock
|
|
107
|
+
|
|
108
|
+
# pdm
|
|
109
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
110
|
+
#pdm.lock
|
|
111
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
112
|
+
# in version control.
|
|
113
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
114
|
+
.pdm.toml
|
|
115
|
+
.pdm-python
|
|
116
|
+
.pdm-build/
|
|
117
|
+
|
|
118
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
119
|
+
__pypackages__/
|
|
120
|
+
|
|
121
|
+
# Celery stuff
|
|
122
|
+
celerybeat-schedule
|
|
123
|
+
celerybeat.pid
|
|
124
|
+
|
|
125
|
+
# SageMath parsed files
|
|
126
|
+
*.sage.py
|
|
127
|
+
|
|
128
|
+
# Environments
|
|
129
|
+
.env
|
|
130
|
+
.venv
|
|
131
|
+
env/
|
|
132
|
+
venv/
|
|
133
|
+
ENV/
|
|
134
|
+
env.bak/
|
|
135
|
+
venv.bak/
|
|
136
|
+
|
|
137
|
+
# Spyder project settings
|
|
138
|
+
.spyderproject
|
|
139
|
+
.spyproject
|
|
140
|
+
|
|
141
|
+
# Rope project settings
|
|
142
|
+
.ropeproject
|
|
143
|
+
|
|
144
|
+
# mkdocs documentation
|
|
145
|
+
/site
|
|
146
|
+
|
|
147
|
+
# mypy
|
|
148
|
+
.mypy_cache/
|
|
149
|
+
.dmypy.json
|
|
150
|
+
dmypy.json
|
|
151
|
+
|
|
152
|
+
# Pyre type checker
|
|
153
|
+
.pyre/
|
|
154
|
+
|
|
155
|
+
# pytype static type analyzer
|
|
156
|
+
.pytype/
|
|
157
|
+
|
|
158
|
+
# Cython debug symbols
|
|
159
|
+
cython_debug/
|
|
160
|
+
|
|
161
|
+
# PyCharm
|
|
162
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
163
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
164
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
165
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
166
|
+
#.idea/
|
|
167
|
+
|
|
168
|
+
*.hdf5
|
|
169
|
+
*.json
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
crystalbuilder/version.py
|
|
173
|
+
examples/Tidy3D/
|