Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielcnr/ee
Environments Everywhere
https://github.com/gabrielcnr/ee
Last synced: 26 days ago
JSON representation
Environments Everywhere
- Host: GitHub
- URL: https://github.com/gabrielcnr/ee
- Owner: gabrielcnr
- License: mit
- Created: 2021-02-11T23:43:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T11:19:43.000Z (over 2 years ago)
- Last Synced: 2024-10-07T00:15:22.867Z (about 1 month ago)
- Language: Python
- Size: 77.1 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ee
Environments Everywhere# Important
For now, client and server live in the same repo. This will change in the near future.
# Installation
```
mamba env create -n ee -f env.yml
```# Run the server
```
python -m ee.server
```# Admin CLI
## new
Create a new environment definition from the given JSON file.
For example, consider a file `env.json`:
```json
{
"packages": {
"python": "3.9",
"pandas": ">=1.2,<1.3"
}
}```
You can add that environment with:
```bash
python -m ee.admin_cli new env.json
```## assoc
To associate an environment id (hash) with an application (my-app) and environment (prod):
```
python -m ee.admin_cli assoc my-app prod
```# Client CLI
## To run stuff
```bash
python -m ee.cli my-app prod python -c "import pandas; print(pandas.__version__)"
```