Skip to main content

GCN-GRAPHDB-RETRIEVER-MAIN

以下是关于GCN-graphdb-retriever的介绍

方法 描述
subject_pipeline 提取GCN相关信息
gcn_graph_builder 构建知识图谱

使用方法讲解

通过pip安装

pip install GCN-Graphdb-Retriever

1.直接在代码中进行应用

from gcn_graphdb_retriever import subject_KEE_pipeline
from gcn_graphdb_retriever import gcn_graph_builder

def main():
    in_filepath = "tests/archive.txt.tar.gz"
    out_filepath = "tests/model_test.txt"
    examples_filepath = "tests/subject_parser_examples.json"
    model = "qwen3:14b"
    silent_errors = False
    examples_num = 1
    subject_KEE_pipeline.subject_pipeline(in_filepath, out_filepath, examples_filepath, model, silent_errors, examples_num)

    in_filepath = "tests/model_test.txt"
    silent_errors = False
    gcn_graph_builder(in_filepath, silent_errors)

if __name__ == "__main__":
    main()

3.通过命令行调用

ps@ps:~/桌面/Vscode_test/gcn-graphdb-retriever-main(1)/gcn-graphdb-retriever-main$ uv run subject_KEE_pipeline -i tests/archive.txt.tar.gz -o tests/model_test.txt --examples tests/subject_parser_examples.json

Metadata

Release files for gcn-graphdb-retriever 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcn-graphdb-retriever 0.1.0
File Size Uploaded Provenance Actions
gcn_graphdb_retriever-0.1.0.tar.gz 27.5 MB Without provenance Details for gcn_graphdb_retriever-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gcn-graphdb-retriever 0.1.0
File Interpreter ABI Platform Actions
gcn_graphdb_retriever-0.1.0-py3-none-any.whl Python 3 none any Details for gcn_graphdb_retriever-0.1.0-py3-none-any.whl

Total release size: 27.5 MB

Release files / gcn_graphdb_retriever-0.1.0.tar.gz

Download URL gcn_graphdb_retriever-0.1.0.tar.gz
Size 27.5 MB
Tags Source
SHA-256 checksum
How to use checksums
82a4dbb793586dbef99628ed42886c5d138ff24d46f19ff60b1774d352993e9a
BLAKE2b-256 checksum
How to use checksums
a7e7d89005edd5a16b77addac0ab6ada4a59e9d05b4778422d931c9a83e8b402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.20

Release files / gcn_graphdb_retriever-0.1.0-py3-none-any.whl

Download URL gcn_graphdb_retriever-0.1.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52f1951204dda4e06dcd1f7432746a576f1d95fe7f86e9e1657ccc324281706c
BLAKE2b-256 checksum
How to use checksums
15c343284d15079afd2c14ae89b984ba7dcfe7f1d05c75a15f01c009eb1b9e6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.20

Security for gcn-graphdb-retriever 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page