Skip to main content

Paper Scoring Pipeline

Cross-platform composition layer for Paper Scoring. It combines the core, connectors, and reporting distributions without introducing Git or local-path dependencies.

Configuration is injected at process start. The package never automatically loads .env during import.

pip install paper-scoring-pipeline==0.1.1
paper-scoring-pipeline --env-file .env score-json paper.json --output score.json

Public Python API

Applications that compose the pipeline can import runtime configuration and service construction directly from the package root:

from paper_scoring_pipeline import (
    PipelineSettings,
    apply_env_file,
    build_scoring_service,
)

apply_env_file(".env")
settings = PipelineSettings.from_environment()
service = build_scoring_service(settings)

apply_env_file loads only the explicitly supplied file and preserves values already present in the process environment. Passing None performs no action. Importing paper_scoring_pipeline never loads an environment file.

Score a local PDF:

paper-scoring-pipeline --env-file .env score-pdf paper.pdf --author "Example Researcher"

Run the arXiv workflow without shell-specific date commands:

paper-scoring-pipeline --env-file .env arxiv --category cs.AI --days-ago 2 --max-results 10

The same command works in Ubuntu shells, Windows PowerShell, and the provided Docker image.

All inter-repository dependencies resolve from PyPI. uv.lock records hashes for development and CI, and the container installs its locked runtime set with hash verification before installing the local pipeline wheel.

Configuration is read only from the process environment and an explicitly selected --env-file; importing the package never reads .env. Errors in a provider, source, report, or SMTP operation are returned as bounded structured failure metadata. Exception messages and tracebacks are not written to the JSON output.

The image runs as UID/GID 65532. Compose also drops all capabilities, enables a read-only root filesystem, and prevents privilege escalation. To verify an offline command with networking disabled:

docker run --rm --network none --read-only --cap-drop ALL \
  paper-scoring-pipeline:0.1.1 --help

The pipeline needs network access for arXiv, OpenAI, OpenAlex, Ollama, or SMTP. For an entirely offline invocation, set PAPER_SCORING_NETWORK_MODE=none when using Docker Compose.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paper_scoring_pipeline-0.1.1.tar.gz (129.8 kB view details)

Uploaded Source

Built Distribution

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

paper_scoring_pipeline-0.1.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file paper_scoring_pipeline-0.1.1.tar.gz.

File metadata

  • Download URL: paper_scoring_pipeline-0.1.1.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for paper_scoring_pipeline-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6aaa65874cdcf6957cc301a3bcd0e18eaeebd5464f4ccbd20405411e2d299f67
MD5 68fa4661f322823b9d12c9a6b8e06f23
BLAKE2b-256 c9ec581ab47fdf04e85853de54a6a4c1a910ed6287e7745ce1b1f373ce193bd5

See more details on using hashes here.

File details

Details for the file paper_scoring_pipeline-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for paper_scoring_pipeline-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 091d31e57b4eff4b98c5c3512bbf0d24df1847294a7ecf9d87bcf7a04942a5d1
MD5 e78bc742d2f660f696b2afc5d82b21d7
BLAKE2b-256 4cbb0990977a80c8bbce73fce9caed99aca91a9596dcfd40fbe73f839cfb968b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

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