Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonw/datasette-hello-world
The hello world of Datasette plugins
https://github.com/simonw/datasette-hello-world
Last synced: 28 days ago
JSON representation
The hello world of Datasette plugins
- Host: GitHub
- URL: https://github.com/simonw/datasette-hello-world
- Owner: simonw
- Created: 2021-10-21T00:01:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-14T04:58:36.000Z (about 3 years ago)
- Last Synced: 2024-10-06T20:19:01.476Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# datasette-hello-world
[![PyPI](https://img.shields.io/pypi/v/datasette-hello-world.svg)](https://pypi.org/project/datasette-hello-world/)
[![Changelog](https://img.shields.io/github/v/release/simonw/datasette-hello-world?include_prereleases&label=changelog)](https://github.com/simonw/datasette-hello-world/releases)
[![Tests](https://github.com/simonw/datasette-hello-world/workflows/Test/badge.svg)](https://github.com/simonw/datasette-hello-world/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-hello-world/blob/main/LICENSE)The hello world of Datasette plugins
## Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-hello-world
## Usage
Run this to see "Hello world":
datasette hello-world
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-hello-world
python3 -mvenv venv
source venv/bin/activateOr if you are using `pipenv`:
pipenv shell
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest