cytozip 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 (33) hide show
  1. cytozip-0.0.2/.gitattributes +2 -0
  2. cytozip-0.0.2/.github/workflows/publish.yml +57 -0
  3. cytozip-0.0.2/.gitignore +13 -0
  4. cytozip-0.0.2/LICENSE +674 -0
  5. cytozip-0.0.2/MANIFEST.in +5 -0
  6. cytozip-0.0.2/PKG-INFO +738 -0
  7. cytozip-0.0.2/README.md +36 -0
  8. cytozip-0.0.2/cytozip/__init__.py +60 -0
  9. cytozip-0.0.2/cytozip/_version.py +24 -0
  10. cytozip-0.0.2/cytozip/allc.py +1232 -0
  11. cytozip-0.0.2/cytozip/cz.py +2676 -0
  12. cytozip-0.0.2/cytozip/cz_accel.c +45829 -0
  13. cytozip-0.0.2/cytozip/cz_accel.pyx +1118 -0
  14. cytozip-0.0.2/cytozip.egg-info/PKG-INFO +738 -0
  15. cytozip-0.0.2/cytozip.egg-info/SOURCES.txt +31 -0
  16. cytozip-0.0.2/cytozip.egg-info/dependency_links.txt +1 -0
  17. cytozip-0.0.2/cytozip.egg-info/entry_points.txt +2 -0
  18. cytozip-0.0.2/cytozip.egg-info/requires.txt +5 -0
  19. cytozip-0.0.2/cytozip.egg-info/top_level.txt +1 -0
  20. cytozip-0.0.2/dev.md +252 -0
  21. cytozip-0.0.2/pyproject.toml +36 -0
  22. cytozip-0.0.2/setup.cfg +4 -0
  23. cytozip-0.0.2/setup.py +58 -0
  24. cytozip-0.0.2/tests/__pycache__/test_delta_index.cpython-310-pytest-8.4.1.pyc +0 -0
  25. cytozip-0.0.2/tests/__pycache__/test_delta_index.cpython-311-pytest-7.4.0.pyc +0 -0
  26. cytozip-0.0.2/tests/__pycache__/test_remote.cpython-310-pytest-8.4.1.pyc +0 -0
  27. cytozip-0.0.2/tests/__pycache__/test_remote.cpython-311-pytest-7.4.0.pyc +0 -0
  28. cytozip-0.0.2/tests/__pycache__/test_uint.cpython-310-pytest-8.4.1.pyc +0 -0
  29. cytozip-0.0.2/tests/__pycache__/test_uint.cpython-311-pytest-7.4.0.pyc +0 -0
  30. cytozip-0.0.2/tests/__pycache__/test_uint.cpython-38-pytest-8.1.1.pyc +0 -0
  31. cytozip-0.0.2/tests/test_delta_index.py +260 -0
  32. cytozip-0.0.2/tests/test_remote.py +221 -0
  33. cytozip-0.0.2/tests/test_uint.py +24 -0
@@ -0,0 +1,2 @@
1
+ notebooks/** linguist-vendored
2
+ docs/** linguist-vendored
@@ -0,0 +1,57 @@
1
+ # This workflow will upload a Python Package using Twine 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
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ deploy:
20
+
21
+ runs-on: ubuntu-latest
22
+
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ with:
26
+ fetch-depth: 0
27
+ - name: Fetch tags
28
+ run: |
29
+ git fetch --tags --force
30
+ echo "Git tags found:"
31
+ git tag -l
32
+ echo "Git describe:"
33
+ git describe --tags --long || echo "git describe failed"
34
+ - name: Set up Python
35
+ uses: actions/setup-python@v5
36
+ with:
37
+ python-version: '3.12'
38
+ - name: Install dependencies
39
+ run: |
40
+ sudo apt-get install -y libbz2-dev liblzma-dev libcurl4-openssl-dev zlib1g-dev
41
+ python -m pip install --upgrade pip
42
+ pip install build setuptools setuptools_scm cython numpy
43
+ - name: Build package
44
+ run: |
45
+ rm -rf dist/
46
+ python -m build --sdist
47
+ echo "Built packages:"
48
+ ls -la dist/
49
+ echo "Version detected by setuptools_scm:"
50
+ python -c "from setuptools_scm import get_version; print(get_version())"
51
+ - name: Publish package
52
+ uses: pypa/gh-action-pypi-publish@release/v1
53
+ with:
54
+ user: __token__
55
+ password: ${{ secrets.PYPI_API_TOKEN }}
56
+ verbose: true
57
+ skip-existing: true
@@ -0,0 +1,13 @@
1
+ /notebooks/.ipynb_checkpoints/
2
+ example/
3
+ cytozip/cz_accel.c
4
+ cytozip/cz_accel.cpython-311-x86_64-linux-gnu.so
5
+ cytozip/__pycache__/
6
+ cytozip.egg-info/
7
+ ChunkZIP.egg-info/
8
+ cytozip/cz_accel.cpython-38-darwin.so
9
+ build/
10
+ dist/
11
+ .eggs/
12
+ .idea/
13
+ .DS_Store