Skip to main content

Notepad with basic math functions

Project description

scratchpad

Basic notepad app with some built in calculator functions written in python using Tkinter.

Scratchpad can be used for notetaking and will automatically perform in-line math while you type. For those interested, it basically finds any mathematical looking questions and throws them into python.

Alt

Supported Operations

  •    +     (addition)
  •    -      (subtract)
  •    /      (divide)
  •    *      (multiply)
  •    **      (exponent)
  •    ()      (order of operations enforced by parenthesis)
  •    ==      (comparison, as in 6 == 2 * 3 => true)

How to install / run

Using this github repo / source code

Just download (clone or otherwise) everything here and run

python3 scratchpad.py

-or-

./scratchpad.py

Using PyPi package repo

pip3 install scratchpad-deadmund

python3 -m scratchpad

Generate a .deb and install that

(still waiting to get package listed in Ubuntu)

cd scratchpad/debian-packaging/

debuild --no-tgz-check

cd ../

sudo dpkg -i scratchpad_1.1.0_all.deb

then to run

scratchpad

Generate a pypi package and install that

cd scratchpad/pypi-packaging

python3 setup.py sdist bdist_wheel

pip3 install dist/*

then to run

python3 -m scratchpad

[//]: # The tool chain you need is pip3 install twine, setuptools, wheel, mkpkg [//]: # To check for mistakes in package use: python3 -m twine check dist/* [//]: # To install it locally (without pypi): pip3 install dist/* [//]: # To upload it: python3 -m twine upload dist/* [//]: # This might prove useful: python3 -m mkpkg --cli scratchpad.py scratchpad

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scratchpad-deadmund-1.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

scratchpad_deadmund-1.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file scratchpad-deadmund-1.1.0.tar.gz.

File metadata

  • Download URL: scratchpad-deadmund-1.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for scratchpad-deadmund-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2484b3947e9d90ee6bda7c00357ec6889d8b220ebc951e04d2ca1d774a562cd2
MD5 6e48e73b65db1f9c8fc0c5f4c89fcb3a
BLAKE2b-256 aea45d1ff06a26cfc7a48ec5e930e9ef18251704acf8df13af7cead9a8dfbd92

See more details on using hashes here.

File details

Details for the file scratchpad_deadmund-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: scratchpad_deadmund-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for scratchpad_deadmund-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0385049a688df28d67f491d801e978175c74d20ab7535dff5acc53c6b667b6
MD5 29ecd3ba9720fb1e4e25fb6ce80fbf5a
BLAKE2b-256 7231d4c934d21b6b1fb510a6349a213cd8e68a317d6af6e8e915df97f223312a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page