semvec/pypi-packages huggingface dataset:
logmag 1.2
Logging

# logmag

This library defines a simple logging system with different log levels and colored output for different levels. 


## Installation

You can install the Logger Library using pip:

```bash
pip install logmag
```

## Usage

### Initializing the Logger:
```python
from logger import Logger
```


### Create a logger
```python
my_logger = Logger('my_logger')
```

### Logging Messages:

#### The Logger provides five levels of logging: DEBUG, INFO, WARNING, ERROR, and CRITICAL.

##### Debug Messages:
```python
my_logger.debug('This is a debug message')
```

##### Info Messages:
```python
my_logger.info('This is an informational message')
```
##### Warning Messages:
```python
my_logger.warning('This is a warning')
```
##### Error Messages:
```python
my_logger.error('This is an error message')
```
##### Critical Messages:
```python
my_logger.critical('This is a critical error')
```
<p>The messages will be printed to the console with timestamps and colored according to their severity.</p>

## Example
```python
# Example Usage
from logmag import Logger

my_logger = Logger('my_logger')

my_logger.debug('This is a debug message')
my_logger.info('This is an informational message')
my_logger.warning('This is a warning')
my_logger.error('This is an error message')
my_logger.critical('This is a critical error')
```

# Contact

For questions, bug reports, or contributions, please visit the Gitlab repository: https://gitlab.com/test4521437/a3.
BTensor 1.1.2
A library for basis transformation of tensors
Requires Python: >=3.8

[![CI](https://github.com/maxnus/btensor/actions/workflows/ci.yml/badge.svg)](https://github.com/maxnus/btensor/actions/workflows/ci.yml)

BTensor
=======

BTensor defines a tensor type, a generalization of NumPy's ndarray, which can store a basis along each dimension.
When performing tensor operations, such as additions or contractions, BTensor will ensure that:

- The bases of the tensors are compatible along all dimensions or raise an exception if not
- If the bases are compatible, but not equal, necessary basis transformations will be carried out automatically

Please refer to the [documentation](https://maxnus.github.io/btensor/index.html) for more information.