Datasette plugin for outputting tables in formats suitable for copy and paste
Project description
datasette-copyable
Datasette plugin for outputting tables in formats suitable for copy and paste
Installation
Install this plugin in the same environment as Datasette.
$ pip install datasette-copyable
Usage
This plugin adds a .copyable
output extension to every table, view and query.
Navigating to this page will show an interface allowing you to select a format for copying and pasting the demo. The default is TSV, which is suitable for copying into Google Sheets or Excel.
You can add ?_raw=1
to get back just the raw data.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-copyable
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for datasette_copyable-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0966218051e4f3702e4b679645e3351f129dd5bcbae50ee277c49e252f627897 |
|
MD5 | 82e0a8d6b72be3868591b5cf7d5cf859 |
|
BLAKE2b-256 | f34ee4aaf7d479263735df04a79f903eddfeccf16dd3d986ab73570d31ebb4b5 |