Metadata-Version: 2.1
Name: datasette-copyable
Version: 0.1
Summary: Datasette plugin for outputting tables in formats suitable for copy and paste
Home-page: https://github.com/simonw/datasette-copyable
Author: Simon Willison
License: Apache License, Version 2.0
Project-URL: Issues, https://github.com/simonw/datasette-copyable/issues
Project-URL: CI, https://github.com/simonw/datasette-copyable/actions
Project-URL: Changelog, https://github.com/simonw/datasette-copyable/releases
Description: # datasette-copyable
        
        [![PyPI](https://img.shields.io/pypi/v/datasette-copyable.svg)](https://pypi.org/project/datasette-copyable/)
        [![Changelog](https://img.shields.io/github/v/release/simonw/datasette-copyable?include_prereleases&label=changelog)](https://github.com/simonw/datasette-copyable/releases)
        [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-copyable/blob/master/LICENSE)
        
        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
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
Provides-Extra: test
