semvec/pypi-packages huggingface dataset:
reddit-api-client 0.0.0
Reddit API
Requires Python: >=3.10.10
Keywords: reddit api client async search automation bot scrape



### Installation
```
pip install reddit-api-client
```

### Examples

#### Guest Endpoints
```python
from reddit.scraper import Scraper

reddit = Scraper()

homepage = reddit.homepage()

popular = reddit.popular()

front_page = reddit.front_page()

subreddit = reddit.subreddit("pics")

search = reddit.search(
    'api blackout',
    includePosts=True,
    includeCommunities=True,
    includeAuthors=True,
    includeComments=True,
    # communitySearch=False,
    # customFeedSearch=False,
    # postsAfter=None,
    # communitiesAfter=None,
    # authorsAfter=None,
    # commentsAfter=None,
    filters={
        'nsfw': '0',  # {'1', '0'},
        'time_range': 'null',  # {'hour', 'day', 'week', 'month', 'year', 'null'},
        'post_types': 'null',  # {'gif', 'image', 'link', 'poll', 'text', 'video', 'null'},
        'result_types': '',  # {'subreddit', 'profile', ''}
    },
    sort='NEW',  # {'RELEVANCE', 'HOT', 'TOP', 'NEW', 'COMMENTS'}
)
```

#### Auth Endpoints
```python
from reddit.scraper import Scraper

username, password = ..., ...
reddit = Scraper(username, password)

# get data from posts
posts = reddit.posts({
    'pics': ['147p5ql', '146zsax'],
    'funny': '143wysp',
})

# comment on a post
reddit.comment('146zsax', 'test 123')
```
AMTIUSBDeviceWrapper 1.1.2
Wrapper for AMTI USB Device library. Currently only supported on Windows Systems for 32 and 64 bit versions of the SDK. Use 64 bit dll if running 64 bit python interpreter and vice versa with 32 bit dll.
Requires Python: >=3.7

# AMTIUSBDeviceWrapper

## Description

A digestable wrapper API for communication with AMTI GEN 5 and Optima USB Devices in python that simplifies AMTI's API.

## Getting Started

### Dependencies
* Windows 7 64/32-bit and later
* Python V 3.9.13 and later
* AMTI USB Device SDK V 1.3

### Installation
* Place AMTI DLL where convenient
* Recommended install
```
python3 -m pip install amtiusbdevicewrapper
```

### Execution

Ignore build step if installing from pypi.
* Build and install the package
```
git clone https://github.com/Lenz-Lab/AMTIUSBDeviceWrapper
py -m build # Windows
# or...
python -m build # Unix

# Install the package
pip install C:/some-dir/AMTIUSBDeviceWrapper/amtiusbdevicewrapper-<>.whl
```
* Simple Initialization and Data Acquisition at 500 Hz Example
```python
# Import and load library
from AMTIUSBDeviceWrapper import AMTIUSBDevice as amti
amti.AMTIUSBDevice.InitializeLibrary(dll_path=<path_to_dll>)

# Initialize and setup amti device for data acquisition
amti_device = amti.AMTIUSBDevice("gen5")
amti_device.init() # Default settings
amti_device.broadcastAcquisitionRate(rate=500)

amti_device.broadcastStart()
sleep(0.01) # wait 10 ms for signal conditioners to acquire data

# Get data matrix
data, sample_num = amti_device.getData(opt=1) # opt 1->caller allocates memory

amti_device.broadcastStop()
```

## Help

Ensure that you are using a version of python compatible with this package. IO specific exceptions are likely a result of an incorrect path.

## Authors

