https://github.com/caltechlibrary/simple-invenio-server-example
Simple REST server using Invenio modules, for learning
https://github.com/caltechlibrary/simple-invenio-server-example
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Repository
Simple REST server using Invenio modules, for learning
Basic Info
- Host: GitHub
- Owner: caltechlibrary
- Language: Python
- Default Branch: main
- Size: 5.86 KB
Statistics
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Simple test of Invenio records REST server
This is the simplest implementation that I've been able to create (so far) for the purpose of demonstrating getting a record via a REST API call. The code uses the following Invenio modules directly, although these modules in turn load other Invenio modules: * Invenio-DB * Invenio-PIDStore * Invenio-Records * Invenio-Records-REST
Usage is as follows:
- Create a fresh empty Python 3.9 environment and install the dependencies:
pyenv virtualenv 3.9.13 test-server pyenv activate test-server python -m pip install -r requirements.txt - Initialize the application and datase:
./app-setup.sh - Run the server:
./run-server.sh - In another shell, run the test script:
./test-getting-record.sh
You should get output like the following:
{
"created": "2022-08-30T01:53:33.555056+00:00",
"id": "1",
"links": {},
"metadata": {
"access": "open",
"authors": [
{
"name": "Mike Hucka"
}
],
"keywords": [
"Caltech",
"RDM"
],
"title": "This is the title of a fake record"
},
"updated": "2022-08-30T01:53:33.555060+00:00"
}
When you are done, stop the server using:
./app-teardown.sh
Owner
- Name: Caltech Library
- Login: caltechlibrary
- Kind: organization
- Email: helpdesk@library.caltech.edu
- Location: Pasadena, CA 91125
- Website: https://www.library.caltech.edu/
- Repositories: 84
- Profile: https://github.com/caltechlibrary
We manage the physical and digital holdings of the California Institute of Technology, provide services and training, and develop open-source software.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0