add Linux_i686
This commit is contained in:
parent
75f9a2fcbc
commit
95cd9b11f2
1644 changed files with 564260 additions and 0 deletions
|
|
@ -0,0 +1,96 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: alembic
|
||||
Version: 0.6.5
|
||||
Summary: A database migration tool for SQLAlchemy.
|
||||
Home-page: http://bitbucket.org/zzzeek/alembic
|
||||
Author: Mike Bayer
|
||||
Author-email: mike@zzzcomputing.com
|
||||
License: MIT
|
||||
Description: Alembic is a new database migrations tool, written by the author
|
||||
of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
|
||||
offers the following functionality:
|
||||
|
||||
* Can emit ALTER statements to a database in order to change
|
||||
the structure of tables and other constructs
|
||||
* Provides a system whereby "migration scripts" may be constructed;
|
||||
each script indicates a particular series of steps that can "upgrade" a
|
||||
target database to a new version, and optionally a series of steps that can
|
||||
"downgrade" similarly, doing the same steps in reverse.
|
||||
* Allows the scripts to execute in some sequential manner.
|
||||
|
||||
The goals of Alembic are:
|
||||
|
||||
* Very open ended and transparent configuration and operation. A new
|
||||
Alembic environment is generated from a set of templates which is selected
|
||||
among a set of options when setup first occurs. The templates then deposit a
|
||||
series of scripts that define fully how database connectivity is established
|
||||
and how migration scripts are invoked; the migration scripts themselves are
|
||||
generated from a template within that series of scripts. The scripts can
|
||||
then be further customized to define exactly how databases will be
|
||||
interacted with and what structure new migration files should take.
|
||||
* Full support for transactional DDL. The default scripts ensure that all
|
||||
migrations occur within a transaction - for those databases which support
|
||||
this (Postgresql, Microsoft SQL Server), migrations can be tested with no
|
||||
need to manually undo changes upon failure.
|
||||
* Minimalist script construction. Basic operations like renaming
|
||||
tables/columns, adding/removing columns, changing column attributes can be
|
||||
performed through one line commands like alter_column(), rename_table(),
|
||||
add_constraint(). There is no need to recreate full SQLAlchemy Table
|
||||
structures for simple operations like these - the functions themselves
|
||||
generate minimalist schema structures behind the scenes to achieve the given
|
||||
DDL sequence.
|
||||
* "auto generation" of migrations. While real world migrations are far more
|
||||
complex than what can be automatically determined, Alembic can still
|
||||
eliminate the initial grunt work in generating new migration directives
|
||||
from an altered schema. The ``--autogenerate`` feature will inspect the
|
||||
current status of a database using SQLAlchemy's schema inspection
|
||||
capabilities, compare it to the current state of the database model as
|
||||
specified in Python, and generate a series of "candidate" migrations,
|
||||
rendering them into a new migration script as Python directives. The
|
||||
developer then edits the new file, adding additional directives and data
|
||||
migrations as needed, to produce a finished migration. Table and column
|
||||
level changes can be detected, with constraints and indexes to follow as
|
||||
well.
|
||||
* Full support for migrations generated as SQL scripts. Those of us who
|
||||
work in corporate environments know that direct access to DDL commands on a
|
||||
production database is a rare privilege, and DBAs want textual SQL scripts.
|
||||
Alembic's usage model and commands are oriented towards being able to run a
|
||||
series of migrations into a textual output file as easily as it runs them
|
||||
directly to a database. Care must be taken in this mode to not invoke other
|
||||
operations that rely upon in-memory SELECTs of rows - Alembic tries to
|
||||
provide helper constructs like bulk_insert() to help with data-oriented
|
||||
operations that are compatible with script-based DDL.
|
||||
* Non-linear versioning. Scripts are given UUID identifiers similarly
|
||||
to a DVCS, and the linkage of one script to the next is achieved via markers
|
||||
within the scripts themselves. Through this open-ended mechanism, branches
|
||||
containing other migration scripts can be merged - the linkages can be
|
||||
manually edited within the script files to create the new sequence.
|
||||
* Provide a library of ALTER constructs that can be used by any SQLAlchemy
|
||||
application. The DDL constructs build upon SQLAlchemy's own DDLElement base
|
||||
and can be used standalone by any application or script.
|
||||
* Don't break our necks over SQLite's inability to ALTER things. SQLite
|
||||
has almost no support for table or column alteration, and this is likely
|
||||
intentional. Alembic's design
|
||||
is kept simple by not contorting its core API around these limitations,
|
||||
understanding that SQLite is simply not intended to support schema
|
||||
changes. While Alembic's architecture can support SQLite's workarounds, and
|
||||
we will support these features provided someone takes the initiative
|
||||
to implement and test, until the SQLite developers decide
|
||||
to provide a fully working version of ALTER, it's still vastly preferable
|
||||
to use Alembic, or any migrations tool, with databases that
|
||||
are designed to work under the assumption of in-place schema migrations
|
||||
taking place.
|
||||
|
||||
Documentation and status of Alembic is at http://readthedocs.org/docs/alembic/.
|
||||
|
||||
|
||||
Keywords: SQLAlchemy migrations
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Environment :: Console
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: Database :: Front-Ends
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
CHANGES
|
||||
LICENSE
|
||||
MANIFEST.in
|
||||
README.rst
|
||||
README.unittests
|
||||
setup.cfg
|
||||
setup.py
|
||||
test.cfg
|
||||
alembic/__init__.py
|
||||
alembic/command.py
|
||||
alembic/compat.py
|
||||
alembic/config.py
|
||||
alembic/context.py
|
||||
alembic/environment.py
|
||||
alembic/migration.py
|
||||
alembic/op.py
|
||||
alembic/operations.py
|
||||
alembic/script.py
|
||||
alembic/util.py
|
||||
alembic.egg-info/PKG-INFO
|
||||
alembic.egg-info/SOURCES.txt
|
||||
alembic.egg-info/dependency_links.txt
|
||||
alembic.egg-info/entry_points.txt
|
||||
alembic.egg-info/not-zip-safe
|
||||
alembic.egg-info/requires.txt
|
||||
alembic.egg-info/top_level.txt
|
||||
alembic/autogenerate/__init__.py
|
||||
alembic/autogenerate/api.py
|
||||
alembic/autogenerate/compare.py
|
||||
alembic/autogenerate/render.py
|
||||
alembic/ddl/__init__.py
|
||||
alembic/ddl/base.py
|
||||
alembic/ddl/impl.py
|
||||
alembic/ddl/mssql.py
|
||||
alembic/ddl/mysql.py
|
||||
alembic/ddl/oracle.py
|
||||
alembic/ddl/postgresql.py
|
||||
alembic/ddl/sqlite.py
|
||||
alembic/templates/generic/README
|
||||
alembic/templates/generic/alembic.ini.mako
|
||||
alembic/templates/generic/env.py
|
||||
alembic/templates/generic/script.py.mako
|
||||
alembic/templates/multidb/README
|
||||
alembic/templates/multidb/alembic.ini.mako
|
||||
alembic/templates/multidb/env.py
|
||||
alembic/templates/multidb/script.py.mako
|
||||
alembic/templates/pylons/README
|
||||
alembic/templates/pylons/alembic.ini.mako
|
||||
alembic/templates/pylons/env.py
|
||||
alembic/templates/pylons/script.py.mako
|
||||
docs/api.html
|
||||
docs/changelog.html
|
||||
docs/cookbook.html
|
||||
docs/front.html
|
||||
docs/genindex.html
|
||||
docs/index.html
|
||||
docs/ops.html
|
||||
docs/py-modindex.html
|
||||
docs/search.html
|
||||
docs/searchindex.js
|
||||
docs/tutorial.html
|
||||
docs/_images/api_overview.png
|
||||
docs/_sources/api.txt
|
||||
docs/_sources/changelog.txt
|
||||
docs/_sources/cookbook.txt
|
||||
docs/_sources/front.txt
|
||||
docs/_sources/index.txt
|
||||
docs/_sources/ops.txt
|
||||
docs/_sources/tutorial.txt
|
||||
docs/_static/basic.css
|
||||
docs/_static/changelog.css
|
||||
docs/_static/comment-bright.png
|
||||
docs/_static/comment-close.png
|
||||
docs/_static/comment.png
|
||||
docs/_static/doctools.js
|
||||
docs/_static/down-pressed.png
|
||||
docs/_static/down.png
|
||||
docs/_static/file.png
|
||||
docs/_static/jquery.js
|
||||
docs/_static/minus.png
|
||||
docs/_static/nature.css
|
||||
docs/_static/nature_override.css
|
||||
docs/_static/plus.png
|
||||
docs/_static/pygments.css
|
||||
docs/_static/searchtools.js
|
||||
docs/_static/sphinx_paramlinks.css
|
||||
docs/_static/underscore.js
|
||||
docs/_static/up-pressed.png
|
||||
docs/_static/up.png
|
||||
docs/_static/websupport.js
|
||||
docs/build/Makefile
|
||||
docs/build/api.rst
|
||||
docs/build/api_overview.png
|
||||
docs/build/changelog.rst
|
||||
docs/build/conf.py
|
||||
docs/build/cookbook.rst
|
||||
docs/build/front.rst
|
||||
docs/build/index.rst
|
||||
docs/build/ops.rst
|
||||
docs/build/requirements.txt
|
||||
docs/build/tutorial.rst
|
||||
docs/build/_static/nature_override.css
|
||||
tests/__init__.py
|
||||
tests/test_autogen_indexes.py
|
||||
tests/test_autogen_render.py
|
||||
tests/test_autogenerate.py
|
||||
tests/test_bulk_insert.py
|
||||
tests/test_command.py
|
||||
tests/test_config.py
|
||||
tests/test_environment.py
|
||||
tests/test_mssql.py
|
||||
tests/test_mysql.py
|
||||
tests/test_offline_environment.py
|
||||
tests/test_op.py
|
||||
tests/test_op_naming_convention.py
|
||||
tests/test_oracle.py
|
||||
tests/test_postgresql.py
|
||||
tests/test_revision_create.py
|
||||
tests/test_revision_paths.py
|
||||
tests/test_sql_script.py
|
||||
tests/test_sqlite.py
|
||||
tests/test_version_table.py
|
||||
tests/test_versioning.py
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[console_scripts]
|
||||
alembic = alembic.config:main
|
||||
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
../alembic/compat.py
|
||||
../alembic/util.py
|
||||
../alembic/script.py
|
||||
../alembic/op.py
|
||||
../alembic/context.py
|
||||
../alembic/command.py
|
||||
../alembic/__init__.py
|
||||
../alembic/operations.py
|
||||
../alembic/config.py
|
||||
../alembic/migration.py
|
||||
../alembic/environment.py
|
||||
../alembic/ddl/impl.py
|
||||
../alembic/ddl/mysql.py
|
||||
../alembic/ddl/mssql.py
|
||||
../alembic/ddl/__init__.py
|
||||
../alembic/ddl/oracle.py
|
||||
../alembic/ddl/sqlite.py
|
||||
../alembic/ddl/base.py
|
||||
../alembic/ddl/postgresql.py
|
||||
../alembic/autogenerate/api.py
|
||||
../alembic/autogenerate/compare.py
|
||||
../alembic/autogenerate/render.py
|
||||
../alembic/autogenerate/__init__.py
|
||||
../alembic/templates/generic/README
|
||||
../alembic/templates/generic/alembic.ini.mako
|
||||
../alembic/templates/generic/env.py
|
||||
../alembic/templates/generic/script.py.mako
|
||||
../alembic/templates/multidb/README
|
||||
../alembic/templates/multidb/alembic.ini.mako
|
||||
../alembic/templates/multidb/env.py
|
||||
../alembic/templates/multidb/script.py.mako
|
||||
../alembic/templates/pylons/README
|
||||
../alembic/templates/pylons/alembic.ini.mako
|
||||
../alembic/templates/pylons/env.py
|
||||
../alembic/templates/pylons/script.py.mako
|
||||
../alembic/compat.pyc
|
||||
../alembic/util.pyc
|
||||
../alembic/script.pyc
|
||||
../alembic/op.pyc
|
||||
../alembic/context.pyc
|
||||
../alembic/command.pyc
|
||||
../alembic/__init__.pyc
|
||||
../alembic/operations.pyc
|
||||
../alembic/config.pyc
|
||||
../alembic/migration.pyc
|
||||
../alembic/environment.pyc
|
||||
../alembic/ddl/impl.pyc
|
||||
../alembic/ddl/mysql.pyc
|
||||
../alembic/ddl/mssql.pyc
|
||||
../alembic/ddl/__init__.pyc
|
||||
../alembic/ddl/oracle.pyc
|
||||
../alembic/ddl/sqlite.pyc
|
||||
../alembic/ddl/base.pyc
|
||||
../alembic/ddl/postgresql.pyc
|
||||
../alembic/autogenerate/api.pyc
|
||||
../alembic/autogenerate/compare.pyc
|
||||
../alembic/autogenerate/render.pyc
|
||||
../alembic/autogenerate/__init__.pyc
|
||||
../alembic/templates/generic/env.pyc
|
||||
../alembic/templates/multidb/env.pyc
|
||||
../alembic/templates/pylons/env.pyc
|
||||
./
|
||||
requires.txt
|
||||
SOURCES.txt
|
||||
entry_points.txt
|
||||
dependency_links.txt
|
||||
PKG-INFO
|
||||
not-zip-safe
|
||||
top_level.txt
|
||||
../../../../bin/alembic
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
SQLAlchemy>=0.7.3
|
||||
Mako
|
||||
|
|
@ -0,0 +1 @@
|
|||
alembic
|
||||
Loading…
Add table
Add a link
Reference in a new issue