semvec/pypi-packages huggingface dataset:
nickname-generator 1.0.2
Nickname generator
Keywords: nickname, text

##################
Nickname generator
##################
(supports cyrillic and latin)

Installation and usage
----------------------

From pypi:

.. code-block:: bash

    $ pip install nickname_generator

From dist:

.. code-block:: bash

    $ pip install dist/nickname_generator-*.tar.gz


Script usage:

.. code-block:: python

    >>> from nickname_generator import generate
    >>> print(generate())
    Nickname


Console usage:

.. code-block:: bash

    $ python nickname_generator
    Nickname

Options
-------

You can specify locale (available 'en' and 'ru' values).

For example:

.. code-block:: python

    >>> from nickname_generator import generate
    >>> print(generate('ru'))
    Никнейм

Or pass it as argument in console:

.. code-block:: bash

    $ python nickname_generator ru
    Никнейм
d2-python-wrapper 0.2.0
Python wrapper for D2 diagram tool
Requires Python: >=3.7

# D2 Python Wrapper

A Python wrapper for the [D2](https://github.com/terrastruct/d2) diagram scripting language.

## Installation

```bash
pip install d2-python-wrapper
```

## Quick Start

```python
from d2_python import D2

d2 = D2()

# Simple diagram
with open("test.d2", "w") as f:
    f.write("x -> y")

# Default SVG output
d2.render("test.d2", "output.svg")

# PDF output with specific theme
d2.render("test.d2", "output.pdf", format="pdf", theme="dark")
```

## Tests

```shell
pip install pytest pytest-mock
pytest test_d2.py -v
```

## Features

- Automatic platform detection and binary management
- Support for multiple output formats (svg, png, pdf)
- Theme customization with dark mode support
- Layout engine options (dagre, elk)
- Hand-drawn sketch mode
- SVG enhancements:
  - Asset bundling
  - Center alignment
  - Custom scaling
  - Animation support

## Local Development Setup

1. Create virtual environment:
```bash
python -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows
```

2. Get D2 locally:
```bash
curl -L "https://github.com/terrastruct/d2/releases/download/v0.6.8/d2-v0.6.8-linux-amd64.tar.gz" -o linux.tar.gz
tar xzf linux.tar.gz
mkdir -p d2_python/bin/linux
cp d2-v0.6.8/bin/d2 d2_python/bin/linux/d2-bin
chmod +x d2_python/bin/linux/d2-bin
```

3. Install in development mode:
```bash
pip install -e .
```

4. Render a diagram

```shell
echo "hello -> world" > test.d2
```

```python
from d2_python import D2
d2 = D2()
d2.render("test.d2", "output.svg") 
```

## API Reference

## API Reference

### D2 Class

#### render(input_source, output_file, **options)

- `input_source`: Path to D2 source file or string content
- `output_file`: Path for output file
- Options:
  - `format`: Output format ('svg', 'png', 'pdf'). Default: 'svg'
  - `theme`: Theme ID (0-11) or name. Default: system theme
  - `dark_theme`: Theme ID for dark mode. Default: None (uses same as light)
  - `layout`: Layout engine ('dagre', 'elk'). Default: 'dagre'
  - `pad`: Padding in pixels. Default: 100
  - `sketch`: Render in hand-drawn style. Default: False
  - `center`: Center SVG in viewbox. Default: False
  - `scale`: Output scaling (-1 for auto). Default: -1
  - `bundle`: Bundle SVG assets. Default: True
  - `force_appendix`: Force tooltip appendix. Default: False
  - `timeout`: Execution timeout in seconds. Default: 120
  - `animate_interval`: Animation interval in ms. Default: 0
  - `target`: Target board to render. Default: "*"
  - Font customization:
    - `font_regular`: Path to regular .ttf
    - `font_italic`: Path to italic .ttf
    - `font_bold`: Path to bold .ttf
    - `font_semibold`: Path to semibold .ttf

## License

Mozilla Public License Version 2.0 (same as https://github.com/terrastruct/d2)
audrius-m-mod1-atsiskaitymas 0.1.0
Website crawler
Requires Python: >=3.10

# audrius-m-mod1-atsiskaitymas

## You can install it with pip:
```
pip install audrius-m-mod1-atsiskaitymas
```

## And test like that
```
from audrius_m_mod1_atsiskaitymas.crawler import crawl

print(crawl(time_limit=60, source='https://lt.wikipedia.org/wiki/Pagrindinis_puslapis', return_format='text'))
```

## Pypi repository is here:
https://pypi.org/project/audrius-m-mod1-atsiskaitymas/

## run test coverage:
`pytest --cov=audrius_m_mod1_atsiskaitymas tests/`

## Sample run results are stored in sample_results/ folder

## Package and upload to pypi:
```
python setup.py sdist bdist_wheel

twine upload dist/*
```
streamlit-clickable-textbox 0.0.10
Streamlit component that allows you to do register clicks on specific texts within textbox
Requires Python: >=3.7

# streamlit-custom-component

Streamlit component that allows you to do X

## Installation instructions

```sh
pip install streamlit-custom-component
```

## Usage instructions

```python
import streamlit as st

from my_component import my_component

value = my_component()

st.write(value)
```