A python package for storing and working with publication data in graph form.
Project description
PubNet publication networks
Provides data types for managing publication networks as a set of graphs.
PubNet provides functions for downloading, storing, manipulating, and
saving publication networks. Networks can come from common online
sources like pubmed and crossref.
Installation
pip install --user pubnet
More help
See Documentation
Running tests
Installing with poetry install --with=dev,tests --all-extras will install all dependencies needed for running the tests. Then poetry run pytest . will run the test suite.
Optionally, if poetry is not installed, there is a Dockerfile provided. Build the image with docker build --tag poetry:3.12 . then the image can be run with docker run --rm -it -v $PWD:/home/pubnet -w /home/pubnet poetry:3.12. The initial run will download dependencies to .venv inside the directory. After the first run, the dependencies will be reused. It will then run the tests on the current work tree.
This container can also be used to run arbitrary commands without the need to install poetry directly by passing a command to the end of the docker command:
docker run --rm -it -v $PWD:/home/pubnet -w /home/pubnet /bin/bash
In this case, if poetry install hasn't already been run, this will need to be run with the above install command. Then, inside the container, poetry run ipython can be run to start a python repl with pubnet installed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pubnet-0.9.1.tar.gz.
File metadata
- Download URL: pubnet-0.9.1.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c233ca1fea880bc31ffeb445b1f7d0f91d10c98f10b39cf97dde97d8c933b1ac
|
|
| MD5 |
cfa2cd0dd9feaac965598a293bf4c53c
|
|
| BLAKE2b-256 |
b83432ba2ec5c8c3d2ef8c3922db7843972c662a9384a558ad0ff83173c16049
|
Provenance
The following attestation bundles were made for pubnet-0.9.1.tar.gz:
Publisher:
release.yaml on net-synergy/pubnet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pubnet-0.9.1.tar.gz -
Subject digest:
c233ca1fea880bc31ffeb445b1f7d0f91d10c98f10b39cf97dde97d8c933b1ac - Sigstore transparency entry: 155129569
- Sigstore integration time:
-
Permalink:
net-synergy/pubnet@3412609a65b2276a8c8be97310dfc2a6b993331a -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/net-synergy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@3412609a65b2276a8c8be97310dfc2a6b993331a -
Trigger Event:
push
-
Statement type:
File details
Details for the file pubnet-0.9.1-py3-none-any.whl.
File metadata
- Download URL: pubnet-0.9.1-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2756fbef86e0e597f141f1aae7f99a0f772f057dc9a6168560bede75ffec8744
|
|
| MD5 |
4ad1e96b0e6336245af6c303f532f35f
|
|
| BLAKE2b-256 |
ca06a6400ee6e5f21349e52903f16db1cb9958be611fe70fbbc8f58a56f88c22
|
Provenance
The following attestation bundles were made for pubnet-0.9.1-py3-none-any.whl:
Publisher:
release.yaml on net-synergy/pubnet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pubnet-0.9.1-py3-none-any.whl -
Subject digest:
2756fbef86e0e597f141f1aae7f99a0f772f057dc9a6168560bede75ffec8744 - Sigstore transparency entry: 155129571
- Sigstore integration time:
-
Permalink:
net-synergy/pubnet@3412609a65b2276a8c8be97310dfc2a6b993331a -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/net-synergy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@3412609a65b2276a8c8be97310dfc2a6b993331a -
Trigger Event:
push
-
Statement type: