semvec/pypi-packages huggingface dataset:
AutoCase 0.0.3
Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion
Requires Python: >=3.8.1

# AutoCase (WIP:Expect Major Changes)

Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion

# Latest Python Installation
```bash
git clone https://github.com/MohitBurkule/AutoCase.git
cd AutoCase
pip install -e .
```
# Pypi ( slightly older version)
```
pip install AutoCase
```
# Usage
## Basic Usage
```python
from autoCase import camel, snake, kebab, title

camel = camel("hello-world") # helloWorld
snake = snake("helloWorld") # hello_world
kebab = kebab("helloWorld") # hello-world
##title = title("helloWorld") # Hello World
```

## AI Based Conversion (Coming Soon)
```python
from autoCase import camel, snake, kebab, title

string = "helloworld"
camel = camel(string,ai=True,outputs=3) # [helloWorld, hellOworld, hellOWorld]
snake = snake(string,ai=True,outputs=3) # [hello_world, hell_oworld, hell_o_world]
pascal = pascal(string,ai=True,outputs=3) # [HelloWorld, HellOworld, HellOWorld]
kebab = kebab(string,ai=True,outputs=3) # [hello-world, hell-oworld, hell-o-world]
train = train(string,ai=True,outputs=3) # [Hello-World, Hell-Oworld, Hell-O-World]
upper = upper(string,ai=True,outputs=3) # [HELLO WORLD, HELL OWORLD, HELL O WORLD]
lower = lower(string,ai=True,outputs=3) # [hello world, hell oworld, hell o world]
```

## Dictionary Based Conversion (Coming Soon)
```python
from autoCase import camel, snake, kebab, title

word_list = ["hello","world","hell"]

string = "helloworld"
camel = camel(outputs=3) # [helloWorld, hellWorld, hellWorld]
snake = snake(outputs=3) # [hello_world, hell_world, hell_world]
pascal = pascal(outputs=3) # [HelloWorld, HellWorld, HellWorld]
kebab = kebab(outputs=3) # [hello-world, hell-world, hell-world]
train = train(outputs=3) # [Hello-World, Hell-World, Hell-World]
upper = upper(outputs=3) # [HELLO WORLD, HELL WORLD, HELL WORLD]
lower = lower(outputs=3) # [hello world, hell world, hell world]
```
chronoTrigger 0.1.1
Library for working with intervals

# ChronoTrigger

## A Python library to facilitate working with intervals.

### Installation:
To install ChronoTrigger, simply use pip:
```bash
pip install chronoTrigger
```

### Usage:
Import the necessary functions from the library to start using them in your code.
```python
from chronoTrigger import set_interval, clear_interval, set_timeout, clear_timeout

def say_hello(name):
    print(f"Hello, {name}!")

# This will call the say_hello function every 1 second with "Alex" as the parameter.
interval = set_interval(say_hello, 1, "Alex")
# This will clear the interval after 5 seconds.
set_timeout(clear_interval, 5, interval)
```
#### Output:
[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&size=16&duration=1000&pause=1000&color=ACB6F7&multiline=true&random=false&width=435&height=125&lines=Hello%2C+Alex!;Hello%2C+Alex!;Hello%2C+Alex!;Hello%2C+Alex!)](https://git.io/typing-svg)

---

# ChronoTrigger

## Python библиотека для облегчения работы с интервалами.

### Установка:
Для установки ChronoTrigger просто используйте pip:
```bash
pip install chronoTrigger
```

### Использование:
Импортируйте необходимые функции из библиотеки, чтобы начать их использовать в вашем коде.
```python
from chronoTrigger import set_interval, clear_interval, set_timeout, clear_timeout

def say_hello(name):
    print(f"Привет, {name}!")

# Это будет вызывать функцию say_hello каждую 1 секунду с параметром "Alex".
interval = set_interval(say_hello, 1, "Alex")
# Это остановит интервал через 5 секунд.
set_timeout(clear_interval, 5, interval)
```
#### Вывод:
[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&size=16&duration=1000&pause=1000&color=ACB6F7&multiline=true&random=false&width=435&height=125&lines=Привет%2C+Alex!;Привет%2C+Alex!;Привет%2C+Alex!;Привет%2C+Alex!)](https://git.io/typing-svg)
fava-ghost 0.1.13
A daemon for fava server and git repo sync
Requires Python: >=3.6, <4
Keywords: beancount,fava,daemon,git sync

# fava-ghost

`fava-ghost`是一个为运行和管理[fava](https://github.com/beancount/fava)实例而设计的高效后台守护进程，它结合了 Docker 容器化技术，使得部署、更新和管理 fava 服务变得简单快捷。

## 特性

- **自动化同步**：自动从 git 仓库同步 fava 账本文件。
- **依赖性管理**：自动管理和安装 Python 依赖，确保 fava 运行环境始终为最新状态。
- **冲突解决**：在发现合并冲突时会提醒用户手动解决。
- **容器化**：使用 Docker 容器，简化部署和迁移。

# Beancount 项目准备

fava-ghost 并不强制用户使用特定的 fava / beancount 版本，所以用户需要在自己的项目中指定 fava / beancount 版本。fava-ghost 使用 `pip install -e .` 来安装 fava / beancount，所以你需要在你的项目中添加 `setup.py` 文件，内容如下：

```python
from setuptools import setup

setup(
    install_requires=[
        'fava==1.26.2',
        'beancount==2.3.6',
    ],
)
```

# 使用

首先安装 fava-ghost:

```bash
pip install fava-ghost
```

fava-ghost 需要有读写仓库权限的 Github Credentials 来同步账本文件。你可以在 [这里](https://github.com/settings/tokens?type=beta) 申请一个 Github Fine-grained personal access token。然后启动 fava-ghost:

```bash
fava-ghost --repo-url https://github.com/REPO --repo-credentials GITHUB_TOKEN --repo-path PATH_TO_REPO
```

其中 PATH_TO_REPO 是你的账本仓库的本地路径，比如 `~/Documents/Beancount`。

就可以开始自动同步账本文件了。一旦启动，fava-ghost 会自动开始做如下事情:

1. clone 你的账本仓库到 PATH_TO_REPO
2. 在账本仓库下执行 pip 安装所需依赖
3. 启动 fava 服务
4. 每隔 10 秒尝试进行同步本地账本和代码仓库

# 同步策略

对于不同的情况，fava-ghost 会采取不同的同步策略：

1. 远程有更新，本地没有更新：自动 pull
2. 远程没有更新，本地有更新：自动 push
3. 远程和本地都有更新：执行 merge，如果没有冲突，则自动 push。如果有冲突，则需要用户手动编辑文件到文件中不存在冲突标记后，自动 push

# docker

fava-ghost 也可以通过 docker 运行。镜像是 `e7h4n/fava-ghost`。你可以通过如下命令运行：

```bash
docker run e7h4n/fava-ghost -d -p 5000:5000 --repo-url REPO_URL --repo-credentials GITHUB_TOKEN
```

通过 docker，你可以在任意一个环境下快速启动 fava 服务来托管你的 beancount 账本，无需解决环境问题。