hypersync 0.0.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.
- hypersync-0.0.1/.github/workflows/CI.yml +119 -0
- hypersync-0.0.1/.gitignore +73 -0
- hypersync-0.0.1/Cargo.lock +2838 -0
- hypersync-0.0.1/Cargo.toml +27 -0
- hypersync-0.0.1/LICENSE +21 -0
- hypersync-0.0.1/PKG-INFO +103 -0
- hypersync-0.0.1/README.md +93 -0
- hypersync-0.0.1/data/block.parquet +0 -0
- hypersync-0.0.1/data/log.parquet +0 -0
- hypersync-0.0.1/data/transaction.parquet +0 -0
- hypersync-0.0.1/example.py +87 -0
- hypersync-0.0.1/pyproject.toml +16 -0
- hypersync-0.0.1/src/config.rs +41 -0
- hypersync-0.0.1/src/from_arrow.rs +367 -0
- hypersync-0.0.1/src/lib.rs +300 -0
- hypersync-0.0.1/src/query.rs +98 -0
- hypersync-0.0.1/src/types.rs +88 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.3.2
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
10
|
+
cancel-in-progress: true
|
|
11
|
+
|
|
12
|
+
on:
|
|
13
|
+
workflow_dispatch: null
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
linux-x86_64:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v3
|
|
23
|
+
- uses: actions/setup-python@v4
|
|
24
|
+
with:
|
|
25
|
+
python-version: '3.10'
|
|
26
|
+
- name: Build wheels
|
|
27
|
+
uses: PyO3/maturin-action@v1
|
|
28
|
+
with:
|
|
29
|
+
target: x86_64
|
|
30
|
+
args: --release --out dist --find-interpreter
|
|
31
|
+
sccache: 'true'
|
|
32
|
+
manylinux: auto
|
|
33
|
+
before-script-linux: yum install -y capnproto capnproto-devel
|
|
34
|
+
- name: Upload wheels
|
|
35
|
+
uses: actions/upload-artifact@v3
|
|
36
|
+
with:
|
|
37
|
+
name: wheels
|
|
38
|
+
path: dist
|
|
39
|
+
|
|
40
|
+
windows:
|
|
41
|
+
runs-on: windows-latest
|
|
42
|
+
strategy:
|
|
43
|
+
matrix:
|
|
44
|
+
target: [x64, x86]
|
|
45
|
+
steps:
|
|
46
|
+
- uses: actions/checkout@v3
|
|
47
|
+
- uses: actions/setup-python@v4
|
|
48
|
+
with:
|
|
49
|
+
python-version: '3.10'
|
|
50
|
+
architecture: ${{ matrix.target }}
|
|
51
|
+
- name: capnproto
|
|
52
|
+
run: choco install capnproto
|
|
53
|
+
- name: Build wheels
|
|
54
|
+
uses: PyO3/maturin-action@v1
|
|
55
|
+
with:
|
|
56
|
+
target: ${{ matrix.target }}
|
|
57
|
+
args: --release --out dist --find-interpreter
|
|
58
|
+
sccache: 'true'
|
|
59
|
+
- name: Upload wheels
|
|
60
|
+
uses: actions/upload-artifact@v3
|
|
61
|
+
with:
|
|
62
|
+
name: wheels
|
|
63
|
+
path: dist
|
|
64
|
+
|
|
65
|
+
macos:
|
|
66
|
+
runs-on: macos-latest
|
|
67
|
+
strategy:
|
|
68
|
+
matrix:
|
|
69
|
+
target: [x86_64, aarch64]
|
|
70
|
+
steps:
|
|
71
|
+
- uses: actions/checkout@v3
|
|
72
|
+
- uses: actions/setup-python@v4
|
|
73
|
+
with:
|
|
74
|
+
python-version: '3.10'
|
|
75
|
+
- name: capnproto
|
|
76
|
+
run: brew install capnp
|
|
77
|
+
- name: Build wheels
|
|
78
|
+
uses: PyO3/maturin-action@v1
|
|
79
|
+
with:
|
|
80
|
+
target: ${{ matrix.target }}
|
|
81
|
+
args: --release --out dist --find-interpreter
|
|
82
|
+
sccache: 'true'
|
|
83
|
+
- name: Upload wheels
|
|
84
|
+
uses: actions/upload-artifact@v3
|
|
85
|
+
with:
|
|
86
|
+
name: wheels
|
|
87
|
+
path: dist
|
|
88
|
+
|
|
89
|
+
sdist:
|
|
90
|
+
runs-on: ubuntu-latest
|
|
91
|
+
steps:
|
|
92
|
+
- uses: actions/checkout@v3
|
|
93
|
+
- name: Build sdist
|
|
94
|
+
uses: PyO3/maturin-action@v1
|
|
95
|
+
with:
|
|
96
|
+
command: sdist
|
|
97
|
+
args: --out dist
|
|
98
|
+
- name: Upload sdist
|
|
99
|
+
uses: actions/upload-artifact@v3
|
|
100
|
+
with:
|
|
101
|
+
name: wheels
|
|
102
|
+
path: dist
|
|
103
|
+
|
|
104
|
+
release:
|
|
105
|
+
name: Release
|
|
106
|
+
runs-on: ubuntu-latest
|
|
107
|
+
needs: [linux-x86_64, windows, macos, sdist]
|
|
108
|
+
steps:
|
|
109
|
+
- uses: actions/download-artifact@v3
|
|
110
|
+
with:
|
|
111
|
+
name: wheels
|
|
112
|
+
- name: Publish to PyPI
|
|
113
|
+
uses: PyO3/maturin-action@v1
|
|
114
|
+
env:
|
|
115
|
+
MATURIN_USERNAME: __token__
|
|
116
|
+
MATURIN_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
|
117
|
+
with:
|
|
118
|
+
command: upload
|
|
119
|
+
args: --non-interactive --skip-existing *
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/target
|
|
2
|
+
/data
|
|
3
|
+
|
|
4
|
+
# Byte-compiled / optimized / DLL files
|
|
5
|
+
__pycache__/
|
|
6
|
+
.pytest_cache/
|
|
7
|
+
*.py[cod]
|
|
8
|
+
|
|
9
|
+
# C extensions
|
|
10
|
+
*.so
|
|
11
|
+
|
|
12
|
+
# Distribution / packaging
|
|
13
|
+
.Python
|
|
14
|
+
.venv/
|
|
15
|
+
env/
|
|
16
|
+
bin/
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
eggs/
|
|
21
|
+
lib/
|
|
22
|
+
lib64/
|
|
23
|
+
parts/
|
|
24
|
+
sdist/
|
|
25
|
+
var/
|
|
26
|
+
include/
|
|
27
|
+
man/
|
|
28
|
+
venv/
|
|
29
|
+
*.egg-info/
|
|
30
|
+
.installed.cfg
|
|
31
|
+
*.egg
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
pip-selfcheck.json
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.coverage
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
|
|
46
|
+
# Translations
|
|
47
|
+
*.mo
|
|
48
|
+
|
|
49
|
+
# Mr Developer
|
|
50
|
+
.mr.developer.cfg
|
|
51
|
+
.project
|
|
52
|
+
.pydevproject
|
|
53
|
+
|
|
54
|
+
# Rope
|
|
55
|
+
.ropeproject
|
|
56
|
+
|
|
57
|
+
# Django stuff:
|
|
58
|
+
*.log
|
|
59
|
+
*.pot
|
|
60
|
+
|
|
61
|
+
.DS_Store
|
|
62
|
+
|
|
63
|
+
# Sphinx documentation
|
|
64
|
+
docs/_build/
|
|
65
|
+
|
|
66
|
+
# PyCharm
|
|
67
|
+
.idea/
|
|
68
|
+
|
|
69
|
+
# VSCode
|
|
70
|
+
.vscode/
|
|
71
|
+
|
|
72
|
+
# Pyenv
|
|
73
|
+
.python-version
|