sqlthon 0.1.3__tar.gz → 0.1.4__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.
- {sqlthon-0.1.3 → sqlthon-0.1.4}/PKG-INFO +1 -1
- {sqlthon-0.1.3 → sqlthon-0.1.4}/pyproject.toml +1 -1
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon/__init__.py +1 -1
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon/core.py +44 -44
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon.egg-info/PKG-INFO +1 -1
- {sqlthon-0.1.3 → sqlthon-0.1.4}/README.md +0 -0
- {sqlthon-0.1.3 → sqlthon-0.1.4}/setup.cfg +0 -0
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon/keywords.py +0 -0
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon.egg-info/SOURCES.txt +0 -0
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon.egg-info/dependency_links.txt +0 -0
- {sqlthon-0.1.3 → sqlthon-0.1.4}/src/sqlthon.egg-info/top_level.txt +0 -0
|
@@ -15,7 +15,7 @@ Channel: https://ble.ir/saums_channel
|
|
|
15
15
|
from .core import *
|
|
16
16
|
|
|
17
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.
|
|
18
|
+
__version__ = '0.1.4'
|
|
19
19
|
__author__ = "SAUMS"
|
|
20
20
|
__email__ = "saums1391@gmail.com"
|
|
21
21
|
__description__ = "Operate With SQLite3 Buy Simple"
|
|
@@ -425,50 +425,50 @@ class Connect:
|
|
|
425
425
|
|
|
426
426
|
|
|
427
427
|
# ____________| ERRORS |_________
|
|
428
|
-
class SqlthonError(Exception):
|
|
429
|
-
class YouHackerError(SqlthonError, PermissionError):
|
|
430
|
-
class TableError(SqlthonError):
|
|
431
|
-
class TableNotFoundError(TableError):
|
|
432
|
-
class TableAlreadyExistsError(TableError):
|
|
433
|
-
class ColumnError(SqlthonError):
|
|
434
|
-
class ColumnNotFoundError(ColumnError):
|
|
435
|
-
class RecordError(SqlthonError):
|
|
436
|
-
class UniqueConstraintError(RecordError):
|
|
437
|
-
class NotNullConstraintError(RecordError):
|
|
438
|
-
class DataTypeError(RecordError):
|
|
439
|
-
class ForeignKeyError(RecordError):
|
|
440
|
-
class CheckConstraintError(RecordError):
|
|
441
|
-
class PrimaryKeyError(RecordError):
|
|
442
|
-
class QueryError(SqlthonError):
|
|
443
|
-
class SyntaxError(QueryError):
|
|
444
|
-
class NoSuchFunctionError(QueryError):
|
|
445
|
-
class WrongNumberOfArgumentsError(QueryError):
|
|
446
|
-
class DatabaseError(SqlthonError):
|
|
447
|
-
class DatabaseLockedError(DatabaseError):
|
|
448
|
-
class DatabaseReadOnlyError(DatabaseError):
|
|
449
|
-
class DatabaseCorruptError(DatabaseError):
|
|
450
|
-
class DatabaseFullError(DatabaseError):
|
|
451
|
-
class DatabaseBusyError(DatabaseError):
|
|
452
|
-
class IndexError(SqlthonError):
|
|
453
|
-
class IndexNotFoundError(IndexError):
|
|
454
|
-
class IndexAlreadyExistsError(IndexError):
|
|
455
|
-
class ViewError(SqlthonError):
|
|
456
|
-
class ViewNotFoundError(ViewError):
|
|
457
|
-
class ViewAlreadyExistsError(ViewError):
|
|
458
|
-
class TransactionError(SqlthonError):
|
|
459
|
-
class TransactionAlreadyActiveError(TransactionError):
|
|
460
|
-
class TransactionNotActiveError(TransactionError):
|
|
461
|
-
class BackupError(SqlthonError):
|
|
462
|
-
class BackupPathError(BackupError):
|
|
463
|
-
class BackupPermissionError(BackupError):
|
|
464
|
-
class CsvError(SqlthonError):
|
|
465
|
-
class CsvFileNotFoundError(CsvError):
|
|
466
|
-
class CsvFormatError(CsvError):
|
|
467
|
-
class PandasError(SqlthonError):
|
|
468
|
-
class PandasNotInstalledError(PandasError):
|
|
469
|
-
class ValidationError(SqlthonError):
|
|
470
|
-
class InvalidColumnCountError(ValidationError):
|
|
471
|
-
class InvalidValueError(ValidationError):
|
|
428
|
+
class SqlthonError(Exception):__module__ = None
|
|
429
|
+
class YouHackerError(SqlthonError, PermissionError):__module__ = None
|
|
430
|
+
class TableError(SqlthonError):__module__ = None
|
|
431
|
+
class TableNotFoundError(TableError):__module__ = None
|
|
432
|
+
class TableAlreadyExistsError(TableError):__module__ = None
|
|
433
|
+
class ColumnError(SqlthonError):__module__ = None
|
|
434
|
+
class ColumnNotFoundError(ColumnError):__module__ = None
|
|
435
|
+
class RecordError(SqlthonError):__module__ = None
|
|
436
|
+
class UniqueConstraintError(RecordError):__module__ = None
|
|
437
|
+
class NotNullConstraintError(RecordError):__module__ = None
|
|
438
|
+
class DataTypeError(RecordError):__module__ = None
|
|
439
|
+
class ForeignKeyError(RecordError):__module__ = None
|
|
440
|
+
class CheckConstraintError(RecordError):__module__ = None
|
|
441
|
+
class PrimaryKeyError(RecordError):__module__ = None
|
|
442
|
+
class QueryError(SqlthonError):__module__ = None
|
|
443
|
+
class SyntaxError(QueryError):__module__ = None
|
|
444
|
+
class NoSuchFunctionError(QueryError):__module__ = None
|
|
445
|
+
class WrongNumberOfArgumentsError(QueryError):__module__ = None
|
|
446
|
+
class DatabaseError(SqlthonError):__module__ = None
|
|
447
|
+
class DatabaseLockedError(DatabaseError):__module__ = None
|
|
448
|
+
class DatabaseReadOnlyError(DatabaseError):__module__ = None
|
|
449
|
+
class DatabaseCorruptError(DatabaseError):__module__ = None
|
|
450
|
+
class DatabaseFullError(DatabaseError):__module__ = None
|
|
451
|
+
class DatabaseBusyError(DatabaseError):__module__ = None
|
|
452
|
+
class IndexError(SqlthonError):__module__ = None
|
|
453
|
+
class IndexNotFoundError(IndexError):__module__ = None
|
|
454
|
+
class IndexAlreadyExistsError(IndexError):__module__ = None
|
|
455
|
+
class ViewError(SqlthonError):__module__ = None
|
|
456
|
+
class ViewNotFoundError(ViewError):__module__ = None
|
|
457
|
+
class ViewAlreadyExistsError(ViewError):__module__ = None
|
|
458
|
+
class TransactionError(SqlthonError):__module__ = None
|
|
459
|
+
class TransactionAlreadyActiveError(TransactionError):__module__ = None
|
|
460
|
+
class TransactionNotActiveError(TransactionError):__module__ = None
|
|
461
|
+
class BackupError(SqlthonError):__module__ = None
|
|
462
|
+
class BackupPathError(BackupError):__module__ = None
|
|
463
|
+
class BackupPermissionError(BackupError):__module__ = None
|
|
464
|
+
class CsvError(SqlthonError):__module__ = None
|
|
465
|
+
class CsvFileNotFoundError(CsvError):__module__ = None
|
|
466
|
+
class CsvFormatError(CsvError):__module__ = None
|
|
467
|
+
class PandasError(SqlthonError):__module__ = None
|
|
468
|
+
class PandasNotInstalledError(PandasError):__module__ = None
|
|
469
|
+
class ValidationError(SqlthonError):__module__ = None
|
|
470
|
+
class InvalidColumnCountError(ValidationError):__module__ = None
|
|
471
|
+
class InvalidValueError(ValidationError):__module__ = None
|
|
472
472
|
|
|
473
473
|
|
|
474
474
|
def _handler_error(e: Exception):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|