A library for interacting with features of Replit
Project description
>>> import replit
This repository is the home for the replit
Python package, which provides:
- A fully-featured database client for Replit DB.
- 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 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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file replit-4.1.0.tar.gz
.
File metadata
- Download URL: replit-4.1.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e25d4a68b6a7a83123c993230967acf23ffc67ef72c62da8768b9343fd0e91 |
|
MD5 | 2d1c87d222846110925c12ba53ec9ffe |
|
BLAKE2b-256 | 249adb76d551f513e21b8c2186dbe082a7271420bd9ab5ebd4a3fbf8556d6f65 |
File details
Details for the file replit-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: replit-4.1.0-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df39715573f2cfb1b1075d08bfde0293e322c8d7db0743a9dfb828095492f815 |
|
MD5 | 5e630cbdec57697a020aa33d2e6ee540 |
|
BLAKE2b-256 | f93208984ed12f754c9711ce99dcefd462b1723d7b453f0519014c9cede36dc6 |