Skip to main content

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.

Release files for dim-python 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dim-python 0.1.1
File Size Uploaded
dim_python-0.1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dim-python 0.1.1
File Interpreter ABI Platform
dim_python-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / dim_python-0.1.1.tar.gz

Download URL dim_python-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7ccb7b9d4d99a5669e9ed4864f0264e6dee97daaad64de234c38879298329857
BLAKE2b-256 checksum
How to use checksums
e541498c1e36433094fd156fae43f76ee938d69eeb8b33c29038b76e891cb71e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

Release files / dim_python-0.1.1-py3-none-any.whl

Download URL dim_python-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59103e6c88320511cc59fd8a03d1efd7cf915639768b344e69774af515219594
BLAKE2b-256 checksum
How to use checksums
679b5a8a2aa6883578483aef10ae38fdd80c5bba2af712a68f62c5a2338fddab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page