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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dim_python-0.1.1.tar.gz.

File metadata

  • Download URL: dim_python-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for dim_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ccb7b9d4d99a5669e9ed4864f0264e6dee97daaad64de234c38879298329857
MD5 fe49f616bbd7c5771f381d6edc0b9d8a
BLAKE2b-256 e541498c1e36433094fd156fae43f76ee938d69eeb8b33c29038b76e891cb71e

See more details on using hashes here.

File details

Details for the file dim_python-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dim_python-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for dim_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59103e6c88320511cc59fd8a03d1efd7cf915639768b344e69774af515219594
MD5 348e3aeada17e557bdde43f400ae9b40
BLAKE2b-256 679b5a8a2aa6883578483aef10ae38fdd80c5bba2af712a68f62c5a2338fddab

See more details on using hashes here.

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