Skip to content

Commit cecb3a9

Browse files
committed
Agrega wrappers de Python
1 parent 513ff84 commit cecb3a9

10 files changed

Lines changed: 693 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[workspace]
22
resolver = "3"
3-
members = ["rs/ixaccess","r/ixaccess/src/rust"]
3+
members = ["rs/ixaccess","r/ixaccess/src/rust","py/ixaccess"]

py/ixaccess/.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
MANIFEST
23+
24+
# Virtual environments
25+
venv/
26+
ENV/
27+
env/
28+
.venv
29+
30+
# PyCharm
31+
.idea/
32+
33+
# VS Code
34+
.vscode/
35+
36+
# Rust/Cargo
37+
target/
38+
Cargo.lock
39+
**/*.rs.bk
40+
41+
# maturin
42+
.maturin/
43+
44+
# Testing
45+
.pytest_cache/
46+
.coverage
47+
htmlcov/
48+
49+
# Example files
50+
example-access-control.ix
51+
*.ixaccess
52+
53+
# macOS
54+
.DS_Store

py/ixaccess/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "ixaccess-py"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[lib]
7+
name = "ixaccess"
8+
crate-type = ["cdylib"]
9+
10+
[dependencies]
11+
ixaccess = { path = "../../rs/ixaccess" }
12+
pyo3 = { version = "0.22", features = ["extension-module"] }
13+
tokio = { version = "1.48.0", features = ["rt-multi-thread", "macros"] }

0 commit comments

Comments
 (0)