Skip to content

opencitations/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run tests Coverage

api

REST API specification for all the OpenCitations datasets

Installation

Install dependencies using uv:

uv sync

Testing

Prerequisites

  • Docker (for test database)

Running Tests

  1. Install development dependencies:

    uv sync --dev
  2. Start the test database:

    ./test/start_test_db.sh  # Linux/macOS
    # or
    .\test\start_test_db.ps1  # Windows PowerShell
  3. Run the test suite:

    uv run pytest
  4. Stop the test database:

    ./test/stop_test_db.sh  # Linux/macOS
    # or
    .\test\stop_test_db.ps1  # Windows PowerShell

About

Software for creating REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages