-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
108 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# dpspecs-py | ||
# dpspecs-py | ||
|
||
[![Build](https://img.shields.io/github/actions/workflow/status/frictionlessdata/dpspecs-py/general.yaml?branch=main)](https://github.com/frictionlessdata/dpspecs-py/actions) | ||
[![Coverage](https://img.shields.io/codecov/c/github/frictionlessdata/dpspecs-py/main)](https://codecov.io/gh/frictionlessdata/dpspecs-py) | ||
[![Release](https://img.shields.io/pypi/v/frictionless.svg)](https://pypi.python.org/pypi/frictionless) | ||
[![Codebase](https://img.shields.io/badge/codebase-github-brightgreen)](https://github.com/frictionlessdata/dpspecs-py) | ||
|
||
Python implementation of the Data Package standard |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Development | ||
|
||
Contributin code the `dpspecs-py` is simple as it is a pure Python library. Please read the following instructions: | ||
|
||
## Prerequisites | ||
|
||
To start working on the project: | ||
|
||
- Python 3.8+ | ||
|
||
## Enviroment | ||
|
||
!!! note | ||
|
||
For development orchestration we use [Hatch](https://github.com/pypa/hatch) for Python (defined in `pyproject.toml`) | ||
|
||
```bash | ||
pip3 install hatch | ||
``` | ||
|
||
### Python | ||
|
||
Before starting with the project we recommend configuring `hatch`. The following line will ensure that all the virtual environments will be stored in the `.python` directory in project root: | ||
|
||
```bash | ||
hatch config set 'dirs.env.virtual' '.python' | ||
hatch shell # Enter the venv | ||
``` | ||
|
||
Now you can setup you IDE to use a proper Python path: | ||
|
||
```bash | ||
.python/dpspecs/bin/python | ||
``` | ||
|
||
## Installation | ||
|
||
To start working on the project install the dependencies: | ||
|
||
```bash | ||
make install | ||
``` | ||
|
||
## Documentation | ||
|
||
Documentation is written with Mkdocs (defined in `mkdocs.yaml`). The source articles are in the `docs` directory. To start a live-reload server: | ||
|
||
```bash | ||
make write | ||
``` | ||
|
||
Building the docs: | ||
|
||
```bash | ||
make docs | ||
``` | ||
|
||
## Testing | ||
|
||
To run all the checks on the codebase: | ||
|
||
```bash | ||
make test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Installation | ||
|
||
!!! warning | ||
|
||
Under development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Installation | ||
|
||
!!! warning | ||
|
||
Under development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# dpspecs-py | ||
|
||
[![Build](https://img.shields.io/github/actions/workflow/status/frictionlessdata/dpspecs-py/general.yaml?branch=main)](https://github.com/frictionlessdata/dpspecs-py/actions) | ||
[![Coverage](https://img.shields.io/codecov/c/github/frictionlessdata/dpspecs-py/main)](https://codecov.io/gh/frictionlessdata/dpspecs-py) | ||
[![Release](https://img.shields.io/pypi/v/frictionless.svg)](https://pypi.python.org/pypi/frictionless) | ||
[![Codebase](https://img.shields.io/badge/codebase-github-brightgreen)](https://github.com/frictionlessdata/dpspecs-py) | ||
|
||
Python implementation of the Data Package standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from dpspecs import settings | ||
|
||
|
||
def test_error(): | ||
assert settings.VERSION |