semvec/pypi-packages huggingface dataset:
hooks-framework 1.3.1
A lightweight framework to catch JSON webhooks.
License: MIT
Requires Python: >=3.6

<div align="center">

# Hooks

A lightweight framework to catch JSON webhooks.

[![Build Status](https://travis-ci.com/Justintime50/hooks.svg?branch=master)](https://travis-ci.com/Justintime50/hooks)
[![Coverage Status](https://coveralls.io/repos/github/Justintime50/hooks/badge.svg?branch=master)](https://coveralls.io/github/Justintime50/hooks?branch=master)
[![PyPi](https://img.shields.io/pypi/v/hooks-framework)](https://pypi.org/project/hooks-framework)
[![Licence](https://img.shields.io/github/license/justintime50/hooks)](https://opensource.org/licenses/mit-license.php)

<img src="assets/showcase.png" alt="Showcase">

</div>

Hooks runs a Flask API that captures JSON webhook data and returns it to you. It can also print data to console and log it to a file. Hooks is completely customizable to your needs with a tiny footprint and a single dependency.

## Install

```bash
# Install tool
pip3 install hooks-framework

# Install locally
make install

# Get Makefile help
make help
```

## Usage

### Start Hooks

```
Usage:
    hooks --address 0.0.0.0 --endpoint fancyendpoint --port 8080 --console --log

Options:
    -h, --help            show this help message and exit
    -a ADDRESS, --address ADDRESS
                            This is the address Hooks will listen on. (Default: 127.0.0.1)
    -p PORT, --port PORT  This is the port Hooks will listen on. (Default: 5000)
    -l, --log             Whether or not webhook data will be logged to a file.
    -d, --debug           Whether or not info will be printed to console.
```

### Send Data to Hooks

```bash
curl -X POST http://127.0.0.1:5000/hooks \
    -H 'Content-Type: application/json' \
    -d '{"name":"John Smith"}'
```

### Bridge Web to Localhost

You can use something like [Ngrok](https://ngrok.com) to bridge your connection from the web to your localhost.

## Development

```bash
# Lint the project
make lint

# Run tests
make test

# Run test coverage
make coverage

# Run the tool locally
venv/bin/python hooks/server.py --help

# OR

make run
```
cereb-nest 1.0.0
pip installable NEST extension module, generated by pipnest.
License: MIT

# cereb_nest

pip installable NEST extension module, generated by pipnest.

## Installation instructions

### Using pip

When installed through pip the module is built for you with CMake outside of the python
package folder, this means that pip cannot track the real installation status. To
uninstall and reinstall see [Uninstallation](Uninstallation).

0. Install NEST following the instructions provided here (https://www.nest-simulator.org/)

1. Install using pip

```
pip install cereb_nest --no-cache-dir
```

3. Load the module after importing nest:

```
import nest
nest.Install("cerebmodule")
```

#### Uninstallation

To uninstall this module use `pip uninstall cereb_nest` and remove the
`(lib)cerebmodule.so` files from the `lib/nest/` directory in your nest installation.

### Using CMake

1. Export an Environment Variable containing the installation directory of NEST. E.g.:
```
export NEST_INSTALL_DIR=$HOME/nest-simulator-install
```
2. Clone this GitHub Repository in a directory outside NEST source and build directories. E.g.:
```
cd $HOME
git clone https://github.com/dbbs-lab/cereb-nest/
```
3. Move to the cereb-nest directory and create a new folder where you will build the extension module
```
cd cereb-nest
mkdir build
cd build
```
4. Run the following CMake command (Tested with CMake 3.2.2)
```
cmake -Dwith-nest=${NEST_INSTALL_DIR}/bin/nest-config ../cereb_nest
```

The resulting output should be something similar to:
```
[...]
-------------------------------------------------------

You can now build and install 'cerebmodule' using
  make
  make install

The library file libcerebmodule.so will be installed to
  /home/alberto/nest-simulator-install/lib/nest
Help files will be installed to
  /home/alberto/nest-simulator-install/share/doc/nest

The module can be loaded into NEST using
  (cerebmodule) Install        (in SLI)
  nest.Install('cerebmodule')  (in PyNEST)

The module will be installed into a non-default location!
Make sure to set the environment variables:
  export NEST_MODULE_PATH=/home/alberto/nest-simulator-install/lib/nest:$NEST_MODULE_PATH
  export SLI_PATH=/home/alberto/nest-simulator-install/share/nest/sli:$SLI_PATH

 [...]
```

5. Execute the last two lines, generated by the CMake command.
```
export NEST_MODULE_PATH=/home/alberto/nest-simulator-install/lib/nest:$NEST_MODULE_PATH
export SLI_PATH=/home/alberto/nest-simulator-install/share/nest/sli:$SLI_PATH
```
This passage should be repeated every time the Terminal is closed. It is possible to add the two lines in your \.bashrc to avoid doing this every time.

6. Make and install the module
```
make
make install
```

7. Every time you need the module, you can install it in this way:
```
import nest
nest.Install("cerebmodule")
```

8. You can now use all the nodes and synapses contained in this NEST Module.
django-appointments 1.5
Installable django app to for appointment booking.
License: MIT
Requires Python: >=3.6

Django Appointments


Django Appointments is a Django reusable app for managing hospitals, doctor's & patients.
This Package comes with build in admin panel to manage users & hospitals.
Hospitals can manage doctors, confirm appointments, view appointments.
Pateints can sign up and create their profile to book appointments.
Once appointment is confirmed appointment date and time is mailed to Doctor and Patient.
Users can also regenrate passwords by password reset link.

Quick start

1. Add "crispy_forms","doctor", "hospital", "patient" & "user" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'crispy_forms',
        'doctor',
        'hospital',
        'patient',
        'user',
        ...
    ]
2. Add line : AUTH_USER_MODEL='user.CustomUser'  to setting.py
3. Include the app URLconf in your project urls.py like this::

    path('', include('user.urls')),
    
4. Add SMTP server details to settings.py:-
	
	EMAIL_BACKEND ='django.core.mail.backends.smtp.EmailBackend'
	EMAIL_HOST = 'smtp.your-host.com'
	EMAIL_USE_TLS = True
	EMAIL_PORT = 587
	EMAIL_HOST_USER = 'user@your-host.com'
	EMAIL_HOST_PASSWORD = 'your-password'

5. Run ``python manage.py makemigrations`` to create the migrations.
6. Run ``python manage.py migrate`` to create the app models.
7. Run ``python manage.py createsuperuser`` to create admin username & password to login.
8. Start the development server and visit http://127.0.0.1:8000/manage/
   to manage files & settings.
9. Visit http://127.0.0.1:8000/admin/ to add hospitals.
10. Hospital can add doctors.
11. Visit http://127.0.0.1:8000/signup/ to for patient signup.
12. Visit http://127.0.0.1:8000/login/ to login for doctors, hospitals, patients.

* PyPI page: https://pypi.org/project/django-appointments/
* Bugtracker: https://github.com/deligence-vinit/django-appointments/issues
* Code repository: https://github.com/deligence-vinit/django-appointments

* For integration contact sanjay@deligence.com