semvec/pypi-packages huggingface dataset:
pyurlextract 1.1
A library to expand Short URL with all possible redirections

# pyurlextract

**pyurlextract** is a Python library that extracts all possible links and redirections from any shortened URL. It helps in expanding short links to reveal their full URLs and potential redirections.

## Links
**PyPI:** [https://pypi.org/project/pyurlextract/](https://pypi.org/project/pyurlextract/)

## Installation

Install the library using pip:

```sh
pip install pyurlextract
```

## Usage

Here's how you can use **pyurlextract** to extract links from a shortened URL:

```python
from pyurlextract import extract_shorturl

short_url = "link"  # Replace with the actual short URL
full_link, all_links = extract_shorturl(short_url)

if full_link is None:
    print("Failed to expand the URL")
    print("Details:", all_links)
else:
    print("Original URL:", short_url)
    print("Full Link:", full_link)
    print("All Possible Redirections:", all_links)
    print(extract_shorturl(short_url))
```

## Parameters
- `short_url` *(str)*: The shortened URL that needs to be expanded.

## Returns
- `full_link` *(str | None)*: The fully expanded URL or `None` if extraction fails.
- `all_links` *(list)*: A list of all possible redirections found.

## Example Output
```
Original URL: https://bit.ly/example
Full Link: https://example.com/page
All Possible Redirections: ['https://example.com/page', 'https://redirect.example.com']
```

## Features
- Expands shortened URLs from various services.
- Extracts all possible redirections from a given URL.
- Easy-to-use Python interface.

## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.

## License
This project is licensed under the [MIT License](https://github.com/Deadpool2000/pyurlextract/blob/main/LICENSE).
mylabs-mcp.projectten-expert 0.1.0
Project Ten Model Context Protocol (MCP) server
Requires Python: >=3.13

# projectone-expert

One Model Context Protocol (MCP) server

## Prerequisites

1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
2. Install Python using `uv python install 3.13`

## Installation

Install the MCP server:
```bash
uv tool install mylabs-mcp.projectten-expert --force 
```

Add the server to your MCP client config (e.g. `~/.cursor-server/data/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`):
```json
{
  "mcpServers": {
    "mylabs_mcp.projectten_expert": {
      "command": "uvx",
      "args": [
        "--from",
        "mylabs-mcp-projectten-expert",
        "projectten-expert"
      ],
      "env": {
        "SHELL": "/usr/bin/zsh"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
```

## Development

1. Set up the development environment:
```bash
uv sync --all-groups
```

2. Run the server:
```bash
uv run mylabs-mcp.projectten-expert/server.py
```

3. Install pre-commit hooks:
```bash
GIT_CONFIG=/dev/null pre-commit install
```

## Running the Server

Run the server with default stdio transport:
```bash
uv run mylabs-mcp.projectten-expert/server.py
```

Or with SSE transport on a specific port:
```bash
uvx projectten-expert/server.py --sse --port 8888
```

## Customizing the Server

1. Edit `projectten_expert/server.py` to implement your MCP tools and resources
2. Add dependencies to `pyproject.toml` with `uv add <dependency>`
3. Update tests and documentation as needed
4. Build the project: `uv build`
5. Push the changes: `git push`
6. Create a release: `uv run cz bump`
7. Tag the release: `git push --tags`
mylabs-mcp.projectsix-expert 0.1.0
Project Six Model Context Protocol (MCP) server
Requires Python: >=3.13

# projectsix-expert

One Model Context Protocol (MCP) server

## Prerequisites

1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
2. Install Python using `uv python install 3.13`

## Installation

Install the MCP server:
```bash
uv tool install mylabs-mcp.projectsix-expert --force 
```

Add the server to your MCP client config (e.g. `~/.cursor-server/data/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`):
```json
{
  "mcpServers": {
    "mylabs_mcp.projectsix_expert": {
      "command": "uvx",
      "args": [
        "--from",
        "mylabs-mcp-projectsix-expert",
        "projectsix-expert"
      ],
      "env": {
        "SHELL": "/usr/bin/zsh"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
```

## Development

1. Set up the development environment:
```bash
uv sync --all-groups
```

2. Run the server:
```bash
uv run mylabs-mcp.projectsix-expert/server.py
```

3. Install pre-commit hooks:
```bash
GIT_CONFIG=/dev/null pre-commit install
```

## Running the Server

Run the server with default stdio transport:
```bash
uv run mylabs-mcp.projectsix-expert/server.py
```

Or with SSE transport on a specific port:
```bash
uvx projectsix-expert/server.py --sse --port 8888
```

## Customizing the Server

1. Edit `projectsix_expert/server.py` to implement your MCP tools and resources
2. Add dependencies to `pyproject.toml` with `uv add <dependency>`
3. Update tests and documentation as needed
4. Build the project: `uv build`
5. Push the changes: `git push`
6. Create a release: `uv run cz bump`
7. Tag the release: `git push --tags`