# dim-python
`dim-python` is a Python implementation of [dim (Data Installation Manager): Manage open data in your projects, like a package manager](https://github.com/c-3lab/dim).
## Join community
We are looking for members to develop together as an open source community.
[Slack](https://join.slack.com/t/c3lab-hq/shared_invite/zt-v6zz66n9-1VYkVXC4zoQViWSMdzMTLg)
## Quick Start
1. Install the dim
https://github.com/c-3lab/dim#install-the-dim
2. Install the python-dim
```
$ pip install python-dim
```
3. Initialize the project for dim
```
$ dim init
```
Also can initialize the project using dim-python.
4. Use the python-dim
```python
import dim
dim.install('https://example.com/xxx.json', 'example_name', ['encode utf-8'])
print(dim.list())
print(dim.load_data('example_name', 'json'))
```
## Build
Install Python 3.8+.
Then, install `poetry` 1.2.0+ as follows.
Windows:
```Bash
# Linux, macOS, Windows (WSL)
curl -sSL https://install.python-poetry.org | python3 -
# Windows (Powershell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
```
Install dependencies with `poetry`.
```Bash
poetry install
```
### Check version of dim
```Python
import dim
dim.__version__
```
## License
Refer to [MIT License](https://github.com/c-3lab/dim-python/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/c-3lab/dim-python/",
"name": "dim-python",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "open-data,dataops,data science,datasets",
"author": "C3Lab",
"author_email": "info.c3lab@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e5/41/498c1e36433094fd156fae43f76ee938d69eeb8b33c29038b76e891cb71e/dim_python-0.1.1.tar.gz",
"platform": null,
"description": "# dim-python\n\n`dim-python` is a Python implementation of [dim (Data Installation Manager): Manage open data in your projects, like a package manager](https://github.com/c-3lab/dim).\n\n## Join community\n\nWe are looking for members to develop together as an open source community.\n\n[Slack](https://join.slack.com/t/c3lab-hq/shared_invite/zt-v6zz66n9-1VYkVXC4zoQViWSMdzMTLg)\n\n## Quick Start\n\n1. Install the dim\n\nhttps://github.com/c-3lab/dim#install-the-dim\n\n2. Install the python-dim\n\n```\n$ pip install python-dim\n```\n\n3. Initialize the project for dim\n\n```\n$ dim init\n```\n\nAlso can initialize the project using dim-python.\n\n4. Use the python-dim\n\n```python\nimport dim\n\ndim.install('https://example.com/xxx.json', 'example_name', ['encode utf-8'])\n\nprint(dim.list())\n\nprint(dim.load_data('example_name', 'json'))\n\n```\n\n\n## Build\n\nInstall Python 3.8+.\n\nThen, install `poetry` 1.2.0+ as follows.\n\nWindows:\n\n```Bash\n# Linux, macOS, Windows (WSL)\ncurl -sSL https://install.python-poetry.org | python3 -\n# Windows (Powershell)\n(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -\n```\n\nInstall dependencies with `poetry`.\n\n```Bash\npoetry install\n```\n\n### Check version of dim\n\n```Python\nimport dim\ndim.__version__\n```\n\n## License\n\nRefer to [MIT License](https://github.com/c-3lab/dim-python/blob/main/LICENSE).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python implementation of dim (Data Installation Manager): Manage open data in your projects, like a package manager.",
"version": "0.1.1",
"split_keywords": [
"open-data",
"dataops",
"data science",
"datasets"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "679b5a8a2aa6883578483aef10ae38fdd80c5bba2af712a68f62c5a2338fddab",
"md5": "348e3aeada17e557bdde43f400ae9b40",
"sha256": "59103e6c88320511cc59fd8a03d1efd7cf915639768b344e69774af515219594"
},
"downloads": -1,
"filename": "dim_python-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "348e3aeada17e557bdde43f400ae9b40",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 3957,
"upload_time": "2023-01-03T23:27:48",
"upload_time_iso_8601": "2023-01-03T23:27:48.304357Z",
"url": "https://files.pythonhosted.org/packages/67/9b/5a8a2aa6883578483aef10ae38fdd80c5bba2af712a68f62c5a2338fddab/dim_python-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e541498c1e36433094fd156fae43f76ee938d69eeb8b33c29038b76e891cb71e",
"md5": "fe49f616bbd7c5771f381d6edc0b9d8a",
"sha256": "7ccb7b9d4d99a5669e9ed4864f0264e6dee97daaad64de234c38879298329857"
},
"downloads": -1,
"filename": "dim_python-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "fe49f616bbd7c5771f381d6edc0b9d8a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 3829,
"upload_time": "2023-01-03T23:27:50",
"upload_time_iso_8601": "2023-01-03T23:27:50.333372Z",
"url": "https://files.pythonhosted.org/packages/e5/41/498c1e36433094fd156fae43f76ee938d69eeb8b33c29038b76e891cb71e/dim_python-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-03 23:27:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "c-3lab",
"github_project": "dim-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dim-python"
}