https://github.com/elliotchance/ovum
Package Manager for Python
https://github.com/elliotchance/ovum
Last synced: 7 months ago
JSON representation
Package Manager for Python
- Host: GitHub
- URL: https://github.com/elliotchance/ovum
- Owner: elliotchance
- License: mit
- Created: 2015-02-02T06:35:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-07T07:38:48.000Z (over 10 years ago)
- Last Synced: 2025-02-09T17:18:05.556Z (9 months ago)
- Language: Python
- Size: 188 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ovum
Package Manager for Python.
`ovum` uses the *every repository is a package* mantra and works with PyPI and any GitHub repository without the need for those developers to define their module explicitly.
Modules are managed locally (inside your package) and so every package can have totally different requirements.
It is based off PHP's [composer](https://getcomposer.org).
Installation
------------
...
TL;DR (Quick Start)
-------------------
* Require a package (this is the same thing from PyPI or GitHub):
```
ovum require pypi:1pass
ovum require github:georgebrock/1pass
```
Some packages are only required for development (not production):
```
ovum require-dev pypi:mock
```
You may also specify versions:
```
ovum require pypi:1pass ">=0.2" # minimum version
ovum require pypi:1pass 0.1.7 # exact (not recommended)
```
* Install all your dependencies:
```
ovum install
```
* Use it!
```
# always need this first
import ovum
# packages from GitHub use vendor prefix
from georgebrock.1pass.onepassword import Keychain
# PyPI packages can still be used the old fasioned way
from onepassword import Keychain
```
Dependencies
------------
### Adding Dependencies
Your application/module dependencies are managed in a `ovum.yml` file:
```
require:
- math
require-dev:
- mock: >1
```
### Installing/Updating Dependencies
```
ovum install
```
From time to time you will want to update your dependencies:
```
ovum update
```