semvec/pypi-packages huggingface dataset:
tidle 1.0.7
tidle, the idle game.
Requires Python: <4.0,>=3.8

# Tilde
> an open-source, small idle game in the terminal.

## Installation
```bash
pip install tilde
```
ps: ensure that your python executables are on your PATH, or it won't work.

## Usage
```bash
tilde
```

## Guide
### How to play
on booting the game, you will be presented with a screen like this:
```
Welcome to tidle!
ticks: 0 | cycles: 0 | processes: 0 | loops: 0 | optimization rate: 1
RPS (Resources Per Second):
ticks: 0 | cycles: 0 | processes: 0 | loops: 0
||> 
```

This is the *Command Line Interface* (CLI) of the game. You can interact with the game by typing commands into the CLI. You will have to type the command and press `Enter` to execute it.

### Commands
- `help`: shows the help menu.
- `generate`: generates a tick.
- `exchange <resource1> <resource2> <amount>`: exchanges the necessary amount of `resource1` to create 'amount' of `resource2`. (ex: `exchange ticks cycles 10` will convert 1000 ticks to 10 cycles)
- `exit`: saves exits the game.
- `save`: saves the game.
- `medals`: lists all achievements and if they are unlocked or not.
- `stats`: shows the stats of the game.
- `clear`: clears the screen.
- `store`: opens the store for buying upgrades.
- `delete`: deletes the save file. ***Permanently.***

### Currencies
- `ticks`: the main currency of the game. Used to purchase most of the upgrades.
- `cycles`: used to create the next currency, `processes`.
- `processes`: used to create the next currency, `loops`.
- `loops`: used to purchase refactorizations.

Each tier of currency can be created by exchanging 100x of the previous currency. 100 ticks = 1 cycle, 100 cycles = 1 process, 100 processes = 1 loop and so on.

### Upgrades
Upgrades can be purchased from the store. They can provide a variety of benefits. As you get more of an upgrade, the cost of the next one increases. The upgrades are as follows:
- `Generator Efficiency`: increases the amount of ticks generated per `generate` command by 1.
- `Auto Generator`: automatically generates 1 extra tick per second.
- `Cycle Booster`: automatically generates 1 extra cycle per second.
- `Process Enhancer`: automatically generates 1 extra process per second.
- `Loop Accelerator`: automatically generates 1 extra loop per second.
- `Refactor`: increases the optimization rate by 1, but ***resets everything***.

### Achievements
Achievements can be unlocked by reaching certain milestones in the game. They do not provide any benefits, but they are fun to collect. You can view all the achievements by typing `medals`. (the word 'Achievements' proved to be too hard to spell when you are tired)

### Refactorizations
Refactorizations are basically the rebirth mechanic. They reset everything, but they increase the optimization rate by 1. This means that you will generate more resources per second. You can purchase refactorizations in the shop.

### Optimization Rate
The optimization rate is a multiplier that increases the amount of resources generated per second and resources per manual generation. It starts at 1 and increases by 1 for each refactorization.
pysimular 0.1.2
Python API for Simular agents
Requires Python: >=3.6

# pysimular

Python API client for Simular agents. This package provides a simple and intuitive interface to interact with Simular's agents in different platforms.

Currently supports SimularBrowser as backend.

## Installation

```bash
pip install pysimular
```

## Quick Start

```python
from pysimular import SimularBrowser

browser = SimularBrowser("your-simular-browser-app-path")
browser.run("your-message")
```

## License

This project is licensed under the Apache License - see the LICENSE file for details.
osn-var-tools 1.0.0
osn-var-tools is a Python library providing a versatile toolkit for variable manipulation, formatting, introspection, and data handling, simplifying common tasks and enhancing code clarity.

# osn-var-tools: A Python Library for variables

osn-var-tools is a Python library providing a comprehensive suite of tools designed to streamline various tasks related to variable manipulation, inspection, and formatting. From simplifying complex formatting operations to providing utilities for introspection and date manipulation, osn-var-tools aims to boost your productivity and enhance code clarity.

## Key Features

*   **Formatting:** Effortlessly format numbers, data structures, and more with flexible options for customization. Create visually appealing representations of complex data, making it easier to understand and analyze.
*   **Data Handling:** Manipulate and work with data structures effectively. Utilities are provided for common tasks like generating date ranges, managing collections, and performing data validation.
*   **Python Introspection:** Gain deeper insights into your code with tools for inspecting functions, classes, and other Python objects. Retrieve parameters, fields, and other metadata to understand the structure and behavior of your code.
*   **Variable Utilities:** Access a collection of helpful functions for various variable-related operations, such as type checking, value comparisons, and data transformations. osn-var-tools handles many common variable-related tasks efficiently.

## Installation

* **With pip:**
    ```bash
    pip install osn-var-tools
    ```

* **With git:**
    ```bash
    pip install git+https://github.com/oddshellnick/osn-var-tools.git
    ```

## Usage Examples

The following examples illustrate a small subset of osn-var-tools’ capabilities. Refer to the detailed documentation for more comprehensive examples and usage instructions.

**Formatting pandas.DataFrame:**

