shr-parser 0.1.3__tar.gz → 0.1.5__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.
- {shr_parser-0.1.3 → shr_parser-0.1.5}/Cargo.lock +1 -1
- {shr_parser-0.1.3 → shr_parser-0.1.5}/Cargo.toml +1 -1
- {shr_parser-0.1.3 → shr_parser-0.1.5}/PKG-INFO +2 -2
- {shr_parser-0.1.3 → shr_parser-0.1.5}/pyproject.toml +2 -1
- {shr_parser-0.1.3 → shr_parser-0.1.5}/src/lib.rs +2 -2
- {shr_parser-0.1.3 → shr_parser-0.1.5}/.github/workflows/CI.yml +0 -0
- {shr_parser-0.1.3 → shr_parser-0.1.5}/.gitignore +0 -0
- {shr_parser-0.1.3 → shr_parser-0.1.5}/LICENSE +0 -0
- {shr_parser-0.1.3 → shr_parser-0.1.5}/README.md +0 -0
- {shr_parser-0.1.3 → shr_parser-0.1.5}/rust-toolchain.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: shr_parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -9,7 +9,7 @@ Summary: Parses sweeps from a Signal Hound Spike file.
|
|
|
9
9
|
Author: Lasse Nielsen
|
|
10
10
|
Author-email: Lasse Nielsen <lasse@xerrion.dk>
|
|
11
11
|
License: GPL-3.0-only
|
|
12
|
-
Requires-Python: >=3.8
|
|
12
|
+
Requires-Python: >=3.8, <=3.12
|
|
13
13
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
14
14
|
Project-URL: Source Code, https://github.com/Xerrion/shr_parser_py
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "shr_parser"
|
|
7
|
-
requires-python = ">=3.8"
|
|
7
|
+
requires-python = ">=3.8,<=3.12"
|
|
8
8
|
classifiers = [
|
|
9
9
|
"Programming Language :: Rust",
|
|
10
10
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
@@ -16,5 +16,6 @@ readme = "README.md"
|
|
|
16
16
|
license = { file = "LICENSE" }
|
|
17
17
|
description = "Parses sweeps from a Signal Hound Spike file."
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
[tool.maturin]
|
|
20
21
|
features = ["pyo3/extension-module"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
use pyo3::prelude::*;
|
|
2
2
|
use pyo3::wrap_pyfunction;
|
|
3
3
|
use std::path::PathBuf;
|
|
4
|
-
use shr_parser::{SHRParser, SHRParsingType};
|
|
4
|
+
use ::shr_parser::{SHRParser, SHRParsingType};
|
|
5
5
|
|
|
6
6
|
/// A wrapper around the SHRParser for Python
|
|
7
7
|
#[pyclass]
|
|
@@ -54,7 +54,7 @@ fn create_parser(file_path: String, parsing_type: i32) -> PyResult<PySHRParser>
|
|
|
54
54
|
|
|
55
55
|
/// A Python module implemented in Rust.
|
|
56
56
|
#[pymodule]
|
|
57
|
-
fn
|
|
57
|
+
fn shr_parser(module: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
58
58
|
module.add_class::<PySHRParser>()?;
|
|
59
59
|
module.add_function(wrap_pyfunction!(create_parser, module)?)?;
|
|
60
60
|
Ok(())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|