Skip to content

Commit c66d910

Browse files
committed
release: 0.3.0 (#7)
1 parent 610184b commit c66d910

9 files changed

Lines changed: 28 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
- uses: actions/download-artifact@v3
135135
with:
136136
name: wheels
137+
path: wheels/
137138

138139
- name: Publish package distributions to PyPI
139140
uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Change Log
44

55
This document records all notable changes to `fastcrc <https://github.com/overcat/fastcrc/>`_.
66

7-
Pending
8-
-------
7+
0.3.0 (January 2, 2024)
8+
-----------------------
9+
* feat: add support for 8 bit CRCs. (`#5 <https://github.com/overcat/fastcrc/pull/5>`_)
910
* chore: drop support for Python 3.6. (`#6 <https://github.com/overcat/fastcrc/pull/6>`_)
1011

1112
0.2.1 (September 15, 2022)

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastcrc"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["overcat <4catcode@gmail.com>"]
55
edition = "2018"
66
description = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum"

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ fastcrc
1010
:alt: PyPI
1111
:target: https://pypi.python.org/pypi/fastcrc
1212

13-
.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue?style=flat
13+
.. image:: https://img.shields.io/badge/python-%3E%3D3.7-blue?style=flat
1414
:alt: Python - Version
1515
:target: https://pypi.python.org/pypi/fastcrc
1616

17-
A hyper-fast Python module for computing CRC(16, 32, 64) checksum.
17+
A hyper-fast Python module for computing CRC(8, 16, 32, 64) checksum.
1818

1919

2020
Installation
@@ -29,9 +29,10 @@ Usage
2929

3030
.. code:: python
3131
32-
from fastcrc import crc16, crc32, crc64
32+
from fastcrc import crc8, crc16, crc32, crc64
3333
3434
data = b"123456789"
35+
print(f"crc8 checksum with cdma2000 algorithm: {crc8.cdma2000(data)}")
3536
print(f"crc16 checksum with xmodem algorithm: {crc16.xmodem(data)}")
3637
print(f"crc32 checksum with aixm algorithm: {crc32.aixm(data)}")
3738
print(f"crc64 checksum with ecma_182 algorithm: {crc64.ecma_182(data)}")

docs/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
API Reference
44
=============
55

6+
CRC 8
7+
-----
8+
9+
.. automodule:: fastcrc.crc8
10+
:members:
11+
:undoc-members:
12+
613
CRC 16
714
------
815

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
fastcrc==0.2.1
1+
fastcrc==0.3.0
22
sphinx

fastcrc/__info__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__description__ = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum"
33
__url__ = "https://github.com/overcat/fastcrc"
44
__issues__ = f"{__url__}/issues"
5-
__version__ = "0.2.1"
5+
__version__ = "0.3.0"
66
__author__ = "overcat"
77
__author_email__ = "4catcode@gmail.com"
88
__license__ = "MIT License"

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
22
name = "fastcrc"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
requires-python = ">=3.7"
55
readme = "README.rst"
6-
description = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum"
6+
description = "A hyper-fast Python module for computing CRC(8, 16, 32, 64) checksum"
77
author = "overcat <4catcode@gmail.com>"
88
maintainer = "overcat <4catcode@gmail.com>"
99
classifiers = [
@@ -21,6 +21,13 @@ classifiers = [
2121
]
2222
homepage = "https://github.com/overcat/fastcrc"
2323
repository = "https://github.com/overcat/fastcrc"
24+
keywords = [
25+
"crc",
26+
"crc8",
27+
"crc16",
28+
"crc32",
29+
"crc64",
30+
]
2431

2532
[tool.poetry.urls]
2633
"Bug Tracker" = "https://github.com/overcat/fastcrc/issues"

0 commit comments

Comments
 (0)