Skip to content

Commit 3a8241b

Browse files
fengyifanfengyifan
authored andcommitted
update readme
1 parent bfe92b7 commit 3a8241b

File tree

9 files changed

+68
-27
lines changed

9 files changed

+68
-27
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- <a href="https://hyperdb.netlify.app">Demo</a> -->
77
</div>
88

9-
<h1 align="center">Hyper-DB</h1>
9+
<h1 align="center">Hypergraph-DB</h1>
1010

1111
<p align="center">
1212
<img alt="Github top language" src="https://img.shields.io/github/languages/top/iMoonLab/Hyper-DB?color=800080">
@@ -46,9 +46,9 @@
4646

4747
## :dart: About ##
4848

49-
Hyper-DB is a lightweight, flexible, and Python-based database designed to model and manage **hypergraphs**—a generalized graph structure where edges (hyperedges) can connect any number of vertices. This makes Hyper-DB an ideal solution for representing complex relationships between entities in various domains, such as knowledge graphs, social networks, and scientific data modeling.
49+
Hypergraph-DB is a lightweight, flexible, and Python-based database designed to model and manage **hypergraphs**—a generalized graph structure where edges (hyperedges) can connect any number of vertices. This makes Hypergraph-DB an ideal solution for representing complex relationships between entities in various domains, such as knowledge graphs, social networks, and scientific data modeling.
5050

51-
Hyper-DB provides a high-level abstraction for working with vertices and hyperedges, making it easy to add, update, query, and manage hypergraph data. With built-in support for persistence, caching, and efficient operations, Hyper-DB simplifies the management of hypergraph data structures.
51+
Hypergraph-DB provides a high-level abstraction for working with vertices and hyperedges, making it easy to add, update, query, and manage hypergraph data. With built-in support for persistence, caching, and efficient operations, Hypergraph-DB simplifies the management of hypergraph data structures.
5252

5353
---
5454

@@ -77,10 +77,10 @@ Hyper-DB provides a high-level abstraction for working with vertices and hypered
7777
## :rocket: Installation ##
7878

7979

80-
Hyper-DB is a Python library. You can install it directly from PyPI using `pip`.
80+
Hypergraph-DB is a Python library. You can install it directly from PyPI using `pip`.
8181

8282
```bash
83-
pip install Hyper-DB
83+
pip install hypergraph-db
8484
```
8585

8686
You can also install it by cloning the repository or adding it to your project manually. Ensure you have Python 3.10 or later installed.
@@ -98,7 +98,7 @@ pip install -r requirements.txt
9898

9999
## :checkered_flag: Starting ##
100100

101-
This section provides a quick guide to get started with Hyper-DB, including iusage, and running basic operations. Below is an example of how to use Hyper-DB, based on the provided test cases.
101+
This section provides a quick guide to get started with Hypergraph-DB, including iusage, and running basic operations. Below is an example of how to use Hypergraph-DB, based on the provided test cases.
102102

103103
#### **1. Create a Hypergraph**
104104

@@ -188,14 +188,14 @@ print(hg2.all_e) # Output: {(1, 3, 4)}
188188

189189
## :memo: License ##
190190

191-
Hyper-DB is open-source and licensed under the [Apache License 2.0](LICENSE). Feel free to use, modify, and distribute it as per the license terms.
191+
Hypergraph-DB is open-source and licensed under the [Apache License 2.0](LICENSE). Feel free to use, modify, and distribute it as per the license terms.
192192

193193

194194
---
195195

196196
## :email: Contact ##
197197

