Skip to content

Commit 8424742

Browse files
committed
annotate this as GPL-2.0 at the moment
bsaed on https://android.googlesource.com/kernel/msm.git/+/511b239792d76efc7456ef92735a1257c95eac44/drivers/media/video/msm/ov5640.h#1044 until we have more correct information.
1 parent 4bba65b commit 8424742

File tree

15 files changed

+169
-30
lines changed

15 files changed

+169
-30
lines changed

LICENSES/GPL-2.0-only.txt

Lines changed: 117 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,10 @@ image from the assets folder in the PCB's GitHub repo.
4646

4747
Installing from PyPI
4848
=====================
49-
.. note:: This library is not available on PyPI yet. Install documentation is included
50-
as a standard element. Stay tuned for PyPI availability!
5149

52-
.. todo:: Remove the above note if PyPI version is/will be available at time of release.
53-
54-
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
55-
PyPI <https://pypi.org/project/adafruit-circuitpython-pycamera/>`_.
56-
To install for current user:
57-
58-
.. code-block:: shell
59-
60-
pip3 install adafruit-circuitpython-pycamera
61-
62-
To install system-wide (this may be required in some cases):
63-
64-
.. code-block:: shell
65-
66-
sudo pip3 install adafruit-circuitpython-pycamera
67-
68-
To install in a virtual environment in your current project:
69-
70-
.. code-block:: shell
71-
72-
mkdir project-name && cd project-name
73-
python3 -m venv .venv
74-
source .env/bin/activate
75-
pip3 install adafruit-circuitpython-pycamera
50+
This package is available on PyPI so that it can be installed by Thonny. It is
51+
not useful to install this package from PyPI on a Windows, Mac, or Linux
52+
computer.
7653

7754
Installing to a Connected CircuitPython Device with Circup
7855
==========================================================
@@ -100,8 +77,15 @@ Or the following command to update an existing version:
10077
Usage Example
10178
=============
10279

103-
.. todo:: Add a quick, simple example. It and other examples should live in the
104-
examples folder and be included in docs/examples.rst.
80+
.. code-block: python
81+
82+
from adafruit_pycamera import PyCamera
83+
84+
pycam = PyCamera()
85+
86+
while True:
87+
new_frame = pycam.continuous_capture()
88+
# .. do something with new_frame
10589
10690
Documentation
10791
=============

README.rst.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2+
SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
23
SPDX-FileCopyrightText: Copyright (c) 2023 Jeff Epler for Adafruit Industries for Adafruit Industries
4+
35
SPDX-License-Identifier: MIT

adafruit_pycamera.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import os
26
import struct
37
import sys

examples/camera/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
15
import os
26
import struct
37
import sys

examples/ipcam/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
15
import asyncio
26
import binascii
37
import os

examples/ipcam2/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
15
import json
26
import os
37
import struct

examples/ipcam2/htdocs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
3+
4+
SPDX-License-Identifier: Unlicense
5+
-->
6+
17
<!DOCTYPE html>
28
<html>
39
<head>

examples/ipcam2/htdocs/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
//
3+
// SPDX-License-Identifier: Unlicense
4+
15
const html = (strings, ...values) => String.raw({ raw: strings }, ...values);
26

37
var ii = 0;

examples/ipcam2/htdocs/metadata.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
//
3+
// SPDX-License-Identifier: Unlicense
4+
15
tunables = {
26
"property": {
37
"effect": [

examples/ipcam2/make_web_metadata.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
15
import json
26

37

examples/qrio/code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-FileCopyrightText: 2023 Jeff Epler for Adafruit Industries
12
# SPDX-FileCopyrightText: Copyright (c) 2021 Jeff Epler for Adafruit Industries
23
#
34
# SPDX-License-Identifier: Unlicense

ov5640_autofocus.bin.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2023 Unknown
2+
3+
SPDX-License-Identifier: GPL-2.0-only

settings.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)