Skip to content

Commit 2b112aa

Browse files
authored
Merge pull request #352 from DerwenAI/fuck_poetry
trying to migrate to poetry
2 parents 22238e8 + bc02c08 commit 2b112aa

21 files changed

+4461
-254
lines changed

.gitignore

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ docs/ex[0-9]*_files
66
examples/foo.ttl
77
examples/tmp.*
88
kgl.tgz
9+
report-*
10+
*.zip
11+
.DS_Store
912
dask-worker-space/
1013
.ipynb_checkpoints/
1114
kglab/.ipynb_checkpoints/
@@ -144,11 +147,3 @@ dmypy.json
144147

145148
# Pyre type checker
146149
.pyre/
147-
148-
report-*
149-
150-
# poetry lock file
151-
poetry.lock
152-
153-
*.zip
154-
.DS_Store

README.md

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,89 +6,61 @@
66
![GitHub commit activity](https://img.shields.io/github/commit-activity/w/DerwenAI/kglab?style=plastic)
77
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
88
[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
9-
![CI](https://github.com/DerwenAI/kglab/workflows/CI/badge.svg)
9+
[![Docker Pulls](https://img.shields.io/docker/pulls/derwenai/kglab.svg?maxAge=604800)](https://hub.docker.com/r/derwenai/kglab/)
1010
![downloads](https://img.shields.io/pypi/dm/kglab)
11-
![sponsor](https://img.shields.io/github/sponsors/ceteri)
1211

1312

1413
Welcome to *Graph Data Science*:
1514
<https://derwen.ai/docs/kgl/>
1615

1716
The **kglab** library provides a simple abstraction layer in Python 3.7+
1817
for building knowledge graphs, leveraging Pandas, NetworkX, RAPIDS, RDFLib,
19-
Morph-KGC, pythonPSL, and many more.
20-
21-
> **SPECIAL REQUEST:**
22-
> Which features would you like in an open source Python library for building knowledge graphs?
23-
> Please add your suggestions through this survey:
24-
> https://forms.gle/FMHgtmxHYWocprMn6
25-
> This will help us prioritize the **kglab** roadmap.
26-
27-
28-
## Reviews
29-
30-
[@kaaloo](https://github.com/kaaloo):
31-
> "Feels like it's a Hugging Face for graphs! 🤯"
18+
Morph-KGC, and many more.
3219

3320

3421
## Getting Started
3522

3623
See the ["Getting Started"](https://derwen.ai/docs/kgl/start/)
3724
section of the online documentation.
3825

26+
## Useing kglab as a package for your project
3927

40-
### Using `kglab` as a library for your Python project
41-
42-
We recommend installing from [PyPi](https://pypi.python.org/pypi/kglab) or [conda](https://anaconda.org/anaconda/conda):
43-
44-
#### `pip`
28+
### We recommend installing from [PyPi](https://pypi.python.org/pypi/kglab):
4529

30+
#### pip
4631
```bash
4732
python3 -m pip install kglab
4833
```
4934

50-
#### `pipenv`
51-
35+
#### poetry
5236
```bash
53-
pipenv install kglab
37+
poetry add kglab
5438
```
5539

56-
#### `conda`
40+
#### conda
5741
```bash
5842
conda env create -n kglab
5943
conda activate kglab
6044
pip install kglab
6145
```
6246

6347
### Or, install from source:
64-
6548
If you work directly from this Git repo, be sure to install the
6649
dependencies:
6750

6851
#### pip
69-
7052
```bash
7153
python3 -m pip install -U pip wheel
7254
python3 -m pip install -r requirements.txt
7355
```
7456

75-
#### pipenv
76-
77-
```bash
78-
pipenv install --dev
79-
```
80-
81-
Alternatively, to install dependencies using `conda`:
82-
57+
#### conda
8358
```bash
8459
conda env create -f environment.yml --force
8560
conda activate kglab
8661
```
8762

88-
### Sample Code
89-
9063
Then to run some simple uses of this library:
91-
9264
```python
9365
import kglab
9466

@@ -133,14 +105,12 @@ Also, container images for each release are available on DockerHub:
133105
<https://hub.docker.com/repository/docker/derwenai/kglab>
134106

135107
To build a container image and run it for the tutorials:
136-
137108
```bash
138109
docker build --pull --rm -f "docker/Dockerfile" -t kglab:latest .
139110
docker run -p 8888:8888 -it kglab
140111
```
141112

142113
To build and run a container image for testing:
143-
144114
```bash
145115
docker build --pull --rm -f "docker/testsuite.Dockerfile" -t kglabtest:latest .
146116
docker run --rm -it kglabtest
@@ -199,7 +169,7 @@ Source code for **kglab** plus its logo, documentation, and examples
199169
have an [MIT license](https://spdx.org/licenses/MIT.html) which is
200170
succinct and simplifies use in commercial applications.
201171

202-
All materials herein are Copyright &copy; 2020-2023 Derwen, Inc.
172+
All materials herein are Copyright &copy; 2020-2022 Derwen, Inc.
203173
</details>
204174

205175

@@ -241,15 +211,14 @@ and to our contributors:
241211
[@tomaarsen](https://github.com/tomaarsen),
242212
[@Mec-iS](https://github.com/Mec-iS),
243213
[@jake-aft](https://github.com/jake-aft),
214+
[@cutterkom](https://github.com/cutterkom),
215+
[@RishiKumarRay](https://github.com/RishiKumarRay),
244216
[@Tpt](https://github.com/Tpt),
245217
[@ArenasGuerreroJulian](https://github.com/ArenasGuerreroJulian),
246218
[@fils](https://github.com/fils),
247-
[@cutterkom](https://github.com/cutterkom),
248-
[@RishiKumarRay](https://github.com/RishiKumarRay),
249219
[@gauravjaglan](https://github.com/gauravjaglan),
250220
[@pebbie](https://github.com/pebbie),
251221
[@CatChenal](https://github.com/CatChenal),
252-
[@jorisSchaller](https://github.com/jorisSchaller),
253222
[@dmoore247](https://github.com/dmoore247),
254223
plus general support from [Derwen, Inc.](https://derwen.ai/);
255224
the [Knowledge Graph Conference](https://www.knowledgegraph.tech/)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)