GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Update ALP4lib to version 1.0.2 and improve code formatting · wavefrontshaping/ALP4lib@dac1cc3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • setup.py
  • src
    • ALP4.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+13-15Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,26 @@
44
from setuptools import setup
55
import os
66

7-
long_description = 'Please read the documentation on Github and official Vialux documentation.'
8-
if os.path.exists('README.txt'):
9-
long_description = open('README.txt').read()
7+
long_description = (
8+
"Please read the documentation on Github and official Vialux documentation."
9+
)
10+
if os.path.exists("README.txt"):
11+
long_description = open("README.txt").read()
1012

1113
setup(
1214
name="ALP4lib",
13-
version="1.0.1",
15+
version="1.0.2",
1416
author="Sebastien Popoff",
1517
author_email="[email protected]",
16-
description=("A module to control Vialux DMDs based on ALP4.X API."
17-
"It uses the .ddl files provided by Vialux."),
18+
description=(
19+
"A module to control Vialux DMDs based on ALP4.X API."
20+
"It uses the .ddl files provided by Vialux."
21+
),
1822
license="MIT",
1923
keywords="DMD Vialux",
2024
url="https://github.com/wavefronthsaping/ALP4lib",
21-
package_dir={'': 'src'},
22-
py_modules=['ALP4'],
25+
package_dir={"": "src"},
26+
py_modules=["ALP4"],
2327
long_description=long_description,
2428
classifiers=[
2529
"Programming Language :: Python :: 2",
@@ -29,11 +33,5 @@
2933
"Topic :: Scientific/Engineering",
3034
"License :: OSI Approved :: MIT License",
3135
],
32-
install_requires=[
33-
'numpy',
34-
'matplotlib',
35-
'scipy',
36-
'numba',
37-
'joblib'
38-
],
36+
install_requires=["numpy", "matplotlib", "scipy", "numba", "joblib"],
3937
)
Collapse file

‎src/ALP4.py‎

Copy file name to clipboardExpand all lines: src/ALP4.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def afficheur(bitPlane):
411411
return display
412412

413413

414-
def img_to_bitplane(imgArray, bitShift):
414+
def img_to_bitplane(imgArray):
415415
"""
416416
Convert a binary image into a bitplane.
417417
"""

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.