File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
- # hkpy : a Python Framework for Hyperknowledge
1
+ # HKPy : a Python Framework for Hyperknowledge
2
2
3
3
## Getting Started
4
4
5
+ ### Install
6
+
7
+ To use HKPy in your project, you can install using:
8
+ ```
9
+ pip install hkpy
10
+ ```
11
+
5
12
### Connecting to a [ Hyperknowledge Base] ( # )
6
13
7
14
```
Original file line number Diff line number Diff line change 8
8
import setuptools
9
9
from setuptools import setup , find_packages
10
10
11
+
11
12
def find_recursive_packages (root ):
12
13
def _isdir (f ):
13
14
return os .path .isdir (f ) and '__pycache__' not in f
@@ -17,10 +18,11 @@ def _isdir(f):
17
18
dirs += find_recursive_packages (dir_ )
18
19
19
20
return [dir_ .replace ('/' , '.' ) for dir_ in dirs ]
20
-
21
+
22
+
21
23
NAME = 'hkpy'
22
24
VERSION = open ('version.txt' , 'r' ).read ().strip ()
23
- URL = 'https://github.ibm. com/hyperknowledge-wg/HKpy '
25
+ URL = 'https://github.com/ibm-hyperknowledge/hkpy '
24
26
DESCRIPTION = 'A Python module to create software abstraction for accessing hyperknowledge graphs'
25
27
LONG_DESCRIPTION = None
26
28
AUTHOR = 'IBM Research Brazil'
@@ -33,7 +35,10 @@ def _isdir(f):
33
35
'Flask' ,
34
36
'flask-cors' ,
35
37
'PyJWT' ,
36
- 'urllib3'
38
+ 'urllib3' ,
39
+ 'idna' ,
40
+ 'chardet' ,
41
+ 'certifi'
37
42
]
38
43
39
44
try :
@@ -48,8 +53,10 @@ def _isdir(f):
48
53
url = URL ,
49
54
description = DESCRIPTION ,
50
55
long_description = LONG_DESCRIPTION ,
56
+ long_description_content_type = "text/markdown" ,
51
57
author = AUTHOR ,
52
58
author_email = AUTHOR_EMAIL ,
59
+ license = "MIT" ,
53
60
keywords = KEYWORDS ,
54
61
python_requires = REQUIRES_PYTHON ,
55
62
packages = setuptools .find_packages (),
You can’t perform that action at this time.
0 commit comments