198-
Hyper-DB is maintained by [iMoon-Lab](http://moon-lab.tech/), Tsinghua University. If you have any questions, please feel free to contact us via email: [Yifan Feng](mailto:[email protected]).
198+
Hypergraph-DB is maintained by [iMoon-Lab](http://moon-lab.tech/), Tsinghua University. If you have any questions, please feel free to contact us via email: [Yifan Feng](mailto:[email protected]).
199199

200200

201201
Made with :heart: by <a href="https://github.com/yifanfeng97" target="_blank">Yifan Feng</a>

docs/.DS_Store

2 KB
Binary file not shown.

docs/api/hyperdb.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
Hyper-DB
22
==============
33

4-
Hypergraph DataBase
5-
---------------------
6-
74
.. autoclass:: hyperdb.BaseHypergraphDB
85
:members:
96

10-
117
.. autoclass:: hyperdb.HypergraphDB
128
:members:
9+
:show-inheritance:

docs/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def find_version(filename):
3030
# -- Project information -----------------------------------------------------
3131
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
3232

33-
project = 'Hyper-DB'
33+
project = 'Hypergraph-DB'
3434
copyright = '2024, Yifan Feng'
3535
author = 'Yifan Feng'
3636
release = find_version("../hyperdb/__init__.py")
@@ -70,13 +70,14 @@ def find_version(filename):
7070
import sphinx_rtd_theme
7171

7272
html_theme = 'sphinx_rtd_theme'
73-
# html_logo = "_static/logo_DHG_white.svg"
73+
# html_logo = "_static/logo_hyperdb_white.svg"
74+
html_logo = "_static/logo.svg"
7475
html_theme_options = {
7576
# "style_nav_header_background": "#9C27B0",
76-
"logo_only": True,
77+
# "logo_only": True,
7778
"collapse_navigation": False,
7879
}
7980
html_static_path = ['_static']
8081

8182
def setup(app):
82-
app.add_css_file("css/hyper_db.css")
83+
app.add_css_file("css/hyperdb.css")

docs/get_started/hypergraph.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Preliminaries of Hypergraph
2+
=================================
3+

docs/get_started/install.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ Installation
88

99
- Python >= 3.10
1010

11-
Current, the stable version of **Hyper-DB** is 0.1.0. You can install it with ``pip`` as follows:
11+
Current, the stable version of **Hypergraph-DB** is 0.1.0. You can install it with ``pip`` as follows:
1212

1313
.. code-block:: bash
1414
15-
pip install Hyper-DB
15+
pip install hypergraph-db
1616
17-
You can also try the nightly version (0.1.1) of **Hyper-DB** library with ``pip`` as follows:
17+
You can also try the nightly version (0.1.1) of **Hypergraph-DB** library with ``pip`` as follows:
1818

1919
.. code-block:: bash
2020
2121
pip install git+https://github.com/iMoonLab/Hyper-DB.git
2222
2323
.. note::
2424

25-
Nightly version is the development version of **Hyper-DB**. It can also be unstable and not fully tested.
25+
Nightly version is the development version of **Hypergraph-DB**. It can also be unstable and not fully tested.
2626
If you find any bugs, please report it to us in `GitHub Issues <https://github.com/iMoonLab/Hyper-DB/issues>`_.

docs/index.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,28 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Hyper-DB documentation
7-
======================
6+
========================
7+
Hypergraph-DB Overview
8+
========================
89

9-
Add your content using ``reStructuredText`` syntax. See the
10-
`reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
11-
documentation for details.
10+
Hypergraph-DB is a lightweight, flexible, and Python-based database designed to model and manage **hypergraphs**—a generalized graph structure where edges (hyperedges) can connect any number of vertices. This makes Hypergraph-DB an ideal solution for representing complex relationships between entities in various domains, such as knowledge graphs, social networks, and scientific data modeling.
1211

12+
Hypergraph-DB provides a high-level abstraction for working with vertices and hyperedges, making it easy to add, update, query, and manage hypergraph data. With built-in support for persistence, caching, and efficient operations, Hypergraph-DB simplifies the management of hypergraph data structures.
13+
14+
**News**
15+
16+
- 2024-12-16 -> The **v0.1.0** is now available!
17+
18+
.. ======================================================
19+
20+
.. decumment for html
1321
1422
.. toctree::
1523
:maxdepth: 2
1624
:caption: Get Started
1725

1826
get_started/install
27+
get_started/hypergraph
1928

2029
.. toctree::
2130
:maxdepth: 2

pyproject.toml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,44 @@
11
[tool.poetry]
2-
name = "hyper-db"
2+
name = "hypergraph-db"
33
version = "0.1.0"
44
description = "A Lightweight Hypergraph Database"
5-
authors = ["[email protected]"]
5+
authors = ["Yifan Feng <[email protected]>"]
6+
license = "Apache-2.0"
67
readme = "README.md"
8+
repository = "https://github.com/iMoonLab/Hyper-DB"
9+
keywords = ["hypergraph", "database", "visualization"]
10+
packages = [
11+
{ include = "hyperdb" },
12+
]
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Operating System :: OS Independent",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Intended Audience :: Developers",
20+
"Intended Audience :: Education",
21+
"Intended Audience :: Science/Research",
22+
"Topic :: Scientific/Engineering",
23+
"Topic :: Scientific/Engineering :: Mathematics",
24+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
25+
"Topic :: Software Development",
26+
"Topic :: Software Development :: Libraries",
27+
"Topic :: Software Development :: Libraries :: Python Modules",
28+
"License :: OSI Approved :: Apache Software License",
29+
]
30+
731

832
[tool.poetry.dependencies]
933
python = "^3.10"
1034

35+
[tool.black]
36+
include = '\.pyi?$'
37+
line-length = 119
38+
39+
[tool.isort]
40+
profile = "black"
41+
line_length = 119
1142

1243
[build-system]
1344
requires = ["poetry-core"]

0 commit comments

Comments
 (0)