Skip to content

Commit

Permalink
feat: publish 0.0.16 version stable of lib
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Mar 30, 2024
1 parent dd37b41 commit 3f503e8
Show file tree
Hide file tree
Showing 12 changed files with 440 additions and 181 deletions.
2 changes: 2 additions & 0 deletions packages/python/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
comopublicar.txt
19 changes: 19 additions & 0 deletions packages/python/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2023 The Python Packaging Authority

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.
45 changes: 45 additions & 0 deletions packages/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Loganmatic

[![PyPI version](https://badge.fury.io/py/loganmatic.svg)](https://badge.fury.io/py/loganmatic)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI downloads](https://img.shields.io/pypi/dm/loganmatic.svg?style=flat-square)](https://pypistats.org/packages/loganmatic)

## Example usage of the Calculator class

!! PYTHON !!

## Docs
https://gabriel-logan.github.io/Math_Lib/python

To use as a PIP package, simply use

```bash
pip install loganmatic
```

Then, you can use it as follows:

```py
from loganmatic import loganmatic
```

## Example usage of the Calculator class

```py
# Import the Calculator class from the loganmatic module
from loganmatic import loganmatic

print("Pi value", loganmatic.Pi)
print("Euler value", loganmatic.EulerNumber)
print("Absolute value", loganmatic.absoluteValue(-5))
print("Factorial", loganmatic.factorial(5))
print("Square root", loganmatic.squareRoot(25))
print("Cubic root", loganmatic.cubicRoot(27))
print("Factors", loganmatic.factor(12))
print("Sine", loganmatic.sine(0.5))
print("Cosine", loganmatic.cosine(0.5))
print("Random number", loganmatic.random_number_between(1, 10))
print("Root of linear equation", loganmatic.root_of_first_degree(2, 4))
print("Roots of quadratic equation", loganmatic.root_of_second_degree(1, -3, 2))

```
164 changes: 0 additions & 164 deletions packages/python/loganmatic.py

This file was deleted.

24 changes: 24 additions & 0 deletions packages/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[build-system]
requires = [
"setuptools>=61"
]
build-backend = "setuptools.build_meta"

[project]
name = "loganmatic"
version = "0.0.16"
authors = [
{ name="Gabriel Logan" },
]
description = "Loganmatic package"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[project.urls]
"Homepage" = "https://github.com/gabriel-logan/Math_Lib/tree/main/packages/python"
"Bug Tracker" = "https://github.com/gabriel-logan/Math_Lib/tree/main/packages/python"
59 changes: 59 additions & 0 deletions packages/python/src/loganmatic.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Metadata-Version: 2.1
Name: loganmatic
Version: 0.0.16
Summary: Loganmatic package
Author: Gabriel Logan
Project-URL: Homepage, https://github.com/gabriel-logan/Math_Lib/tree/main/packages/python
Project-URL: Bug Tracker, https://github.com/gabriel-logan/Math_Lib/tree/main/packages/python
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Loganmatic

[![PyPI version](https://badge.fury.io/py/loganmatic.svg)](https://badge.fury.io/py/loganmatic)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI downloads](https://img.shields.io/pypi/dm/loganmatic.svg?style=flat-square)](https://pypistats.org/packages/loganmatic)

## Example usage of the Calculator class

!! PYTHON !!

## Docs
https://gabriel-logan.github.io/Math_Lib/python

To use as a PIP package, simply use

```bash
pip install loganmatic
```

Then, you can use it as follows:

```py
from loganmatic import loganmatic
```

## Example usage of the Calculator class

```py
# Import the Calculator class from the loganmatic module
from loganmatic import loganmatic

print("Pi value", loganmatic.Pi)
print("Euler value", loganmatic.EulerNumber)
print("Absolute value", loganmatic.absoluteValue(-5))
print("Factorial", loganmatic.factorial(5))
print("Square root", loganmatic.squareRoot(25))
print("Cubic root", loganmatic.cubicRoot(27))
print("Factors", loganmatic.factor(12))
print("Sine", loganmatic.sine(0.5))
print("Cosine", loganmatic.cosine(0.5))
print("Random number", loganmatic.random_number_between(1, 10))
print("Root of linear equation", loganmatic.root_of_first_degree(2, 4))
print("Roots of quadratic equation", loganmatic.root_of_second_degree(1, -3, 2))

```
9 changes: 9 additions & 0 deletions packages/python/src/loganmatic.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LICENSE
README.md
pyproject.toml
src/loganmatic/__init__.py
src/loganmatic.egg-info/PKG-INFO
src/loganmatic.egg-info/SOURCES.txt
src/loganmatic.egg-info/dependency_links.txt
src/loganmatic.egg-info/top_level.txt
tests/testarlib.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions packages/python/src/loganmatic.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loganmatic
Loading

0 comments on commit 3f503e8

Please sign in to comment.