Skip to content

Commit 8f2fdde

Browse files
author
Jim Bennett
committed
Renaming
1 parent 54866a4 commit 8f2fdde

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Jim Bennett for Adafruit Industries
3+
Copyright (c) 2020 Jim Bennett
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ Installing from PyPI
3535
=====================
3636

3737
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
38-
PyPI <https://pypi.org/project/adafruit-circuitpython-hmac/>`_. To install for current user:
38+
PyPI <https://pypi.org/project/circuitpython-hmac/>`_. To install for current user:
3939

4040
.. code-block:: shell
4141
42-
pip3 install adafruit-circuitpython-hmac
42+
pip3 install circuitpython-hmac
4343
4444
To install system-wide (this may be required in some cases):
4545

4646
.. code-block:: shell
4747
48-
sudo pip3 install adafruit-circuitpython-hmac
48+
sudo pip3 install circuitpython-hmac
4949
5050
To install in a virtual environment in your current project:
5151

@@ -54,7 +54,7 @@ To install in a virtual environment in your current project:
5454
mkdir project-name && cd project-name
5555
python3 -m venv .env
5656
source .env/bin/activate
57-
pip3 install adafruit-circuitpython-hmac
57+
pip3 install circuitpython-hmac
5858
5959
Usage Example
6060
=============
@@ -72,7 +72,7 @@ Contributing
7272
============
7373

7474
Contributions are welcome! Please read our `Code of Conduct
75-
<https://github.com/adafruit/Adafruit_CircuitPython_HMAC/blob/master/CODE_OF_CONDUCT.md>`_
75+
<https://github.com/jimbobbennett/CircuitPython_HMAC/blob/master/CODE_OF_CONDUCT.md>`_
7676
before contributing to help this project stay welcoming.
7777

7878
Documentation

adafruit_hmac.py renamed to circuitpython_hmac.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22
#
3-
# Copyright (c) 2020 Jim Bennett for Adafruit Industries
3+
# Copyright (c) 2020 Jim Bennett
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to deal
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
"""
23-
`adafruit_hmac`
23+
`circuitpython_hmac`
2424
================================================================================
2525
2626
HMAC (Keyed-Hashing for Message Authentication) Python module.
@@ -42,7 +42,7 @@
4242
# imports
4343

4444
__version__ = "0.0.0-auto.0"
45-
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HMAC.git"
45+
__repo__ = "https://github.com/jimbobbennett/CircuitPython_HMAC.git"
4646

4747
import adafruit_hashlib as _hashlib
4848

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7-
.. automodule:: adafruit_hmac
7+
.. automodule:: circuitpython_hmac
88
:members:

docs/conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
master_doc = "index"
3939

4040
# General information about the project.
41-
project = "Adafruit HMAC Library"
41+
project = "CircuitPython HMAC Library"
4242
copyright = "2020 Jim Bennett"
4343
author = "Jim Bennett"
4444

@@ -114,7 +114,7 @@
114114
html_favicon = "_static/favicon.ico"
115115

116116
# Output file base name for HTML help builder.
117-
htmlhelp_basename = "AdafruitHmacLibrarydoc"
117+
htmlhelp_basename = "CircuitPythonHmacLibrarydoc"
118118

119119
# -- Options for LaTeX output ---------------------------------------------
120120

@@ -139,8 +139,8 @@
139139
latex_documents = [
140140
(
141141
master_doc,
142-
"AdafruitHMACLibrary.tex",
143-
"AdafruitHMAC Library Documentation",
142+
"CircuitPythonHMACLibrary.tex",
143+
"CircuitPythonHMAC Library Documentation",
144144
author,
145145
"manual",
146146
),
@@ -153,8 +153,8 @@
153153
man_pages = [
154154
(
155155
master_doc,
156-
"AdafruitHMAClibrary",
157-
"Adafruit HMAC Library Documentation",
156+
"CircuitPythonHMAClibrary",
157+
"CircuitPython HMAC Library Documentation",
158158
[author],
159159
1,
160160
)
@@ -168,10 +168,10 @@
168168
texinfo_documents = [
169169
(
170170
master_doc,
171-
"AdafruitHMACLibrary",
172-
"Adafruit HMAC Library Documentation",
171+
"CircuitPythonHMACLibrary",
172+
"CircuitPython HMAC Library Documentation",
173173
author,
174-
"AdafruitHMACLibrary",
174+
"CircuitPythonHMACLibrary",
175175
"One line description of project.",
176176
"Miscellaneous",
177177
),

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Table of Contents
2929
.. toctree::
3030
:caption: Other Links
3131

32-
Download <https://github.com/adafruit/Adafruit_CircuitPython_HMAC/releases/latest>
32+
Download <https://github.com/jimbobbennett/CircuitPython_HMAC/releases/latest>
3333
CircuitPython Reference Documentation <https://circuitpython.readthedocs.io>
3434
CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60>
3535
Discord Chat <https://adafru.it/discord>

examples/hmac_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adafruit_hmac as hmac
1+
import circuitpython_hmac as hmac
22

33
secret = "secret"
44
msg = "message"

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
long_description = f.read()
1919

2020
setup(
21-
name="adafruit-circuitpython-hmac",
21+
name="circuitpython-hmac",
2222
use_scm_version=True,
2323
setup_requires=["setuptools_scm"],
2424
description="HMAC (Keyed-Hashing for Message Authentication) Python module. Implements the HMAC algorithm as described by RFC 2104.",
2525
long_description=long_description,
2626
long_description_content_type="text/x-rst",
2727
# The project's main homepage.
28-
url="https://github.com/adafruit/Adafruit_CircuitPython_HMAC",
28+
url="https://github.com/jimbobbennett/CircuitPython_HMAC",
2929
# Author details
30-
author="Adafruit Industries",
31-
author_email="circuitpython@adafruit.com",
30+
author="Jim Bennett",
31+
author_email="jim.bennett@microsoft.com",
3232
install_requires=["Adafruit-Blinka", "adafruit-hashlib"],
3333
# Choose your license
3434
license="MIT",
@@ -49,5 +49,5 @@
4949
# simple. Or you can use find_packages().
5050
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
5151
# CHANGE `py_modules=['...']` TO `packages=['...']`
52-
py_modules=["adafruit_hmac"],
52+
py_modules=["circuitpython_hmac"],
5353
)

0 commit comments

Comments
 (0)