extendedos


Nameextendedos JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/iory/eos
SummaryExtended os module
upload_time2023-03-20 09:14:09
maintainer
docs_urlNone
authoriory
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # eos: Extended os module

[![Build Status](https://github.com/iory/eos/workflows/Run%20Tests/badge.svg?branch=master)](https://github.com/iory/eos/actions)

## Install

```
pip install extendedos
```

## Quick Start

```
import os.path as osp
from eos import makedirs
makedirs('/tmp/example/1/2')
osp.exists('/tmp/example/1/2')
# True
from eos import make_fancy_output_dir
make_fancy_output_dir('/tmp/result')
# '/tmp/result/iory-mac-2020-03-27-19-08-17-191116-46504'
make_fancy_output_dir(time_format=None)
# '/tmp/vm7bwis1'
```

```
from eos import measure
import time
with measure('measure_example'):
   time.sleep(1.0)
# measure_example: 00:00:01.000574
```

```
from eos import current_time_str
current_time_str()
# '2021-01-08-07-42-12-301381'
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iory/eos",
    "name": "extendedos",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "iory",
    "author_email": "ab.ioryz@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ed/da/969fc74ed9db775c8dc11211ccf09e5bf778d9eeb5664e41d06f0b003ff2/extendedos-0.1.7.tar.gz",
    "platform": null,
    "description": "# eos: Extended os module\n\n[![Build Status](https://github.com/iory/eos/workflows/Run%20Tests/badge.svg?branch=master)](https://github.com/iory/eos/actions)\n\n## Install\n\n```\npip install extendedos\n```\n\n## Quick Start\n\n```\nimport os.path as osp\nfrom eos import makedirs\nmakedirs('/tmp/example/1/2')\nosp.exists('/tmp/example/1/2')\n# True\nfrom eos import make_fancy_output_dir\nmake_fancy_output_dir('/tmp/result')\n# '/tmp/result/iory-mac-2020-03-27-19-08-17-191116-46504'\nmake_fancy_output_dir(time_format=None)\n# '/tmp/vm7bwis1'\n```\n\n```\nfrom eos import measure\nimport time\nwith measure('measure_example'):\n   time.sleep(1.0)\n# measure_example: 00:00:01.000574\n```\n\n```\nfrom eos import current_time_str\ncurrent_time_str()\n# '2021-01-08-07-42-12-301381'\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Extended os module",
    "version": "0.1.7",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "470ef716f65bdc0e015afcce2bf1e380d4dc88e74be425c428e847706ab07a89",
                "md5": "90d8eef7e9a71107d2f6416856db6433",
                "sha256": "eaa145fd239fe8a065cc11a0a7dadf42659a011c863a1d418f06ac74a8d93085"
            },
            "downloads": -1,
            "filename": "extendedos-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "90d8eef7e9a71107d2f6416856db6433",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9161,
            "upload_time": "2023-03-20T09:14:06",
            "upload_time_iso_8601": "2023-03-20T09:14:06.763589Z",
            "url": "https://files.pythonhosted.org/packages/47/0e/f716f65bdc0e015afcce2bf1e380d4dc88e74be425c428e847706ab07a89/extendedos-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "edda969fc74ed9db775c8dc11211ccf09e5bf778d9eeb5664e41d06f0b003ff2",
                "md5": "bf40813d4e4c08940973930ca70524e5",
                "sha256": "c2e29a1eeb1fbd6e3f3f298edfabd8b33b6e18a746076e116abb0208fbe3e23d"
            },
            "downloads": -1,
            "filename": "extendedos-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "bf40813d4e4c08940973930ca70524e5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7652,
            "upload_time": "2023-03-20T09:14:09",
            "upload_time_iso_8601": "2023-03-20T09:14:09.639806Z",
            "url": "https://files.pythonhosted.org/packages/ed/da/969fc74ed9db775c8dc11211ccf09e5bf778d9eeb5664e41d06f0b003ff2/extendedos-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-20 09:14:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "iory",
    "github_project": "eos",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "extendedos"
}
        
Elapsed time: 0.05687s