MorePie
FAQ
What is MorePie?
MorePie is a library made to introduce more features to Python, such as a two-dimensional table of contents and a hand-made HashMap class
Documentation
ColumnTypes
ColumnTypes is an Enum class, meaning that the following are its usages:
ColumnTypes.automatic_id # Will return an error if used in a Matrix
ColumnTypes.string
ColumnTypes.integer
ColumnTypes.Real
Column
Column(name: str, kind: ColumnTypes) -- Creates a new Columnn
Properties
Column.nameColumn.kind(equivilant toColumn.type)
Matrix
!! The Matrix class is still under work and is not recommended for production. You should use the built-in dictionaries instead!
Matrix(*columns: Column) -- Creates a new Matrix
add_column(*columns: Column) -- Adds a new column
add_row(**data) -- Adds a new row. You need to parse as arguments values for each column you defined in the table
HashMap
The HashMap class should just be initialized with a dictionary or two lists, and behaves similarly to a normal dictionary. We would recommend using the built-in dict instead, as the HashMap class still has bugs.
ErrorSuppressor
The ErrorSuppressor class is made to be used as a context manager.
Syntax: ErrorSuppressor(errors: tuple[Exception] = ())
sum_of_array(array: np.ndarray)
Returns the sum of all items in an array
sum_of_arange(arange: np.arange)
Self-Explanatory
sum_of_range(Range: range)
Self-Explanatory
execute(command: str)
Execute a console command. (Command behavior may differ based on the operating system)
Is equivalent to doing os.sys()
Can also be used as execute(*commands: str) to run multiple consecutive commands
Creator Notes
MorePieis still in-work. We recommend testing it with your code before implementing it into any programs!- For the best experience, we recommend downloading the Latest Version
Metadata
Release files for MorePie 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| morepie-1.0.1.tar.gz | 13.8 kB | Without provenance | Details for morepie-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MorePie-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for MorePie-1.0.1-py3-none-any.whl |
Total release size: 28.0 kB
Release files / morepie-1.0.1.tar.gz
| Download URL | morepie-1.0.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85a50a213c33a69d5cfeeaf0f503399a9104addac62769ca0cf3eec6752baa9c
|
|
BLAKE2b-256 checksum How to use checksums |
6d1450d1718e6c982adaddf4b0b38d5dcbe8089f432e1ed26a6a8a4c7ce569d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / MorePie-1.0.1-py3-none-any.whl
| Download URL | MorePie-1.0.1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d73643a9c85b3b9f600fa674bdd53b49632e3c5d626492961fb13c9a5c75952
|
|
BLAKE2b-256 checksum How to use checksums |
cf67a6a463464356484d6b1282fe762452cf9d42e14a94e7fdde664e2806f4c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Security for MorePie 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.