shakmaty-python-binding 0.1.1__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 (42) hide show
  1. shakmaty_python_binding-0.1.1/.github/FUNDING.yml +1 -0
  2. shakmaty_python_binding-0.1.1/.github/dependabot.yml +10 -0
  3. shakmaty_python_binding-0.1.1/.github/workflows/publish.yml +23 -0
  4. shakmaty_python_binding-0.1.1/.github/workflows/test.yml +37 -0
  5. shakmaty_python_binding-0.1.1/.gitignore +2 -0
  6. shakmaty_python_binding-0.1.1/.idea/.gitignore +3 -0
  7. shakmaty_python_binding-0.1.1/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  8. shakmaty_python_binding-0.1.1/.idea/misc.xml +7 -0
  9. shakmaty_python_binding-0.1.1/.idea/modules.xml +8 -0
  10. shakmaty_python_binding-0.1.1/.idea/shakmaty_python_binding.iml +8 -0
  11. shakmaty_python_binding-0.1.1/.idea/vcs.xml +6 -0
  12. shakmaty_python_binding-0.1.1/CHANGELOG.md +3 -0
  13. shakmaty_python_binding-0.1.1/COPYING +674 -0
  14. shakmaty_python_binding-0.1.1/Cargo.lock +821 -0
  15. shakmaty_python_binding-0.1.1/Cargo.toml +41 -0
  16. shakmaty_python_binding-0.1.1/Cargo_save.toml +41 -0
  17. shakmaty_python_binding-0.1.1/PKG-INFO +26 -0
  18. shakmaty_python_binding-0.1.1/README.md +15 -0
  19. shakmaty_python_binding-0.1.1/benches/benches.rs +113 -0
  20. shakmaty_python_binding-0.1.1/dist/shakmaty_python_binding-0.1.0-cp311-cp311-linux_x86_64.whl +0 -0
  21. shakmaty_python_binding-0.1.1/dist/shakmaty_python_binding-0.1.0.tar.gz +0 -0
  22. shakmaty_python_binding-0.1.1/dist/shakmaty_python_binding-0.1.1-cp311-cp311-linux_x86_64.whl +0 -0
  23. shakmaty_python_binding-0.1.1/dist/shakmaty_python_binding-0.1.1.tar.gz +0 -0
  24. shakmaty_python_binding-0.1.1/main.py +13 -0
  25. shakmaty_python_binding-0.1.1/pyproject.toml +21 -0
  26. shakmaty_python_binding-0.1.1/rustfmt.toml +2 -0
  27. shakmaty_python_binding-0.1.1/shakmaty_python_binding.pyi +137 -0
  28. shakmaty_python_binding-0.1.1/src/lib.rs +383 -0
  29. shakmaty_python_binding-0.1.1/tests/3check.perft +11 -0
  30. shakmaty_python_binding-0.1.1/tests/antichess.perft +31 -0
  31. shakmaty_python_binding-0.1.1/tests/atomic.perft +51 -0
  32. shakmaty_python_binding-0.1.1/tests/chess960.perft +8642 -0
  33. shakmaty_python_binding-0.1.1/tests/crazyhouse.perft +25 -0
  34. shakmaty_python_binding-0.1.1/tests/horde.perft +20 -0
  35. shakmaty_python_binding-0.1.1/tests/horde_insufficient_material.csv +21997 -0
  36. shakmaty_python_binding-0.1.1/tests/horde_insufficient_material.rs +37 -0
  37. shakmaty_python_binding-0.1.1/tests/perft.rs +87 -0
  38. shakmaty_python_binding-0.1.1/tests/racingkings.perft +15 -0
  39. shakmaty_python_binding-0.1.1/tests/random.perft +61579 -0
  40. shakmaty_python_binding-0.1.1/tests/tricky.perft +166 -0
  41. shakmaty_python_binding-0.1.1/tests/zobrist.csv +801 -0
  42. shakmaty_python_binding-0.1.1/tests/zobrist.rs +45 -0
@@ -0,0 +1 @@
1
+ github: niklasf
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: cargo
4
+ directory: '/'
5
+ schedule:
6
+ interval: daily
7
+ - package-ecosystem: github-actions
8
+ directory: '/'
9
+ schedule:
10
+ interval: monthly
@@ -0,0 +1,23 @@
1
+ name: Publish
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+
8
+
9
+ jobs: # .github/workflows/ci-cd.yml
10
+
11
+ pypi-publish:
12
+ name: Upload release to PyPI
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/p/shakmaty_python_binding
17
+ permissions:
18
+ id-token: write
19
+ steps:
20
+ # retrieve your distributions here
21
+
22
+ - name: Publish package distributions to PyPI
23
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,37 @@
1
+ name: Test
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ test:
9
+ strategy:
10
+ matrix:
11
+ toolchain:
12
+ - "1.75.0" # remember to update rust-version in Cargo.toml
13
+ - "stable"
14
+ - "nightly"
15
+ flags:
16
+ - ""
17
+ - "--features variant"
18
+ - "--features alloc"
19
+ - "--features std"
20
+ - "--features alloc,variant"
21
+ - "--features std,variant"
22
+ - "--features nohash-hasher,variant"
23
+ include:
24
+ - toolchain: "nightly"
25
+ flags: "-Z minimal-versions --all-features"
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - run: sudo apt-get update && sudo apt-get install -y valgrind
29
+ - uses: actions/checkout@v4
30
+ - uses: dtolnay/rust-toolchain@master
31
+ with:
32
+ toolchain: ${{ matrix.toolchain }}
33
+ - run: cargo test --no-default-features ${{ matrix.flags }}
34
+ - run: cargo doc --no-default-features ${{ matrix.flags }}
35
+ - run: cargo bench --no-default-features ${{ matrix.flags }}
36
+ - run: cargo check --manifest-path fuzz/Cargo.toml
37
+
@@ -0,0 +1,2 @@
1
+ target
2
+ Cargo.lock
@@ -0,0 +1,3 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Python 3.10 (chipiron)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (chipiron)" project-jdk-type="Python SDK" />
7
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/shakmaty_python_binding.iml" filepath="$PROJECT_DIR$/.idea/shakmaty_python_binding.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,3 @@
1
+ # Changelog for shakmaty-...
2
+
3
+