-
-
Notifications
You must be signed in to change notification settings - Fork 15
Fix28/add an entry point #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Hierosme
wants to merge
25
commits into
Schroedinger-Hat:main
Choose a base branch
from
Hierosme:FIX28/Add_an_entry_point
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e65c506
Easy fixe for import module
Hierosme 9447c1b
Add en entry point script
Hierosme 4ab460b
Migrate to pyproject.toml
Hierosme 2dab89b
Everything is in place
Hierosme caa657c
More close
Hierosme 17c0e49
Better file management
Hierosme d638031
Apply security recommendations about torch load external source
Hierosme 23d1c5d
First time have something it work file by file
Hierosme 22b3b43
Paths work really
Hierosme 9824904
Better help
Hierosme 6533964
Fixe interactive
Hierosme 04dda37
--yes and --interactive are enabled
Hierosme 2d3e965
enable --quantize disable --base64 , better doc
Hierosme 71124ab
Increase minor version
Hierosme 8e87412
Prepare changelogs for v1.1.1 publication
Hierosme 595cc3a
Add image-go-nord CLI section into README.md
Hierosme 3b4468a
Apply pyproject.toml pytest migration, it inclide pytest, pytest-cov …
Hierosme d74ae25
CLI 100% cover
Hierosme 4300678
Fixe pylint warning
Hierosme 66124bf
Add a / (os.sep) at the end or Target directory summary
Hierosme 81f41c1
Add test for be sure to have the / (os.sep) on Target directory summary
Hierosme 02daabf
Update README.md
TheJoin95 d4729df
Update pyproject.toml
Hierosme 67db66b
Update setup.py
Hierosme 7d55696
Update ImageGoNord/__init__.py
Hierosme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -152,4 +152,6 @@ images/*processed* | |
| images/*quantize* | ||
|
|
||
| # pycharm | ||
| .idea/ | ||
| .idea/ | ||
| /.project | ||
| /.pydevproject | ||
This file contains hidden or 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,3 +1,22 @@ | ||
| # Changelog | ||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ## 1.1.1 - 19 sept 2024 | ||
| * Migrate to pyproject.toml module format | ||
| * Keep setuptools version inside setup.py, and permit to be overwritten by APPLICATION_VERSION environment variable | ||
| * Define submodule one by one `models`, `palettes` and `utility` | ||
| * | ||
| * ``image-go-nord`` CLI entry point | ||
| * Define a consistent ``argpare`` parser | ||
| * Define a class `ImageGoNordCLI` dedicated to the entry point | ||
| * Exit code management | ||
| * Define property getter/setter for `target`, `source` and `size`, where the logic is apply | ||
| * Force argparse to use they properties | ||
| * Add support for use files or directories as `target` and `source` | ||
| * Add support for `--add` it support colors, palette file, color name | ||
| * Add support for AVG `--add` | ||
| * Add support for AI `--ai` it use coloration over AI | ||
| * Add support for quantize `--quantize` | ||
| * Add support for `--resize` it permit to force size during the pre-processing | ||
| * Update README.md for introduce image-go-nord CLI | ||
| * Migrate pytest to pyproject.toml module format | ||
| * Add ``image-go-nord`` CLI test file |
This file contains hidden or 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 hidden or 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,4 +1,11 @@ | ||
| # gonord version | ||
| __version__ = "1.2.0" | ||
|
|
||
| from ImageGoNord.GoNord import * | ||
| from .GoNord import GoNord, NordPaletteFile | ||
|
|
||
| __all__ = [ | ||
| "NordPaletteFile", | ||
| "GoNord", | ||
| ] | ||
| # gonord version use for build process | ||
| __version__ = "1.1.1" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.