Skip to main content

Python implementation of dim (Data Installation Manager): Manage open data in your projects, like a package manager.

Project description

dim-python

dim-python is a Python implementation of dim (Data Installation Manager): Manage open data in your projects, like a package manager.

Join community

We are looking for members to develop together as an open source community.

Slack

Quick Start

  1. Install the dim

https://github.com/c-3lab/dim#install-the-dim

  1. Install the python-dim
$ pip install python-dim
  1. Initialize the project for dim
$ dim init

Also can initialize the project using dim-python.

  1. Use the python-dim
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:

# 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.

poetry install

Check version of dim

import dim
dim.__version__

License

Refer to MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dim_python-0.1.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

dim_python-0.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page