semvec/pypi-packages huggingface dataset:
digibit 1.1
Python Digital value problem solver
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4

Digibit

A python library for digital values problem solvers like conversions, complements and more.
To install: 
             >>pip install digibit
To use, ex:-
             >>import digibit
             >>digibit.onecomp('10101010')
for any bug:
             https://github.com/gdeepak884/digibit/issues
haip-config 0.1.9
A simple yaml config manager.

# haip.config

[![License](https://img.shields.io/github/license/haipdev/config.svg)](LICENSE)
[![Build Status](https://travis-ci.org/haipdev/config.svg?branch=master)](https://travis-ci.org/haipdev/config)

haip.config is a simple yaml configuration handling module for Python 3.6+.

## Features

* **directory based**: place your config in multiple files in your configuration directory. haip.config will merge them automatically.
* **environment overlay**: place your environment specific configuration in a subdirectory. haip.config will overwrite the base configuration.
* **attribute-style**: a.b.c = a['b']['c']

## Getting Started

### Installing

```sh
pip install haip-config
```

or from source:

```sh
git clone https://github.com/haipdev/config.git
```

### Example

#### config-files

/path-to-my-config-dir/databases.yml

```yaml
databases:
    test:
        username: testuser
        host: 127.0.0.2
```

/path-to-my-config-dir/dev/databases.yml

```yaml
databases:
    test:
        password: testpassword
```

#### python implementation

```python
import haip.config as config

config.load('/path-to-my-config-dir', 'dev')
cfg = config.get('databases', 'test', username=config.MANDATORY, password=config.MANDATORY,  host='127.0.0.1', port=3306)

username = cfg.databases.test.username   # <-- 'testuser' from base-config
password = cfg.databases.test.password   # <-- 'testpassword' from dev subdir
host = cfg.databases.test.host           # <-- '127.0.0.2' from base-config (default not used)
port = cfg.databases.test.port           # <-- 3306 from default
```

## Running the tests

Tests are written using pytest and located in the "tests" directory.

```sh
pytest tests
```

## Contributing

Feel free to use and enhance this project. Pull requests are welcome.

## Authors

* **Reinhard Hainz** - *Initial work* - [haipdev](https://github.com/haipdev)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Dependencies

* [poyo](https://github.com/hackebrot/poyo)
haip-confluence 0.1.1
A Confluence API client.

# haip.config

[![License](https://img.shields.io/github/license/haipdev/confluence.svg)](LICENSE)
[![Build Status](https://travis-ci.org/haipdev/confluence.svg?branch=master)](https://travis-ci.org/haipdev/confluence)

haip.confluence is a simple module to communicate with confluence REST API.

## Features

-   **getBody**: get confluence page by id
-   **setBody**: set confluence page content by id
-   **getChildren**: get children of a page --> (version, title, body)

## Getting Started

### Installing

```sh
pip install haip-confluence
```

or from source:

```sh
git clone https://github.com/haipdev/confluence.git
```

### Example

#### config-files

/path-to-my-config-dir/confluence.yml

```yaml
confluence:
    url: https://myconfluence.domain.com/rest/api/latest
    username: user
    password: pass
    timeout: 10
```

#### python implementation

```python
import haip.config as config
import haip.confluence as confluence

config.load('/path-to-my-config-dir', 'dev')
content = await confluence.getBody(12345)
page = await confluence.setBody(12345, 'hello world')
children = await confluence.getChildren(12344)
```

## Running the tests

Tests are written using pytest and located in the "tests" directory.

```sh
pytest tests
```

## Contributing

Feel free to use and enhance this project. Pull requests are welcome.

## Authors

-   **Reinhard Hainz** - _Initial work_ - [haipdev](https://github.com/haipdev)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Dependencies

-   [haip-config](https://github.com/haipdev/config)