```python
# Formatting
from osn_var_tools.format_tools import format_data_frame
import pandas as pd
df = pd.DataFrame({'A': [1, 2.5, 3], 'B': [4, 5, 6]})
formatted_df = format_data_frame(df)
print(formatted_df)
```

**Yielding datetime in range:**

```python
# Date Manipulation
from datetime import datetime, timedelta
from osn_var_tools.var_utilities import date_range
start = datetime(2024, 1, 1)
end = datetime(2024, 1, 5)
delta = timedelta(days=1)

for date in date_range(start, end, delta):
	print(date)
```

This overview provides a glimpse of osn-var-tools’ functionality. Explore the full documentation to uncover the full potential of this versatile library.

## Future Notes

osn-var-tools is actively maintained and will continue to evolve with the addition of new utilities and enhancements to existing features. Community contributions and suggestions are highly encouraged. Please feel free to report any issues, propose new features, or submit pull requests.
fmp-api-client 0.0.1
Financial Modeling Prep API, Supports both sync and async
Requires Python: <4.0,>=3.10

# fmp-api-client

Python client for the [Financial Modeling Prep API v2](https://site.financialmodelingprep.com/developer/docs/stable#search-symbol)


## Installation

```bash
poetry add fmp-api-client
```
atai-web-tool 0.0.9
Extract the main content from a webpage using Playwright, readability-lxml, and BeautifulSoup.
Requires Python: >=3.6

# atai-web-tool

`atai-web-tool` is a command-line utility that extracts the main content from a webpage. It leverages [zendriver](https://pypi.org/project/zendriver/), [readability-lxml](https://pypi.org/project/readability-lxml/), and [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/) to fetch pages, extract primary content, and display a clean, text-only version.

## Features

- **Headless Browsing:** Fetch webpages using zendriver.
- **Content Extraction:** Extract main content with readability-lxml.
- **Clean Output:** Remove unwanted HTML tags using BeautifulSoup.
- **Easy CLI:** Run from the terminal with a single command.

## Installation

You can install `atai-web-tool` via pip:

```bash
pip install atai-web-tool
```

If you prefer to install from source, clone the repository and run:

```bash
pip install .
```

## Usage

Extract the main content from a webpage by running:

```bash
atai-web-tool https://example.com
```

This command will open the specified URL, extract the primary content, and print it to the terminal.

## Requirements

- Python 3.6 or higher
- [zendriver](https://pypi.org/project/zendriver/)
- [readability-lxml](https://pypi.org/project/readability-lxml/)
- [BeautifulSoup4](https://pypi.org/project/beautifulsoup4/)
- [lxml[html_clean]](https://pypi.org/project/lxml/)

## Development

For local development, install the required dependencies using:

```bash
pip install -r requirements.txt
```

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your improvements. For major changes, open an issue first to discuss what you would like to change.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
AutoScraperX 0.1.2
A common spider tool based on Selenium
Requires Python: >=3.6

# AutoScraperX

AutoScraperX 是一个基于 Selenium 和 undetected_chromedriver 的通用爬虫框架，旨在提供强大而灵活的 Web 自动化功能。它支持自动化浏览、元素操作、页面截图、cookie 管理等功能，适用于各种爬取任务。

## 功能特点

* **支持多种浏览器选项**（无头模式、用户数据目录、自定义 Chrome 位置等）
* **支持移动端仿真**（iPhone X 模拟）
* **智能等待机制**，确保元素加载完毕再进行操作
* **页面截图**，可保存完整网页截图
* **Cookie 读写**，支持持久化登录
* **自动滚动、刷新、切换标签页等操作**
* **异常处理**，确保爬虫稳定运行

## 安装

确保你的环境中安装了以下依赖：

```
pip install selenium undetected-chromedriver beautifulsoup4
```

此外，请下载并配置相应的 WebDriver，例如 [ChromeDriver]()。

## 使用方法

### 初始化爬虫

```
from AutoScraperX import common_spider  # 确保 Spider 类已正确导入

options = {
    'headless': True,  # 以无头模式运行
    'binary_location': "C:\\Path\\To\\chrome.exe",  # 指定 Chrome 位置
    'user_data_dir': "C:\\Users\\User\\AppData\\Local\\Google\\Chrome\\User Data",
    'driver_executable_path': "C:\\Path\\To\\chromedriver.exe"
}

spider = common_spider.Spider(options)
```

### 打开网页

```
spider.open("https://example.com")
```

### 获取页面源码

```
html = spider.get_source()
print(html)
```

### 等待元素加载

```
spider.wait_element("//div[@id='content']", by=By.XPATH)
```

### 进行交互

```
spider.comment("测试评论", "#comment-box")
```

### 保存截图

```
spider.save_screenshot("screenshot.png")
```

### 处理 Cookie

```
spider.save_cookie("cookies.pkl")
spider.load_cookie("cookies.pkl", domain="example.com")
```

### 退出爬虫

```
spider.quit()
```

## 贡献

如果你对 AutoScraperX 有任何改进建议或贡献，请提交 PR 或 Issue。

## 联系方式

* 作者: czy
* 邮箱: [1060324818@qq.com]()
* 项目地址：https://github.com/chenziying1/AutoScraperX
* 项目示例：https://github.com/chenziying1/AutoScraperX/test/test.py