Skip to main content

This module is designed for everyone to have an easier time handling txt files. JSON file handling will be added soon.

Project description

Disclaimer

This package has strict syntax. If you do not like strict syntax, do not use. This package makes file handling simpler.

Current Version: [Version 0.2.5]

Most functions are still in development, so please report bugs if there are any. Report bugs by sending an email to adityasrijeet12355@gmail.com

Example Code


from jetdb import functions
db = functions()
db.setup()

Functions Supplied

• Setup - Updates, Restarts, Removes dependencies in the background
• Add - Adds a line
• Index - Finds the line number for you
• Index Replace - Indexes the line and replaces it
• New File - Creates a new file for you
• Clear - Clears a whole file for you

How to use functions


Example code:

from jetdb import functions
db = functions()
db.setup()
filename = "--> INSERT FILENAME HERE <--"
db.clear(f"{filename}")
db.add(f"{filename}", "This module is cool!", msg=False)
db.add(f"{filename}", "This module is cool!", msg=True)
db.listed_replace(f"{filename}", "This module is cool!", "This module is the best", msg=False)
db.printRead(f"{filename}")

You get it, use the variable you used to control the functions, then you add the function name after it.

Example code:

  from jetdb import functions
  db = functions()
  db.setup()
  db.printRead(f"{filename}")

That previous block of code will read a file and print it.

Changelog


Version 0.2.8


-\ Changed the dependencies
-\ Minor error bug fixes
+ Added description
+ Added Changelog

Version 0.2.0


+ Added a dependency
+ Added index feature
- Removed search line feature
-\ Remastered new file feature
-\ Remastered Index Replace feature

Version 0.1.5


+ Added a dependency
+ Added search line feature
-\ Remastered new file feature
-\ Remastered Index Replace feature

Version 0.1.1


-\ Minor bug fixes
-\ Revamped speed
-\ Patched up clear file function

Version 0.1.0


How everything started:
+ Wait function
+ Add line function
+ Replace line function beta

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

JetDB-0.2.99.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

JetDB-0.2.99-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file JetDB-0.2.99.tar.gz.

File metadata

  • Download URL: JetDB-0.2.99.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.15.0-1027-gcp

File hashes

Hashes for JetDB-0.2.99.tar.gz
Algorithm Hash digest
SHA256 ec0783e09dff758c949aa70d2f51bbf449c399570da97c31a28c3f42e9b75b41
MD5 d338ab3817fd27d82db9b511229960d8
BLAKE2b-256 11244d9489cf690b8026e67dbedfa62a06b463e707ad5fac28bd837242603837

See more details on using hashes here.

File details

Details for the file JetDB-0.2.99-py3-none-any.whl.

File metadata

  • Download URL: JetDB-0.2.99-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.15.0-1027-gcp

File hashes

Hashes for JetDB-0.2.99-py3-none-any.whl
Algorithm Hash digest
SHA256 e8ea8758fb43d50928e22d1f7388ed8ce28fd67d228311d8d6f3d151f6147fcf
MD5 46387848b2fb99424710d2295787541c
BLAKE2b-256 5ad916a680b3e298f809323257d18c057b5421ed881c187e3a90b55840741687

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