semvec/pypi-packages huggingface dataset:
tcafe-attending-bot 1.0.0
Auto attending bot for TCafe.
Requires Python: >3.10

# TCafe attending bot

## 아이디 설정

__OS 별 [`XDG_DATA_DIRS`](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)이 해당하는 곳에 설정__ (복수 설정 가능)

---

`Linux`의 경우

1. `/home/<$HOME>/.local/share/tcafe`
2. `/usr/local/share/tcafe`
3. `/usr/share/tcafe`

---

해당 디렉토리들에 `accounts.json` 이름으로 다음의 템플릿을 참고하여 내용을 작성

```json
[
    {
        "id": "ididid",
        "password": "password"
    },
    {
        "id": "ididid2",
        "password": "password2"
    }
]
```

## 실행

패키지 설치 후

```bash
tcafe_attending_bot
```
whois-parser 0.3.1
Yet another whois parser for Python
Requires Python: >=3.9,<4.0

# whois-parser

[![PyPI version](https://badge.fury.io/py/whois-parser.svg)](https://badge.fury.io/py/whois-parser)
[![Python CI](https://github.com/ninoseki/whois-parser/actions/workflows/test.yml/badge.svg)](https://github.com/ninoseki/whois-parser/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/ninoseki/whois-parser/badge.svg?branch=main)](https://coveralls.io/github/ninoseki/whois-parser?branch=main)

Yet another whois parser for Python. 🐍

- Parse a whois record by using [PyParsing](https://github.com/pyparsing/pyparsing/) not Regex.
- Return a parsed record as [dataclass](https://docs.python.org/3/library/dataclasses.html) not dict.

## Installation

```bash
pip install whois-parser
```

## Usage

```python
import sh
from whois_parser import WhoisParser

# get whois record
hostname = "google.co.jp"
whois = sh.Command("whois")
raw_text = whois(hostname)

# parse whois record
parser = WhoisParser()
record = parser.parse(raw_text, hostname=hostname)
print(record)
# => WhoisRecord(raw_text="...", registrant=Registrant(organization='グーグル合同会社', email=None, name=None, telephone=None), admin=Admin(organization=None, email=None, name=None, telephone=None), tech=Tech(organization=None, email=None, name=None, telephone=None), abuse=Abuse(email=None, telephone=None), statuses=['Connected (2022/03/31)'], name_servers=['ns1.google.com', 'ns2.google.com', 'ns3.google.com', 'ns4.google.com'], domain='google.co.jp', registrar=None, expires_at=None, registered_at=datetime.datetime(2001, 3, 22, 0, 0), updated_at=datetime.datetime(2021, 4, 1, 1, 5, 22, tzinfo=<StaticTzInfo 'JST'>))
```

## Customize / Contribution

Whois's responses will follow a semi-free text format. Thus, unfortunately, this library does not support all the formats in the wild.

You can create customized parsers to suit your needs. References are placed in `whois-parser/parsers/`.

Any contribution is welcome.
attrdictx 0.1.0
An extended AttrDict class
Requires Python: >=3.6

# AttrDictX

[![PyPI](https://img.shields.io/pypi/v/attrdictx.svg)](https://pypi.org/project/attrdictx/)
[![License](https://img.shields.io/pypi/l/attrdictx.svg)](https://github.com/kyo-takano/AttrDictX/blob/main/LICENSE)

## Overview

AttrDictX is a lightweight Python package that allows seamless access to dictionary values as if they were class attributes. This package offers an elegant and dependency-free solution, enhancing code legibility and ease of use.

Unlike traditional dictionary access (`random_dict["key"]`), AttrDictX simplifies the process (`random_dict.key`), saving three characters per access. Additionally, it supports nested dictionaries and is free of any dependency-related errors, addressing limitations present in other packages like `attrdict`.

## Installation

To install `attrdictx`, you can use `pip`:

```bash
pip install attrdictx
```

Alternatively, you may just copy & paste the following source code to use this package:

```python
class AttrDictX(dict):
    def __init__(self, *args, **kwargs):
        super(AttrDictX, self).__init__(*args, **kwargs)
        for key, value in self.items():
            if isinstance(value, dict):
                self[key] = AttrDictX(value)

    def __getattr__(self, name):
        if name in self:
            return self[name]
        raise AttributeError(f"'AttrDictX' object has no attribute '{name}'")

    def __setattr__(self, name, value):
        self[name] = value
```

## Usage

After importing the `AttrDictX` class (when `import AttrDict` also works), you can create an instance from your dictionary and access values like class attributes.

```python
from attrdictx import AttrDictX

# Example: configuration for a random web app
config = {
    'database': {
        'host': 'localhost',
        'port': 5432,
        'username': 'my_user',
        'password': 'my_password'
    },
    'api_keys': {
        'weather_api': 'abc123def456',
        'news_api': 'xyz789'
    },
    'cache_enabled': True
}

# Create an AttrDictX instance from the configuration dictionary
app_config = AttrDictX(config)

# Accessing configuration settings with recursive attributes
print(app_config.cache_enabled)
# => True

print(app_config.api_keys.weather_api)
# => abc123def456
```

## Contributions

We welcome contributions from the community to improve and expand AttrDictX. If you encounter any issues, have suggestions, or want to contribute code, feel free to open an issue or submit a pull request on our GitHub repository: [https://github.com/kyo-takano/AttrDictX](https://github.com/kyo-takano/AttrDictX)

## License

AttrDictX is released under the [MIT License](https://github.com/kyo-takano/AttrDictX/blob/main/LICENSE).