https://github.com/definetlynotai/math_flag
A project that when given a number will tell you all mathematical attachments to it, like if its a prime number, etc
https://github.com/definetlynotai/math_flag
flags json library math numbers python3 simple
Last synced: 4 months ago
JSON representation
A project that when given a number will tell you all mathematical attachments to it, like if its a prime number, etc
- Host: GitHub
- URL: https://github.com/definetlynotai/math_flag
- Owner: DefinetlyNotAI
- License: mit
- Created: 2024-07-27T20:12:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-29T20:54:58.000Z (over 1 year ago)
- Last Synced: 2024-11-28T09:13:47.249Z (about 1 year ago)
- Topics: flags, json, library, math, numbers, python3, simple
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Math_Flag 📎
Welcome to Math_Flag 🌐,
a cutting-edge tool
designed to return all special mathematical flags for a number
inputted either inputted by command line, or by calling it from a function.
Crafted with python,
it's an actively developed project that is
aimed at simplifying math numerical flagging.
This comprehensive guide is here to equip you with everything you need to use Math_Flag effectively.
## 🛠️ Installation and Setup 🛠️
### Prerequisites
Ensure your system meets these requirements:
- Has Python 3.
- Has required libraries.
### Step-by-Step Installation
1. **Clone the Repository**: Use Git to clone Math_Flag to your local machine. Open Command Prompt as an administrator and run:
```powershell
git clone https://github.com/DefinetlyNotAI/Math_Flag.git
```
2. **Navigate to the Project Directory**: Change your current directory to the cloned CHANGE_ME folder:
```powershell
cd Math_Flag
```
### Basic Usage
You may import Math_Flag into your Python script as follows:
```python
from flag import Check
check = Check(use_json=False, show_errors=False)
print(check.evaluate(1234))
```
Where the following parameters are optional:
- `use_json`: Whether to use JSON when returning results, otherwise will use simple english. Defaults to True.
- `show_errors`: Whether to show errors or warnings from the code. Defaults to True.