Skip to main content

Atlas (atlas-research)

Atlas is an early-stage Python library for putting documents (papers, patents, your own notes) into one graph and exploring the links between them.

Status: alpha. The API is unstable and several parts are still stubs (see Known limitations). Use it for experiments, not for anything you depend on.

What works today

  • An in-memory, directed multigraph of typed nodes (for example Paper, Dataset, Concept) built on NetworkX.
  • Adding typed relations between nodes (cites, implements, uses, relates).
  • Neighborhood and path queries over the graph.
  • Saving the graph to JSON and loading it back.

Semantic linking (connecting documents by meaning rather than by citation) and missing-link detection are the goals of the project but are not available in the installed package yet. See Roadmap.

Installation

pip install atlas-research

Requires Python 3.10 or newer. The core install depends only on networkx>=3.0, pydantic>=2.0 and requests>=2.28. These lower bounds and Python 3.10 and 3.12 are tested in CI.

One optional extra is available:

Extra Installs Used by
arxiv arxiv arXiv client (atlas.data_sources.arxiv_client, Ingestor arXiv fetch)
pip install "atlas-research[arxiv]"

Quickstart

from atlas import Atlas

atlas = Atlas(name="demo")

# Node types are plain strings. add_node returns the node id ("<type>:<id>").
a = atlas.add_node("Paper", "paper-a", title="Example paper A")
b = atlas.add_node("Paper", "paper-b", title="Example paper B")
d = atlas.add_node("Dataset", "dataset-x", title="Example dataset")

atlas.link.cites(a, b)
atlas.link.uses(b, d)

print(atlas.store.g.number_of_nodes(), atlas.store.g.number_of_edges())  # 3 2
print(atlas.query.paths(a, d))  # [['Paper:paper-a', 'Paper:paper-b', 'Dataset:dataset-x']]

atlas.save("out/graph.json")

restored = Atlas(name="restored")
restored.load("out/graph.json")
print(restored.store.g.number_of_edges())  # 2

Known limitations

These were checked against the installed 1.4.4 package:

  • add_edge with an id that was not returned by add_node (for example "a" instead of "Paper:a") creates an untyped node and emits a UserWarning. From 1.5.0 this will raise KeyError.
  • Linker edges (cites, uses, …) keep their kind as the edge key from 1.4.4. Files saved by 1.4.3 or earlier store these edges as relation: "related" with an etype attribute, and are loaded as they are.
  • Linker.auto() and Atlas.run() are placeholders. They do not create links or run an analysis.
  • export_pyvis() writes the graph as JSON, not as an HTML visualization.
  • No atlas command-line entry point is installed. python -m atlas --version can fail on consoles that cannot print non-ASCII characters (for example the default Windows Korean console).
  • The semantic-search and insight modules used by the Atlas web service are not part of the package. In 1.4.2 they were shipped but could not be imported from the installed package; from 1.4.3 they are left out.

Saved graph files use the links key for the edge list on every NetworkX version, and load() accepts files written with either links or edges (NetworkX 3.6 and later write edges by default). This was checked with NetworkX 3.0, 3.4.2 and 3.7.

Node ids have the form <type>:<id> (for example Paper:paper-a) whether you pass NodeType.PAPER or the string "Paper", on every Python version. Files saved by 1.4.3 or earlier on Python 3.11 or later contain ids like NodeType.PAPER:paper-a; load() renames them to the new form and logs a warning.

Roadmap

Planned, not done:

  1. Publish semantic search and link evidence as part of the library, with tests against the installed package.
  2. Connect papers, patents and user documents in one graph by semantic similarity, and show the evidence for each link.
  3. Detect "missing links", such as research topics with papers but no patents.

Detecting paper–patent gaps by comparing semantic similarity has been studied before (Shibata, Sakata et al., University of Tokyo, 2009–2011). Atlas aims to make this kind of analysis available as an open-source tool that can run on your own machine.

Analysis results are meant to support review. They are not a legal opinion on patentability or infringement.

Project overview: https://github.com/engineer0427/Atlas-Showcase

License

Apache License 2.0. See LICENSE.

Metadata

Release files for atlas-research 1.4.4

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

Source distribution (sdist)

Source distribution for atlas-research 1.4.4
File Size Uploaded Provenance Actions
atlas_research-1.4.4.tar.gz 30.3 kB Without provenance Details for atlas_research-1.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atlas-research 1.4.4
File Interpreter ABI Platform Actions
atlas_research-1.4.4-py3-none-any.whl Python 3 none any Details for atlas_research-1.4.4-py3-none-any.whl

Total release size: 64.7 kB

Release files / atlas_research-1.4.4.tar.gz

Download URL atlas_research-1.4.4.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9f3da42464818a84b7e4f6047301fed7432320dcf4ea2ad951bcd464792c5119
BLAKE2b-256 checksum
How to use checksums
84eb6120260e7f7338862fda91a36b56d3d99fcb4edf2a0f79894498a886fc83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / atlas_research-1.4.4-py3-none-any.whl

Download URL atlas_research-1.4.4-py3-none-any.whl
Size 34.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5dcd5f65511cacaef83fbbb5b248f7ab50e8497957e44bd64d51226edfb0173
BLAKE2b-256 checksum
How to use checksums
6ae8d65e50b73daaf8d5ac4134490c777bedb0f640c34cf59761c09abc1a9918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for atlas-research 1.4.4

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.

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