Skip to main content

smollama-py

PyPI Changelog Tests License

A python app to serve smOllama. Not everyone has npx so created this wrapper over excellent smOllama web page.

smOllama is lightweight web browser chatbot interface for Ollama models. smollama-py is a python app to ease serving smOllama

Getting Started

Prerequisites

  • A running Ollama instance with at least one model installed
  • A modern web browser

Installation

Install this tool using pip:

pip install smollama-py

Usage

For help, run:

smollama-py --help

You can also use:

python -m smollama-py --help
usage: smollama-py [-h] [-m {chrome,electron,edge,msie}]

A python app to serve smOllama

optional arguments:
  -h, --help            show this help message and exit
  -m {chrome,electron,edge,msie}, --mode {chrome,electron,edge,msie}

Usage

  1. Select your preferred Ollama model from the dropdown
  2. Type your message in the input field
  3. Press Enter or click the Send button
  4. View the response with rendered Markdown and LaTeX

Demo

smollama-py

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd smollama-py
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for smollama-py 0.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 smollama-py 0.0.2
File Size Uploaded Provenance
smollama_py-0.0.2.tar.gz 1.2 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for smollama-py 0.0.2
File Interpreter ABI Platform
smollama_py-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / smollama_py-0.0.2.tar.gz

Download URL smollama_py-0.0.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
02f4aafa5a98bd0f497b4b70748ffd0fc2de331ae81890c86a9345abb6348579
BLAKE2b-256 checksum
How to use checksums
dff08b2033eb1f0f75be5fa65aa8742b72351621ef2c49c6155b943eb4532aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 7, 2025.

Transparency log

Release files / smollama_py-0.0.2-py3-none-any.whl

Download URL smollama_py-0.0.2-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
34a7b4d4dfbe6ab4843876d66a625dbbb4c39b0de4c6c8b89a214df1b646c0bf
BLAKE2b-256 checksum
How to use checksums
e7b4055ac6cd5634cec86b9872724a58875f75a20a8ccf5d321e055a1bc6538c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 7, 2025.

Transparency log

Security for smollama-py 0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for smollama_py-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 7, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

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