dim-python-0.1.1
توضیحات
Python implementation of dim (Data Installation Manager): Manage open data in your projects, like a package manager.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dim-python-0.1.1 |
| نام | dim-python |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | C3Lab |
| ایمیل نویسنده | info.c3lab@gmail.com |
| آدرس صفحه اصلی | https://github.com/c-3lab/dim-python/ |
| آدرس اینترنتی | https://pypi.org/project/dim-python/ |
| مجوز | MIT |
# 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).
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.1,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl dim-python-0.1.1:
pip install dim-python-0.1.1.whl
نصب پکیج tar.gz dim-python-0.1.1:
pip install dim-python-0.1.1.tar.gz