binpickle
Advanced tools
| prune envs | ||
| prune .github | ||
| prune .vscode | ||
| exclude .*.yml | ||
| exclude .*.yaml |
| Metadata-Version: 2.1 | ||
| Name: binpickle | ||
| Version: 0.4.0a4 | ||
| Version: 0.4.0a5 | ||
| Summary: Optimized format for pickling binary data. | ||
| Author-email: Michael Ekstrand <mdekstrand@drexel.edu> | ||
| License: Copyright (c) 2020โ2023 Boise State University | ||
| Copyright (c) 2023 Michael Ekstrand | ||
| Copyright (c) 2023-2024 Drexel University and contributors | ||
@@ -49,2 +49,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| Requires-Dist: copier; extra == "dev" | ||
| Requires-Dist: unbeheader; extra == "dev" | ||
| Requires-Dist: ipython; extra == "dev" | ||
@@ -70,3 +71,3 @@ Requires-Dist: pyproject2conda; extra == "dev" | ||
| [](https://badge.fury.io/py/binpickle) | ||
|  | ||
|  | ||
| [](https://codecov.io/gh/lenskit/binpickle) | ||
@@ -73,0 +74,0 @@ |
@@ -13,2 +13,3 @@ msgpack>=1.0 | ||
| copier | ||
| unbeheader | ||
| ipython | ||
@@ -15,0 +16,0 @@ pyproject2conda |
@@ -1,7 +0,6 @@ | ||
| .copier-answers.yml | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .readthedocs.yml | ||
| LICENSE.md | ||
| MANIFEST.in | ||
| README.md | ||
@@ -11,5 +10,2 @@ codecov.yml | ||
| pyproject.toml | ||
| .github/workflows/check-sources.yml | ||
| .github/workflows/test.yml | ||
| .vscode/settings.json | ||
| binpickle/__init__.py | ||
@@ -16,0 +12,0 @@ binpickle/_util.py |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| """ | ||
@@ -2,0 +8,0 @@ Optimized format for pickling binary data. |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| """ | ||
@@ -2,0 +8,0 @@ Internal utility functions for Binpickle. |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| """ | ||
@@ -2,0 +8,0 @@ Support for encoding and decoding. |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| class BinPickleError(Exception): | ||
@@ -2,0 +8,0 @@ """ |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| """ | ||
@@ -2,0 +8,0 @@ Constants and functions defining the binpickle format. |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import hashlib | ||
@@ -2,0 +8,0 @@ import io |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import hashlib | ||
@@ -2,0 +8,0 @@ import io |
+6
-0
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from hypothesis import settings | ||
@@ -2,0 +8,0 @@ import pytest |
+6
-0
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import os | ||
@@ -2,0 +8,0 @@ import sys |
+1
-1
| Copyright (c) 2020โ2023 Boise State University | ||
| Copyright (c) 2023 Michael Ekstrand | ||
| Copyright (c) 2023-2024 Drexel University and contributors | ||
@@ -4,0 +4,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+4
-3
| Metadata-Version: 2.1 | ||
| Name: binpickle | ||
| Version: 0.4.0a4 | ||
| Version: 0.4.0a5 | ||
| Summary: Optimized format for pickling binary data. | ||
| Author-email: Michael Ekstrand <mdekstrand@drexel.edu> | ||
| License: Copyright (c) 2020โ2023 Boise State University | ||
| Copyright (c) 2023 Michael Ekstrand | ||
| Copyright (c) 2023-2024 Drexel University and contributors | ||
@@ -49,2 +49,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| Requires-Dist: copier; extra == "dev" | ||
| Requires-Dist: unbeheader; extra == "dev" | ||
| Requires-Dist: ipython; extra == "dev" | ||
@@ -70,3 +71,3 @@ Requires-Dist: pyproject2conda; extra == "dev" | ||
| [](https://badge.fury.io/py/binpickle) | ||
|  | ||
|  | ||
| [](https://codecov.io/gh/lenskit/binpickle) | ||
@@ -73,0 +74,0 @@ |
+1
-0
@@ -38,2 +38,3 @@ [build-system] | ||
| "copier", | ||
| "unbeheader", # p2c: -p | ||
| "ipython", | ||
@@ -40,0 +41,0 @@ "pyproject2conda", |
+1
-1
| # BinPickle - efficient binary pickled data | ||
| [](https://badge.fury.io/py/binpickle) | ||
|  | ||
|  | ||
| [](https://codecov.io/gh/lenskit/binpickle) | ||
@@ -6,0 +6,0 @@ |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from pathlib import Path | ||
@@ -2,0 +8,0 @@ |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from pytest import raises | ||
@@ -2,0 +8,0 @@ |
+6
-0
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import gc | ||
@@ -2,0 +8,0 @@ import itertools as it |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import logging | ||
@@ -2,0 +8,0 @@ |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| import os | ||
@@ -2,0 +8,0 @@ import logging |
@@ -0,2 +1,8 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from . import abc | ||
| from . import registry |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from abc import ABC | ||
@@ -2,0 +8,0 @@ from typing import Any |
@@ -0,1 +1,7 @@ | ||
| # This file is part of BinPickle. | ||
| # Copyright (C) 2020-2023 Boise State University | ||
| # Copyright (C) 2023-2024 Drexel University | ||
| # Licensed under the MIT license, see LICENSE.md for details. | ||
| # SPDX-License-Identifier: MIT | ||
| from typing import Any | ||
@@ -2,0 +8,0 @@ |
| # Changes here will be overwritten by Copier | ||
| _commit: '8259712' | ||
| _src_path: https://github.com/lenskit/lk-project-template | ||
| package_name: binpickle | ||
| project_descr: Optimized format for pickling binary data. | ||
| project_name: binpickle | ||
| project_title: BinPickle | ||
| require_lint: true | ||
| start_year: 2020 | ||
| typecheck: true |
| name: Validate Source Rules | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| concurrency: | ||
| group: check-${{github.ref}} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| lint: | ||
| name: Check Source Code | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: ๐ฅ Check out source code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: ๐ Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.11" | ||
| cache: "pip" | ||
| - name: ๐ ๏ธ Install development tools and dependencies | ||
| run: | | ||
| pip install -e .[dev] | ||
| - name: ๐ชฎ Check source code formatting | ||
| id: format | ||
| run: | | ||
| if ruff format --diff $PKG_DIR; then | ||
| echo passed=yes >>"$GITHUB_OUTPUT" | ||
| else | ||
| echo passed=no >>"$GITHUB_OUTPUT" | ||
| echo "::error::source code not formatted" | ||
| fi | ||
| env: | ||
| PKG_DIR: binpickle | ||
| - name: ๐ Check source code lint rules | ||
| id: lint | ||
| run: | | ||
| if ruff check --output-format=github $PKG_DIR; then | ||
| echo passed=yes >>"$GITHUB_OUTPUT" | ||
| else | ||
| echo passed=no >>"$GITHUB_OUTPUT" | ||
| echo "::error::source code lint check failed" | ||
| fi | ||
| env: | ||
| PKG_DIR: binpickle | ||
| - name: ๐งพ Checking lint and format results | ||
| run: | | ||
| if [ "$FMT_PASSED" = no ]; then | ||
| echo "::error::format failed, failing build" | ||
| exit 1 | ||
| fi | ||
| if [ "$LINT_PASSED" = no ]; then | ||
| if [ "$LINT_REQUIRED" = true ]; then | ||
| echo "::error::lint failed, failing build" | ||
| exit 2 | ||
| else | ||
| echo "::error::lint failed but non-mandatory" | ||
| fi | ||
| fi | ||
| env: | ||
| FMT_PASSED: ${{ steps.format.outputs.passed }} | ||
| LINT_PASSED: ${{ steps.lint.outputs.passed }} | ||
| LINT_REQUIRED: True | ||
| - name: ๐ Check types | ||
| id: typecheck | ||
| uses: jakebailey/pyright-action@v1 | ||
| with: | ||
| extra-args: binpickle | ||
| name: Test and Package | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| release: | ||
| types: [created,published] | ||
| pull_request: | ||
| concurrency: | ||
| group: test-${{github.ref}} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| test: | ||
| name: Test with Python ${{matrix.python}} on ${{matrix.platform}} | ||
| runs-on: ${{matrix.platform}}-latest | ||
| strategy: | ||
| matrix: | ||
| platform: | ||
| - macos | ||
| - windows | ||
| - ubuntu | ||
| python: | ||
| - "3.10" | ||
| - "3.11" | ||
| - "3.12" | ||
| exclude: | ||
| - platform: macos | ||
| python: 3.9 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: ${{matrix.python}} | ||
| - name: Set up dependencies | ||
| run: | | ||
| pip install -e '.[test]' | ||
| - name: Run tests | ||
| run: python -m pytest --cov=binpickle --cov-report=xml tests | ||
| - name: Save test results | ||
| uses: lenskit/lkbuild/actions/save-test-results@main | ||
| with: | ||
| artifact-name: test-${{matrix.platform}}-py${{matrix.python}} | ||
| report: | ||
| name: Process test results | ||
| runs-on: ubuntu-latest | ||
| needs: [test] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Report test results | ||
| uses: lenskit/lkbuild/actions/report-test-results@main | ||
| sdist: | ||
| name: Build Source Packages | ||
| runs-on: ubuntu-latest | ||
| needs: [test] | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Fetch Git tags | ||
| run: git fetch --tags | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.10" | ||
| - name: Install Python deps | ||
| run: pip install -U build twine | ||
| - name: Build distribution | ||
| run: python -m build | ||
| - name: Save archive | ||
| uses: actions/upload-artifact@v1 | ||
| with: | ||
| name: pypi-pkgs | ||
| path: dist | ||
| - name: List dist dir | ||
| run: ls -R dist | ||
| - name: Publish PyPI packages | ||
| if: github.event_name == 'release' | ||
| run: | | ||
| twine upload dist/* | ||
| shell: bash | ||
| env: | ||
| TWINE_NON_INTERACTIVE: y | ||
| TWINE_USERNAME: __token__ | ||
| TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }} |
| version: 2 | ||
| build: | ||
| os: ubuntu-22.04 | ||
| tools: | ||
| python: "3.11" | ||
| sphinx: | ||
| configuration: docs/conf.py | ||
| python: | ||
| install: | ||
| - method: pip | ||
| path: . | ||
| extra_requirements: | ||
| - doc | ||
| - blosc |
| { | ||
| "[python]": { | ||
| "editor.defaultFormatter": "charliermarsh.ruff", | ||
| "editor.codeActionsOnSave": { | ||
| "source.organizeImports.ruff": "explicit" | ||
| }, | ||
| "editor.formatOnSave": true, | ||
| }, | ||
| "[jsonc]": { | ||
| "editor.formatOnSave": true, | ||
| }, | ||
| "[yaml]": { | ||
| "editor.defaultFormatter": "redhat.vscode-yaml", | ||
| "editor.formatOnSave": true, | ||
| }, | ||
| "[toml]": { | ||
| "editor.defaultFormatter": "tamasfe.even-better-toml", | ||
| "editor.formatOnSave": true, | ||
| }, | ||
| } |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
1151
6.08%66228
-2.11%38
-9.52%