Skip to content

Commit effde3c

Browse files
committed
v0.1.0
1 parent 41d76dc commit effde3c

File tree

2 files changed

+92
-3
lines changed

2 files changed

+92
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changelog
22

3-
## vX.X.X
3+
## v0.1.0
44

5-
- ...
5+
- initial release with `path` sub-command support

README.md

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,95 @@
1-
## Path Inspector
1+
# Path Inspector
22

3+
[![PyPI](https://img.shields.io/pypi/v/pathins?color=blueviolet&label=PyPI&logo=python&logoColor=white)](https://pypi.org/project/pathins)
34
![Python CI](https://github.com/source-foundry/path-inspector/workflows/Python%20CI/badge.svg)
45
![Python Lints](https://github.com/source-foundry/path-inspector/workflows/Python%20Lints/badge.svg)
56
![Python Type Checks](https://github.com/source-foundry/path-inspector/workflows/Python%20Type%20Checks/badge.svg)
67
[![codecov](https://codecov.io/gh/source-foundry/path-inspector/branch/master/graph/badge.svg)](https://codecov.io/gh/source-foundry/path-inspector)
8+
9+
Path Inspector is a TTF font curve path inspection application. The Python package installs the `pathins` command line executable and requires a Python v3.6+ interpreter.
10+
11+
The project is in a very early stage of development and is not ready for general use.
12+
13+
## Installation
14+
15+
pathins requires a Python 3.6+ interpreter.
16+
17+
Installation in a Python3 virtual environment is recommended.
18+
19+
Use any of the following installation approaches:
20+
21+
### pip install from PyPI
22+
23+
```
24+
$ pip3 install pathins
25+
```
26+
27+
### pip install from source
28+
29+
```
30+
$ git clone https://github.com/source-foundry/path-inspector.git
31+
$ cd path-inspector
32+
$ pip3 install -r requirements.txt .
33+
```
34+
35+
### Developer install from source
36+
37+
The following approach installs the project and associated optional developer dependencies, so that source changes are available without the need for re-installation.
38+
39+
```
40+
$ git clone https://github.com/source-foundry/path-inspector.git
41+
$ cd path-inspector
42+
$ pip3 install --ignore-installed -r requirements.txt -e ".[dev]"
43+
```
44+
45+
## Usage
46+
47+
```
48+
$ pathins [OPTIONS] [FILEPATH] [OPTIONAL GLYPH NAME]
49+
```
50+
51+
See `pathins --help` for additional details.
52+
53+
## Issues
54+
55+
Please report issues on the [project issue tracker](https://github.com/source-foundry/path-inspector/issues).
56+
57+
## Contributing
58+
59+
Contributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above.
60+
61+
Please use the standard Github pull request approach to propose source changes.
62+
63+
### Source file linting
64+
65+
Python source files are linted with `flake8`. See the Makefile `test-lint` target for details.
66+
67+
### Testing
68+
69+
The project runs continuous integration testing on the GitHub Actions service with the `pytest` toolchain. Test modules are located in the `tests` directory of the repository.
70+
71+
Local testing by Python interpreter version can be performed with the following command executed from the root of the repository:
72+
73+
```
74+
$ tox -e [PYTHON INTERPRETER VERSION]
75+
```
76+
77+
Please see the `tox` documentation for additional details.
78+
79+
### Test coverage
80+
81+
Unit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details.
82+
83+
## Acknowledgments
84+
85+
The Path Inspector project is built with the fantastic [fontTools](https://github.com/fonttools/fonttools) and [skia-pathops](https://github.com/fonttools/skia-pathops) free software libraries.
86+
87+
## License
88+
89+
Copyright 2020 Source Foundry Authors and Contributors
90+
91+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
92+
93+
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
94+
95+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

0 commit comments

Comments
 (0)