Skip to content

Commit 7f037ae

Browse files
committed
[Project] Release 1.0.0
1 parent 8fda70e commit 7f037ae

File tree

5 files changed

+10
-58
lines changed

5 files changed

+10
-58
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![JB Research](https://jb.gg/badges/research-flat-square.svg)](https://research.jetbrains.org/)
66
[![Ubuntu](https://github.com/JetBrains-Research/cuBool/workflows/Ubuntu/badge.svg?branch=master)](https://github.com/JetBrains-Research/cuBool/actions)
77
[![License](https://img.shields.io/badge/license-MIT-orange)](https://github.com/JetBrains-Research/cuBool/blob/master/LICENSE)
8-
[![Package](https://img.shields.io/badge/pypi%20package-alpha-%233776ab)](https://test.pypi.org/project/pycubool/)
8+
[![Package](https://img.shields.io/badge/pypi%20package-1.0.0-%233776ab)](https://pypi.org/project/pycubool/)
99

1010
**cuBool** is a linear Boolean algebra library primitives and operations for
1111
work with sparse matrices written on the NVIDIA CUDA platform. The primary
@@ -28,6 +28,8 @@ for computations on CPU side only. This backend is selected automatically
2828
if Cuda compatible device is not presented in the system. This can be quite handy for
2929
prototyping algorithms on a local computer for later running on a powerful server.
3030

31+
**PyPI package web page** is following [link](https://pypi.org/project/pycubool/).
32+
3133
### Features
3234

3335
- [X] Library C interface
@@ -52,10 +54,10 @@ prototyping algorithms on a local computer for later running on a powerful serve
5254
- [X] Tests for Python wrapper
5355
- [X] Pip package
5456
- [X] Code examples
55-
- [ ] User guide
57+
- [X] User guide
5658
- [X] Unit Tests collection
5759
- [X] Publish built artifacts and shared libs
58-
- [ ] Publish stable source code archives
60+
- [X] Publish stable source code archives
5961

6062
## Simple example
6163

python/README.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,6 @@ b[2, 1] = True
6060
print(a, b, a.mxm(b), sep="\n")
6161
```
6262

63-
Output:
64-
65-
```
66-
0 1 2
67-
0 | 1 . . | 0
68-
1 | . . 1 | 1
69-
0 1 2
70-
71-
0 1 2 3
72-
0 | . 1 1 . | 0
73-
1 | . . . 1 | 1
74-
2 | . 1 . . | 2
75-
0 1 2 3
76-
77-
0 1 2 3
78-
0 | . 1 1 . | 0
79-
1 | . 1 . . | 1
80-
0 1 2 3
81-
```
82-
8363
## Transitive closure example
8464

8565
Compute the transitive closure problem for the directed graph and print the result:
@@ -104,24 +84,6 @@ while total != t.nvals:
10484
print(a, t, sep="\n")
10585
```
10686

107-
Output:
108-
109-
```
110-
0 1 2 3
111-
0 | . 1 . . | 0
112-
1 | . . 1 . | 1
113-
2 | 1 . . 1 | 2
114-
3 | . . 1 . | 3
115-
0 1 2 3
116-
117-
0 1 2 3
118-
0 | 1 1 1 1 | 0
119-
1 | 1 1 1 1 | 1
120-
2 | 1 1 1 1 | 2
121-
3 | 1 1 1 1 | 3
122-
0 1 2 3
123-
```
124-
12587
## GraphViz example
12688

12789
Generate GraphViz graph script for a graph stored as a set of adjacency matrices:
@@ -145,21 +107,7 @@ b[3, 2] = True
145107
print(cb.matrices_to_gviz(matrices={"a": a, "b": b}, graph_name=name, edge_colors=colors))
146108
```
147109

148-
Output:
149-
150-
```
151-
digraph G {
152-
graph [label=Test];
153-
node [color=black];
154-
0 -> 1 [label=a,color=red];
155-
1 -> 2 [label=a,color=red];
156-
2 -> 0 [label=a,color=red];
157-
2 -> 3 [label=b,color=green];
158-
3 -> 2 [label=b,color=green];
159-
}
160-
```
161-
162-
As an image:
110+
Script can be rendered by any [gviz tool](https://dreampuf.github.io/GraphvizOnline/) online and the result can be following:
163111

164112
![gviz-example](https://raw.githubusercontent.com/JetBrains-Research/cuBool/master/docs/pictures/gviz_example.png)
165113

python/publish_pypi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python3 setup.py sdist bdist_wheel
2+
twine upload --verbose dist/*
File renamed without changes.

python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="pycubool",
13-
version="0.0.1",
13+
version="1.0.0",
1414
author="Egor Orachyov",
1515
author_email="[email protected]",
1616
license="MIT",
@@ -23,7 +23,7 @@
2323
"Bug Tracker": "https://github.com/JetBrains-Research/cuBool/issues"
2424
},
2525
classifiers=[
26-
"Development Status :: 3 - Alpha",
26+
"Development Status :: 5 - Production/Stable",
2727
"Programming Language :: Python :: 3",
2828
"Programming Language :: C++",
2929
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)