semvec/pypi-packages huggingface dataset:
udns-auth 0.1
A compact auth client for UltraDNS
Requires Python: >=3.6

# udns_auth

A compact Python client for managing a connection with the UltraDNS API. For the "official," and much more ambitious client, go [here](https://github.com/ultradns/python_rest_api_client).

## Features

- Support for authenticating with username and password, or directly with a bearer token.
- Automatic token refreshing when the token expires.
- Built-in handling of various content types.

## Usage

### Authenticating using Username and Password

```python
client = UltraApi(your_username, your_password)
```

### Authenticating using Bearer Token

```python
client = UltraApi(your_bearer_token, use_token=True)
```

### Authenticating using Bearer Token and Refresh Token

```python  
client = UltraApi(your_bearer_token, your_refresh_token, True)
``` 

### Making API Calls

```python
# Make a GET request
response = client.get("/ultra/api/endpoint")

# Make a POST request
response = client.post("/ultra/api/endpoint", payload={"key": "value"})

# ... similarly for PUT, PATCH, DELETE
```

## Response Handling

The client can return data in the form of dictionaries, strings, or bytes depending on the response content type.

For example:
1. The zone export endpoint, when requesting more than one zone, will return a zip file
2. The zone export endpoint, when requesting one zone, returns a plain text response
3. Most endpoints return JSON

## Note

Using a bearer token without a refresh token means the client state will expire in approximately 1 hour (assuming the token was just generated). Be warned.

## Contribute

Contributions are always welcome! Please open a pull request with your changes, or open an issue if you encounter any problems or have suggestions.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
zenkat 0.1.1
CLI tool to allow using flat files as a Zettelkasten system, similar to Obsidian.
Requires Python: >=3.10

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![PyPI - Downloads](https://img.shields.io/pypi/dm/zenkat)

# ZenKat

ZenKat is a tool and library to enable using a set of plaintext files, especially markdown files, as a [Zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten) knowledge base.

I've used a number of knowledge management tools including Obsidian, Notion, and Coda, and have found them all lacking and / or designed in a way that makes them act as a walled garden. ZenKat is an attempt to create a lightweight FOSS alternative for command-line users. As such it aims to have few dependencies while still providing decent features.

It's named this way because of my bad memory for German. I remembered ZEttelKAsTen as ZenKat (unclear where the N came from).

![](images/zk-0-1.gif)

## Recommended Setup

You can install directly from pip:

```
pip install zenkat
```

This also installs the `zenkat` convenience script.

To configure themes and create custom queries and formats, make a file at `~/.config/zenkat/config.toml`.

If you'd like to run directly from source you can clone the repository and use [development mode](https://setuptools.pypa.io/en/latest/userguide/development_mode.html).

It's also worth installing [Marksman LSP](https://github.com/artempyanykh/marksman) if you plan on working with plaintext files a lot. This should work with major CLI editors including Helix, Neovim, and Spacemacs, as well as KATE. I use Helix.

For viewing files as formatted you can use [MD Fileserver]( https://github.com/commenthol/md-fileserver ) with `mdstart`.

`diff` comes by default on the command line and can be extremely helpful when combining duplicate notes (which Obsidian's multiple vaults tend to lead to).

## Features

- Filter and sort through notes with powerful mapping syntax
- Customisable output formats and color schemes
- Supports markdown tags, and unpacks nested tags
- Resolves internal links, both inbound and outbound
- Loads YAML metadata headers in pages
- Task tracking with beautiful formatting, filters, and extended syntax
- Configuration using `config.toml` in your home folder: see [default_config](./src/zenkat/default_config.py) for options 

## Contents

- [Usage](./docs/usage.md)
- [Fields and Subfields](./docs/fields.md)
- [Formatting](./docs/formatting.md)
- [Filters](./docs/filters.md)
- [Sorting](./docs/sort.md)
- [Tasks](./docs/tasks.md)
- [grep and cat](./docs/grep.md)
- [Queries](./docs/queries.md)
- [Macros](./docs/macros.md)