Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foss42/foss42-core
Core library of our APIs
https://github.com/foss42/foss42-core
gssoc python python3
Last synced: 4 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T15:48:06.000Z (5 months ago)
- Last Synced: 2025-01-14T03:06:54.560Z (11 days ago)
- Topics: gssoc, python, python3
- Language: Python
- Homepage: https://foss42.github.io/foss42-core
- Size: 192 KB
- Stars: 33
- Watchers: 3
- Forks: 40
- 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
[![Discord Server Invite](https://img.shields.io/badge/DISCORD-JOIN%20SERVER-5663F7?style=for-the-badge&logo=discord&logoColor=white)](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
![PyPI](https://img.shields.io/pypi/v/foss42?logo=python&logoColor=yellow&style=for-the-badge)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/foss42?logo=python&logoColor=yellow&style=for-the-badge)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'
```