Skip to content

Commit f10ad52

Browse files
committed
Use the '=' character for the completion bar
1 parent 99f7c07 commit f10ad52

4 files changed

Lines changed: 9 additions & 172 deletions

File tree

.gitignore

Lines changed: 2 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,169 +1,2 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
5-
6-
# C extensions
7-
*.so
8-
9-
# Distribution / packaging
10-
.Python
11-
build/
12-
develop-eggs/
13-
dist/
14-
downloads/
15-
eggs/
16-
.eggs/
17-
lib/
18-
lib64/
19-
parts/
20-
sdist/
21-
var/
22-
wheels/
23-
share/python-wheels/
24-
*.egg-info/
25-
.installed.cfg
26-
*.egg
27-
MANIFEST
28-
29-
# PyInstaller
30-
# Usually these files are written by a python script from a template
31-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32-
*.manifest
33-
*.spec
34-
35-
# Installer logs
36-
pip-log.txt
37-
pip-delete-this-directory.txt
38-
39-
# Virtual Env
40-
pyvenv.cfg
41-
[Bb]in
42-
[Ii]nclude
43-
[Ll]ib
44-
[Ll]ib64
45-
[Ll]ocal
46-
[Ss]cripts
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-
.pybuilder/
85-
target/
86-
87-
# Jupyter Notebook
88-
.ipynb_checkpoints
89-
90-
# IPython
91-
profile_default/
92-
ipython_config.py
93-
94-
# pyenv
95-
# For a library or package, you might want to ignore these files since the code is
96-
# intended to run in multiple environments; otherwise, check them in:
97-
# .python-version
98-
99-
# pipenv
100-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
101-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
102-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
103-
# install all needed dependencies.
104-
#Pipfile.lock
105-
106-
# poetry
107-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
108-
# This is especially recommended for binary packages to ensure reproducibility, and is more
109-
# commonly ignored for libraries.
110-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
111-
#poetry.lock
112-
113-
# pdm
114-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115-
#pdm.lock
116-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
117-
# in version control.
118-
# https://pdm.fming.dev/#use-with-ide
119-
.pdm.toml
120-
121-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
122-
__pypackages__/
123-
124-
# Celery stuff
125-
celerybeat-schedule
126-
celerybeat.pid
127-
128-
# SageMath parsed files
129-
*.sage.py
130-
131-
# Environments
132-
.env
133-
.venv
134-
env/
135-
venv/
136-
ENV/
137-
env.bak/
138-
venv.bak/
139-
140-
# Spyder project settings
141-
.spyderproject
142-
.spyproject
143-
144-
# Rope project settings
145-
.ropeproject
146-
147-
# mkdocs documentation
148-
/site
149-
150-
# mypy
151-
.mypy_cache/
152-
.dmypy.json
153-
dmypy.json
154-
155-
# Pyre type checker
156-
.pyre/
157-
158-
# pytype static type analyzer
159-
.pytype/
160-
161-
# Cython debug symbols
162-
cython_debug/
163-
164-
# PyCharm
165-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
166-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
167-
# and can be added to the global gitignore or merged into this file. For a more nuclear
168-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
169-
#.idea/
1+
# Created by venv; see https://docs.python.org/3/library/venv.html
2+
*

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
Changelog for the dpdumper utility
33

4+
## [0.4.4] - 2025-09-05
5+
### Changed
6+
- Use the standard ASCII `=` character for the progress bar
7+
48
## [0.4.3] - 2024-09-28
59
### Fix
610
- Fix reads with a data bus over 8 bits

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "dpdumper"
7-
version = "0.4.3"
7+
version = "0.4.4"
88
description = "Tool to use the dupico as a dumping device"
99
authors = [
1010
{ name = "Fabio Battaglia", email = "hkzlabnet@gmail.com" }
1111
]
1212
keywords = ["dupico", "DuPAL", "dumping"]
1313
readme = "README.md"
14-
license = { text = "CC BY-SA 4.0 DEED" }
14+
license = "CC-BY-SA-4.0"
1515
classifiers = [
1616
"Programming Language :: Python :: 3"
1717
]

src/dpdumper/hl_board_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
_LOGGER = logging.getLogger(__name__)
1616

1717
# Taken from https://stackoverflow.com/questions/3173320/text-progress-bar-in-terminal-with-block-characters
18-
def _print_progressBar (iteration: int, total: int, prefix: str = '', suffix: str = '', decimals: int = 1, length: int = 50, fill: str = '', printEnd: str = '\r'):
18+
def _print_progressBar (iteration: int, total: int, prefix: str = '', suffix: str = '', decimals: int = 1, length: int = 50, fill: str = '=', printEnd: str = '\r'):
1919
percent: str = ("{0:." + str(decimals) + "f}").format(100 * (iteration / float(total)))
2020
filledLength: int = int(length * iteration // total)
2121
bar: str = fill * filledLength + '-' * (length - filledLength)

0 commit comments

Comments
 (0)