Metadata-Version: 2.1
Name: replit
Version: 4.1.0
Summary: A library for interacting with features of Replit
Home-page: https://github.com/replit/replit-py
License: ISC
Author: Replit
Author-email: contact@replit.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: Flask (>=2.0.0)
Requires-Dist: Werkzeug (>=2,<4)
Requires-Dist: aiohttp (>=3.6.2)
Requires-Dist: aiohttp-retry (>=2.8.3,<3.0.0)
Requires-Dist: protobuf (>=4.21.8,<5.0.0)
Requires-Dist: pyseto (>=1.6.11,<2.0.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Requires-Dist: typing_extensions (>=4,<5)
Requires-Dist: urllib3 (>=1.26,<3)
Project-URL: Documentation, https://replit-py.readthedocs.org/
Project-URL: Repository, https://github.com/replit/replit-py
Description-Content-Type: text/markdown

### `>>> import replit`

[![Run on Repl.it](https://img.shields.io/badge/run-on_Replit-f26208?logo=replit)](https://repl.it/github/replit/replit-py) [![pypi: replit](https://img.shields.io/pypi/v/replit)](https://pypi.org/project/replit/) [![Read the Docs](https://img.shields.io/readthedocs/replit-py/latest?logo=readthedocs&label=ReadTheDocs)](https://replit-py.readthedocs.io/)

This repository is the home for the `replit` Python package, which provides:

- A fully-featured database client for [Replit DB](https://docs.replit.com/category/databases).
- Tools and utilities for Flask Web Development, including an interface to Replit's User Authetication service
- Replit user profile metadata retrieval (more coming here!).

### Open Source License

This library is licensed under the [ISC License](https://en.wikipedia.org/wiki/ISC_license) and is free for you to use, change, or even profit from!

### Setup

With poetry already setup, you can set up the repl for development with:

```
poetry install
```

### Continuous Integration

Running the database unittests `tests/test_database.py` depends on the repl https://replit.com/@util/database-test-jwt. You'll have access to this repl if you are a Replit employee. There's a secret
contained in that repl which you'll have to set as an environment variable in order to run the unittests.
Once you've done that, run the tests with:

```
poetry run python -m unittest
```

