semvec/pypi-packages huggingface dataset:
GRAPH-PLATER 1.0
TranslatorAPI Interface for graph databases.
Keywords: knowledge,network,graph,biomedical

See the Homepage for a better formatted version.
 ## PLATER

PLATER is a service to stand up REST endpoint over a neo4j or redis graph database.
There are some restrictions on the data structure of the Neo4j backend to be fully utilized through PLATER.

> **Data structure restrictions:**
> * All nodes should have an `id` to be searchable (Used in querying single Nodes)
> * All edges should have an `id` to be searchable (Used in generating ReasonerAPI)
> * Data is recommended to comply to the [Translator Reasoner API](https://github.com/NCATSTranslator/ReasonerAPI).

### Installation

To run the web server directly:

#### Create a virtual Environment and activate.

    cd <PLATER-ROOT>
    python<version> -m venv venv
    source venv/bin/activate
    
#### Install dependencies
    
    pip install -r PLATER/requirements.txt
    
 
#### Configure PLATER settings
   
   Populate `.env-template` file with settings and save as `.env` in repo root dir.
   
   ```bash   
    WEB_HOST=0.0.0.0
    WEB_PORT=8080
    DB_HOST=<neo4j_or_redis_address>
    DB_USERNAME=<user name required for neo4j, empty for redis>
    DB_PASSWORD=''
    DB_PORT=<redis port or neo4j http port>
    DB_NAME=<db name for redis, uses default db for neo4j>
    DB_TYPE=<use values 'redis' or 'neo4j'>
    PLATER_TITLE='Plater'
    PLATER_VERSION='1.0.0'
    

   ```
   
  
#### Run Script
  
    ./main.sh
 
    
 ### DOCKER 
   Or build an image and run it. 
  
  ```bash
    cd PLATER
    docker build --tag <image_tag> .
    cd ../
  ```
  
  ```bash
   docker run --env-file .env\
    --name plater\
    -p 8080:8080\
    --network <network_where_neo4j_is_running>\
    plater-tst

  ```
 
 ### Clustering with [Automat Server](https://github.com/RENCI-AUTOMAT/Automat-server/) \[Optional\]
 You can also serve several instances of plater through a common gateway(Automat). On specific instructions 
 please refer to [AUTOMAT's readme](https://github.com/RENCI-AUTOMAT/Automat-server/blob/master/README.md)
  
 

 ### Miscellaneous
 ###### `/about` Endpoint 
 The `/about` endpoint can be used to present meta-data about the current PLATER instance. 
 This meta-data is served from `<repo-root>/PLATER/about.json` file. One can edit the contents of
 this file to suite needs. In containerized environment we recommend mounting this file as a volume.
 
 Eg:
 ```bash
docker run -p 0.0.0.0:8999:8080  \
               --env DB_HOST=<your_db_host> \
               --env DB_PORT=<your_db_port> \
               --env DB_USERNAME=<db_user_name required for neo4j, ignored for redis> \
               --env DB_PASSWORD=<db_password> \
               --env DB_NAME=<required for redis> \ 
               --env DB_TYPE=<redis or neo4j> \  
               --env WEB_HOST=0.0.0.0 \
               -v <your-custom-about>:/<path-to-plater-repo-home>/plater/about.json \
               --network=<docker_network_neo4j_is_running_at> \    
                <image_tag>   
```
pyvise-dpayonk 0.0.4
A small authentication package using FastAPI and magic
Requires Python: >=3.7

# Pyvise: A FastAPI implementation of account authorization

This project aims to implement authentication using FastAPI and JWT
to enable authenticated requests to a backend.

## Setup

### Prerequisites

A magic.link account

### Environment

A sample app using magic.link and gatsby can be seen in the tests/
directory


```python

```
## Overview

### Backend Model

The backend uses graphql to communicate with a Hasura graphql instance.  I'm using Hasura
as a reference design.



# Reference Design (https://devhints.io/devise)

## Model
```ruby
create_table :account_profiles do |t|
  t.database_authenticatable
  t.confirmable
  t.recoverable
  t.rememberable
  t.trackable
  t.timestamps
end
```

## Helpers

user_signed_in?
current_user
user_session
destroy_user_session_path (Logout)
new_user_session_path (Login)
edit_user_registration_path (Edit registration)
new_user_registration_path (Register new user)

# Middleware 
# before_filter :authenticate_user!
## Routes
 # Session routes for Authenticatable (default)
    #      new_user_session GET  /users/sign_in                    {:controller=>"devise/sessions", :action=>"new"}
    #          user_session POST /users/sign_in                    {:controller=>"devise/sessions", :action=>"create"}
    #  destroy_user_session GET  /users/sign_out                   {:controller=>"devise/sessions", :action=>"destroy"}
   
    # # Password routes for Recoverable, if User model has :recoverable configured
    #     new_user_password GET  /users/password/new(.:format)     {:controller=>"devise/passwords", :action=>"new"}
    #    edit_user_password GET  /users/password/edit(.:format)    {:controller=>"devise/passwords", :action=>"edit"}
    #         user_password PUT  /users/password(.:format)         {:controller=>"devise/passwords", :action=>"update"}
    #                       POST /users/password(.:format)         {:controller=>"devise/passwords", :action=>"create"}
   
    # # Confirmation routes for Confirmable, if User model has :confirmable configured
    # new_user_confirmation GET  /users/confirmation/new(.:format) {:controller=>"devise/confirmations", :action=>"new"}
    #     user_confirmation GET  /users/confirmation(.:format)     {:controller=>"devise/confirmations", :action=>"show"}
    #                       POST /users/confirmation(.:format)     {:controller=>"devise/confirmations", :action=>"create"}
labhack 0.0.2
A super-science roguelike
Requires Python: >=3.6

# Lab Hack

A Roguelike Venture in Super-Science! Instead of a dungeon, we descend into a deep research facility which holds arcane military and scientific secrets. You must keep government operatives at bay while building up your array of skills and crafting abilities. Strange mutants and genetic experiments gone wrong will also plague you - you must persevere and retrieve the Documents Of Truth!

LabHack

## Installation
Run the following to install
```python
pip install labhack
```

## Usage
### Command line:
```python main.py```

### In python
```python
import labhack

# Running the game
labhack.main()


# Developing LabHack

To install LabHack, along with the tools you need to develop and run tests, run the following in your virtualenv to install the dev extras.

```bash
$ pip install -e.[dev]
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


## License
[GNU](https://choosealicense.com/licenses/gpl-3.0/)