bjdata 0.5.1__tar.gz → 0.5.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.
- {bjdata-0.5.1 → bjdata-0.5.2}/PKG-INFO +7 -3
- {bjdata-0.5.1 → bjdata-0.5.2}/README.md +2 -2
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/__init__.py +1 -1
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/PKG-INFO +7 -3
- {bjdata-0.5.1 → bjdata-0.5.2}/pyproject.toml +2 -1
- {bjdata-0.5.1 → bjdata-0.5.2}/setup.py +5 -1
- {bjdata-0.5.1 → bjdata-0.5.2}/src/_bjdata.c +1 -4
- {bjdata-0.5.1 → bjdata-0.5.2}/src/decoder.c +2 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/encoder.c +2 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/numpyapi.h +9 -1
- {bjdata-0.5.1 → bjdata-0.5.2}/Binary_JData_Specification.md +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/CHANGELOG +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/LICENSE +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/MANIFEST.in +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/NOTICE +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/UBJSON-Specification.md +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/__main__.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/compat.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/decoder.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/encoder.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata/markers.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/SOURCES.txt +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/dependency_links.txt +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/not-zip-safe +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/requires.txt +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/bjdata.egg-info/top_level.txt +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/ez_setup.py +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/setup.cfg +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/common.h +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/decoder.h +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/encoder.h +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/markers.h +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/python_funcs.c +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/src/python_funcs.h +0 -0
- {bjdata-0.5.1 → bjdata-0.5.2}/test/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bjdata
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Binary JData and UBJSON encoder/decoder
|
|
5
5
|
Home-page: https://github.com/NeuroJSON/pybj
|
|
6
6
|
Author: Qianqian Fang
|
|
@@ -23,6 +23,10 @@ Classifier: Programming Language :: Python :: 3.6
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.7
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.8
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.9
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
30
|
Classifier: Topic :: Software Development :: Libraries
|
|
27
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
28
32
|
Description-Content-Type: text/markdown
|
|
@@ -54,13 +58,13 @@ Dynamic: summary
|
|
|
54
58
|
- Copyright: (C) Qianqian Fang (2020-2025) <q.fang at neu.edu>
|
|
55
59
|
- Copyright: (C) Iotic Labs Ltd. (2016-2019) <vilnis.termanis at iotic-labs.com>
|
|
56
60
|
- License: Apache License, Version 2.0
|
|
57
|
-
- Version: 0.5.
|
|
61
|
+
- Version: 0.5.2
|
|
58
62
|
- URL: https://pypi.org/project/bjdata/
|
|
59
63
|
- Github: https://github.com/NeuroJSON/pybj
|
|
60
64
|
- BJData Spec Version: [V1 Draft 3](https://neurojson.org/bjdata/draft3)
|
|
61
65
|
- Acknowledgement: This project is supported by US National Institute of Health (NIH) grant U24-NS124027
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+

|
|
64
68
|
|
|
65
69
|
This is a Python v3.2+ (and 2.7+) [Binary JData](https://neurojson.org) encoder
|
|
66
70
|
and decoder based on the [Draft-3](Binary_JData_Specification.md) specification.
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
- Copyright: (C) Qianqian Fang (2020-2025) <q.fang at neu.edu>
|
|
6
6
|
- Copyright: (C) Iotic Labs Ltd. (2016-2019) <vilnis.termanis at iotic-labs.com>
|
|
7
7
|
- License: Apache License, Version 2.0
|
|
8
|
-
- Version: 0.5.
|
|
8
|
+
- Version: 0.5.2
|
|
9
9
|
- URL: https://pypi.org/project/bjdata/
|
|
10
10
|
- Github: https://github.com/NeuroJSON/pybj
|
|
11
11
|
- BJData Spec Version: [V1 Draft 3](https://neurojson.org/bjdata/draft3)
|
|
12
12
|
- Acknowledgement: This project is supported by US National Institute of Health (NIH) grant U24-NS124027
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+

|
|
15
15
|
|
|
16
16
|
This is a Python v3.2+ (and 2.7+) [Binary JData](https://neurojson.org) encoder
|
|
17
17
|
and decoder based on the [Draft-3](Binary_JData_Specification.md) specification.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bjdata
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Binary JData and UBJSON encoder/decoder
|
|
5
5
|
Home-page: https://github.com/NeuroJSON/pybj
|
|
6
6
|
Author: Qianqian Fang
|
|
@@ -23,6 +23,10 @@ Classifier: Programming Language :: Python :: 3.6
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.7
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.8
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.9
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
30
|
Classifier: Topic :: Software Development :: Libraries
|
|
27
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
28
32
|
Description-Content-Type: text/markdown
|
|
@@ -54,13 +58,13 @@ Dynamic: summary
|
|
|
54
58
|
- Copyright: (C) Qianqian Fang (2020-2025) <q.fang at neu.edu>
|
|
55
59
|
- Copyright: (C) Iotic Labs Ltd. (2016-2019) <vilnis.termanis at iotic-labs.com>
|
|
56
60
|
- License: Apache License, Version 2.0
|
|
57
|
-
- Version: 0.5.
|
|
61
|
+
- Version: 0.5.2
|
|
58
62
|
- URL: https://pypi.org/project/bjdata/
|
|
59
63
|
- Github: https://github.com/NeuroJSON/pybj
|
|
60
64
|
- BJData Spec Version: [V1 Draft 3](https://neurojson.org/bjdata/draft3)
|
|
61
65
|
- Acknowledgement: This project is supported by US National Institute of Health (NIH) grant U24-NS124027
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+

|
|
64
68
|
|
|
65
69
|
This is a Python v3.2+ (and 2.7+) [Binary JData](https://neurojson.org) encoder
|
|
66
70
|
and decoder based on the [Draft-3](Binary_JData_Specification.md) specification.
|
|
@@ -80,7 +80,7 @@ COMPILE_ARGS = ["-std=c99", "-DUSE__BJDATA"]
|
|
|
80
80
|
|
|
81
81
|
setup(
|
|
82
82
|
name="bjdata",
|
|
83
|
-
version="0.5.
|
|
83
|
+
version="0.5.2",
|
|
84
84
|
description="Binary JData and UBJSON encoder/decoder",
|
|
85
85
|
long_description=load_description("README.md"),
|
|
86
86
|
long_description_content_type="text/markdown",
|
|
@@ -134,6 +134,10 @@ setup(
|
|
|
134
134
|
"Programming Language :: Python :: 3.7",
|
|
135
135
|
"Programming Language :: Python :: 3.8",
|
|
136
136
|
"Programming Language :: Python :: 3.9",
|
|
137
|
+
"Programming Language :: Python :: 3.10",
|
|
138
|
+
"Programming Language :: Python :: 3.11",
|
|
139
|
+
"Programming Language :: Python :: 3.12",
|
|
140
|
+
"Programming Language :: Python :: 3.13",
|
|
137
141
|
"Topic :: Software Development :: Libraries",
|
|
138
142
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
139
143
|
],
|
|
@@ -20,10 +20,7 @@
|
|
|
20
20
|
#include "common.h"
|
|
21
21
|
#include "encoder.h"
|
|
22
22
|
#include "decoder.h"
|
|
23
|
-
|
|
24
|
-
#define PY_ARRAY_UNIQUE_SYMBOL bjdata_numpy_array
|
|
25
|
-
#define NPY_NO_DEPRECATED_API 0
|
|
26
|
-
#include <numpy/arrayobject.h>
|
|
23
|
+
#include "numpyapi.h"
|
|
27
24
|
|
|
28
25
|
/******************************************************************************/
|
|
29
26
|
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
#pragma once
|
|
19
19
|
|
|
20
|
-
#define NO_IMPORT_ARRAY
|
|
21
20
|
#define PY_ARRAY_UNIQUE_SYMBOL bjdata_numpy_array
|
|
22
21
|
#define NPY_NO_DEPRECATED_API 0
|
|
23
22
|
#include <numpy/arrayobject.h>
|
|
@@ -26,6 +25,15 @@
|
|
|
26
25
|
extern "C" {
|
|
27
26
|
#endif
|
|
28
27
|
|
|
28
|
+
// Add compatibility macros
|
|
29
|
+
#ifndef NPY_ARRAY_C_CONTIGUOUS
|
|
30
|
+
#define NPY_ARRAY_C_CONTIGUOUS NPY_C_CONTIGUOUS
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
#ifndef NPY_ARRAY_F_CONTIGUOUS
|
|
34
|
+
#define NPY_ARRAY_F_CONTIGUOUS NPY_F_CONTIGUOUS
|
|
35
|
+
#endif
|
|
36
|
+
|
|
29
37
|
// NumPy 2.0 compatibility layer
|
|
30
38
|
#if NPY_API_VERSION >= 0x0000000f
|
|
31
39
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|