Skip to main content

python-mnist

Simple MNIST data parser written in python.

MNIST is a database of handwritten digits available on http://yann.lecun.com/exdb/mnist/.

Requirements

  • Python 2 or Python 3

Usage

  • git clone https://github.com/sorki/python-mnist

  • cd python-mnist

  • Get MNIST data:

    ./get_data.sh
  • Check preview with:

    PYTHONPATH=. ./bin/mnist_preview

Installation

Get the package from PyPi:

pip install python-mnist

or install with setup.py:

python setup.py install

Code sample:

from mnist import MNIST
mndata = MNIST('./dir_with_mnist_data_files')
mndata.load_training()
mndata.load_testing()

Metadata

Release files for python-mnist 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mnist 0.2
File Size Uploaded Provenance Actions
python-mnist-0.2.tar.gz 4.0 kB Without provenance Details for python-mnist-0.2.tar.gz

Release files / python-mnist-0.2.tar.gz

Download URL python-mnist-0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e53dd1d4a000d425d599fec4b4599a4ac6e3217c2ba8a2886c53f32e186ec3f
BLAKE2b-256 checksum
How to use checksums
0c0a3be7199f989238d2396e0a39bd30e191e3cd496d7a144cd27bfb30f3462c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-mnist 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page