semvec/pypi-packages huggingface dataset:
algo-fun-factorial 0.2.0
Give the factorial of a given number
License: MIT

# 🚀Factorial

## 📄Description

Return the factorial of a given number.

## ⚙️ Installation

clone the repository (git must be installed)
```
git clone https://gitlab.com/ChristopheLagaillarde/algo_fun_factorial.git 
```
or you can install it using pip

```
pip install algo-fun-factorial 
```

or take the gz file on gitlab and use this command

```
tar -xzf algo_fun_factorial-0.2.0.tar.gz
```

## ✅Verification

You can have my public key on here: 
https://keyserver.ubuntu.com/pks/lookup?search=309F4D460B9BF1BD8DD31EAB39A61CA659ADD6E3&fingerprint=on&op=index

Take it and to verify that the integrity and authenticity of my project. You should be able to use this command to do so. 

```
gpg --verify algo_fun_factorial-0.2.0.tar.gz.asc algo_fun_factorial-0.2.0.tar.gz
```

## 🕹️Usage

You have to import it using this command

```
from algo_fun.factorial import factorial
```

You can use the function as follow

```
factorial(5)
```

## 📝LICENSE
Copyright (c) 2024 Christophe Lagaillarde 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
serial_bus 0.1.0
A Python package that standardizes data parsing from multiple serialized formats into pydantic models.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: serialization,deserialization,parsing,pydantic-models,serial-to-pydantic,pydantic-to-serial

# SerialBus

SerialBus is a Pydantic-based tool designed to act as a conduit between serialized data and Python objects. It 
not only facilitates the transformation of complex serialized data into Python objects, but also ensures stringent
data validation. Think of it as the coach that transports your data from the realm of serialization into the world
of Python, and vice-versa, all the while maintaining the integrity and structure of your data.

## Install

pip:

```bash
pip install serial_bus
```

poetry:

```bash
poetry add serial_bus
```

## Features

- **Pydantic Integration**: Converting serialized data into Python objects is the oldest trick in the book, but 
  SerialBus elevates this process by directly converting the data into Pydantic models, which brings 
  the added advantage of robust data validation. The models used in this process are defined by classes that inherit 
  from either the ***SerialBusBaseModel*** or ***SerialBusRenderableModel***. This not only provides 
  flexibility in setting up behaviors for your data, but also ensures data integrity through Pydantic's validation 
  mechanisms.


- **Built-in Support for Multiple Formats**: Currently, it supports loading serialized data from JSON, YAML, TOML 
  and INI. While future support for other formats is planned, if you need to cover additional formats, or even 
  provide your own parsing business logic, this can be easily achieved by extending SerialBusbasic 
  coverage with your own loader and/or dumper functions. Speaking of which...


- **Extensibility**: The code was thought to allow for ease of extensibility. For more information and examples, refer
to the documentation below.


<p align="center">
  <img src="/docs/images/serial_bus.png" alt="SerialBus" width="300"/>
</p>


## Quick Start
  - [Usage examples](/docs/getting_started.md#usage):
    - [Example 1: Instantiating models from serialized data](/docs/getting_started.md#example-1-instantiating-models-from-serialized-data)
    - [Example 2: Data Relationship & Model Rendering](/docs/getting_started.md#example-2-data-relationship--model-rendering)
    - [Example 3: Converting data between supported formats](/docs/getting_started.md#example-3-converting-data-between-supported-formats)
  - [Configuration & Extensibility](docs/configuration-and-extensibility.md)
- [SerialBus Base Models](/docs/base_models.md)
- [The GLOBAL_DATA_STORE](/docs/the_global_data_store.md)
- [Loaders](/docs/loaders.md)
- [Dumpers](/docs/dumpers.md)
- [Contributing](#contributing)