an full package with tools and functions
Project description
Hsrogl
This is an full package with tools and functions
Hsrogl is make for all people to use
Hsrogl can support all systems
How to install
Type this code in the console (You must have python):
pip install hsrogl
Usage
Math
Example:
</code></pre> </blockquote> <blockquote> <h1>-- Coding by utf-8 --</h1> </blockquote> <blockquote> </blockquote> <blockquote> <p>import hsrogl.math as mt</p> </blockquote> <blockquote> </blockquote> <blockquote> <h1>Calc the circumference of the square</h1> </blockquote> <blockquote> </blockquote> <blockquote> <p>a=mt.square2(3,3)</p> </blockquote> <blockquote> </blockquote> <blockquote> <p>print(a)</p> </blockquote> <blockquote> </blockquote> <blockquote> <h1>Program end</h1> </blockquote> <blockquote> <pre><code>
Output:
12
This function can calc the circumference of the square
Another example:
</code></pre> </blockquote> <blockquote> <h1>-- Coding by utf-8 --</h1> </blockquote> <blockquote> </blockquote> <blockquote> <p>import hsrogl.math as mt</p> </blockquote> <blockquote> </blockquote> <blockquote> <h1>Output the 'Phi' value</h1> </blockquote> <blockquote> </blockquote> <blockquote> <p>a=mt.phi()</p> </blockquote> <blockquote> </blockquote> <blockquote> <p>print(a)</p> </blockquote> <blockquote> </blockquote> <blockquote> <h1>Program end</h1> </blockquote> <blockquote> <pre><code>
Output:
1.618
This function can output the 'Phi' value
You can use
dir(hsrogl.math)
to see the functions
Ui
Example:
</code></pre> </blockquote> <blockquote> <h1>-- Coding by utf-8 --</h1> </blockquote> <blockquote> </blockquote> <blockquote> <p>import hsrogl.ui as ui</p> </blockquote> <blockquote> </blockquote> <blockquote> </blockquote> <blockquote> <p>a=ui.Select(["=(","=|","=)","=D"],"? ",": ","cancel",True)</p> </blockquote> <blockquote> </blockquote> <blockquote> <p>print(a)</p> </blockquote> <blockquote> </blockquote> <blockquote> <h1>Program end</h1> </blockquote> <blockquote> <pre><code>
Input:
=(
Output:
=(
This is a selection ui function
You can use
dir(hsrogl.ui)
to see the functions
Version log
1.0.1
: Add 'bool','unicode'
1.0
: First release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hsrogl-1.0.1.tar.gz
(10.5 kB
view details)
File details
Details for the file hsrogl-1.0.1.tar.gz
.
File metadata
- Download URL: hsrogl-1.0.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d52f55edfa2ff8785b9f98a1401471c5aadfd2911cb27c5a7852c05605d7b98c |
|
MD5 | 9e3f6e73e902e9e50bc0409a80a78990 |
|
BLAKE2b-256 | 757edcc88c1fa6bd665d8c926f031b99dca3b4b5cd96e89848a5fe0a870ed67e |