Skip to content

Commit 4395c60

Browse files
committed
first commit - wip
0 parents  commit 4395c60

File tree

16 files changed

+772
-0
lines changed

16 files changed

+772
-0
lines changed

.gitignore

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
requirements_optional.txt
2+
example-theme/*
3+
/conf.json
4+
output/*
5+
6+
# DepHell stuff
7+
poetry.lock
8+
9+
# Byte-compiled / optimized / DLL files
10+
__pycache__/
11+
*.py[cod]
12+
*$py.class
13+
14+
# C extensions
15+
*.so
16+
17+
# Distribution / packaging
18+
.Python
19+
build/
20+
develop-eggs/
21+
dist/
22+
downloads/
23+
eggs/
24+
.eggs/
25+
lib/
26+
lib64/
27+
parts/
28+
sdist/
29+
var/
30+
wheels/
31+
pip-wheel-metadata/
32+
share/python-wheels/
33+
*.egg-info/
34+
.installed.cfg
35+
*.egg
36+
MANIFEST
37+
38+
# PyInstaller
39+
# Usually these files are written by a python script from a template
40+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
41+
*.manifest
42+
*.spec
43+
44+
# Installer logs
45+
pip-log.txt
46+
pip-delete-this-directory.txt
47+
48+
# Unit test / coverage reports
49+
htmlcov/
50+
.tox/
51+
.nox/
52+
.coverage
53+
.coverage.*
54+
.cache
55+
nosetests.xml
56+
coverage.xml
57+
*.cover
58+
*.py,cover
59+
.hypothesis/
60+
.pytest_cache/
61+
cover/
62+
63+
# Translations
64+
*.mo
65+
*.pot
66+
67+
# Django stuff:
68+
*.log
69+
local_settings.py
70+
db.sqlite3
71+
db.sqlite3-journal
72+
73+
# Flask stuff:
74+
instance/
75+
.webassets-cache
76+
77+
# Scrapy stuff:
78+
.scrapy
79+
80+
# Sphinx documentation
81+
docs/_build/
82+
83+
# PyBuilder
84+
target/
85+
86+
# Jupyter Notebook
87+
.ipynb_checkpoints
88+
89+
# IPython
90+
profile_default/
91+
ipython_config.py
92+
93+
# pyenv
94+
# For a library or package, you might want to ignore these files since the code is
95+
# intended to run in multiple environments; otherwise, check them in:
96+
# .python-version
97+
98+
# pipenv
99+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
100+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
101+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
102+
# install all needed dependencies.
103+
#Pipfile.lock
104+
105+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
106+
__pypackages__/
107+
108+
# Celery stuff
109+
celerybeat-schedule
110+
celerybeat.pid
111+
112+
# SageMath parsed files
113+
*.sage.py
114+
115+
# Environments
116+
.env
117+
.venv
118+
env/
119+
venv/
120+
ENV/
121+
env.bak/
122+
venv.bak/
123+
124+
# Spyder project settings
125+
.spyderproject
126+
.spyproject
127+
128+
# Rope project settings
129+
.ropeproject
130+
131+
# mkdocs documentation
132+
/site
133+
134+
# mypy
135+
.mypy_cache/
136+
.dmypy.json
137+
dmypy.json
138+
139+
# Pyre type checker
140+
.pyre/
141+
142+
# pytype static type analyzer
143+
.pytype/

.pre-commit-config.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.3.3
4+
hooks:
5+
- id: ruff
6+
args: [ --fix ]
7+
- id: ruff-format
8+
9+
- repo: https://github.com/RobertCraigie/pyright-python
10+
rev: v1.1.354
11+
hooks:
12+
- id: pyright
13+
14+
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
15+
rev: v1.3.3
16+
hooks:
17+
- id: python-safety-dependencies-check
18+
files: pyproject.toml
19+
20+
- repo: https://github.com/pre-commit/pre-commit-hooks
21+
rev: v4.5.0
22+
hooks:
23+
- id: trailing-whitespace
24+
- id: end-of-file-fixer
25+
- id: check-case-conflict
26+
- id: check-executables-have-shebangs
27+
- id: check-json
28+
- id: check-merge-conflict
29+
- id: check-shebang-scripts-are-executable
30+
- id: check-symlinks
31+
- id: check-toml
32+
- id: check-vcs-permalinks
33+
- id: check-yaml
34+
- id: detect-private-key
35+
- id: mixed-line-ending
36+
37+
- repo: https://github.com/boidolr/pre-commit-images
38+
rev: v1.5.2
39+
hooks:
40+
- id: optimize-jpg
41+
- id: optimize-png
42+
- id: optimize-svg
43+
- id: optimize-webp
44+
45+
exclude: "tests/data|documentation/reference"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
All major and minor version changes will be documented in this file. Details of
4+
patch-level version changes can be found in [commit messages](../../commits/master).
5+
6+
## 2024 - 2024/03/17

LICENSE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2024 FredHappyface
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
[![GitHub top language](https://img.shields.io/github/languages/top/FHPythonUtils/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](../../)
2+
[![Issues](https://img.shields.io/github/issues/FHPythonUtils/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](../../issues)
3+
[![License](https://img.shields.io/github/license/FHPythonUtils/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](/LICENSE.md)
4+
[![Commit activity](https://img.shields.io/github/commit-activity/m/FHPythonUtils/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](../../commits/master)
5+
[![Last commit](https://img.shields.io/github/last-commit/FHPythonUtils/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](../../commits/master)
6+
[![PyPI Downloads](https://img.shields.io/pypi/dm/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](https://pypistats.org/packages/nxtheme-creator)
7+
[![PyPI Total Downloads](https://img.shields.io/badge/dynamic/json?style=for-the-badge&label=total%20downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi%2Epepy%2Etech%2Fapi%2Fv2%2Fprojects%2Fnxtheme-creator)](https://pepy.tech/project/nxtheme-creator)
8+
[![PyPI Version](https://img.shields.io/pypi/v/nxtheme-creator.svg?style=for-the-badge&cacheSeconds=28800)](https://pypi.org/project/nxtheme-creator)
9+
10+
<!-- omit in toc -->
11+
# nxtheme-creator
12+
13+
<img src="readme-assets/icons/name.png" alt="Project Icon" width="750">
14+
15+
- [Documentation](#documentation)
16+
- [Install With PIP](#install-with-pip)
17+
- [Language information](#language-information)
18+
- [Built for](#built-for)
19+
- [Building](#building)
20+
- [Download Project](#download-project)
21+
- [Clone](#clone)
22+
- [Using The Command Line](#using-the-command-line)
23+
- [Using GitHub Desktop](#using-github-desktop)
24+
- [Download Zip File](#download-zip-file)
25+
- [Community Files](#community-files)
26+
- [Licence](#licence)
27+
- [Changelog](#changelog)
28+
- [Code of Conduct](#code-of-conduct)
29+
- [Contributing](#contributing)
30+
- [Security](#security)
31+
- [Support](#support)
32+
- [Rationale](#rationale)
33+
34+
## Documentation
35+
36+
A high-level overview of how the documentation is organized organized will help you know
37+
where to look for certain things:
38+
39+
- [Tutorials](/documentation/tutorials) take you by the hand through a series of steps to get
40+
started using the software. Start here if you’re new.
41+
- The [Technical Reference](/documentation/reference) documents APIs and other aspects of the
42+
machinery. This documentation describes how to use the classes and functions at a lower level
43+
and assume that you have a good high-level understanding of the software.
44+
- The [Help](/documentation/help) guide provides a starting point and outlines common issues that you
45+
may have.
46+
47+
## Install With PIP
48+
49+
```python
50+
pip install nxtheme-creator
51+
```
52+
53+
Head to https://pypi.org/project/nxtheme-creator/ for more info
54+
55+
## Language information
56+
57+
### Built for
58+
59+
This program has been written for Python versions 3.8 - 3.11 and has been tested with both 3.8 and
60+
3.11
61+
62+
## Building
63+
64+
This project uses https://github.com/FHPythonUtils/FHMake to automate most of the building. This
65+
command generates the documentation, updates the requirements.txt and builds the library artefacts
66+
67+
Note the functionality provided by fhmake can be approximated by the following
68+
69+
```sh
70+
handsdown --cleanup -o documentation/reference
71+
poetry export -f requirements.txt --output requirements.txt
72+
poetry export -f requirements.txt --with dev --output requirements_optional.txt
73+
poetry build
74+
```
75+
76+
`fhmake audit` can be run to perform additional checks
77+
78+
## Download Project
79+
80+
### Clone
81+
82+
#### Using The Command Line
83+
84+
1. Press the Clone or download button in the top right
85+
2. Copy the URL (link)
86+
3. Open the command line and change directory to where you wish to
87+
clone to
88+
4. Type 'git clone' followed by URL in step 2
89+
```bash
90+
git clone https://github.com/FHPythonUtils/nxtheme-creator
91+
```
92+
93+
More information can be found at
94+
https://help.github.com/en/articles/cloning-a-repository
95+
96+
#### Using GitHub Desktop
97+
98+
1. Press the Clone or download button in the top right
99+
2. Click open in desktop
100+
3. Choose the path for where you want and click Clone
101+
102+
More information can be found at
103+
https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
104+
105+
### Download Zip File
106+
107+
1. Download this GitHub repository
108+
2. Extract the zip archive
109+
3. Copy/ move to the desired location
110+
111+
## Community Files
112+
113+
### Licence
114+
115+
MIT License
116+
Copyright (c) FredHappyface
117+
(See the [LICENSE](/LICENSE.md) for more information.)
118+
119+
### Changelog
120+
121+
See the [Changelog](/CHANGELOG.md) for more information.
122+
123+
### Code of Conduct
124+
125+
Online communities include people from many backgrounds. The *Project*
126+
contributors are committed to providing a friendly, safe and welcoming
127+
environment for all. Please see the
128+
[Code of Conduct](https://github.com/FHPythonUtils/.github/blob/master/CODE_OF_CONDUCT.md)
129+
for more information.
130+
131+
### Contributing
132+
133+
Contributions are welcome, please see the
134+
[Contributing Guidelines](https://github.com/FHPythonUtils/.github/blob/master/CONTRIBUTING.md)
135+
for more information.
136+
137+
### Security
138+
139+
Thank you for improving the security of the project, please see the
140+
[Security Policy](https://github.com/FHPythonUtils/.github/blob/master/SECURITY.md)
141+
for more information.
142+
143+
### Support
144+
145+
Thank you for using this project, I hope it is of use to you. Please be aware that
146+
those involved with the project often do so for fun along with other commitments
147+
(such as work, family, etc). Please see the
148+
[Support Policy](https://github.com/FHPythonUtils/.github/blob/master/SUPPORT.md)
149+
for more information.
150+
151+
### Rationale
152+
153+
The rationale acts as a guide to various processes regarding projects such as
154+
the versioning scheme and the programming styles used. Please see the
155+
[Rationale](https://github.com/FHPythonUtils/.github/blob/master/RATIONALE.md)
156+
for more information.

documentation/reference/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Nxtheme-creator Index
2+
3+
> Auto-generated documentation index.
4+
5+
A full list of `Nxtheme-creator` project modules.
6+
7+
- [Nxtheme Creator](nxtheme_creator/index.md#nxtheme-creator)
8+
- [Module](nxtheme_creator/module.md#module)
9+
- [Process Themes](nxtheme_creator/process_themes.md#process-themes)

0 commit comments

Comments
 (0)