معرفی شرکت ها


datasette-ephemeral-tables-0.2.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Provide tables that expire after a time limit
ویژگی مقدار
سیستم عامل -
نام فایل datasette-ephemeral-tables-0.2.2
نام datasette-ephemeral-tables
نسخه کتابخانه 0.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Simon Willison
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/simonw/datasette-ephemeral-tables
آدرس اینترنتی https://pypi.org/project/datasette-ephemeral-tables/
مجوز Apache License, Version 2.0
# datasette-ephemeral-tables [![PyPI](https://img.shields.io/pypi/v/datasette-ephemeral-tables.svg)](https://pypi.org/project/datasette-ephemeral-tables/) [![Changelog](https://img.shields.io/github/v/release/simonw/datasette-ephemeral-tables?include_prereleases&label=changelog)](https://github.com/simonw/datasette-ephemeral-tables/releases) [![Tests](https://github.com/simonw/datasette-ephemeral-tables/workflows/Test/badge.svg)](https://github.com/simonw/datasette-ephemeral-tables/actions?query=workflow%3ATest) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-ephemeral-tables/blob/main/LICENSE) Provide tables that expire after a time limit ## Installation Install this plugin in the same environment as Datasette. datasette install datasette-ephemeral-tables ## Usage Once installed, this plugin will ensure Datasette starts running with a new named in-memory database called `ephemeral`. Any tables created in this database will be automatically dropped five minutes after creation. ## Configuration All plugin settings are optional. The full set of settings in `metadata.yml` looks like this: ```yaml plugins: datasette-ephemeral-tables: # The name of the in-memory database created by the plugin: database: ephemeral # After how many seconds should tables be dropped? table_ttl: 300 # How often should the plugin check for expired tables (in seconds)? check_interval: 2 ``` The figures shown here are the default values. ## Development To set up this plugin locally, first checkout the code. Then create a new virtual environment: cd datasette-ephemeral-tables python3 -m venv venv source venv/bin/activate Now install the dependencies and test dependencies: pip install -e '.[test]' To run the tests: pytest


نیازمندی

مقدار نام
- datasette
- pytest
- pytest-asyncio


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl datasette-ephemeral-tables-0.2.2:

    pip install datasette-ephemeral-tables-0.2.2.whl


نصب پکیج tar.gz datasette-ephemeral-tables-0.2.2:

    pip install datasette-ephemeral-tables-0.2.2.tar.gz