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.5 package:
add_edgewith an id that was not returned byadd_node(for example"a"instead of"Paper:a") creates an untyped node and emits aUserWarning. From 1.5.0 this will raiseKeyError.- 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 asrelation: "related"with anetypeattribute, and are loaded as they are. Linker.auto()andAtlas.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
atlascommand-line entry point is installed.python -m atlas --versioncan 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:
- Publish semantic search and link evidence as part of the library, with tests against the installed package.
- Connect papers, patents and user documents in one graph by semantic similarity, and show the evidence for each link.
- 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.5
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 | Actions |
|---|---|---|---|---|
| atlas_research-1.4.5.tar.gz | 30.0 kB | Without provenance | Details for atlas_research-1.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atlas_research-1.4.5-py3-none-any.whl | Python 3 | none | any | Details for atlas_research-1.4.5-py3-none-any.whl |
Total release size: 63.4 kB
Release files / atlas_research-1.4.5.tar.gz
| Download URL | atlas_research-1.4.5.tar.gz |
|---|---|
| Size | 30.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9aa13abda8e3829919ba55bc041aa813ed22a56c9089e3593f56cc5e24eb607
|
|
BLAKE2b-256 checksum How to use checksums |
3bb14ca841c785f54e2c7fbdd7872a662ed7c8da758b2d1746371ed0290d6f6b
|
| 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.5-py3-none-any.whl
| Download URL | atlas_research-1.4.5-py3-none-any.whl |
|---|---|
| Size | 33.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bb499a99682027cfe514140ef0eb809dce750e6dea7782e83ed3c15c8bd2b8a
|
|
BLAKE2b-256 checksum How to use checksums |
a22e60f926e6c39a7f5dd049e9e5d22956c8b5b20ac59871fc50ec1e6f65fe85
|
| 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.5
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.