Skip to main content

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

pubnet-0.9.1.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pubnet-0.9.1-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

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

Hashes for pubnet-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c233ca1fea880bc31ffeb445b1f7d0f91d10c98f10b39cf97dde97d8c933b1ac
MD5 cfa2cd0dd9feaac965598a293bf4c53c
BLAKE2b-256 b83432ba2ec5c8c3d2ef8c3922db7843972c662a9384a558ad0ff83173c16049

See more details on using hashes here.

Provenance

The following attestation bundles were made for pubnet-0.9.1.tar.gz:

Publisher: release.yaml on net-synergy/pubnet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pubnet-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2756fbef86e0e597f141f1aae7f99a0f772f057dc9a6168560bede75ffec8744
MD5 4ad1e96b0e6336245af6c303f532f35f
BLAKE2b-256 ca06a6400ee6e5f21349e52903f16db1cb9958be611fe70fbbc8f58a56f88c22

See more details on using hashes here.

Provenance

The following attestation bundles were made for pubnet-0.9.1-py3-none-any.whl:

Publisher: release.yaml on net-synergy/pubnet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page