https://github.com/foss42/foss42-core
Core library of our APIs
https://github.com/foss42/foss42-core
gssoc python python3
Last synced: about 1 year ago
JSON representation
Core library of our APIs
- Host: GitHub
- URL: https://github.com/foss42/foss42-core
- Owner: foss42
- License: apache-2.0
- Created: 2023-01-11T21:28:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T15:48:06.000Z (almost 2 years ago)
- Last Synced: 2025-05-09T17:11:16.173Z (about 1 year ago)
- Topics: gssoc, python, python3
- Language: Python
- Homepage: https://foss42.github.io/foss42-core
- Size: 192 KB
- Stars: 29
- Watchers: 3
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://discord.gg/2s49SCNfyJ)
Contributors should go through the [Contributing Guide](https://github.com/foss42/foss42-core/blob/main/CONTRIBUTING.md) to learn how to setup development environment, raise an issue and send across a PR.
# foss42


Core Python library for [foss42 Open Source APIs](https://github.com/foss42/api).
## Installation
```
pip3 install foss42
```
## List of available functions
[Link](https://foss42.github.io/foss42-core)
## Usage example
```python
>>> import foss42.text.humanize as hz
>>> hz.humanize_bytes(1126,
2,
prefix = True,
trailing_zeros = True)
>>> '1.10 kilobytes'
```