semvec/pypi-packages huggingface dataset:
webdock 1.0.4
A type-safe Python wrapper for the Webdock.io API.
Requires Python: >=3.13

# Webdock API Python SDK

A type-safe Python wrapper for the Webdock.io API.

## Documentation

Full API documentation is available at [api.webdock.io](https://api.webdock.io)

## Installation

```bash
pip install webdock
```

## Quick Start

Each operation returns both body and headers that you can access using the `get()` method:

```python
import time
from webdock import webdock
from requests import RequestException

def main():
    # Initialize client with your API token
    client = webdock.Webdock("your_api_token_here")
    
    try:
        # Create a new server
        server = client.servers.create(
            imageSlug="foo",
            locationId="foo",
            name="test-server",
            profileSlug="foo",
        )
        
        # Access server data from response body
        aliases = server.get("body").get("aliases")
        print(f"Server aliases: {aliases}")
        
        # Access callback ID from headers to track provision operation state
        callback_id = server.get("headers").get("x_callback_id")
        print(f"Callback ID: {callback_id}")
        
    except RequestException as e:
        print(f"API request failed: {e}")

if __name__ == "__main__":
    main()
```

## Response Structure

All API operations return a response object with two main components:

- **`body`**: Contains the actual API response data
- **`headers`**: Contains HTTP headers, including tracking information like `x_callback_id`

### Example Usage

```python
# Get server information
server_info = server.get("body")
server_name = server_info.get("name")
server_status = server_info.get("status")

# Track operations using headers
callback_id = server.get("headers").get("x_callback_id")
```

## Backward Compatibility

The legacy package is still available but deprecated. You can import it for existing projects:

```python
import time
from oldwebdock.webdock import Webdock
from requests import RequestException

def main():
    client = Webdock("your_api_token_here")
    
    try:
        # Create webhook (legacy syntax)
        webhook = client.create_hook(
            hookType="foo",
            hookValue="https://your-webhook-url.com"
        )
    except RequestException as e:
        print(f"Request failed: {e}")

if __name__ == "__main__":
    main()
```

> **⚠️ Deprecation Notice**: legacy package is now deprecated. Please migrate to the new SDK for continued support and updates.

## Features

- **Type-safe**: Full type hints for better IDE support and error catching
- **Easy to use**: Simple, intuitive API interface
- **Error handling**: Built-in exception handling with detailed error messages
- **Async support**: Non-blocking operations for better performance
- **Comprehensive**: Full coverage of Webdock API endpoints

## Support

- [API Documentation](https://api.webdock.io)
- [GitHub Issues](https://github.com/webdock-io/python-sdk/issues)
- [Webdock Support](https://webdock.io/support)
global-logger 0.4.7
Based on Python built-in logger, expands it, and provides a global logger to your system. Easy on-screen and/or .log files output setup without pain for Python newcomers. Python 2 and 3 compatible
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=2.7

======================
Global Logger
======================


.. image:: https://img.shields.io/pypi/v/global_logger.svg
        :target: https://pypi.python.org/pypi/global_logger

..
  .. image:: https://readthedocs.org/projects/global-logger/badge/?version=latest
          :target: https://global-logger.readthedocs.io/en/latest/?badge=latest
          :alt: Documentation Status

.. image:: https://github.com/ALERTua/global_logger/workflows/Python%20Package/badge.svg?branch=master
        :target: https://github.com/ALERTua/global_logger/actions?query=workflow%3A%22Python+Package%22




Global Logger

Based on Python built-in logger, expands it, and provides a global logger to your system.

* Free software: MIT license
* Documentation:
    * https://alertua.github.io/global_logger
    * https://global-logger.readthedocs.io / https://global-logger.rtfd.io
* PyPi modules: https://pypi.org/project/global-logger

Features
--------

* Easy on-screen logging setup without pain for Python newcomers
* Easy .log files output setup without pain for Python newcomers
* Python 2 and 3 compatible
galamo 1.1.2
An open source Python package for comprehensive galaxy analysis, integrating machine learning and statistical methods. It provides automated tools for morphology classification, kinematics, photometry, and spectral analysis to aid astrophysical research.
Requires Python: >=3.10

![Galamo Logo](images/galamo_main.svg)


----
![PyPI Status](https://img.shields.io/pypi/v/galamo.svg)
[![Documentation](https://img.shields.io/badge/documentation-latest-green.svg)](https://www.galamo.org/learn)
----

**Galamo** is a Python package designed for astronomical modeling and analysis, offering tools for AGN research, galaxy classification, and more.

- [Website](https://www.galamo.org)
- [Documentation](https://docs.galamo.org/)
- [Discussion Forum](https://community.galamo.org/)
- [Mailing List](https://mail.python.org/mailman/listinfo/galamo)

## Installation

To install `galamo` from PyPI, use:

```bash
pip install galamo --upgrade
```

For detailed instructions, see the [installation guide](https:/www.galamo.org/install).

## Contributing

We welcome contributions from the community! Please follow our [Code of Conduct](https://www.galamo.org/code_of_conduct.html) and check out the [contribution guide](https://www.galamo.org/contribute.html) for more details.

## Acknowledging and Citing

See the [citation guide](https://www.galamo.org/acknowledging.html) and the [CITATION](https://github.com/galamo-org/galamo/blob/main/CITATION) file.

## Supporting the Project

![DAC](https://img.shields.io/badge/powered%20by-DAC-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)
![Donate](https://img.shields.io/badge/Donate-to%20Galamo-brightgreen.svg)

Galamo needs support. Consider donating to support our mission!

## License

Galamo is licensed under a BSD 3-Clause License - see the [LICENSE](LICENSE) file for details.