moved a bunch of garbage (things that have nothing to do in root) to _trash
This commit is contained in:
parent
d094982b2c
commit
3226ed29ec
2610 changed files with 0 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
pip
|
|
@ -0,0 +1,115 @@
|
|||
Metadata-Version: 2.4
|
||||
Name: Adafruit-PlatformDetect
|
||||
Version: 3.79.0
|
||||
Summary: Platform detection for use by libraries like Adafruit-Blinka.
|
||||
Author-email: Adafruit Industries <circuitpython@adafruit.com>
|
||||
License: MIT
|
||||
Project-URL: Homepage, https://github.com/adafruit/Adafruit_Python_PlatformDetect
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Topic :: Software Development :: Libraries
|
||||
Classifier: Topic :: System :: Hardware
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Description-Content-Type: text/x-rst
|
||||
License-File: LICENSE
|
||||
Dynamic: license-file
|
||||
|
||||
Introduction
|
||||
============
|
||||
|
||||
.. image:: https://readthedocs.org/projects/adafruit-platformdetect/badge/?version=latest
|
||||
:target: https://circuitpython.readthedocs.io/projects/platformdetect/en/latest/
|
||||
:alt: Documentation Status
|
||||
|
||||
.. image:: https://img.shields.io/discord/327254708534116352.svg
|
||||
:target: https://adafru.it/discord
|
||||
:alt: Discord
|
||||
|
||||
.. image:: https://github.com/adafruit/Adafruit_Python_PlatformDetect/workflows/Build%20CI/badge.svg
|
||||
:target: https://github.com/adafruit/Adafruit_Python_PlatformDetect/actions
|
||||
:alt: Build Status
|
||||
|
||||
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
||||
:target: https://github.com/psf/black
|
||||
:alt: Code Style: Black
|
||||
|
||||
This library provides best-guess platform detection for a range of single-board
|
||||
computers and (potentially) other platforms. It was written primarily for use
|
||||
in `Adafruit_Blinka <https://github.com/adafruit/Adafruit_Blinka>`_, but may be
|
||||
useful in other contexts.
|
||||
|
||||
Platform detection is divided into "chip" and "board" detection, with the latter
|
||||
generally dependent on the former. Platform info is gathered from:
|
||||
|
||||
- Python's `sys.platform`
|
||||
|
||||
- Various files on Linux systems:
|
||||
|
||||
- /proc/cpuinfo (for processor info, Raspberry Pi hardware revisions, etc.)
|
||||
|
||||
- /proc/device-tree/compatible (for 96Boards info)
|
||||
|
||||
- Beaglebone EEPROM board IDs
|
||||
|
||||
- Distribution-specific files such as /etc/armbian-release.
|
||||
|
||||
Dependencies
|
||||
=============
|
||||
This driver depends on:
|
||||
|
||||
* Python 3.7 or higher
|
||||
|
||||
Installing from PyPI
|
||||
=====================
|
||||
|
||||
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
|
||||
PyPI <https://pypi.org/project/Adafruit-PlatformDetect/>`_. To install for current user:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
pip3 install Adafruit-PlatformDetect
|
||||
|
||||
To install system-wide (this may be required in some cases):
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
sudo pip3 install Adafruit-PlatformDetect
|
||||
|
||||
To install in a virtual environment in your current project:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mkdir project-name && cd project-name
|
||||
python3 -m venv .env
|
||||
source .env/bin/activate
|
||||
pip3 install Adafruit-PlatformDetect
|
||||
|
||||
Usage Example
|
||||
=============
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from adafruit_platformdetect import Detector
|
||||
detector = Detector()
|
||||
print("Chip id: ", detector.chip.id)
|
||||
print("Board id: ", detector.board.id)
|
||||
|
||||
# Check for specific board models:
|
||||
print("Pi 3B+? ", detector.board.RASPBERRY_PI_3B_PLUS)
|
||||
print("BBB? ", detector.board.BEAGLEBONE_BLACK)
|
||||
print("Orange Pi PC? ", detector.board.ORANGE_PI_PC)
|
||||
print("generic Linux PC? ", detector.board.GENERIC_LINUX_PC)
|
||||
|
||||
Contributing
|
||||
============
|
||||
|
||||
Contributions are welcome! Please read our `Code of Conduct
|
||||
<https://github.com/adafruit/Adafruit_Python_PlatformDetect/blob/master/CODE_OF_CONDUCT.md>`_
|
||||
before contributing to help this project stay welcoming.
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.
|
|
@ -0,0 +1,20 @@
|
|||
adafruit_platformdetect-3.79.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
adafruit_platformdetect-3.79.0.dist-info/METADATA,sha256=qbI3F60VUEnzdLODgRePSxAcmmsCQX5QOX2ZbYo3U-c,3790
|
||||
adafruit_platformdetect-3.79.0.dist-info/RECORD,,
|
||||
adafruit_platformdetect-3.79.0.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
||||
adafruit_platformdetect-3.79.0.dist-info/licenses/LICENSE,sha256=UODDtbRIa-DtQgY5-KH28RXykQH-7mvNlUpLgdsE0PM,1086
|
||||
adafruit_platformdetect-3.79.0.dist-info/top_level.txt,sha256=xyO_mesQw7M0Gaxa5eePp8_s0PUwdPu7XFC00EDyXDc,24
|
||||
adafruit_platformdetect/__init__.py,sha256=138V6uriVaw8zAn7Z0isJ1wq9_UPmqOKT8I5XCJ0jSM,4273
|
||||
adafruit_platformdetect/__pycache__/__init__.cpython-311.pyc,,
|
||||
adafruit_platformdetect/__pycache__/board.cpython-311.pyc,,
|
||||
adafruit_platformdetect/__pycache__/chip.cpython-311.pyc,,
|
||||
adafruit_platformdetect/__pycache__/revcodes.cpython-311.pyc,,
|
||||
adafruit_platformdetect/board.py,sha256=uOPm8mxsW3OWMwh1kFESYdkZ5NalYqENCkkzXIpt9nw,51599
|
||||
adafruit_platformdetect/chip.py,sha256=XzrIF3LRuUWT7adXPRwSs01A3WJxjKqJt-SL-hsd2Yc,18190
|
||||
adafruit_platformdetect/constants/__init__.py,sha256=73ItGwyF7Z_AoaSaSMQF9ooLuEyQXOV1Zv9yqAU8G4k,163
|
||||
adafruit_platformdetect/constants/__pycache__/__init__.cpython-311.pyc,,
|
||||
adafruit_platformdetect/constants/__pycache__/boards.cpython-311.pyc,,
|
||||
adafruit_platformdetect/constants/__pycache__/chips.cpython-311.pyc,,
|
||||
adafruit_platformdetect/constants/boards.py,sha256=iWepOmMN8DpQWI7KYvr2hFbJC7SDPhWv62FdXO-nEn8,16941
|
||||
adafruit_platformdetect/constants/chips.py,sha256=s8eBP1gv0hfgZngJptqyTy3nj5HS8G1VZj8xhOtvg0I,1828
|
||||
adafruit_platformdetect/revcodes.py,sha256=Snk115QkQXrM_vCsOlooU1xMX9bWQQQvegxdlPl4ris,8313
|
|
@ -0,0 +1,5 @@
|
|||
Wheel-Version: 1.0
|
||||
Generator: setuptools (80.4.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 Adafruit Industries
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -0,0 +1 @@
|
|||
adafruit_platformdetect
|
Loading…
Add table
Add a link
Reference in a new issue