Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
.. image:: https://badge.fury.io/py/architect.svg :target: https://badge.fury.io/py/architect
.. image:: https://img.shields.io/travis/maxtepkeev/architect/master.svg :target: https://travis-ci.org/maxtepkeev/architect
.. image:: https://img.shields.io/coveralls/maxtepkeev/architect/master.svg :target: https://coveralls.io/r/maxtepkeev/architect?branch=master
Architect is a set of tools which enhances ORMs written in Python with more features and simplifies different database related complex tasks.
Supported ORMs
Django <https://www.djangoproject.com>
_ >= 1.4Peewee <https://peewee.readthedocs.io>
_ >= 2.8.0Pony <https://ponyorm.com>
_ >= 0.5.0SQLAlchemy <https://www.sqlalchemy.org>
_ >= 1.0.0SQLObject <https://www.sqlobject.org>
_ >= 3.5.0Supported DBs
PostgreSQL <https://www.postgresql.org>
_ >= 8.0MySQL <https://www.mysql.com>
_ >= 5.5Supports Python 2.7, 3.5 - 3.8
Extensively documented
Architect has no required external dependencies except for the ORM it will be used with.
To install Architect, simply:
.. code-block:: bash
$ pip install architect
or:
.. code-block:: bash
$ easy_install architect
Documentation is available at https://architect.readthedocs.io.
I will be glad to get your feedback <https://github.com/maxtepkeev/architect/issues>
, pull requests <https://github.com/maxtepkeev/architect/pulls>
, issues <https://github.com/maxtepkeev/architect/issues>
_,
whatever. Feel free to contact me for any questions.
If you like this project and want to support it you have several options:
#. Just give this project a star at the GitHub <https://github.com/maxtepkeev/architect>
_ repository.
#. Become a sponsor. Contact me via tepkeev at gmail dot com
if you are interested in becoming a sponsor
and we will discuss the terms and conditions.
PremiumSoft for supporting this project by providing Open Source License <https://www.navicat.com/store/open-source>
_ of Navicat <https://www.navicat.com>
_.
.. image:: https://architect.readthedocs.io/_images/navicat_logo.png :width: 300px :height: 121px :target: https://www.navicat.com
Architect is licensed under Apache 2.0 license. Check the LICENSE <https://github.com/maxtepkeev/architect/blob/master/LICENSE>
_ for details.
0.6.0 (2020-11-14) ++++++++++++++++++
Improvements:
Issue #73 <https://github.com/maxtepkeev/architect/issues/73>
__)Issue #76 <https://github.com/maxtepkeev/architect/issues/76>
__)Changes:
Bugfixes:
Issue #58 <https://github.com/maxtepkeev/architect/issues/58>
__)0.5.6 (2017-05-01) ++++++++++++++++++
DB=all
environmental variabledefault
databasera2er <https://github.com/ra2er>
__)0.5.5 (2016-10-08) ++++++++++++++++++
0.5.4 (2016-07-04) ++++++++++++++++++
Issue #30 <https://github.com/maxtepkeev/architect/issues/30>
__ (Support for
using database routers to determine correct database for a model in a multi database configuration)0.5.3 (2015-11-08) ++++++++++++++++++
Issue #21 <https://github.com/maxtepkeev/architect/issues/21>
__ (Unable to partition a
model with non-lazy translations)0.5.2 (2015-07-31) ++++++++++++++++++
Issue #14 <https://github.com/maxtepkeev/architect/issues/14>
__ (Error when trying
to save a record into a table if partitioned column value had special characters inside, using
string_firstchars
and string_lastchars
partition subtypes)Issue #11 <https://github.com/maxtepkeev/architect/issues/11>
__ (Error when trying
to save a record into a table that was partitioned by a column that can be NULL
, now if a column, that
was used for partitioning, has NULL
value it will be inserted into a special partition with _null
postfix)default
attribute
set to some value0.5.1 (2015-06-08) ++++++++++++++++++
Issue #13 <https://github.com/maxtepkeev/architect/issues/13>
__ (MySQL support was broken
in v0.5.0 released to PyPI)0.5.0 (2015-05-08) ++++++++++++++++++
Issue #9 <https://github.com/maxtepkeev/architect/issues/9>
__ (Support for multiple
databases)docs <https://architect.readthedocs.io/features/custom.html>
__
for detailsdsn
partition option renamed to db
to cover more use casesDsnParseError
exception renamed to OptionValueError
to cover more use cases0.4.0 (2015-04-18) ++++++++++++++++++
wheel <https://wheel.readthedocs.io>
__ supportSQLObject <https://www.sqlobject.org>
__ ORM supportinteger
(thanks to Nikolay Yarovoy <https://github.com/nickspring>
),
string_firstchars
(thanks to Dmitry Brytkov <https://github.com/dimoha>
) and string_lastchars
range partition subtypes, see docs <https://architect.readthedocs.io/features/partition/postgresql.html #range>
__ for detailsrange
partition option renamed to constraint
to better suit new partition subtypespartition
command to
apply new refactored triggers to the databasearchitect.uninstall
decorator wasn't able to restore modified model methods under
Python 30.3.0 (2015-04-05) ++++++++++++++++++
architect.install
decorator which dynamically injects
requested feature, e.g. partition, into a model under the architect
namespace, e.g.
model.architect.partition
. No more mixins, inheritance and nested classes with settings that
pollute model's namespace. More information is available in the docs <https://architect.readthedocs.io /features/index.html>
__operation
feature which provide an abstraction layer to execute raw SQL statements
which will work with any supported ORM, see docs <https://architect.readthedocs.io/features/ operation.html>
__Issue #8 <https://github.com/maxtepkeev/architect/issues/8>
__ (cannot import name string_literal
error with PonyORM and PyMySQL if pymysql.install_as_MySQLdb()
was used)Issue #7 <https://github.com/maxtepkeev/architect/pull/7>
__ (SQLite dummy backend was
completely broken)Issue #4 <https://github.com/maxtepkeev/architect/pull/4>
__ (autocommit cannot be used inside a transaction
error with Django if a model was used inside with transaction.atomic()
block)Issue #2 <https://github.com/maxtepkeev/architect/issues/2>
__ (partition
command was unable to find module with models to partition)Issue #1 <https://github.com/maxtepkeev/architect/issues/1>
__ (relation already exists
error when trying to insert data into non-existent partition simultaneously from
several queries) (thanks to Daniel Kontsek <https://github.com/dn0>
__)0.2.0 (2014-07-19) ++++++++++++++++++
0.1.0 (2014-07-13) ++++++++++++++++++
FAQs
A set of tools which enhances ORMs written in Python with more features
We found that architect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.