Skip to content

Commit

Permalink
Merge pull request #16 from DefinetlyNotAI/Issue-fix
Browse files Browse the repository at this point in the history
Issue fix
  • Loading branch information
DefinetlyNotAI authored Oct 16, 2024
2 parents e945de7 + 694ca4d commit 4b0968e
Show file tree
Hide file tree
Showing 14 changed files with 2,507 additions and 278 deletions.
5 changes: 4 additions & 1 deletion .idea/AlgoPy.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,22 @@ To install: `pip install -r requirements.txt`
To use **AlgoPy** in your project, you can import the desired package and class as follows:

```python
import algopy.PACKAGE_TO_USE as WHATEVER_NAME_YOU_WANT
WHATEVER_NAME_YOU_WANT = WHATEVER_NAME_YOU_WANT.CLASS_NAME()
from algopy import PACKAGE_YOU_WANT

PACKAGE_YOU_WANT.method_or_class_to_use()
```

And all you have to do is read the documentation on the Wiki. (WIP - Version 2.1.1)

The following packages are available in **AlgoPy**:

- `log` for logging events and errors. Is a wrapper for colorlog.
- `sort` for sorting data structures. Has many types of sorting algorithms and data structures.
- `search` for searching data structures. Has many types of searching algorithms.
- `find` for finding data in a different set of structures.
- `convert` for converting numbers and sizes to different types (Like HEX to BIN and KB to MB etc).
- `faker` for generating fake data for testing purposes.

### Prerequisites

Ensure you have Python installed on your system. **AlgoPy** supports Python versions 3.11 and above.
Expand Down
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| Version | Supported |
|---------|--------------------|
| 2.1.x | :white_check_mark: |
| 2.0.x | :white_check_mark: |
| 1.2.x | :x: |
| 1.1.x | :x: |
Expand Down
9 changes: 8 additions & 1 deletion algopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@
AlgoPy: A library for many different algorithms and other utilities.
"""

from . import find, log, sort, validate, convert
from . import find, log, sort, validate, convert, faker

find = find.Find
log = log.Log
validate = validate.Validate
convert = convert.Convert
faker = faker.Faker
sort = sort.Sort
Loading

0 comments on commit 4b0968e

Please sign in to comment.