tibs 0.0.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.
- tibs-0.0.4/.github/actions/setup/action.yaml +10 -0
- tibs-0.0.4/.github/workflows/build.yml +106 -0
- tibs-0.0.4/.github/workflows/publish.yml +81 -0
- tibs-0.0.4/.github/workflows/setup.yml +27 -0
- tibs-0.0.4/.github/workflows/test.yml +67 -0
- tibs-0.0.4/.hypothesis/constants/0140b3d5ec883bfc +4 -0
- tibs-0.0.4/.hypothesis/constants/0cef092d87c37616 +4 -0
- tibs-0.0.4/.hypothesis/constants/0f4a7446221bd676 +4 -0
- tibs-0.0.4/.hypothesis/constants/21cc8b76c1fbdc74 +4 -0
- tibs-0.0.4/.hypothesis/constants/266ed6b3c791a480 +4 -0
- tibs-0.0.4/.hypothesis/constants/277e2adb9a136800 +4 -0
- tibs-0.0.4/.hypothesis/constants/30863ea14bffec11 +4 -0
- tibs-0.0.4/.hypothesis/constants/400ace4e4a80a0ad +4 -0
- tibs-0.0.4/.hypothesis/constants/402367854d48fa66 +4 -0
- tibs-0.0.4/.hypothesis/constants/413e696a83d91103 +4 -0
- tibs-0.0.4/.hypothesis/constants/4f5183ae7f318575 +4 -0
- tibs-0.0.4/.hypothesis/constants/57563cbda2110632 +4 -0
- tibs-0.0.4/.hypothesis/constants/600cef6f1e6a3328 +4 -0
- tibs-0.0.4/.hypothesis/constants/62f544cdde803041 +4 -0
- tibs-0.0.4/.hypothesis/constants/663c290d23b1f87d +4 -0
- tibs-0.0.4/.hypothesis/constants/6dfd679dda35977c +4 -0
- tibs-0.0.4/.hypothesis/constants/6fe377c40d7e4e6e +4 -0
- tibs-0.0.4/.hypothesis/constants/7369e586b2529ddb +4 -0
- tibs-0.0.4/.hypothesis/constants/7610cd8c36c81125 +4 -0
- tibs-0.0.4/.hypothesis/constants/796c9aa25e43e699 +4 -0
- tibs-0.0.4/.hypothesis/constants/84e55e9af1621078 +4 -0
- tibs-0.0.4/.hypothesis/constants/8897749f60f85d7a +4 -0
- tibs-0.0.4/.hypothesis/constants/8ffd74b0d1721c51 +4 -0
- tibs-0.0.4/.hypothesis/constants/9459e787ef1a8d12 +4 -0
- tibs-0.0.4/.hypothesis/constants/94c737f56b1f6602 +4 -0
- tibs-0.0.4/.hypothesis/constants/94f806157a47bf7b +4 -0
- tibs-0.0.4/.hypothesis/constants/9a59738489b90b21 +4 -0
- tibs-0.0.4/.hypothesis/constants/9c78fd0e06b0cfb4 +4 -0
- tibs-0.0.4/.hypothesis/constants/9d63d55c5e3c6f7d +4 -0
- tibs-0.0.4/.hypothesis/constants/9da6dc7b56180895 +4 -0
- tibs-0.0.4/.hypothesis/constants/a315dfbc1fe5f283 +4 -0
- tibs-0.0.4/.hypothesis/constants/a451d5ee71ac59c5 +4 -0
- tibs-0.0.4/.hypothesis/constants/a45535ac2d730bc8 +4 -0
- tibs-0.0.4/.hypothesis/constants/a4aa2b606ebba35e +4 -0
- tibs-0.0.4/.hypothesis/constants/a61e42168907c1b3 +4 -0
- tibs-0.0.4/.hypothesis/constants/a7292ae8eaa923e1 +4 -0
- tibs-0.0.4/.hypothesis/constants/aa68e366b8b2f82c +4 -0
- tibs-0.0.4/.hypothesis/constants/b5aa90b8006be0d9 +4 -0
- tibs-0.0.4/.hypothesis/constants/c5424f9089f78b1c +4 -0
- tibs-0.0.4/.hypothesis/constants/cbf8c5ad575ff8d8 +4 -0
- tibs-0.0.4/.hypothesis/constants/cc852f3748e36219 +4 -0
- tibs-0.0.4/.hypothesis/constants/d46044a47caafca0 +4 -0
- tibs-0.0.4/.hypothesis/constants/d5c9d735f74343e3 +4 -0
- tibs-0.0.4/.hypothesis/constants/d77179be9734df16 +4 -0
- tibs-0.0.4/.hypothesis/constants/db875c9a6816a396 +4 -0
- tibs-0.0.4/.hypothesis/constants/e75e98a762a2fae0 +4 -0
- tibs-0.0.4/.hypothesis/constants/eb3971e548a98e00 +4 -0
- tibs-0.0.4/.hypothesis/constants/ec974f7a90192076 +4 -0
- tibs-0.0.4/.hypothesis/constants/f3f8501518128ce7 +4 -0
- tibs-0.0.4/.hypothesis/constants/f756cc112ea29386 +4 -0
- tibs-0.0.4/.hypothesis/constants/f9121c501909c759 +4 -0
- tibs-0.0.4/.hypothesis/constants/fbe4ce50853cdc2d +4 -0
- tibs-0.0.4/.hypothesis/constants/fe646905b47c6407 +4 -0
- tibs-0.0.4/.idea/copilot.data.migration.agent.xml +6 -0
- tibs-0.0.4/.idea/copilot.data.migration.ask.xml +6 -0
- tibs-0.0.4/.idea/copilot.data.migration.ask2agent.xml +6 -0
- tibs-0.0.4/.idea/copilot.data.migration.edit.xml +6 -0
- tibs-0.0.4/.idea/dbnavigator.xml +437 -0
- tibs-0.0.4/.idea/inspectionProfiles/Project_Default.xml +20 -0
- tibs-0.0.4/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- tibs-0.0.4/.idea/misc.xml +7 -0
- tibs-0.0.4/.idea/modules.xml +8 -0
- tibs-0.0.4/.idea/tibs.iml +18 -0
- tibs-0.0.4/.idea/vcs.xml +6 -0
- tibs-0.0.4/.idea/workspace.xml +236 -0
- tibs-0.0.4/CONTRIBUTING.md +4 -0
- tibs-0.0.4/Cargo.lock +443 -0
- tibs-0.0.4/Cargo.toml +25 -0
- tibs-0.0.4/LICENSE +21 -0
- tibs-0.0.4/PKG-INFO +41 -0
- tibs-0.0.4/README.md +8 -0
- tibs-0.0.4/build.sh +37 -0
- tibs-0.0.4/doc/_static/custom.css +100 -0
- tibs-0.0.4/doc/api.rst +191 -0
- tibs-0.0.4/doc/array.rst +17 -0
- tibs-0.0.4/doc/bitformat_logo.png +0 -0
- tibs-0.0.4/doc/bitformat_logo_small.png +0 -0
- tibs-0.0.4/doc/bitformat_tour.ipynb +598 -0
- tibs-0.0.4/doc/bits.rst +20 -0
- tibs-0.0.4/doc/bitstring_comparison.rst +67 -0
- tibs-0.0.4/doc/conf.py +52 -0
- tibs-0.0.4/doc/dtypes.rst +85 -0
- tibs-0.0.4/doc/fieldtypes.rst +92 -0
- tibs-0.0.4/doc/index.rst +69 -0
- tibs-0.0.4/doc/introduction.rst +37 -0
- tibs-0.0.4/doc/logo.png +0 -0
- tibs-0.0.4/doc/misc.rst +51 -0
- tibs-0.0.4/doc/mutable_bits.rst +39 -0
- tibs-0.0.4/doc/parser_ref.rst +60 -0
- tibs-0.0.4/doc/quick_reference.rst +143 -0
- tibs-0.0.4/doc/reader.rst +14 -0
- tibs-0.0.4/doc/requirements.txt +6 -0
- tibs-0.0.4/doc/tldr.rst +64 -0
- tibs-0.0.4/doc/use_case_construction.rst +141 -0
- tibs-0.0.4/doc/use_case_formats.rst +7 -0
- tibs-0.0.4/doc/use_case_manipulation.rst +11 -0
- tibs-0.0.4/doc/use_cases.rst +13 -0
- tibs-0.0.4/pyproject.toml +48 -0
- tibs-0.0.4/release_notes.md +10 -0
- tibs-0.0.4/runtime.txt +1 -0
- tibs-0.0.4/rust/src/bits.rs +1047 -0
- tibs-0.0.4/rust/src/bits_tests.rs +512 -0
- tibs-0.0.4/rust/src/core.rs +581 -0
- tibs-0.0.4/rust/src/helpers.rs +144 -0
- tibs-0.0.4/rust/src/iterator.rs +134 -0
- tibs-0.0.4/rust/src/lib.rs +22 -0
- tibs-0.0.4/rust/src/mod.rs +10 -0
- tibs-0.0.4/rust/src/mutable.rs +1354 -0
- tibs-0.0.4/rust/src/mutable_test.rs +54 -0
- tibs-0.0.4/rust/tests/test_python_interface.py +48 -0
- tibs-0.0.4/tests/__init__.py +0 -0
- tibs-0.0.4/tests/performance/blob +0 -0
- tibs-0.0.4/tests/performance_comparison.py +229 -0
- tibs-0.0.4/tests/test_benchmarks.py +88 -0
- tibs-0.0.4/tests/test_bitarray.py +431 -0
- tibs-0.0.4/tests/test_bits.py +533 -0
- tibs-0.0.4/tests/test_bitstream.py +1428 -0
- tibs-0.0.4/tests/test_common.py +1 -0
- tibs-0.0.4/tests/test_coverage_README.md +140 -0
- tibs-0.0.4/tests/test_dtypes.py +653 -0
- tibs-0.0.4/tests/test_mutable_bits.py +1086 -0
- tibs-0.0.4/tibs/__init__.py +48 -0
- tibs-0.0.4/tibs/_bits.py +431 -0
- tibs-0.0.4/tibs/_common.py +244 -0
- tibs-0.0.4/tibs/_dtype_definitions.py +0 -0
- tibs-0.0.4/tibs/_dtypes.py +0 -0
- tibs-0.0.4/tibs/_options.py +86 -0
- tibs-0.0.4/tibs/_version.py +2 -0
- tibs-0.0.4/tibs/bitformat_grammar.lark +70 -0
- tibs-0.0.4/tibs/py.typed +0 -0
- tibs-0.0.4/uv.lock +353 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [stable, main]
|
|
6
|
+
tags: [v*]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: ['**']
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
if: startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[full-build]')
|
|
13
|
+
name: Build wheels on ${{ matrix.os }}
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: '3.11'
|
|
27
|
+
|
|
28
|
+
- name: Set up Rust
|
|
29
|
+
uses: dtolnay/rust-toolchain@stable
|
|
30
|
+
with:
|
|
31
|
+
targets: >-
|
|
32
|
+
${{ (matrix.os == 'macos-13' && 'x86_64-apple-darwin') ||
|
|
33
|
+
(matrix.os == 'macos-14' && 'aarch64-apple-darwin') ||
|
|
34
|
+
(matrix.os == 'ubuntu-latest' && 'x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu,powerpc64le-unknown-linux-gnu') ||
|
|
35
|
+
(matrix.os == 'ubuntu-24.04-arm' && 'aarch64-unknown-linux-gnu') ||
|
|
36
|
+
(matrix.os == 'windows-latest' && 'x86_64-pc-windows-msvc,i686-pc-windows-msvc') ||
|
|
37
|
+
'' }}
|
|
38
|
+
|
|
39
|
+
# Linux-specific setup for cross-compilation host
|
|
40
|
+
- name: Linux cross-compilation setup
|
|
41
|
+
if: matrix.os == 'ubuntu-latest' # Runs on the x64 host
|
|
42
|
+
run: |
|
|
43
|
+
sudo apt-get update
|
|
44
|
+
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu
|
|
45
|
+
|
|
46
|
+
- name: Set up QEMU
|
|
47
|
+
if: runner.os == 'Linux' && runner.arch == 'X64' # For emulating other archs on x64 Linux runner
|
|
48
|
+
uses: docker/setup-qemu-action@v3
|
|
49
|
+
with:
|
|
50
|
+
platforms: all # arm64, ppc64le etc.
|
|
51
|
+
|
|
52
|
+
# Windows: install and run cibuildwheel manually
|
|
53
|
+
- name: Build wheels (Windows)
|
|
54
|
+
if: matrix.os == 'windows-latest'
|
|
55
|
+
shell: pwsh
|
|
56
|
+
run: |
|
|
57
|
+
# Set environment variables directly in PowerShell
|
|
58
|
+
$env:CIBW_ARCHS_WINDOWS = 'auto'
|
|
59
|
+
$env:CIBW_BUILD_VERBOSITY = 3
|
|
60
|
+
|
|
61
|
+
# Ensure Cargo is in the PATH
|
|
62
|
+
$env:PATH = "$env:USERPROFILE\.cargo\bin;$env:PATH"
|
|
63
|
+
|
|
64
|
+
# Run cibuildwheel
|
|
65
|
+
python -m pip install cibuildwheel
|
|
66
|
+
python -m cibuildwheel --output-dir wheelhouse
|
|
67
|
+
|
|
68
|
+
# Linux and macOS: use the action
|
|
69
|
+
- name: Build wheels (Linux/macOS)
|
|
70
|
+
if: matrix.os != 'windows-latest'
|
|
71
|
+
uses: pypa/cibuildwheel@v2.23.2
|
|
72
|
+
env:
|
|
73
|
+
CIBW_BUILD_VERBOSITY: 3
|
|
74
|
+
CIBW_BUILD: "cp311-*" # If we use the stable ABI we only need one wheel per arch.
|
|
75
|
+
CIBW_ARCHS_LINUX: ${{ matrix.os == 'ubuntu-24.04-arm' && 'aarch64' || 'x86_64 aarch64 ppc64le i686' }}
|
|
76
|
+
CIBW_ARCHS_MACOS: 'auto'
|
|
77
|
+
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
|
|
78
|
+
CIBW_BEFORE_ALL_LINUX: >
|
|
79
|
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y &&
|
|
80
|
+
source $HOME/.cargo/env
|
|
81
|
+
CIBW_SKIP: "*-musllinux_i686"
|
|
82
|
+
CIBW_BEFORE_BUILD_MACOS: >
|
|
83
|
+
rustup target add x86_64-apple-darwin aarch64-apple-darwin
|
|
84
|
+
MACOSX_DEPLOYMENT_TARGET: 10.12
|
|
85
|
+
CIBW_MANYLINUX_X86_64_IMAGE: "quay.io/pypa/manylinux2014_x86_64:latest"
|
|
86
|
+
CIBW_MANYLINUX_I686_IMAGE: "quay.io/pypa/manylinux2014_i686:latest"
|
|
87
|
+
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux2014_aarch64:latest"
|
|
88
|
+
CIBW_MANYLINUX_PPC64LE_IMAGE: "quay.io/pypa/manylinux2014_ppc64le:latest"
|
|
89
|
+
CIBW_MANYLINUX_S390X_IMAGE: "quay.io/pypa/manylinux2014_s390x:latest"
|
|
90
|
+
CIBW_MUSLLINUX_X86_64_IMAGE: "quay.io/pypa/musllinux_1_2_x86_64:latest"
|
|
91
|
+
CIBW_MUSLLINUX_I686_IMAGE: "quay.io/pypa/musllinux_1_2_i686:latest"
|
|
92
|
+
|
|
93
|
+
- name: Build sdist
|
|
94
|
+
if: matrix.os == 'ubuntu-latest'
|
|
95
|
+
run: |
|
|
96
|
+
pip install build
|
|
97
|
+
python -m build --sdist
|
|
98
|
+
|
|
99
|
+
- name: Upload artifacts
|
|
100
|
+
uses: actions/upload-artifact@v4
|
|
101
|
+
with:
|
|
102
|
+
name: packages-${{ matrix.os }}
|
|
103
|
+
path: |
|
|
104
|
+
./wheelhouse/*.whl
|
|
105
|
+
./dist/*.tar.gz
|
|
106
|
+
if-no-files-found: error
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_run:
|
|
5
|
+
workflows: [Test]
|
|
6
|
+
types: [completed]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
check-tag:
|
|
10
|
+
name: Check for release tag
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
outputs:
|
|
13
|
+
is_tag: ${{ steps.tag.outputs.is_tag }}
|
|
14
|
+
tag_name: ${{ steps.tag.outputs.tag_name }}
|
|
15
|
+
is_prerelease: ${{ steps.tag.outputs.is_prerelease }}
|
|
16
|
+
steps:
|
|
17
|
+
- name: Download source code
|
|
18
|
+
uses: actions/checkout@v3
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
|
|
22
|
+
- name: Fetch tags
|
|
23
|
+
run: git fetch --tags
|
|
24
|
+
|
|
25
|
+
- name: Get tag information
|
|
26
|
+
id: tag
|
|
27
|
+
run: |
|
|
28
|
+
TAG=$(git tag --points-at ${{ github.event.workflow_run.head_sha }})
|
|
29
|
+
echo "Found tag: $TAG"
|
|
30
|
+
|
|
31
|
+
if [[ $TAG == v* ]]; then
|
|
32
|
+
echo "is_tag=true" >> $GITHUB_OUTPUT
|
|
33
|
+
echo "tag_name=$TAG" >> $GITHUB_OUTPUT
|
|
34
|
+
|
|
35
|
+
if [[ $TAG == *-alpha* || $TAG == *-beta* ]]; then
|
|
36
|
+
echo "is_prerelease=true" >> $GITHUB_OUTPUT
|
|
37
|
+
else
|
|
38
|
+
echo "is_prerelease=false" >> $GITHUB_OUTPUT
|
|
39
|
+
fi
|
|
40
|
+
else
|
|
41
|
+
echo "is_tag=false" >> $GITHUB_OUTPUT
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
publish:
|
|
45
|
+
name: Publish to PyPI
|
|
46
|
+
needs: check-tag
|
|
47
|
+
if: ${{ github.event.workflow_run.conclusion == 'success' && needs.check-tag.outputs.is_tag == 'true' }}
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
permissions:
|
|
50
|
+
id-token: write
|
|
51
|
+
contents: read
|
|
52
|
+
environment: pypi
|
|
53
|
+
steps:
|
|
54
|
+
- name: Download source code
|
|
55
|
+
uses: actions/checkout@v3
|
|
56
|
+
with:
|
|
57
|
+
ref: ${{ github.event.workflow_run.head_sha }}
|
|
58
|
+
fetch-depth: 0
|
|
59
|
+
|
|
60
|
+
- name: Download all artifacts
|
|
61
|
+
uses: dawidd6/action-download-artifact@v2
|
|
62
|
+
with:
|
|
63
|
+
workflow: build.yml
|
|
64
|
+
workflow_conclusion: success
|
|
65
|
+
path: artifacts
|
|
66
|
+
|
|
67
|
+
- name: Prepare distribution files
|
|
68
|
+
run: |
|
|
69
|
+
mkdir -p dist
|
|
70
|
+
find artifacts -type f \( -name "*.whl" -o -name "*.tar.gz" \) -exec mv {} dist/ \;
|
|
71
|
+
ls -l dist/
|
|
72
|
+
|
|
73
|
+
- name: Publish to Test PyPI
|
|
74
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
75
|
+
with:
|
|
76
|
+
repository-url: https://test.pypi.org/legacy/
|
|
77
|
+
skip-existing: true
|
|
78
|
+
|
|
79
|
+
- name: Publish to PyPI
|
|
80
|
+
if: needs.check-tag.outputs.is_prerelease == 'false'
|
|
81
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Setup
|
|
2
|
+
on:
|
|
3
|
+
workflow_call:
|
|
4
|
+
inputs:
|
|
5
|
+
python-version:
|
|
6
|
+
required: true
|
|
7
|
+
type: string
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
setup:
|
|
11
|
+
runs-on: ${{ inputs.os }}
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/setup-python@v5
|
|
14
|
+
with:
|
|
15
|
+
python-version: ${{ inputs.python-version }}
|
|
16
|
+
architecture: x64
|
|
17
|
+
|
|
18
|
+
- uses: ./.github/actions/setup
|
|
19
|
+
|
|
20
|
+
- name: Set up virtual environment
|
|
21
|
+
run: |
|
|
22
|
+
uv venv
|
|
23
|
+
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
|
24
|
+
source .venv\\Scripts\\activate
|
|
25
|
+
else
|
|
26
|
+
source .venv/bin/activate
|
|
27
|
+
fi
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_run:
|
|
5
|
+
workflows: [Build]
|
|
6
|
+
types: [completed]
|
|
7
|
+
|
|
8
|
+
defaults:
|
|
9
|
+
run:
|
|
10
|
+
shell: bash
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
test:
|
|
14
|
+
name: Test ${{ matrix.os.name }} ${{ matrix.python.name }}
|
|
15
|
+
runs-on: ${{ matrix.os.runs-on }}
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
matrix:
|
|
19
|
+
os:
|
|
20
|
+
- name: 🐧
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
- name: 🍎
|
|
23
|
+
runs-on: macos-14
|
|
24
|
+
- name: 🪟
|
|
25
|
+
runs-on: windows-latest
|
|
26
|
+
python:
|
|
27
|
+
- name: CPython 3.11
|
|
28
|
+
action: '3.11'
|
|
29
|
+
- name: CPython 3.12
|
|
30
|
+
action: '3.12'
|
|
31
|
+
- name: CPython 3.13
|
|
32
|
+
action: '3.13'
|
|
33
|
+
- name: CPython 3.14
|
|
34
|
+
action: '3.14'
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v3
|
|
37
|
+
with:
|
|
38
|
+
path: repo
|
|
39
|
+
|
|
40
|
+
- name: Download artifacts
|
|
41
|
+
uses: dawidd6/action-download-artifact@v2
|
|
42
|
+
with:
|
|
43
|
+
workflow: build.yml
|
|
44
|
+
name: packages-${{ matrix.os.runs-on }}
|
|
45
|
+
path: dist
|
|
46
|
+
|
|
47
|
+
# Setup steps
|
|
48
|
+
- uses: actions/setup-python@v5
|
|
49
|
+
with:
|
|
50
|
+
python-version: ${{ matrix.python.action }}
|
|
51
|
+
architecture: x64
|
|
52
|
+
|
|
53
|
+
- name: Install uv
|
|
54
|
+
uses: astral-sh/setup-uv@v3
|
|
55
|
+
with:
|
|
56
|
+
version: "0.8.4"
|
|
57
|
+
|
|
58
|
+
- name: Test
|
|
59
|
+
run: |
|
|
60
|
+
cd repo
|
|
61
|
+
uv venv
|
|
62
|
+
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
|
63
|
+
source .venv\\Scripts\\activate
|
|
64
|
+
else
|
|
65
|
+
source .venv/bin/activate
|
|
66
|
+
fi
|
|
67
|
+
./build.sh
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['\x1b[0m', '\x1b[100m', '\x1b[101m', '\x1b[102m', '\x1b[103m', '\x1b[104m', '\x1b[105m', '\x1b[106m', '\x1b[107m', '\x1b[1m', '\x1b[22m', '\x1b[23m', '\x1b[24m', '\x1b[25m', '\x1b[27m', '\x1b[28m', '\x1b[29m', '\x1b[2m', '\x1b[30m', '\x1b[31m', '\x1b[32m', '\x1b[33m', '\x1b[34m', '\x1b[35m', '\x1b[36m', '\x1b[37m', '\x1b[3m', '\x1b[40m', '\x1b[41m', '\x1b[42m', '\x1b[43m', '\x1b[44m', '\x1b[45m', '\x1b[46m', '\x1b[47m', '\x1b[4m', '\x1b[5m', '\x1b[7m', '\x1b[8m', '\x1b[90m', '\x1b[91m', '\x1b[92m', '\x1b[93m', '\x1b[94m', '\x1b[95m', '\x1b[96m', '\x1b[97m', '\x1b[9m', '<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/__init__.py
|
|
2
|
+
# hypothesis_version: 6.147.0
|
|
3
|
+
|
|
4
|
+
['Array', 'Bits', 'Dtype', 'DtypeArray', 'DtypeKind', 'DtypeSingle', 'DtypeTuple', 'Endianness', 'Expression', 'Field', 'FieldType', 'Format', 'If', 'Let', 'MutableBits', 'Options', 'Pass', 'Reader', 'Register', 'Repeat', 'Scott Griffiths', 'While', 'tibs']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_dtypes.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[256, '(', ')', ', ', '-', 'Dtype', 'DtypeArray', 'DtypeDefinition', 'DtypeSingle', 'DtypeTransformer', 'DtypeTuple', 'None', 'Register', 'Tibs', '_', '_be', '_le', '_ne', 'big-endian', 'dtype', 'lalr', 'little-endian', 'variable length', '{', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.147.0
|
|
3
|
+
|
|
4
|
+
['\x1b[0m', '\x1b[100m', '\x1b[101m', '\x1b[102m', '\x1b[103m', '\x1b[104m', '\x1b[105m', '\x1b[106m', '\x1b[107m', '\x1b[1m', '\x1b[22m', '\x1b[23m', '\x1b[24m', '\x1b[25m', '\x1b[27m', '\x1b[28m', '\x1b[29m', '\x1b[2m', '\x1b[30m', '\x1b[31m', '\x1b[32m', '\x1b[33m', '\x1b[34m', '\x1b[35m', '\x1b[36m', '\x1b[37m', '\x1b[3m', '\x1b[40m', '\x1b[41m', '\x1b[42m', '\x1b[43m', '\x1b[44m', '\x1b[45m', '\x1b[46m', '\x1b[47m', '\x1b[4m', '\x1b[5m', '\x1b[7m', '\x1b[8m', '\x1b[90m', '\x1b[91m', '\x1b[92m', '\x1b[93m', '\x1b[94m', '\x1b[95m', '\x1b[96m', '\x1b[97m', '\x1b[9m', '<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_dtypes.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[256, '(', ')', ', ', '-', 'Dtype', 'DtypeArray', 'DtypeDefinition', 'DtypeSingle', 'DtypeTransformer', 'DtypeTuple', 'None', 'Register', 'Tibs', '_', '_be', '_le', '_ne', 'big-endian', 'dtype', 'lalr', 'little-endian', 'variable length', '{', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_dtypes.py
|
|
2
|
+
# hypothesis_version: 6.147.0
|
|
3
|
+
|
|
4
|
+
[256, '(', ')', ', ', '-', 'Bits', 'Dtype', 'DtypeArray', 'DtypeDefinition', 'DtypeSingle', 'DtypeTransformer', 'DtypeTuple', 'None', 'Register', '_', '_be', '_le', '_ne', 'big-endian', 'dtype', 'lalr', 'little-endian', 'variable length', '{', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/pycharm_display/datalore/display/display_.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['&token=', '-1', ':', 'PYCHARM_DISPLAY_HOST', 'PYCHARM_DISPLAY_PORT', 'PYCHARM_PROJECT_ID', 'PYCHARM_UUID', 'Using HTTP proxy %s', '_repr_display_', 'body', 'display', 'http', 'http://127.0.0.1', 'type']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/pycharm/teamcity/messages.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[0.1, 1000, 86400000, '\n{0} != {1}\n', " %s='%s'", "##teamcity[%s '%s']\n", '%03d', '%Y-%m-%dT%H:%M:%S.', "'", '[', ']', ']\n', 'auto', 'blockClosed', 'blockOpened', 'buffer', 'buildProblem', 'buildStatisticValue', 'buildStatus', 'comparisonFailure', 'compilationFinished', 'compilationStarted', 'encoding', 'importData', 'message', 'progressFinish', 'progressMessage', 'progressStart', 'publishArtifacts', 'setParameter', 'testCount', 'testFailed', 'testFinished', 'testIgnored', 'testStarted', 'testStdErr', 'testStdOut', 'testSuiteFinished', 'testSuiteStarted', 'utf-8', '|', "|'", '|[', '|]', '|n', '|r', '||']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/pycharm/_jb_pytest_runner.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['--doctest-modules', '--jb-show-summary', '--no-header', '--no-summary', '-q', '-s', '.', '.py', '.py::', '/', '1', ':', '::', '__init__.py', '__main__', 'ignore', 'numprocesses', 'pytest', 'pytest-teamcity', 'pytest11']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_dtype_definitions.py
|
|
2
|
+
# hypothesis_version: 6.147.0
|
|
3
|
+
|
|
4
|
+
['-inf', '>d', '>e', '>f', 'Bits', 'a Bits object', 'a binary string', 'a bytes object', 'a hexadecimal string', 'an octal string', 'big', 'binary string', 'bool', 'bytes', 'float', 'hex string', 'inf', 'octal string', 'padding', 'signed int', 'unsigned int']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_dtypes.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[256, '(', ')', ', ', '-', 'Dtype', 'DtypeArray', 'DtypeDefinition', 'DtypeSingle', 'DtypeTransformer', 'DtypeTuple', 'None', 'Register', 'Tibs', '_', '_be', '_le', '_ne', 'big-endian', 'dtype', 'lalr', 'little-endian', 'variable length', '{', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/pycharm/teamcity/pytest_plugin.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[1024, 50000, '%s:%s (%s)', '(', ')', '--jb-swapdiff', '--no-teamcity', '--teamcity', '.', '.PEP8', '.Pylint', '/', ':', '::', '::()::', '::top_level', 'ERROR', 'PEP8-check', '[', '[pylint] ', '\\.pyc?$', '\\.pyc?::', ']', '_', '_ _ _ _ _', '_collect', '_cov', '_teamcityReporting', '_teardown', 'bool', 'call', 'capture', 'code_units', 'collect', 'count', 'data', 'duration', 'false', 'fd', 'find_code_units', 'general', 'help', 'no', 'no_teamcity', 'reporting', 'setup', 'skippassedoutput', 'startswith', 'stderr', 'stdout', 'store_true', 'swapdiff', 'teamcity', 'teardown', 'terminal reporting', 'test ', 'test setup', 'test setup failed', 'top_level', 'true', 'type', 'when']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Users/scottg/dev/tibs/tibs/_common.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
['<string>', 'Add', 'And', 'BinOp', 'BitAnd', 'BitOr', 'BitXor', 'BoolOp', 'Compare', 'Constant', 'Eq', 'Expr', 'FloorDiv', 'Gt', 'GtE', 'Is', 'IsNot', 'LShift', 'Load', 'Lt', 'LtE', 'Mod', 'Module', 'Mult', 'Name', 'NotEq', 'Or', 'Pow', 'RShift', 'Sub', 'Subscript', 'USub', 'UnaryOp', '__', '__builtins__', 'be', 'big', 'big-endian', 'bin', 'bits', 'bool', 'bytes', 'earley', 'eval', 'f', 'field_type', 'hex', 'i', 'le', 'little', 'little-endian', 'native-endian', 'ne', 'oct', 'pad', 'r', 'u', '{', '{None}', '}']
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# file: /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/pycharm/_jb_runner_tools.py
|
|
2
|
+
# hypothesis_version: 6.140.3
|
|
3
|
+
|
|
4
|
+
[1000, 86400000, '(', '--', '--offset', '--path', '--target', '.', '/', 'Error', 'Failure', 'JB_DISABLE_BUFFERING', 'LOCAL', 'PWD', 'PYCHARM_HELPERS_DIR', 'Python target to run', 'Root node offset', 'Skip', '^([^\\s)(]+)(\\(.+\\))$', 'append', 'duration', 'durationStrategy', 'enteredTheMatrix', 'locationHint', 'manual', 'metainfo', 'name', 'nodeId', 'open', 'parentNodeId', 'python<{0}>://{1}', 'setUpClass', 'tearDownClass', 'test setup', 'test teardown', 'testCount', 'testFinished', 'testIgnored', 'testStarted', 'testSuiteFinished', 'testSuiteStarted']
|