avulto 0.0.2__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.
Files changed (36) hide show
  1. avulto-0.0.2/.github/workflows/build_wheels.yml +24 -0
  2. avulto-0.0.2/.gitignore +68 -0
  3. avulto-0.0.2/Cargo.lock +787 -0
  4. avulto-0.0.2/Cargo.toml +26 -0
  5. avulto-0.0.2/LICENSE +674 -0
  6. avulto-0.0.2/PKG-INFO +178 -0
  7. avulto-0.0.2/README.md +167 -0
  8. avulto-0.0.2/avulto.pyi +174 -0
  9. avulto-0.0.2/examples/autonamers/README.md +23 -0
  10. avulto-0.0.2/examples/autonamers/autonamers.py +75 -0
  11. avulto-0.0.2/examples/webref/README.md +17 -0
  12. avulto-0.0.2/examples/webref/app.py +113 -0
  13. avulto-0.0.2/examples/webref/docs/webref1.png +0 -0
  14. avulto-0.0.2/examples/webref/docs/webref2.png +0 -0
  15. avulto-0.0.2/examples/webref/requirements.txt +2 -0
  16. avulto-0.0.2/examples/webref/static/base.css +9 -0
  17. avulto-0.0.2/examples/webref/static/htmx.min.js +1 -0
  18. avulto-0.0.2/examples/webref/templates/entry.html +18 -0
  19. avulto-0.0.2/examples/webref/templates/root.html +30 -0
  20. avulto-0.0.2/pyproject.toml +20 -0
  21. avulto-0.0.2/src/dme.rs +139 -0
  22. avulto-0.0.2/src/dmi.rs +302 -0
  23. avulto-0.0.2/src/dmm.rs +167 -0
  24. avulto-0.0.2/src/helpers.rs +140 -0
  25. avulto-0.0.2/src/lib.rs +39 -0
  26. avulto-0.0.2/src/path.rs +187 -0
  27. avulto-0.0.2/src/tile.rs +358 -0
  28. avulto-0.0.2/tests/__init__.py +0 -0
  29. avulto-0.0.2/tests/fixtures/icon1.dmi +0 -0
  30. avulto-0.0.2/tests/fixtures/map1.dmm +135 -0
  31. avulto-0.0.2/tests/fixtures/testenv.dm +11 -0
  32. avulto-0.0.2/tests/fixtures/testenv.dme +12 -0
  33. avulto-0.0.2/tests/test_dme.py +42 -0
  34. avulto-0.0.2/tests/test_dmi.py +23 -0
  35. avulto-0.0.2/tests/test_dmm.py +33 -0
  36. avulto-0.0.2/tests/test_paths.py +23 -0
@@ -0,0 +1,24 @@
1
+ name: Build
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build_wheels:
7
+ name: Build wheels on ${{ matrix.os }}
8
+ runs-on: ${{ matrix.os }}
9
+ strategy:
10
+ matrix:
11
+ os: [windows-2019]
12
+
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - name: Build wheels
17
+ uses: pypa/cibuildwheel@v2.16.1
18
+ env:
19
+ CIBW_TEST_REQUIRES: pytest
20
+ CIBW_TEST_COMMAND: pytest {project}/tests
21
+
22
+ - uses: actions/upload-artifact@v3
23
+ with:
24
+ path: ./wheelhouse/*.whl
@@ -0,0 +1,68 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ .DS_Store
38
+
39
+ # Sphinx documentation
40
+ docs/_build/
41
+
42
+ # PyCharm
43
+ .idea/
44
+
45
+ # VSCode
46
+ .vscode/
47
+ *.code-workspace
48
+
49
+ # Pyenv
50
+ .python-version
51
+
52
+ # Generated by Cargo
53
+ # will have compiled files and executables
54
+ debug/
55
+ target/
56
+
57
+ # These are backup files generated by rustfmt
58
+ **/*.rs.bk
59
+
60
+ # MSVC Windows builds of rustc generate these, which store debugging information
61
+ *.pdb
62
+
63
+ tests/fixtures/*.dmb
64
+ tests/fixtures/*.int
65
+ tests/fixtures/*.lk
66
+ tests/fixtures/*.rsc
67
+ *.log
68
+ wheelhouse/