Science Score: 36.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
-
✓Committers with academic emails
9 of 450 committers (2.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.6%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A Python library for the Docker Engine API
Basic Info
- Host: GitHub
- Owner: docker
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://docker-py.readthedocs.io/
- Size: 5.08 MB
Statistics
- Stars: 7,050
- Watchers: 193
- Forks: 1,692
- Open Issues: 523
- Releases: 89
Topics
Metadata Files
README.md
Docker SDK for Python
A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps – run containers, manage containers, manage Swarms, etc.
Installation
The latest stable version is available on PyPI. Install with pip:
pip install docker
Older versions (< 6.0) required installing
docker[tls]for SSL/TLS support. This is no longer necessary and is a no-op, but is supported for backwards compatibility.
Usage
Connect to Docker using the default socket or the configuration in your environment:
python
import docker
client = docker.from_env()
You can run containers:
```python
client.containers.run("ubuntu:latest", "echo hello world") 'hello world\n' ```
You can run containers in the background:
```python
client.containers.run("bfirsh/reticulate-splines", detach=True)
```
You can manage containers:
```python
client.containers.list() [
, , ...] container = client.containers.get('45e6d2de7c54')
container.attrs['Config']['Image'] "bfirsh/reticulate-splines"
container.logs() "Reticulating spline 1...\n"
container.stop() ```
You can stream logs:
```python
for line in container.logs(stream=True): ... print(line.strip()) Reticulating spline 2... Reticulating spline 3... ... ```
You can manage images:
```python
client.images.pull('nginx')
client.images.list() [
, , ...] ```
Read the full documentation to see everything you can do.
Owner
- Name: Docker
- Login: docker
- Kind: organization
- Email: info@docker.com
- Location: San Francisco, CA
- Website: https://www.docker.com
- Twitter: docker
- Repositories: 96
- Profile: https://github.com/docker
Docker helps developers bring their ideas to life by conquering the complexity of app development.
GitHub Events
Total
- Issues event: 32
- Watch event: 268
- Issue comment event: 96
- Push event: 7
- Pull request review event: 26
- Pull request review comment event: 16
- Pull request event: 37
- Fork event: 50
Last Year
- Issues event: 32
- Watch event: 268
- Issue comment event: 96
- Push event: 7
- Pull request review event: 26
- Pull request review comment event: 16
- Pull request event: 37
- Fork event: 50
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joffrey F | j****y@d****m | 901 |
| shin- | j****y@d****m | 112 |
| Aanand Prasad | a****d@g****m | 86 |
| Ben Firshman | b****n@f****k | 68 |
| Sebastiaan van Stijn | g****b@g****l | 59 |
| Ulysses Souza | u****a@d****m | 44 |
| aiordache | a****e@d****m | 41 |
| Milas Bowman | m****n@d****m | 39 |
| Maxime Petazzoni | m****x@s****m | 30 |
| Aarni Koskela | a****x@i****i | 22 |
| Corentin Henry | c****y@g****m | 20 |
| Hannes Ljungberg | h****s@5****e | 19 |
| Felipe Ruhland | f****d@g****m | 15 |
| Tomas Tomecek | t****k@r****m | 14 |
| Deni Bertovic | d****i@k****g | 13 |
| Viktor Adam | r****6@g****m | 12 |
| nir0s | n****g@g****m | 10 |
| Frank Sachsenheim | f****e@r****t | 10 |
| Enrico | r****l@g****m | 10 |
| Nicolas Delaby | n****y@e****m | 10 |
| Mariano Scazzariello | m****o@g****m | 9 |
| Darren Shepherd | d****d@g****m | 9 |
| micahhausler | m****r@a****m | 8 |
| Matthieu Nottale | m****e@d****m | 8 |
| Tom Arnfeld | t****d@m****m | 8 |
| Till Riedel | r****l@t****u | 8 |
| Patrick Hensley | s****y@i****m | 8 |
| Peter Yu | y****7@g****m | 8 |
| Erik Johnson | p****e@g****m | 8 |
| dependabot[bot] | 4****] | 7 |
| and 420 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 234
- Total pull requests: 227
- Average time to close issues: 4 months
- Average time to close pull requests: 6 months
- Total issue authors: 222
- Total pull request authors: 118
- Average comments per issue: 3.25
- Average comments per pull request: 1.48
- Merged pull requests: 81
- Bot issues: 0
- Bot pull requests: 4
Past Year
- Issues: 37
- Pull requests: 43
- Average time to close issues: 19 days
- Average time to close pull requests: 20 days
- Issue authors: 36
- Pull request authors: 19
- Average comments per issue: 0.78
- Average comments per pull request: 0.37
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Pymann (4)
- James-Ilosta (3)
- AstraLuma (2)
- Khushiyant (2)
- valentinedwv (2)
- kasium (2)
- akhildevelops (2)
- nicolargo (2)
- rrauenza (2)
- arsolics (1)
- moti-malka (1)
- Bawen34 (1)
- emendir (1)
- unreal79 (1)
- DMTarmey (1)
Pull Request Authors
- Khushiyant (21)
- thaJeztah (19)
- milas (12)
- akx (11)
- krissetto (10)
- adamtheturtle (7)
- vvoland (5)
- BillyGLW (5)
- dependabot[bot] (3)
- owenwu811 (3)
- felixfontein (3)
- peteristhegreat (2)
- bauen1 (2)
- gringolito (2)
- sigma67 (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 24
-
Total downloads:
- pypi 82,132,234 last-month
- Total docker downloads: 3,120,685,021
-
Total dependent packages: 1,221
(may contain duplicates) -
Total dependent repositories: 24,113
(may contain duplicates) - Total versions: 213
- Total maintainers: 15
pypi.org: docker
A Python library for the Docker Engine API.
- Homepage: https://github.com/docker/docker-py
- Documentation: https://docker-py.readthedocs.io
- License: Apache Software License
-
Latest release: 7.1.0
published over 1 year ago
Rankings
Maintainers (7)
pypi.org: docker-py
Python client for Docker.
- Homepage: https://github.com/docker/docker-py/
- Documentation: https://docker-py.readthedocs.io/
- License: UNKNOWN
-
Latest release: 1.10.6
published over 9 years ago
Rankings
alpine-v3.18: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 6.0.1-r2
published almost 3 years ago
Rankings
Maintainers (1)
alpine-v3.18: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 6.0.1-r2
published almost 3 years ago
Rankings
Maintainers (1)
alpine-edge: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.16: docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 5.0.3-r1
published about 4 years ago
Rankings
Maintainers (1)
alpine-v3.17: docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 5.0.3-r1
published about 4 years ago
Rankings
Maintainers (1)
conda-forge.org: docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 6.0.0
published over 3 years ago
Rankings
spack.io: py-docker
A Python library for the Docker Engine API.
- Homepage: https://github.com/docker/docker-py
- License: []
-
Latest release: 6.0.1
published about 3 years ago
Rankings
Maintainers (1)
alpine-edge: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.15: docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 5.0.3-r0
published over 4 years ago
Rankings
Maintainers (1)
pypi.org: pyansys-docker
A Python library for the Docker Engine API.
- Homepage: https://github.com/docker/docker-py
- Documentation: https://docker-py.readthedocs.io
- License: Apache License 2.0
-
Latest release: 5.0.4
published over 3 years ago
Rankings
Maintainers (1)
pypi.org: gc-docker-py
Python client for Docker.
- Homepage: https://github.com/docker/docker-py/
- Documentation: https://gc-docker-py.readthedocs.io/
- License: UNKNOWN
-
Latest release: 1.3.1
published over 10 years ago
Rankings
Maintainers (2)
pypi.org: docker-with-criu
A Python library for the Docker Engine API.
- Homepage: https://github.com/docker/docker-py
- Documentation: https://docker-py.readthedocs.io
- License: Apache License 2.0
-
Latest release: 0.1.dev1
published almost 3 years ago
Rankings
Maintainers (1)
anaconda.org: docker-py
A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps - run containers, manage containers, manage Swarms, etc.
- Homepage: https://github.com/docker/docker-py/
- License: Apache-2.0
-
Latest release: 7.1.0
published over 1 year ago
Rankings
pypi.org: docker-custom-unofficial
A Python library for the Docker Engine API. (with a modification to make ssh work again... as no clear configuration path for SSH was added for the new 'security' patches)
- Homepage: https://github.com/docker/docker-py
- Documentation: https://docker-py.readthedocs.io
- License: Apache Software License
-
Latest release: 1.0.1
published 8 months ago
Rankings
Maintainers (1)
alpine-v3.22: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.20: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.21: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.21: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.22: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.20: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 7.1.0-r0
published over 1 year ago
Rankings
Maintainers (1)
alpine-v3.19: py3-docker-py
Python library for the Docker Engine API
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 6.1.3-r0
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.19: py3-docker-py-pyc
Precompiled Python bytecode for py3-docker-py
- Homepage: https://github.com/docker/docker-py
- License: Apache-2.0
-
Latest release: 6.1.3-r0
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- ncipollo/release-action v1 composite
- pypa/gh-action-pypi-publish release/v1 composite
- python ${PYTHON_VERSION} build
- python ${PYTHON_VERSION} build
- Sphinx ==5.1.1
- myst-parser ==0.18.0
- packaging ==21.3
- paramiko ==2.11.0
- pywin32 ==304
- requests ==2.28.1
- urllib3 ==1.26.11
- websocket-client ==1.3.3
- coverage ==6.4.2 test
- flake8 ==4.0.1 test
- pytest ==7.1.2 test
- pytest-cov ==3.0.0 test
- pytest-timeout ==2.1.0 test
- setuptools ==65.5.1 test