notepads - PyPi
notepads: V5.8.0
Installing
# Linux/macOS
python3 pip install -U notepads
# Windows
py -3 -m pip install -U notepads
Supports TypeHints
Create runtime only directory [1] -> Make folders [2] -> Make files [3] -> Make notes for code
========================================
# View Directory:
notepads.directory
notepads.dir
notepads.source
notepads.src
Directory Example Layout:
Directory["/notepads/"]
🗀 examples
↳ 🗎 example.py
🗎 main.py
========================================
Usage
100ms | (Average)
import notepads
notepads.note \
(name="introduction",
content="""Create runtime only directory
[1] -> Make folders
[2] -> Make files
[3] -> Make notes for code""",
author = "'notepads.py' Team")
print(notepads.get_note('introduction').content)
"""
Lets create a file `nps.txt` and a folder `examples` in the directory.
"""
notepads.folder \
(name="examples",
description="Examples of using notepads.",
version="0.1.0",
author="'notepads.py' Team",
some_random_kwarg='hi there!')
# folder.some_random_kwarg
# >>> hi there!
"""
Any other kwarg you pass in will be saved as a variable for you to access later.
"""
notepads.file \
(name="nps.txt",
description="This is a file.",
version="0.1.0",
author="'notepads.py' Team")
print(notepads.directory) # notepads.dir | notepads.source | notepads.src
"""
Output:
Directory["/notepads/"]
🗀 examples
🗎 nps.txt
"""
"""
Lets add a file `test.py` to the `examples` folder.
"""
notepads.file \
(name="test.py",
parent='examples')
print(notepads.directory) # notepads.dir | notepads.source | notepads.src
"""
Output:
Directory["/notepads/"]
🗀 examples
↳ 🗎 test.py
🗎 nps.txt
"""
"""
Now lets write to some files!
"""
nps_file = notepads.get('nps.txt')
test_file = notepads.get('examples').get('test.py')
nps_file.write("Hello, World!")
test_file.write("print('Hello, World!')")
print(nps_file.read())
print(test_file.read())
"""
nps.txt:
Hello, World!
test.py:
print('Hello, World!')
"""
nps_file.wipe()
print(nps_file.read())
"""
Output:
"""
Metadata
Release files for notepads 5.8.0
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 |
|---|---|---|---|---|
| notepads-5.8.0.tar.gz | 813.6 kB | Without provenance | Details for notepads-5.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| notepads-5.8.0-py3-none-any.whl | Python 3 | none | any | Details for notepads-5.8.0-py3-none-any.whl |
Total release size: 828.9 kB
Release files / notepads-5.8.0.tar.gz
| Download URL | notepads-5.8.0.tar.gz |
|---|---|
| Size | 813.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49dd3612249653441656c537256c6a264cb544ec02defe6ee9b07655f641b0c6
|
|
BLAKE2b-256 checksum How to use checksums |
83e696cb7c534fe5d2d1633a21d2dc09953dcd99ca1a17d0f1c4d074e10c8d73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / notepads-5.8.0-py3-none-any.whl
| Download URL | notepads-5.8.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d57aa190be32364dcfefcb9d3a19fdb09b6650da7b1b466cb4ea4e7034c6b6ad
|
|
BLAKE2b-256 checksum How to use checksums |
36f2fa661cef7daff430759fd0d213794c06a6d430f538c74f8825a683c20496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for notepads 5.8.0
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.