Skip to content

Commit

Permalink
Switch .rst file to .md
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lee authored and Joel Lee committed Jan 28, 2021
1 parent 18230a8 commit b73f7ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
27 changes: 9 additions & 18 deletions README.rst → README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@

*****
Title
*****
**STATUS**: WIP. DO NOT USE
# Gotrue-py

## Status: POC, don't use unless urgent. Not all functions have been well tested
This is a hacky `gotrue-py` client conceived during a very draggy class. The design mirrors that of [GoTrue-js](https://github.com/supabase/gotrue-js/blob/master/infra/db/00-schema.sql)

*****
TODOS
*****
- [] Support basic methods like auth/signin/signup
- [] Write tests/setup CI using Github Actions + pytest
- []
## Todos
- Package the library

*****
Installation
*****
@TODO
## Installation

Here's how you'd install the library with gotrue
#### With Poetry
@TODO
### With Poetry


#### With pip
@TODO
### With pip
`pip3 install gotrue`


Expand Down
4 changes: 0 additions & 4 deletions gotrue/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ def update_user(self, jwt: str, info: dict):
"""Update user info using a valid JWT"""
return requests.put(f"{self.BASE_URL}/user", auth=jwt, data=info)

def verify(self, type, token, remember):
#TODO
pass

def send_magic_link(self, email: str):
"""Send a magic link for passwordless login"""
data = json.dumps({"email": email})
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python = "^3.9.1"

[tool.poetry.dev-dependencies]
pytest = "^4.6"
requests = "^2.25"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit b73f7ef

Please sign in to comment.