Skip to content

Releases: BryanMorfe/ptdb

PTDB v1.1

10 Feb 07:26
Compare
Choose a tag to compare

PTDB v1.1

Whether you are new to PTDB or a current user, this update is a must.

Why?

Minor Update 1

New Features

  • New type for columns: Bool, Arrays of Ints, Floats, Bools, and Strings
  • New attributes: DATE, DEFAULT
  • New method for changing or setting the filename in the Database Object.

Other Updates

  • The attribute 'file' from the Database Object now defaults to None instead of an empty string.
  • If there are NULL columns with no items, it now sets them as None instead of a string 'NONE', that also applies for columns with no attributes
  • The code has been cleaned
  • Error Handling for better understanding
  • Bugs fixed
  • Performance Upgrades

Future

For PTDB version 2, aside from all the new features it will include, the code will be COMPLETELY cleaned, in the sense that it will be written in accordance with the PEP documents. A few changes in the code are to be expected, such as:

  • The name of Global Functions, Objects, Methods and Attributes.
  • The way some methods work, like the way arguments are passed; Instead of lists, tuples, etc.
  • The currently called 'file' attribute in the Database Object will be inaccessible, instead, it will be set or changed only through its method.
  • The Ptdb Object will be replaced by a Dictionary.

Downloads

Windows (.zip)
Linux (.tar.gz)

PTDB v1.0.1

26 Jan 17:23
Compare
Choose a tag to compare

PTDB first update

Updates

  • Fixes a bug that causes a FileNotFound error when trying to save or modify a database with no filename
  • Fixes a bug that stopped empty attributes defined as '[]' to be checked properly.
  • This is some what a 'new' feature, but I will leave it as a bug because it was mean't to do this from the beginning and I forgot to readd it; Fixed a bug in the parsing that didn't let the column type define the value type in the Ptdb Object.
  • Fixes a bug that would cause an error when checking for an item in a column different than 'STRING'
  • Other small bugs fixed.
  • Extra: Added better source code documentation.

Download for installation:

For Windows zip
For Linux tar.gz

PTDB v1.0.0

25 Jan 20:09
Compare
Choose a tag to compare

PTDB v1.0.0 (Plain Text Database)

First Release of PTDB

PTDB is compatible with Python 2 and Python 3!

Download

PTDB v1.0.0 zip for windows
PTDB v1.0.0 tar.gz for linux

Installation:

For Windows Users:

  • Download the lastest PTDB version available in the 'zip' format.
  • Extract the archive.
  • Open the Command Prompt as an administrator (cmd.exe).
  • Navigate to the resulting folder of the archive (where the .py files are) in the cmd. Example: If the folder is called PTDB and it's on the desktop, you write the command cd c:\users\youruser\desktop\ptdb, assuming the drive where windows is installed is 'C:' and replacing 'youruser' for your current windows user.
  • Run the command python setup.py install and it should install.

For Linux:

  • Download the lastest PTDB version available in the 'tar.gz' format.
  • Extract the archive.
  • Open the Terminal Window.
  • Navigate to the resulting folder of the archive (where the .py files are), using the 'cd' command.
  • To install for Python 3, run the command python3 setup.py install.
  • To install for Python 2, run the command python setup.py install.

Feel free to contact me at anytime if you have any questions or to report anything about the software.