Jordy Larrea Rodriguez ([CasuallyAlive](https://github.com/CasuallyAlive))

## Version History
* 1.1
    * Supports all basic functionality for interfacing Gen5 signal conditioners
    * Passes all tests
* 1.0
    * Data acquisition is functional
    * Broadcast functions nonspecific to AMTI parameter configuration are functional
    * MISC bug fixes
* 0.2
    * C++ API handle is closed without issues
    * initialization functions pass tests
    * Various bug fixes and optimizations
    * See [commit change]() or See [release history]()
* 0.1
    * Initial Release

## License

This project is licensed under the Creative Commons Zero License.

## Acknowledgments

* [AMTI](https://www.amti.biz/)

## References

* The AMTI USB Device Software Development Kit Reference Manual, v1.3.0, AMTI Force and Motion, March 2017. Accessed: April 09, 2023. Available: [AMTI](https://www.amti.biz/)
envppp 0.1.1
Uma cli para criar projetos em python, javascript e C++
Requires Python: >=3.11

# envpp

Cli para criar projetos em Python, Javascript e C++ que pode ser criada em qualquer ambiente.

- Facilita a criação projetos em C++, Python em Javascript
- Multiplataforma
- Completamente em PT-BR

# Sumário

- [Duvidas sobre Javascript](src/docs/JAVASCRIPT.md)
- [Duvidas Sobre C++](src/docs/CPP.md)
- [Duvidas sobre Python](src/docs/PYTHON.md)

# FAQ

- **Por que não continuar a versão em Javascript?**

Gostei e queria testar o typer, então decidi refazer o projeto em Python adicionando outras linguagens que uso no dia a dia.

- **Posso usar no Linux?**

Sim, pode usar no Windows e em sistemas em UNIX.

- **Se eu excluir ou editar os diretórios, eu quebro alguma coisa?**

Não, você pode remover e adicionar coisas tranquilamente. A cli apenas cria os projetos e em alguns casos ele só automatiza processos manuais.

- **Quero contribuir pro projeto!**
Abra uma issue ou uma pull request. :)

# Objetivos:

- [x] Dar suporte a Javascript/Typescript.
- [x] Dar suporte a C++.
- [x] Usar docker para fazer o ambiente ser reproduzível em qualquer lugar.
- [x] Criar documentação para os comandos.
- [x] Concluir fase de testes no ambiente Linux.
- [x] Criar documentação geral para o projeto.
pptxtopdf 0.0.2
Convert PowerPoint files to PDF

# PowerPoint to PDF Converter

This is a Python script that converts PowerPoint files (.ppt, .pptx) to PDF format. It uses the comtypes library to interact with Microsoft PowerPoint.

## Prerequisites

- Python 3.6 or above


## Dependancies 

- comtypes library 

## Usage

Run the script with the following arguments i.e pptxtopdf --input_dir "C:\Users\Example\Downloads\input":

- `--input_file`: Path to the folder containing the PowerPoint files to convert.
- `--input_dir`: Path to the folder containing the PowerPoint files to convert.
- `--output_dir`: [Optional] Path to the folder where the converted PDF files will be saved. If not provided, it defaults to the same directory as the input file or directory.

## Example from command line

```shell
pptxtopdf --input_dir ./input --output_dir ./output
```

This command will convert all the PowerPoint files in the `./input` folder and save the converted PDF files in the `./output` folder.

## Example in script

```python
from pptxtopdf import convert

input_dir = r"C:\Users\Example\ExampleDirectory"
output_dir = r"C:\Users\Example\ExampleDirectory"

convert(input_dir, output_dir)
```


## Functionality

The script performs the following steps:

1. Validates the input folder path and checks if it exists.
2. Creates the output folder if it does not already exist.
3. Lists all the files in the input folder.
4. Iterates over each file and checks if it has a PowerPoint extension.
5. Creates a PowerPoint application object using comtypes.
6. Opens the PowerPoint slides.
7. Retrieves the base file name.
8. Constructs the output file path with the PDF extension.
9. Checks if the output file already exists and skips the conversion if it does.
10. Saves the slides as a PDF file.
11. Closes the slide deck.
12. Quits PowerPoint.
13. Keeps track of the successful conversions and errors.
14. Prints a summary of the conversion process at the end.

Note: The script runs without a user interface (`WithWindow=False`) to perform the conversions silently.

## Error Handling

If any error occurs during the conversion process, the script will catch the exception and print an error message specifying the file that caused the error.

## License

This script is released under the MIT License. Feel free to modify and use it according to your needs.