crcc 2.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crcc might be problematic. Click here for more details.
- crcc-2.0.3/.readthedocs.yml +15 -0
- crcc-2.0.3/CHANGES.rst +132 -0
- crcc-2.0.3/LICENSE +19 -0
- crcc-2.0.3/MANIFEST.in +21 -0
- crcc-2.0.3/PKG-INFO +276 -0
- crcc-2.0.3/README.rst +90 -0
- crcc-2.0.3/docs/CHANGES.rst +2 -0
- crcc-2.0.3/docs/README.rst +1 -0
- crcc-2.0.3/docs/_static/.keep +0 -0
- crcc-2.0.3/docs/_templates/.keep +0 -0
- crcc-2.0.3/docs/conf.py +117 -0
- crcc-2.0.3/docs/index.rst +21 -0
- crcc-2.0.3/docs/install.rst +23 -0
- crcc-2.0.3/docs/userguide.rst +6 -0
- crcc-2.0.3/examples/crc_fd.c +61 -0
- crcc-2.0.3/examples/crc_fd.h +46 -0
- crcc-2.0.3/examples/crc_file.c +60 -0
- crcc-2.0.3/examples/crc_file.h +48 -0
- crcc-2.0.3/include/crcc/crc.h +163 -0
- crcc-2.0.3/pyproject.toml +380 -0
- crcc-2.0.3/setup.cfg +4 -0
- crcc-2.0.3/setup.py +47 -0
- crcc-2.0.3/src/crcc/__about__.py +4 -0
- crcc-2.0.3/src/crcc/__init__.py +8 -0
- crcc-2.0.3/src/crcc/_crc.py +179 -0
- crcc-2.0.3/src/crcc/_dll.py +12 -0
- crcc-2.0.3/src/crcc/_platform/__init__.py +21 -0
- crcc-2.0.3/src/crcc/_platform/linux/__init__.py +22 -0
- crcc-2.0.3/src/crcc/_platform/macos/__init__.py +22 -0
- crcc-2.0.3/src/crcc/_platform/windows/__init__.py +28 -0
- crcc-2.0.3/src/crcc/crc.c +146 -0
- crcc-2.0.3/src/crcc/crc.def +11 -0
- crcc-2.0.3/src/crcc/crc_defs.h +42 -0
- crcc-2.0.3/src/crcc/crc_predef.c +102 -0
- crcc-2.0.3/src/crcc/crc_py.c +20 -0
- crcc-2.0.3/src/crcc/crc_table.c +55 -0
- crcc-2.0.3/src/crcc/crc_table.h +48 -0
- crcc-2.0.3/src/crcc/crc_update.c +77 -0
- crcc-2.0.3/src/crcc/crc_update.h +64 -0
- crcc-2.0.3/src/crcc/py.typed +0 -0
- crcc-2.0.3/src/crcc.egg-info/PKG-INFO +276 -0
- crcc-2.0.3/src/crcc.egg-info/SOURCES.txt +58 -0
- crcc-2.0.3/src/crcc.egg-info/dependency_links.txt +1 -0
- crcc-2.0.3/src/crcc.egg-info/not-zip-safe +1 -0
- crcc-2.0.3/src/crcc.egg-info/requires.txt +19 -0
- crcc-2.0.3/src/crcc.egg-info/top_level.txt +1 -0
- crcc-2.0.3/tests/__init__.py +10 -0
- crcc-2.0.3/tests/__main__.py +36 -0
- crcc-2.0.3/tests/data/.keep +0 -0
- crcc-2.0.3/tests/test_crc_model.c +82 -0
- crcc-2.0.3/tests/test_crc_model.py +95 -0
crcc-2.0.3/CHANGES.rst
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
Changelog
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
2.0.3 (2025-11-08)
|
|
5
|
+
------------------
|
|
6
|
+
- | Backward INCOMPATIBILITY:
|
|
7
|
+
- | rename package crc-ct -> crcc, rename module crc -> crcc
|
|
8
|
+
| (due to conflict with existing https://pypi.org/project/crc/).
|
|
9
|
+
- Mark the package as typed.
|
|
10
|
+
- Add tox's tool.tox.env.cleanup testenv.
|
|
11
|
+
- Setup (dependencies) update and unification.
|
|
12
|
+
|
|
13
|
+
1.5.0 (2025-09-01)
|
|
14
|
+
------------------
|
|
15
|
+
- Making the package typed.
|
|
16
|
+
- Setup (dependencies) update.
|
|
17
|
+
|
|
18
|
+
1.4.4 (2025-07-07)
|
|
19
|
+
------------------
|
|
20
|
+
- 100% code coverage.
|
|
21
|
+
- Setup (dependencies) update.
|
|
22
|
+
|
|
23
|
+
1.4.3 (2025-06-15)
|
|
24
|
+
------------------
|
|
25
|
+
- The distribution is now created using 'build' instead of 'setuptools'.
|
|
26
|
+
- Setup (dependencies) update (due to regressions in tox and setuptools).
|
|
27
|
+
|
|
28
|
+
1.4.1 (2025-05-04)
|
|
29
|
+
------------------
|
|
30
|
+
- Setup (dependencies) update.
|
|
31
|
+
|
|
32
|
+
1.4.0 (2025-04-28)
|
|
33
|
+
------------------
|
|
34
|
+
- Add support for Python 3.14
|
|
35
|
+
- Drop support for Python 3.9 (due to compatibility issues).
|
|
36
|
+
- Update readthedocs's python to version 3.13
|
|
37
|
+
- Update tox's base_python to version 3.13
|
|
38
|
+
- Setup (dependencies) update.
|
|
39
|
+
|
|
40
|
+
1.3.5 (2025-02-14)
|
|
41
|
+
------------------
|
|
42
|
+
- Setup (dependencies) update.
|
|
43
|
+
|
|
44
|
+
1.3.4 (2025-01-20)
|
|
45
|
+
------------------
|
|
46
|
+
- Copyright year update.
|
|
47
|
+
- Setup (dependencies) update.
|
|
48
|
+
|
|
49
|
+
1.3.3 (2024-12-13)
|
|
50
|
+
------------------
|
|
51
|
+
- Source distribution (\*.tar.gz now) is compliant with PEP-0625.
|
|
52
|
+
- 100% code linting.
|
|
53
|
+
- Tox configuration is now in native (toml) format.
|
|
54
|
+
- Setup (dependencies) update.
|
|
55
|
+
|
|
56
|
+
1.3.2 (2024-10-30)
|
|
57
|
+
------------------
|
|
58
|
+
- Setup (dependencies) update.
|
|
59
|
+
|
|
60
|
+
1.3.1 (2024-10-09)
|
|
61
|
+
------------------
|
|
62
|
+
- Setup (dependencies) update.
|
|
63
|
+
|
|
64
|
+
1.3.0 (2024-09-30)
|
|
65
|
+
------------------
|
|
66
|
+
- Drop support for Python 3.8
|
|
67
|
+
- Setup (dependencies) update.
|
|
68
|
+
|
|
69
|
+
1.2.4 (2024-08-13)
|
|
70
|
+
------------------
|
|
71
|
+
- Add support for Python 3.13
|
|
72
|
+
- Setup (dependencies) update.
|
|
73
|
+
|
|
74
|
+
1.2.3 (2024-01-26)
|
|
75
|
+
------------------
|
|
76
|
+
- Cleanup.
|
|
77
|
+
|
|
78
|
+
1.2.1 (2024-01-22)
|
|
79
|
+
------------------
|
|
80
|
+
- Tox configuration has been moved to pyproject.toml
|
|
81
|
+
- Setup update (now based on tox >= 4.0).
|
|
82
|
+
- Add support for Python 3.12
|
|
83
|
+
- Drop support for Python 3.7
|
|
84
|
+
- Add support for PyPy 3.9 and 3.10
|
|
85
|
+
- Copyright year update.
|
|
86
|
+
|
|
87
|
+
1.2.0 (2022-08-02)
|
|
88
|
+
------------------
|
|
89
|
+
- Add support for Python 3.10 and 3.11
|
|
90
|
+
- Add support for PyPy 3.7, 3.8 and 3.9
|
|
91
|
+
- Setup update (currently based mainly on pyproject.toml).
|
|
92
|
+
|
|
93
|
+
1.1.0 (2022-01-10)
|
|
94
|
+
------------------
|
|
95
|
+
- Add support for Python 3.9.
|
|
96
|
+
- Drop support for Python 3.5 and 3.6.
|
|
97
|
+
- Copyright year update.
|
|
98
|
+
- Setup general update and improvement.
|
|
99
|
+
- General update and cleanup.
|
|
100
|
+
- Fixed docs setup.
|
|
101
|
+
|
|
102
|
+
1.0.0rc9 (2020-01-16)
|
|
103
|
+
---------------------
|
|
104
|
+
- Fix for missing include stddef.h (for size_t) in crc.h
|
|
105
|
+
- Another fixes for gcc/Linux.
|
|
106
|
+
- Added ReadTheDocs config file.
|
|
107
|
+
- Setup update.
|
|
108
|
+
|
|
109
|
+
1.0.0rc6 (2019-11-13)
|
|
110
|
+
---------------------
|
|
111
|
+
- Drop support for Python2.
|
|
112
|
+
- Add support for Python 3.8.
|
|
113
|
+
- Setup update and cleanup.
|
|
114
|
+
|
|
115
|
+
1.0.0rc2 (2019-05-19)
|
|
116
|
+
---------------------
|
|
117
|
+
- C API has been changed in one place: crc_finalize() -> crc_final().
|
|
118
|
+
- Python API has been changed. It is now finally established in the
|
|
119
|
+
folowing way; crc.name instead of crc.crc_name in most of cases.
|
|
120
|
+
- Python doc-strings update.
|
|
121
|
+
- Fix for error in Python definition of crc.predefined_models.
|
|
122
|
+
- Python tests have been added.
|
|
123
|
+
- Changes and fixes for support of Python2.
|
|
124
|
+
- Minor setup improvements.
|
|
125
|
+
|
|
126
|
+
1.0.0b1 (2019-05-12)
|
|
127
|
+
--------------------
|
|
128
|
+
- Firt beta release.
|
|
129
|
+
|
|
130
|
+
0.0.1 (2017-05-09)
|
|
131
|
+
------------------
|
|
132
|
+
- Initial release for Python.
|
crcc-2.0.3/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
zlib License
|
|
2
|
+
|
|
3
|
+
Copyright (C) 1994-2025 Adam Karpierz
|
|
4
|
+
|
|
5
|
+
This software is provided 'as-is', without any express or implied
|
|
6
|
+
warranty. In no event will the authors be held liable for any damages
|
|
7
|
+
arising from the use of this software.
|
|
8
|
+
|
|
9
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
10
|
+
including commercial applications, and to alter it and redistribute it
|
|
11
|
+
freely, subject to the following restrictions:
|
|
12
|
+
|
|
13
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
14
|
+
claim that you wrote the original software. If you use this software
|
|
15
|
+
in a product, an acknowledgment in the product documentation would be
|
|
16
|
+
appreciated but is not required.
|
|
17
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
18
|
+
misrepresented as being the original software.
|
|
19
|
+
3. This notice may not be removed or altered from any source distribution.
|
crcc-2.0.3/MANIFEST.in
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) 1994 Adam Karpierz
|
|
2
|
+
# SPDX-License-Identifier: Zlib
|
|
3
|
+
|
|
4
|
+
include README.rst
|
|
5
|
+
include CHANGES.rst
|
|
6
|
+
include LICENSE
|
|
7
|
+
include pyproject.toml
|
|
8
|
+
include .readthedocs.yml
|
|
9
|
+
|
|
10
|
+
graft docs
|
|
11
|
+
|
|
12
|
+
graft examples
|
|
13
|
+
|
|
14
|
+
graft include
|
|
15
|
+
graft src
|
|
16
|
+
|
|
17
|
+
graft tests
|
|
18
|
+
|
|
19
|
+
global-exclude \#* \#*/**
|
|
20
|
+
global-exclude .build .build/** .build.* .build.*/**
|
|
21
|
+
global-exclude *.py[cod] __pycache__ .mypy_cache
|
crcc-2.0.3/PKG-INFO
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: crcc
|
|
3
|
+
Version: 2.0.3
|
|
4
|
+
Summary: C and Python CRC calculations module.
|
|
5
|
+
Author-email: Adam Karpierz <adam@karpierz.net>
|
|
6
|
+
Maintainer-email: Adam Karpierz <adam@karpierz.net>
|
|
7
|
+
License-Expression: Zlib
|
|
8
|
+
Project-URL: Homepage, https://pypi.org/project/crcc/
|
|
9
|
+
Project-URL: Documentation, https://crcc.readthedocs.io/
|
|
10
|
+
Project-URL: Download, https://pypi.org/project/crcc/
|
|
11
|
+
Project-URL: Source, https://github.com/karpierz/crcc
|
|
12
|
+
Project-URL: Issues, https://github.com/karpierz/crcc/issues
|
|
13
|
+
Keywords: crcc,crc
|
|
14
|
+
Platform: any
|
|
15
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Natural Language :: Polish
|
|
19
|
+
Classifier: Programming Language :: Python
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
29
|
+
Classifier: Programming Language :: C
|
|
30
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
|
+
Classifier: Typing :: Typed
|
|
32
|
+
Requires-Python: <4.0.0,>=3.10.0
|
|
33
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
+
License-File: LICENSE
|
|
35
|
+
Requires-Dist: setuptools>=80.9.0
|
|
36
|
+
Requires-Dist: typing_extensions>=4.15.0
|
|
37
|
+
Requires-Dist: pkg-about>=2.0.0
|
|
38
|
+
Requires-Dist: py-utlx>=1.1.0
|
|
39
|
+
Provides-Extra: doc
|
|
40
|
+
Requires-Dist: Sphinx>=8.1.3; extra == "doc"
|
|
41
|
+
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == "doc"
|
|
42
|
+
Requires-Dist: sphinx-toolbox>=4.0.0; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
45
|
+
Requires-Dist: sphinxcontrib-spelling>=8.0.1; extra == "doc"
|
|
46
|
+
Requires-Dist: sphinx-lint>=1.0.1; extra == "doc"
|
|
47
|
+
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
48
|
+
Requires-Dist: nbsphinx>=0.9.7; extra == "doc"
|
|
49
|
+
Provides-Extra: test
|
|
50
|
+
Requires-Dist: deepdiff>=8.6.1; extra == "test"
|
|
51
|
+
Requires-Dist: rich>=14.2.0; extra == "test"
|
|
52
|
+
Dynamic: license-file
|
|
53
|
+
|
|
54
|
+
crcc
|
|
55
|
+
====
|
|
56
|
+
|
|
57
|
+
C and Python (ctypes/cffi-based) CRC calculations module.
|
|
58
|
+
|
|
59
|
+
Overview
|
|
60
|
+
========
|
|
61
|
+
|
|
62
|
+
TBD...
|
|
63
|
+
|
|
64
|
+
`PyPI record`_.
|
|
65
|
+
|
|
66
|
+
`Documentation`_.
|
|
67
|
+
|
|
68
|
+
Usage
|
|
69
|
+
-----
|
|
70
|
+
|
|
71
|
+
TBD...
|
|
72
|
+
|
|
73
|
+
Installation
|
|
74
|
+
============
|
|
75
|
+
|
|
76
|
+
Prerequisites:
|
|
77
|
+
|
|
78
|
+
+ Python 3.10 or higher
|
|
79
|
+
|
|
80
|
+
* https://www.python.org/
|
|
81
|
+
|
|
82
|
+
+ pip and setuptools
|
|
83
|
+
|
|
84
|
+
* https://pypi.org/project/pip/
|
|
85
|
+
* https://pypi.org/project/setuptools/
|
|
86
|
+
|
|
87
|
+
To install run:
|
|
88
|
+
|
|
89
|
+
.. parsed-literal::
|
|
90
|
+
|
|
91
|
+
python -m pip install --upgrade |package|
|
|
92
|
+
|
|
93
|
+
Development
|
|
94
|
+
===========
|
|
95
|
+
|
|
96
|
+
Prerequisites:
|
|
97
|
+
|
|
98
|
+
+ Development is strictly based on *tox*. To install it run::
|
|
99
|
+
|
|
100
|
+
python -m pip install --upgrade tox
|
|
101
|
+
|
|
102
|
+
Visit `Development page`_.
|
|
103
|
+
|
|
104
|
+
Installation from sources:
|
|
105
|
+
|
|
106
|
+
clone the sources:
|
|
107
|
+
|
|
108
|
+
.. parsed-literal::
|
|
109
|
+
|
|
110
|
+
git clone |respository| |package|
|
|
111
|
+
|
|
112
|
+
and run:
|
|
113
|
+
|
|
114
|
+
.. parsed-literal::
|
|
115
|
+
|
|
116
|
+
python -m pip install ./|package|
|
|
117
|
+
|
|
118
|
+
or on development mode:
|
|
119
|
+
|
|
120
|
+
.. parsed-literal::
|
|
121
|
+
|
|
122
|
+
python -m pip install --editable ./|package|
|
|
123
|
+
|
|
124
|
+
License
|
|
125
|
+
=======
|
|
126
|
+
|
|
127
|
+
| |copyright|
|
|
128
|
+
| Licensed under the zlib/libpng License
|
|
129
|
+
| https://opensource.org/license/zlib
|
|
130
|
+
| Please refer to the accompanying LICENSE file.
|
|
131
|
+
|
|
132
|
+
Authors
|
|
133
|
+
=======
|
|
134
|
+
|
|
135
|
+
* Adam Karpierz <adam@karpierz.net>
|
|
136
|
+
|
|
137
|
+
.. |package| replace:: crcc
|
|
138
|
+
.. |package_bold| replace:: **crcc**
|
|
139
|
+
.. |copyright| replace:: Copyright (c) 1994-2025 Adam Karpierz
|
|
140
|
+
.. |respository| replace:: https://github.com/karpierz/crcc.git
|
|
141
|
+
.. _Development page: https://github.com/karpierz/crcc
|
|
142
|
+
.. _PyPI record: https://pypi.org/project/crcc/
|
|
143
|
+
.. _Documentation: https://crcc.readthedocs.io/
|
|
144
|
+
|
|
145
|
+
Changelog
|
|
146
|
+
=========
|
|
147
|
+
|
|
148
|
+
2.0.3 (2025-11-08)
|
|
149
|
+
------------------
|
|
150
|
+
- | Backward INCOMPATIBILITY:
|
|
151
|
+
- | rename package crc-ct -> crcc, rename module crc -> crcc
|
|
152
|
+
| (due to conflict with existing https://pypi.org/project/crc/).
|
|
153
|
+
- Mark the package as typed.
|
|
154
|
+
- Add tox's tool.tox.env.cleanup testenv.
|
|
155
|
+
- Setup (dependencies) update and unification.
|
|
156
|
+
|
|
157
|
+
1.5.0 (2025-09-01)
|
|
158
|
+
------------------
|
|
159
|
+
- Making the package typed.
|
|
160
|
+
- Setup (dependencies) update.
|
|
161
|
+
|
|
162
|
+
1.4.4 (2025-07-07)
|
|
163
|
+
------------------
|
|
164
|
+
- 100% code coverage.
|
|
165
|
+
- Setup (dependencies) update.
|
|
166
|
+
|
|
167
|
+
1.4.3 (2025-06-15)
|
|
168
|
+
------------------
|
|
169
|
+
- The distribution is now created using 'build' instead of 'setuptools'.
|
|
170
|
+
- Setup (dependencies) update (due to regressions in tox and setuptools).
|
|
171
|
+
|
|
172
|
+
1.4.1 (2025-05-04)
|
|
173
|
+
------------------
|
|
174
|
+
- Setup (dependencies) update.
|
|
175
|
+
|
|
176
|
+
1.4.0 (2025-04-28)
|
|
177
|
+
------------------
|
|
178
|
+
- Add support for Python 3.14
|
|
179
|
+
- Drop support for Python 3.9 (due to compatibility issues).
|
|
180
|
+
- Update readthedocs's python to version 3.13
|
|
181
|
+
- Update tox's base_python to version 3.13
|
|
182
|
+
- Setup (dependencies) update.
|
|
183
|
+
|
|
184
|
+
1.3.5 (2025-02-14)
|
|
185
|
+
------------------
|
|
186
|
+
- Setup (dependencies) update.
|
|
187
|
+
|
|
188
|
+
1.3.4 (2025-01-20)
|
|
189
|
+
------------------
|
|
190
|
+
- Copyright year update.
|
|
191
|
+
- Setup (dependencies) update.
|
|
192
|
+
|
|
193
|
+
1.3.3 (2024-12-13)
|
|
194
|
+
------------------
|
|
195
|
+
- Source distribution (\*.tar.gz now) is compliant with PEP-0625.
|
|
196
|
+
- 100% code linting.
|
|
197
|
+
- Tox configuration is now in native (toml) format.
|
|
198
|
+
- Setup (dependencies) update.
|
|
199
|
+
|
|
200
|
+
1.3.2 (2024-10-30)
|
|
201
|
+
------------------
|
|
202
|
+
- Setup (dependencies) update.
|
|
203
|
+
|
|
204
|
+
1.3.1 (2024-10-09)
|
|
205
|
+
------------------
|
|
206
|
+
- Setup (dependencies) update.
|
|
207
|
+
|
|
208
|
+
1.3.0 (2024-09-30)
|
|
209
|
+
------------------
|
|
210
|
+
- Drop support for Python 3.8
|
|
211
|
+
- Setup (dependencies) update.
|
|
212
|
+
|
|
213
|
+
1.2.4 (2024-08-13)
|
|
214
|
+
------------------
|
|
215
|
+
- Add support for Python 3.13
|
|
216
|
+
- Setup (dependencies) update.
|
|
217
|
+
|
|
218
|
+
1.2.3 (2024-01-26)
|
|
219
|
+
------------------
|
|
220
|
+
- Cleanup.
|
|
221
|
+
|
|
222
|
+
1.2.1 (2024-01-22)
|
|
223
|
+
------------------
|
|
224
|
+
- Tox configuration has been moved to pyproject.toml
|
|
225
|
+
- Setup update (now based on tox >= 4.0).
|
|
226
|
+
- Add support for Python 3.12
|
|
227
|
+
- Drop support for Python 3.7
|
|
228
|
+
- Add support for PyPy 3.9 and 3.10
|
|
229
|
+
- Copyright year update.
|
|
230
|
+
|
|
231
|
+
1.2.0 (2022-08-02)
|
|
232
|
+
------------------
|
|
233
|
+
- Add support for Python 3.10 and 3.11
|
|
234
|
+
- Add support for PyPy 3.7, 3.8 and 3.9
|
|
235
|
+
- Setup update (currently based mainly on pyproject.toml).
|
|
236
|
+
|
|
237
|
+
1.1.0 (2022-01-10)
|
|
238
|
+
------------------
|
|
239
|
+
- Add support for Python 3.9.
|
|
240
|
+
- Drop support for Python 3.5 and 3.6.
|
|
241
|
+
- Copyright year update.
|
|
242
|
+
- Setup general update and improvement.
|
|
243
|
+
- General update and cleanup.
|
|
244
|
+
- Fixed docs setup.
|
|
245
|
+
|
|
246
|
+
1.0.0rc9 (2020-01-16)
|
|
247
|
+
---------------------
|
|
248
|
+
- Fix for missing include stddef.h (for size_t) in crc.h
|
|
249
|
+
- Another fixes for gcc/Linux.
|
|
250
|
+
- Added ReadTheDocs config file.
|
|
251
|
+
- Setup update.
|
|
252
|
+
|
|
253
|
+
1.0.0rc6 (2019-11-13)
|
|
254
|
+
---------------------
|
|
255
|
+
- Drop support for Python2.
|
|
256
|
+
- Add support for Python 3.8.
|
|
257
|
+
- Setup update and cleanup.
|
|
258
|
+
|
|
259
|
+
1.0.0rc2 (2019-05-19)
|
|
260
|
+
---------------------
|
|
261
|
+
- C API has been changed in one place: crc_finalize() -> crc_final().
|
|
262
|
+
- Python API has been changed. It is now finally established in the
|
|
263
|
+
folowing way; crc.name instead of crc.crc_name in most of cases.
|
|
264
|
+
- Python doc-strings update.
|
|
265
|
+
- Fix for error in Python definition of crc.predefined_models.
|
|
266
|
+
- Python tests have been added.
|
|
267
|
+
- Changes and fixes for support of Python2.
|
|
268
|
+
- Minor setup improvements.
|
|
269
|
+
|
|
270
|
+
1.0.0b1 (2019-05-12)
|
|
271
|
+
--------------------
|
|
272
|
+
- Firt beta release.
|
|
273
|
+
|
|
274
|
+
0.0.1 (2017-05-09)
|
|
275
|
+
------------------
|
|
276
|
+
- Initial release for Python.
|
crcc-2.0.3/README.rst
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
crcc
|
|
2
|
+
====
|
|
3
|
+
|
|
4
|
+
C and Python (ctypes/cffi-based) CRC calculations module.
|
|
5
|
+
|
|
6
|
+
Overview
|
|
7
|
+
========
|
|
8
|
+
|
|
9
|
+
TBD...
|
|
10
|
+
|
|
11
|
+
`PyPI record`_.
|
|
12
|
+
|
|
13
|
+
`Documentation`_.
|
|
14
|
+
|
|
15
|
+
Usage
|
|
16
|
+
-----
|
|
17
|
+
|
|
18
|
+
TBD...
|
|
19
|
+
|
|
20
|
+
Installation
|
|
21
|
+
============
|
|
22
|
+
|
|
23
|
+
Prerequisites:
|
|
24
|
+
|
|
25
|
+
+ Python 3.10 or higher
|
|
26
|
+
|
|
27
|
+
* https://www.python.org/
|
|
28
|
+
|
|
29
|
+
+ pip and setuptools
|
|
30
|
+
|
|
31
|
+
* https://pypi.org/project/pip/
|
|
32
|
+
* https://pypi.org/project/setuptools/
|
|
33
|
+
|
|
34
|
+
To install run:
|
|
35
|
+
|
|
36
|
+
.. parsed-literal::
|
|
37
|
+
|
|
38
|
+
python -m pip install --upgrade |package|
|
|
39
|
+
|
|
40
|
+
Development
|
|
41
|
+
===========
|
|
42
|
+
|
|
43
|
+
Prerequisites:
|
|
44
|
+
|
|
45
|
+
+ Development is strictly based on *tox*. To install it run::
|
|
46
|
+
|
|
47
|
+
python -m pip install --upgrade tox
|
|
48
|
+
|
|
49
|
+
Visit `Development page`_.
|
|
50
|
+
|
|
51
|
+
Installation from sources:
|
|
52
|
+
|
|
53
|
+
clone the sources:
|
|
54
|
+
|
|
55
|
+
.. parsed-literal::
|
|
56
|
+
|
|
57
|
+
git clone |respository| |package|
|
|
58
|
+
|
|
59
|
+
and run:
|
|
60
|
+
|
|
61
|
+
.. parsed-literal::
|
|
62
|
+
|
|
63
|
+
python -m pip install ./|package|
|
|
64
|
+
|
|
65
|
+
or on development mode:
|
|
66
|
+
|
|
67
|
+
.. parsed-literal::
|
|
68
|
+
|
|
69
|
+
python -m pip install --editable ./|package|
|
|
70
|
+
|
|
71
|
+
License
|
|
72
|
+
=======
|
|
73
|
+
|
|
74
|
+
| |copyright|
|
|
75
|
+
| Licensed under the zlib/libpng License
|
|
76
|
+
| https://opensource.org/license/zlib
|
|
77
|
+
| Please refer to the accompanying LICENSE file.
|
|
78
|
+
|
|
79
|
+
Authors
|
|
80
|
+
=======
|
|
81
|
+
|
|
82
|
+
* Adam Karpierz <adam@karpierz.net>
|
|
83
|
+
|
|
84
|
+
.. |package| replace:: crcc
|
|
85
|
+
.. |package_bold| replace:: **crcc**
|
|
86
|
+
.. |copyright| replace:: Copyright (c) 1994-2025 Adam Karpierz
|
|
87
|
+
.. |respository| replace:: https://github.com/karpierz/crcc.git
|
|
88
|
+
.. _Development page: https://github.com/karpierz/crcc
|
|
89
|
+
.. _PyPI record: https://pypi.org/project/crcc/
|
|
90
|
+
.. _Documentation: https://crcc.readthedocs.io/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.. include:: ../README.rst
|
|
File without changes
|
|
File without changes
|
crcc-2.0.3/docs/conf.py
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# This file only contains a selection of the most common options. For a full
|
|
4
|
+
# list see the documentation:
|
|
5
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
6
|
+
|
|
7
|
+
from sphinx import application
|
|
8
|
+
|
|
9
|
+
about = __import__("pkg_about").about_from_setup()
|
|
10
|
+
|
|
11
|
+
def setup(app: application.Sphinx) -> None:
|
|
12
|
+
pass
|
|
13
|
+
|
|
14
|
+
# -- Path setup --------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
# If extensions (or modules to document with autodoc) are in another directory,
|
|
17
|
+
# add these directories to sys.path here. If the directory is relative to the
|
|
18
|
+
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
19
|
+
#
|
|
20
|
+
# import os
|
|
21
|
+
# import sys
|
|
22
|
+
# sys.path.insert(0, os.path.abspath('.'))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# -- Project information -----------------------------------------------------
|
|
26
|
+
|
|
27
|
+
project = about.__title__
|
|
28
|
+
author = about.__author__
|
|
29
|
+
copyright = about.__copyright__
|
|
30
|
+
|
|
31
|
+
# The full version, including alpha/beta/rc tags
|
|
32
|
+
release = about.__version__
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# -- General configuration ---------------------------------------------------
|
|
36
|
+
|
|
37
|
+
# If your documentation needs a minimal Sphinx version, state it here.
|
|
38
|
+
#
|
|
39
|
+
needs_sphinx = '8.1.3'
|
|
40
|
+
|
|
41
|
+
# Add any Sphinx extension module names here, as strings. They can be
|
|
42
|
+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
43
|
+
# ones.
|
|
44
|
+
extensions = [
|
|
45
|
+
'sphinx.ext.autodoc',
|
|
46
|
+
'sphinx.ext.autosummary',
|
|
47
|
+
'sphinx.ext.doctest',
|
|
48
|
+
'sphinx.ext.intersphinx',
|
|
49
|
+
#'sphinx.ext.todo',
|
|
50
|
+
#'sphinx.ext.coverage',
|
|
51
|
+
'sphinx.ext.ifconfig',
|
|
52
|
+
'sphinx.ext.napoleon',
|
|
53
|
+
'sphinx_autodoc_typehints',
|
|
54
|
+
#'sphinx_toolbox',
|
|
55
|
+
'sphinx_tabs.tabs',
|
|
56
|
+
'sphinx_copybutton',
|
|
57
|
+
'sphinxcontrib.spelling',
|
|
58
|
+
'nbsphinx',
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
# Needed for e.g. linkcheck builder
|
|
62
|
+
tls_verify = False
|
|
63
|
+
|
|
64
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
65
|
+
templates_path = ['_templates']
|
|
66
|
+
|
|
67
|
+
# The encoding of source files.
|
|
68
|
+
#
|
|
69
|
+
source_encoding = 'utf-8'
|
|
70
|
+
|
|
71
|
+
# The master toctree document.
|
|
72
|
+
master_doc = 'index'
|
|
73
|
+
|
|
74
|
+
# List of patterns, relative to source directory, that match files and
|
|
75
|
+
# directories to ignore when looking for source files.
|
|
76
|
+
# This pattern also affects html_static_path and html_extra_path.
|
|
77
|
+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
78
|
+
|
|
79
|
+
# The name of the Pygments (syntax highlighting) style to use.
|
|
80
|
+
pygments_style = 'sphinx'
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# -- Options for HTML output -------------------------------------------------
|
|
84
|
+
|
|
85
|
+
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
86
|
+
# a list of builtin themes.
|
|
87
|
+
#
|
|
88
|
+
html_theme = 'bizstyle' # 'alabaster'
|
|
89
|
+
|
|
90
|
+
# Add any paths that contain custom static files (such as style sheets) here,
|
|
91
|
+
# relative to this directory. They are copied after the builtin static files,
|
|
92
|
+
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
93
|
+
html_static_path = ['_static']
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
# -- Extension configuration -------------------------------------------------
|
|
97
|
+
|
|
98
|
+
# -- Options for autodoc extension -------------------------------------------
|
|
99
|
+
|
|
100
|
+
autoclass_content = 'both'
|
|
101
|
+
autodoc_member_order = 'bysource'
|
|
102
|
+
|
|
103
|
+
# -- Options for apidoc extension --------------------------------------------
|
|
104
|
+
|
|
105
|
+
apidoc_separate_modules = True
|
|
106
|
+
apidoc_module_first = True
|
|
107
|
+
apidoc_output_dir = 'api'
|
|
108
|
+
|
|
109
|
+
# -- Options for intersphinx extension ---------------------------------------
|
|
110
|
+
|
|
111
|
+
# Example configuration for intersphinx: refer to the Python standard library.
|
|
112
|
+
# intersphinx_mapping = {'https://docs.python.org/': None}
|
|
113
|
+
|
|
114
|
+
# -- Options for todo extension ----------------------------------------------
|
|
115
|
+
|
|
116
|
+
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
|
117
|
+
todo_include_todos = False
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
crc documentation
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
.. _readme:
|
|
5
|
+
.. include:: README.rst
|
|
6
|
+
|
|
7
|
+
Contents
|
|
8
|
+
========
|
|
9
|
+
|
|
10
|
+
.. toctree::
|
|
11
|
+
:maxdepth: 2
|
|
12
|
+
|
|
13
|
+
install.rst
|
|
14
|
+
userguide.rst
|
|
15
|
+
CHANGES.rst
|
|
16
|
+
|
|
17
|
+
Indices and tables
|
|
18
|
+
==================
|
|
19
|
+
|
|
20
|
+
* :ref:`genindex`
|
|
21
|
+
* :ref:`search`
|