semvec/pypi-packages huggingface dataset:
codicent-py 1.3.5
Python interface to the Codicent API
License: MIT
Requires Python: >=3.7
Keywords: codicent, api, client

Codicent Python Library
=======================

This library provides a Python interface to the Codicent API.

### Installation
------------
To install using pip, run:
```bash
pip install codicent-py
```

For development installation from source:
```bash
pip install git+https://github.com/izaxon/codicent-py.git
```

To use this library, simply import it into your Python script:
```python
from codicentpy import Codicent
```

### Usage
-----

### Initialization

Create a `Codicent` object with your API token and optional SignalR host:
```python
codicent = Codicent("YOUR_API_TOKEN")
```
### Uploading a file

Upload a file to Codicent:
```python
file_id = codicent.upload(open("example.txt", "rb"))
print(file_id)
```
### Posting a message

Post a message to Codicent:
```python
message_id = codicent.post_message("Hello, world!", type="info")
print(message_id)
```
### Getting messages

Get a list of messages from Codicent:
```python
messages = codicent.get_messages(start=0, length=10)
print(messages)
```

### Get AI chat reply

Sends a message to the Codicent chat (AI) and waits for the reply:
```python
reply = codicent.get_chat_reply("What can you help me with?")
print(reply)
```


Methods
-------

### `__init__`

Initialize the `Codicent` object with a Codicent API token.

### `upload`

Upload a file to Codicent.

* `file`: The file to upload.

Returns the ID of the uploaded file.

### `post_message`

Post a message to Codicent.

* `message`: The message to post.
* `parent_id`: The ID of the parent message (optional).
* `type`: The type of message (default: "info").

Returns the ID of the posted message.

### `get_messages`

Get a list of messages from Codicent.

* `start`: The starting index (default: 0).
* `length`: The number of messages to retrieve (default: 10).
* `search`: A search query (optional).
* `after_timestamp`: A timestamp to retrieve messages after (optional).
* `before_timestamp`: A timestamp to retrieve messages before (optional).

Returns a list of message objects.

### `get_chat_reply`

Sends a message to the Codicent chat (AI) and waits for the reply.

* `message`: The message to send.

### `post_chat_reply`

Posts a message to the Codicent AI chat and returns the reply.

* `message`: The message to send.

Returns a dictionary with:
  - id: The message ID.
  - content: The reply message content.

### Running Tests
To run tests, first install the required dependencies:
```bash
pip install -r requirements.txt
```
Then execute:
```bash
pytest
```

### Building
To build the package, run:
```bash
python setup.py sdist bdist_wheel
```
irlpdf 0.1.8
CLI tool for pdf related tasks
License: MIT
Requires Python: >=3.9

<img width="2000" height="1024" alt="irlpdf banner" src="https://github.com/user-attachments/assets/fdf65401-2637-47cf-ae89-b7f01e54422c" />

### irlpdf

irlpdf (i really love pdf) is a cli application 
that lets you alter pdfs. Perform actions like Compress, Split, Merge and other common pdf related operations without needing to search on the internet

current version (v0.1.0) is not stable and can contain bugs, majority of which will be fixed over the next few releases.

### utilities 

- compress a pdf
- merge multiple pdfs
- remove pages from a pdf
- stats of a pdf
- encrypt a pdf
- decrypt a pdf

to learn about commands use the man command as `irlpdf man help`

Docs and Windows/Linux distributions to be put out soon
django-surface-theme 0.0.16
Open-source Surface template with improved functionality
License: MIT
Requires Python: >=3.9

# django-surface-theme

Surface theme is built on top of [Django Dashboard Atlantis Dark](https://appseed.us/admin-dashboards/django-dashboard-atlantis-dark).

[![PyPI version](https://badge.fury.io/py/django-surface-theme.svg)](https://badge.fury.io/py/django-surface-theme)

## Surface Theme variables

Define custom title in `urls.py`:
```
admin.site.site_title = "Surface Security"
```

Define side menu navigation items by adding the following variable in `settings.py`:
```
SURFACE_MENU_ITEMS = [
    {'label': ('Organisation'), 'icon': 'fas fa-building', 'items':[
        {'name': 'auth.user'}
    ]},
    {'label': ('Organisation'), 'app_label': 'auth', 'icon': 'fas fa-building', 'items':[
        {'name': 'user', 'label': 'Custom Label'},
        {'url': 'https://example.com', 'url_blank': True, 'label': 'Custom URL'}
    ]},
]
```

Define home links and items by adding the following variable in `settings.py`:
```
SURFACE_LINKS_ITEMS = [
    {'label': ('Examples'), 'items':[
        {'url': 'https://example.com', 'url_blank': True, 'name': 'Example.com'}
    ]}
]
```
ncmpeg 0.1.8
A terminal UI for FFmpeg built with Python and ncurses.
License: MIT
Requires Python: >=3.8

# ncmpeg

**ncmpeg** is a terminal-based UI for [FFmpeg](https://ffmpeg.org/), built with Python and `ncurses`.  
It removes the need to memorize long command-line flags and gives you a fast, minimal way to handle common media tasks directly from your terminal.

## Features

### Video
- Convert formats
- Cut by start and end time
- Merge multiple video files
- Resize, crop, rotate or flip
- Burn hardcoded `.srt` subtitles
- Extract frames to PNG
- Generate GIFs
- Change playback speed (with audio)
- Overlay an image or watermark
- Strip metadata
- Display video info using ffprobe

### Audio
- Extract audio from video
- Adjust volume
- Normalize loudness
- Change audio playback speed
- Strip metadata
- Display audio info using ffprobe

## Installation

Install via pip:

```bash
pip install ncmpeg
```

Then run the app:

```bash
ncmpeg
```

To install from source:

```bash
git clone https://github.com/bearenbey/ncmpeg.git
cd ncmpeg
pip install .
ncmpeg
```

Dependencies:
- Python 3.8 or higher
- FFmpeg and ffprobe installed and available on your system

## Usage

- Use `↑ ↓` to navigate through operations or files
- Use `Tab` to switch between the operations panel and the file panel
- Press `Enter` to select or confirm
- Press `Esc` to cancel input
- Press `q` to quit the app

The file panel shows the current working directory. You can refer to it while filling in filenames or parameters on the left.

## License

This program is free software: you can redistribute it and/or modify  
it under the terms of the GNU General Public License as published by  
the Free Software Foundation, either version 3 of the License, or  
(at your option) any later version.

This program is distributed in the hope that it will be useful,  
but WITHOUT ANY WARRANTY; without even the implied warranty of  
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  
GNU General Public License for more details.

You should have received a copy of the GNU General Public License  
along with this program. If not, see <https://www.gnu.org/licenses/>.

© 2025 Eren Öğrül [termapp@pm.me](mailto:termapp@pm.me)