sqlthon 0.1.4__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqlthon
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A simple package for SQLite3 operations
5
5
  Author-email: SAUMS <mohamnown@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sqlthon"
7
- version = '0.1.4'
7
+ version = '0.1.5'
8
8
  description = "A simple package for SQLite3 operations"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -14,8 +14,8 @@ Channel: https://ble.ir/saums_channel
14
14
 
15
15
  from .core import *
16
16
 
17
- __all__ = ['Field', 'Connect', 'SqlthonError', 'YouHackerError', 'TableError', 'TableNotFoundError', 'TableAlreadyExistsError', 'ColumnError', 'ColumnNotFoundError', 'RecordError', 'UniqueConstraintError', 'NotNullConstraintError', 'DataTypeError', 'ForeignKeyError', 'CheckConstraintError', 'PrimaryKeyError', 'QueryError', 'SyntaxError', 'NoSuchFunctionError', 'WrongNumberOfArgumentsError', 'DatabaseError', 'DatabaseLockedError', 'DatabaseReadOnlyError', 'DatabaseCorruptError', 'DatabaseFullError', 'DatabaseBusyError', 'IndexError', 'IndexNotFoundError', 'IndexAlreadyExistsError', 'ViewError', 'ViewNotFoundError', 'ViewAlreadyExistsError', 'TransactionError', 'TransactionAlreadyActiveError', 'TransactionNotActiveError', 'BackupError', 'BackupPathError', 'BackupPermissionError', 'CsvError', 'CsvFileNotFoundError', 'CsvFormatError', 'PandasError', 'PandasNotInstalledError', 'ValidationError', 'InvalidColumnCountError', 'InvalidValueError']
18
- __version__ = '0.1.4'
17
+ __all__ = ['Field', 'Connect', 'SqlthonError', 'YouHackerError', 'TableError', 'TableNotFoundError', 'TableAlreadyExistsError', 'ColumnError', 'ColumnNotFoundError', 'RecordError', 'UniqueConstraintError', 'NotNullConstraintError', 'DataTypeError', 'ForeignKeyError', 'CheckConstraintError', 'PrimaryKeyError', 'QueryError', 'SyntaxError_', 'NoSuchFunctionError', 'WrongNumberOfArgumentsError', 'DatabaseError', 'DatabaseLockedError', 'DatabaseReadOnlyError', 'DatabaseCorruptError', 'DatabaseFullError', 'DatabaseBusyError', 'IndexError_', 'IndexNotFoundError', 'IndexAlreadyExistsError', 'ViewError', 'ViewNotFoundError', 'ViewAlreadyExistsError', 'TransactionError', 'TransactionAlreadyActiveError', 'TransactionNotActiveError', 'BackupError', 'BackupPathError', 'BackupPermissionError', 'CsvError', 'CsvFileNotFoundError', 'CsvFormatError', 'PandasError', 'PandasNotInstalledError', 'ValidationError', 'InvalidColumnCountError', 'InvalidValueError']
18
+ __version__ = '0.1.5'
19
19
  __author__ = "SAUMS"
20
20
  __email__ = "saums1391@gmail.com"
21
21
  __description__ = "Operate With SQLite3 Buy Simple"
@@ -440,7 +440,7 @@ class ForeignKeyError(RecordError):__module__ = None
440
440
  class CheckConstraintError(RecordError):__module__ = None
441
441
  class PrimaryKeyError(RecordError):__module__ = None
442
442
  class QueryError(SqlthonError):__module__ = None
443
- class SyntaxError(QueryError):__module__ = None
443
+ class SyntaxError_(QueryError):__module__ = None
444
444
  class NoSuchFunctionError(QueryError):__module__ = None
445
445
  class WrongNumberOfArgumentsError(QueryError):__module__ = None
446
446
  class DatabaseError(SqlthonError):__module__ = None
@@ -449,7 +449,7 @@ class DatabaseReadOnlyError(DatabaseError):__module__ = None
449
449
  class DatabaseCorruptError(DatabaseError):__module__ = None
450
450
  class DatabaseFullError(DatabaseError):__module__ = None
451
451
  class DatabaseBusyError(DatabaseError):__module__ = None
452
- class IndexError(SqlthonError):__module__ = None
452
+ class IndexError_(SqlthonError):__module__ = None
453
453
  class IndexNotFoundError(IndexError):__module__ = None
454
454
  class IndexAlreadyExistsError(IndexError):__module__ = None
455
455
  class ViewError(SqlthonError):__module__ = None
@@ -508,7 +508,7 @@ def _handler_error(e: Exception):
508
508
  raise WrongNumberOfArgumentsError(msg) from None
509
509
 
510
510
  elif "syntax error" in msg:
511
- raise SyntaxError(f"invalid {msg.split()[-1].replace('"', "'")}") from None
511
+ raise SyntaxError_(f"invalid {msg.split()[-1].replace('"', "'")}") from None
512
512
 
513
513
  elif "database is locked" in msg:
514
514
  raise DatabaseLockedError(msg) from None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqlthon
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A simple package for SQLite3 operations
5
5
  Author-email: SAUMS <mohamnown@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes