https://github.com/librariesio/conda-api
https://github.com/librariesio/conda-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/librariesio/conda-api
- Owner: librariesio
- License: mit
- Created: 2019-09-03T18:10:47.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T22:53:12.000Z (over 1 year ago)
- Last Synced: 2025-04-02T06:22:17.639Z (about 1 year ago)
- Language: Ruby
- Size: 172 KB
- Stars: 2
- Watchers: 11
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# Conda API
A small service to make it easier for [Libraries.io](https://libraries.io) to read data about Conda Packages in different channels.
## Essentials
- Provide a REST interface for list of all names of packages (as json)
- Provide a REST interface for list of versions for each package (as json)
- Update info from Specs repo frequently
## Extras
- Watch anaconda repos for updates
- Tell Libraries about removed versions/packages
## Development
### Requirements
* ruby 3.2.4
* Installing via [RVM](http://rvm.io/) or [rbenv](https://github.com/rbenv/rbenv) is recommended
* redis
### Local Development
Run `bundle install` to download all dependencies.
You can run a local server within a container with docker-compose `docker-compose up` or locally with `bundle exec puma`.
The server should now be running port 9292. This can be verified by going to `http://localhost:9292` and verifying it sends back an 'Hello world' response.
### Tests
Run the unit tests using `rspec` locally or within a built docker container `docker build -t librariesio/conda-api . && docker run -it -e PORT=9292 -p 9292:9292 librariesio/conda-api rspec`.