semvec/pypi-packages huggingface dataset:
vielcord 0.0.7.5
VeilCord // @imvast
License: MIT
Requires Python: ~=3.8

# VeilCord.

<img src="https://img.shields.io/pypi/v/veilcord?style=for-the-badge&logo=python">
<a href="https://github.com/imvast" target="_blank">
    <img alt="followers" src="https://img.shields.io/github/followers/imvast?color=f429ff&style=for-the-badge&logo=github&label=Follow"/>
</a>

```less
                > Custom Discord Tools Going To Be Used For My Projects
                      And Available To Anyone Else Who Wants To Use <
```

---

### Installation

```yaml
pip install vielcord
```

### Example Usages

```py
from vielcord import VeilCord

veilcord = VeilCord(
    session = ..., # for custom tls_client sessions
    device_type = "browser", # types : browser, mobile, app (aka desktop)
    user_agent = ... # for custom user agent
)
```

```py
# GETTING X-Super-Properties
xsup = veilcord.generateXProp()
print(f"(+) Retrieved XSup: {xsup}")
```

```py
# GETTING ALL THE COOKIES AND FINGERPRINT
fp, cookies = veilcord.getFingerprint(
    xsup,
    withCookies = True, # true or false -- will return cookies that are returned in the expirements req
    cookieType = "json" # if withCookies is true this can be either "json" or "cookiejar"  -- by default its cookiejar
)
print(f"(+) Retrieved Fingerprint: {fp}")
print(f"(+) Retrieved Cookies: {cookies}")
# returns a tuple.  [0] - Fingerprint  |  [1] - COOKIESJAR or JSON
```

```py
# GET THE NEW SESSION ID BS

_, sessionID = veilcord.getSession(
    token = "",
)
if sessionID == "invalid token":
    print("invalid token :(")
else:
    print(f"(+) Got Session ID: {sessionID}")
```

```py
## Getting Discord build number

buildNum = VeilCord.getBuildNum()
print(buildNum)
```

#### Custom Sessions

```py
session = veilcord.openSession(
    custom_rpc = {
        "status": "online",
        "since": 0,
        "activities": [{
            "name": "Custom Status",
            "type": 4,
            "state": "vast#1337",
            "emoji": ""
        }],
        "afk": False
    }
)

veilcord.getSession(
    token = "", # obv the token
    session = session, # the session returned from veilcord.openSession()  (if u are using keepAlive)
    keep_alive = True,  # keep the session alive until closed with veilcord.closeSession()
    show_hb = True # prints when it sends the heartbeat and when the next one is
)

# close the session, if keepAlive is enabled.
veilcord.closeSession(session)
```

---

## > [imvast@discord](https://discord.com/users/1158425528886374401) | [imvast@github](https://github.com/imvast) | [vast.sh](https://vast.sh) <
zlogger-client 1.0.5
Python client for Zlogger logging service
License: MIT
Requires Python: >=3.7

# Zlogger Python Client

A simple and efficient Python client for the Zlogger logging service.

## Installation

```bash
pip install zlogger-client
```

## Quick Start

```python
from zlogger import ZloggerClient

# Initialize client
logger = ZloggerClient(
    endpoint="https://zlogger.ch/api/logs",
    api_key="your-api-key",
    app_name="my-app"
)

# Send logs
logger.info("Application started", {"version": "1.0.4"})
logger.warn("High memory usage", {"memory": "90%"})
logger.error("Database connection failed", {"db": "primary"})
logger.debug("Processing user request", {"user_id": 123})
```

## API

### ZloggerClient(endpoint, api_key, app_name)

Creates a new Zlogger client instance.

**Parameters:**
- `endpoint` (str): Zlogger API endpoint URL
- `api_key` (str): Your Zlogger API key
- `app_name` (str): Name of your application

### Logging Methods

All logging methods accept:
- `message` (str): The log message
- `context` (dict, optional): Additional context data

**Available methods:**
- `logger.debug(message, context=None)`
- `logger.info(message, context=None)`
- `logger.warn(message, context=None)`
- `logger.error(message, context=None)`

## Example with Context

```python
logger.error("Payment failed", {
    "transaction_id": "txn_123",
    "amount": 99.99,
    "currency": "USD",
    "error_code": "INSUFFICIENT_FUNDS"
})
```

## License

MIT License