https://github.com/abetlen/bacon-degree-service
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: abetlen
- License: mit
- Language: Python
- Default Branch: main
- Size: 8.79 KB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Bacon Degree Service
HTTP web service to return the Bacon Number for any actor in The Movie Dataset.
Setup
First download the dataset here and place the archive.zip file into the data directory.
```bash $ python -m venv venv $ source venv/bin/activate $ pip install -r requirements.txt
Initialize bacon.db from movies dataset and precompute bacon degree table
$ ./setup.sh
Run tests
$ python -m unittest
Run gunicorn server on port 5050
$ PORT=5050 ./run.sh ```
or to run in docker
bash
$ docker build -t bacon .
$ docker run \
-d \
--rm \
-v $(pwd)/bacon.db:/data/bacon.db \
-p 5000:5000 \
bacon
API
GET /actors/search/bacon-degree?name=<name>
Get bacon degree of actor(s) by name.
GET /actors/search?name=<name>
`
Get actor ids by name.
GET /actors/<actor_id>/movies
Get actor movies.
GET /actors/<actor_id>/bacon-degree
Get actor bacon degree.
Owner
- Name: Andrei
- Login: abetlen
- Kind: user
- Location: San Francisco, California
- Twitter: abetlen
- Repositories: 49
- Profile: https://github.com/abetlen
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months 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