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.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: JetDB-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6312a8aeed851a5a247f074c7cebcd202e36f72f519ba0e3f0b7b8b58ca00169
MD5 6aa09b09f7be7626e838bc331f5ebe48
BLAKE2b-256 3b2cc808b462a4907669615a5f27fa6f1c556c40084e324e928503f3eee67038

See more details on using hashes here.

File details

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

File metadata

  • Download URL: JetDB-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f06fb931fd68b264682e2231bf4819d909a30ba9da524f90a956537c5e0e92db
MD5 18f188dfdccc0e7815e0559a73de3bf3
BLAKE2b-256 05c7cb985054d8924b770de38ca8b05e5dce1b0ccecffa6c130d4120de6a9504

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