Graphlet AI Knowledge Graph Factory
This is the PyPi module for the Graphlet AI Knowledge Graph Factory. Our mission is to create a Spark-based wizard for building large knowledge graphs that makes them easier to build for fewer dolalrs and with less risk.
Core Features
This project is new, some features we are building are:
-
Create a Pydantic/PySpark base class for transforming multiple entities into a uniform ontology
-
Create a generic, configurable system for entity resolution of heterogeneous networks
-
Create an efficient pipeline for computing network motifs and aggregating higher order networks
-
Implement efficient motif searching via neural subgraph matching
System Architecture
License
This project is created and published under the Apache License, version 2.0.
Conventions
This project uses pre-commit hooks to enforce its conventions: git will reject commits that don't comply with our various flake8 plugins.
We use numpy docstring format on all Python classes and functions, which is enforced by pydocstring and flake8-docstrings.
We run black, flake8, isort and mypy in .pre-commit-config.yaml. All of these are configured in pyproject.toml except for flake8 which uses .flake8.
Flake8 uses the following plugins. We will consider adding any exceptions to the flake config that are warranted, but please document them in your pull requests.
flake8-docstrings = "^1.6.0"
pydocstyle = "^6.1.1"
flake8-simplify = "^0.19.2"
flake8-unused-arguments = "^0.0.10"
flake8-class-attributes-order = "^0.1.3"
flake8-comprehensions = "^3.10.0"
flake8-return = "^1.1.3"
flake8-use-fstring = "^1.3"
flake8-builtins = "^1.5.3"
flake8-functions-names = "^0.3.0"
flake8-comments = "^0.1.2"
Developer Setup
This project is in a state of development, things are still forming and changing. If you are here, it must be to contribute :)
Dependencies
We manage dependencies with poetry which are managed (along with most settings) in pyproject.toml.
To build the project, run:
poetry install
To add a PyPi package, run:
poetry add <package>
To add a development package, run:
poetry add --dev <package>
If you do edit pyproject.toml you must update to regenerate poetry.lock:
poetry update
Pre-Commit Hooks
We use pre-commit to run black, flake8, isort and mypy. This is configured in .pre-commit-config.yaml.
VSCode Settings
The following VSCode settings are defined for the project in .vscode/settings.json to ensure code is formatted consistent with our pre-commit hooks:
{
"editor.rulers": [90, 120],
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {"source.organizeImports": true},
},
"python.jediEnabled": false,
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.sortImports.args": ["--profile", "black"],
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"autoDocstring.docstringFormat": "numpy",
}
Metadata
Release files for graphlet 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| graphlet-0.1.1.tar.gz | 8.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graphlet-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / graphlet-0.1.1.tar.gz
| Download URL | graphlet-0.1.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74473155b4ef8e1c6d5fc946b6f6a041fe17fe56998a8b9f6b50c67c616a273b
|
|
BLAKE2b-256 checksum How to use checksums |
b430f528877d68796af4a2a6410390eba8ce30ef2cfd5eeb1ad6eda19764b325
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0
|
Release files / graphlet-0.1.1-py3-none-any.whl
| Download URL | graphlet-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbe39437aa535f1af2a010f90fd086397ad3642185b85926a31e9b8fe94fe5c3
|
|
BLAKE2b-256 checksum How to use checksums |
503a8d8c2f2ea15631add63f32210f7755f24627d41f676f3a199c96a6353386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0
|
Security for graphlet 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.