semvec/pypi-packages huggingface dataset:
docu-lite-kit 0.3.0
🧾 docu-lite-kit: Ultra-light cli/importable Python code parser tools
Requires Python: >=3.8
Keywords: documentation, docstring, python, html, code-outline, doc-generator, lightweight, static, cli, developer-tools

# Docu-lite-kit
Standalone cli/importable components inspired by [docu-lite](https://pypi.org/project/docu-lite/)

The first component here is the ultra-light Python parser:
- Rewritten to be more robust around docstrings
- Packaged to be useable from the command line or imported as a module into other code
- Soon to replace the parser used within docu-lite

Current plans / ideas:
- Add the 'pattern'/'include' options in the demo file as cli arguments
- Add standalone / importable docu-lite-like html rendering components
- Add standalone / importable API delta checkers
  
## Screenshot
<img width="1296" height="589" alt="Capture" src="https://github.com/user-attachments/assets/d446b89a-4313-4599-9e97-a015ffe505e6" />


## 🛠 Installation

Install using pip: open a command window and type

```
pip install docu-lite-kit
```
## 💡 Usage
### Command line:
```
dlk.cli [-h] [--out] [--noprint] input.py
```
-  -h = show help
-  --out specifies the output file (JSON format)
-  --noprint = don't print the basic printout to the console 

### Imported as a module:
```
import dlk
```

Provides the following three interfaces (see demo_minimal.py):
```
    input_file = r"./demo_minimal.py"
    # parse the doc looking for objects matching a,b,c,d:
    # parser = dlk.dlkIO(input_file, [ pattern_list =  [a,b,c,d] ])
    # For the pattern list, docstring and body are implied & don't need to be mentioned.
    # The pattern list itself is optional and defaults to ['class', 'def']
    parser = dlk.dlkIO(input_file)

    # print out the result including the elements a,b,c,d:
    # parser.dlkPrint([a,b,c,d])
    # This time 'docstring' and 'body' do need to be explicitly mentioned if wanted in the printout
    # However pattern list is optional and defaults to ['class', 'def', 'docstring']
    # parser.dlkPrint( pattern_list = ['def', 'class', 'docstring', 'body'])
    parser.dlkPrint(['def', 'class', 'docstring', 'body'])

    # Similar to dlkPrint, this dumps the output to a JSON file:
    # parser.dlkDumpJSON(self, JSON_file = 'dlk.json', pattern_list = ['def', 'class', 'docstring'])
    parser.dlkDumpJSON()

```

[PyPI link](https://pypi.org/project/docu-lite-kit/)
edc-adverse-event-app 1.0.5
Add your description here
Requires Python: <3.14,>=3.12

|pypi| |downloads| |clinicedc|

adverse_event_app
-----------------

.. code-block:: bash

    pip install edc-adverse-event-app==1.0.2

Adverse Event App used for tests in clinicedc/edc projects

.. |pypi| image:: https://img.shields.io/pypi/v/edc-adverse-event-app.svg
    :target: https://pypi.python.org/pypi/edc-adverse-event-app

.. |downloads| image:: https://pepy.tech/badge/edc-adverse-event-app
   :target: https://pepy.tech/project/edc-adverse-event-app

.. |clinicedc| image:: https://img.shields.io/badge/framework-Clinic_EDC-green
   :alt:Made with clinicedc
   :target: https://github.com/clinicedc
count-pdf-page 0.1.1
A Python package for counting pages in PDF files and generating markdown reports
Requires Python: >=3.7
Keywords: pdf, page, count, report, markdown

# Count PDF Page

A Python package for counting pages in PDF files and generating detailed markdown reports.

## Features

- 📄 Count pages in individual PDF files or entire directories
- 📊 Generate comprehensive markdown reports with statistics
- 🖥️ Command-line interface for easy usage
- 🐍 Python API for programmatic use
- 📈 Detailed statistics including average, largest, and smallest files

## Installation

### From PyPI (when published)

```bash
pip install count-pdf-page
```

### From Source

```bash
git clone https://github.com/yourusername/count-pdf-page.git
cd count-pdf-page
pip install -e .
```

## Usage

### Command Line Interface

Count PDF pages in the current directory:

```bash
count-pdf-page
```

Count PDF pages in a specific directory:

```bash
count-pdf-page /path/to/pdf/directory
```

Specify custom output file:

```bash
count-pdf-page --output my_report.md
```

Enable verbose output:

```bash
count-pdf-page --verbose
```

### Python API

```python
from count_pdf_page import count_pdf_pages, process_directory, generate_markdown_report

# Count pages in a single PDF
page_count = count_pdf_pages("document.pdf")
print(f"Pages: {page_count}")

# Process entire directory
results, total_pages = process_directory("/path/to/pdfs")

# Generate markdown report
report = generate_markdown_report(results, total_pages)
print(report)
```

## Requirements

- Python 3.7+
- PyPDF2

## Development

### Setup Development Environment

```bash
git clone https://github.com/yourusername/count-pdf-page.git
cd count-pdf-page
pip install -e ".[dev]"
```

### Run Tests

```bash
pytest
```

### Code Formatting

```bash
black src tests
```

### Type Checking

```bash
mypy src
```

## Output Example

The generated markdown report includes:

- Summary with total files and pages
- Detailed table of all PDF files and their page counts
- Statistics including average pages, largest file, and smallest file
- Timestamp of report generation

## License

MIT License - see [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Changelog

### 0.1.0
- Initial release
- Basic PDF page counting functionality
- Command-line interface
- Markdown report generation
- Python API
bluesky-2-album 0.0.2
Return photo list and caption (markdown format) from bluesky.
Requires Python: >=3.0

# bluesky_2_album

Return photo list and caption (markdown format) from bluesky.

## usage

```
import bluesky_2_album
result = bluesky_2_album.get(url)
result.imgs
result.cap
```

## how to install

`pip3 install bluesky_2_album`