@mat3ra/ade 2025.11.26-0 → 2025.12.2-0
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.
- package/README.md +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,12 +22,19 @@ For usage within a JavaScript project:
|
|
|
22
22
|
npm install @mat3ra/ade
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
For usage within a Python project:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install mat3ra-ade
|
|
29
|
+
```
|
|
30
|
+
|
|
25
31
|
For development:
|
|
26
32
|
|
|
27
33
|
```bash
|
|
28
34
|
git clone https://github.com/Exabyte-io/ade.git
|
|
29
35
|
```
|
|
30
36
|
|
|
37
|
+
|
|
31
38
|
## Contributions
|
|
32
39
|
|
|
33
40
|
This repository is an [open-source](LICENSE.md) work-in-progress and we welcome contributions.
|
|
@@ -39,6 +46,7 @@ See [ESSE](https://github.com/Exabyte-io/esse) for additional context regarding
|
|
|
39
46
|
|
|
40
47
|
Useful commands for development:
|
|
41
48
|
|
|
49
|
+
### JavaScript/TypeScript
|
|
42
50
|
```bash
|
|
43
51
|
# run linter without persistence
|
|
44
52
|
npm run lint
|
|
@@ -62,6 +70,20 @@ npm run test:coverage:check
|
|
|
62
70
|
npm run test:coverage:html
|
|
63
71
|
```
|
|
64
72
|
|
|
73
|
+
### Python
|
|
74
|
+
```bash
|
|
75
|
+
# run linter
|
|
76
|
+
python -m black src/py/mat3ra/ade/ tests/py/
|
|
77
|
+
python -m ruff check src/py/mat3ra/ade/ tests/py/
|
|
78
|
+
python -m isort src/py/mat3ra/ade/ tests/py/
|
|
79
|
+
|
|
80
|
+
# run tests
|
|
81
|
+
python -m pytest tests/py/
|
|
82
|
+
|
|
83
|
+
# run tests with coverage
|
|
84
|
+
python -m pytest tests/py/ --cov=mat3ra.ade --cov-report=html
|
|
85
|
+
```
|
|
86
|
+
|
|
65
87
|
## Development: Code/Test Coverage
|
|
66
88
|
|
|
67
89
|
This project includes comprehensive code coverage reporting with multiple viewing options:
|