Metadata-Version: 2.1
Name: elapsed
Version: 0.0.0
Summary: elapsed time
Home-page: https://github.com/looking-for-a-job/elapsed.py
License: UNKNOWN
Keywords: elapsed
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Requires-Dist: public
Requires-Dist: setuptools

[![](https://img.shields.io/pypi/pyversions/elapsed.svg?longCache=True)](https://pypi.org/pypi/elapsed/)

### Install
```bash
$ [sudo] pip install elapsed
```

### Examples
```python
>>> import elapsed
>>> pid = 1
>>> e = elapsed.get(pid)
'02-16:30:38'
```

`seconds`, `minutes`, `hours`, `days`, `weeks`, `months`, `years`
```python
>> > e.days, e.hours, e.minutes, e.seconds
(2, 64, 3870, 232238)
```

```python
>> > bool(elapsed.get(99999))  # not existing pid
False
```

