Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.432.865 Times

SQLAlchemyGrate 0.1

Company: Andrey Petrov
Date Added: August 14, 2013  |  Visits: 394

SQLAlchemyGrate

Report Broken Link
Printer Friendly Version


Product Homepage
Download (35 downloads)



This is my silly (yet effective) migration framework built on SQLAlchemy ???*a*? the best database abstraction library in the universe. Grate doesn't do fancy things like track schema versions and do step-through upgrade/downgrade paths or testing. Buuut, you can create a wrapper around it to do all these things using the upgrade command.<br /><br />One thing grate does well out of the box is a stupid row-by-row re-insert from one SQLAlchemy target engine to another. This means you can make changes to your SQLAlchemy schema as you please, then to port your data you create another database and do a row-by-row re-insert from the old dataset into the new. You can even provide a conversion function that will transform the data when necessary.<br /><br />Warning: Consider this beta quality. There is a lack of error checking so you may get rogue exceptions raised. More features and helpers are being added.<br />Usage<br /><br />Usage: grate COMMAND [ARGS ...]<br /><br />Really silly schema migration framework, built for SQLAlchemy.<br /><br />Commands:<br /> migrate ENGINE_FROM ENGINE_TO<br /> Migrate schema or data from one engine to another.<br /><br /> upgrade ENGINE UPGRADE_FN<br /> Perform in-place upgrade of a schema in an engine.<br /><br />Examples:<br /> grate migrate "mysql://foo:bar@localhost/baz" "sqlite:///:memory:" <br /> --metadata model.meta:metadata --verbose<br /><br /> grate upgrade "mysql://foo:bar@localhost/baz" migration.001_change_fancy_column:upgrade<br /><br />Hint: The upgrade command can also be used to downgrade, just point it<br />to the relevant downgrade function. For extra awesomeness, use schema-altering<br />DDLs provided by sqlalchemy-migrate.<br /><br /><br />Options:<br /> -h, --help show this help message and exit<br /> -v, --verbose Enable verbose output. Use twice to enable debug<br /> output.<br /> --show-sql Echo SQLAlchemy queries.<br /><br /> migrate:<br /> --only-tables=TABLES<br /> Only perform migration on the given tables. (comma-<br /> separated table names)<br /> --skip-tables=TABLES<br /> Skip migration on the given tables. (comma-separated<br /> table names)<br /> --limit=LIMIT Number to select per insert loop. (default: 100000)<br /> --metadata=METADATA<br /> MetaData object bound to the target schema definition.<br /> Example: model.metadata:MetaData<br /> --convert=FN (Optional) Convert function to run data through.<br /> Example: migration.v1:convert<br /><br />#md5=8f2bf5c9a702be09e8406db07591247d

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Create Downgrade Function Grate Migrate Migration Names Output Quotmysqlfoobarlocalhostbazquot Reinsert Rowbyrow Schema Silly Sqlalchemy Table Tables Upgrade Verbose
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


SQLALCHEMYGRATE RELATED
Development Tools  -  Improved WHOS function 1.0
WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and...
10 KB  
Miscellaneous  -  Using introspection to verify Eiffel contracts 1.0
This script shows how you can use intospection to create a function wraper that verify Eiffel like contracts.
 
MP3 Tools  -  Lavians PDF Watermark 2.4
Lavians PDF Watermark is an easy, lightning-fast desktop utility program that allows you to create watermarks with product pictures, file names, company logos and signatures. Key Features of Lavians PDF Watermark: 1. Lavians PDF Watermark has...
1.91 GB  
3D Graphic Tools  -  PDFlib CMap 1.0
PDFlib CMap package lets you to create Chinese, Japanese, or Korean (CJK) text output with PDFlib with one of the predefined CMaps, PDFlib 7 requires the corresponding CMap files for processing the incoming text and mapping CJK encodings to...
1.5 MB  
Utilities  -  File Name Repository 1.0
A client/server application to create a central repository for file names based to hash fingerprint of file.
5.98 KB  
Science  -  IFS-Daemon 1.4
This is a deprecated program to create iterated function systems. It is no longer developed here.
734.72 KB  
Utilities  -  EZ Pdf to Word Converter for Doc Free 6.1
EZ Pdf to Word Converter for Doc Free supports the fast, affordable way to create professional-quality documents in as doc,txt formats without losing any the original Text, Tables, Graphics & Layout. With it. you can edit and reuse your PDF...
3.21 MB  
Modules  -  Simplenews Content Selection 6.x-1.6
The look and feel of the nodes that are inserted into the newsletter can be altered with the included theming functions.InstallationDownload and install jQuery plugins from http://www.drupal.org/project/jquery_pluginCopy the file...
10 KB  
Database Tools  -  AdventNet SwisSQL - Oracle to SQL Server Migration Tool 2.4
SwisSQL - Oracle to SQL Server Edition is an Automated Migration tool to convert Oracle PL/SQL stored procedures into equivalent Microsoft SQL Server Transact SQL code. It automates more than 90% of the Oracle PL/SQL code conversion into Transact...
18.46 KB  
Programming  -  Exactitude 0.1 Alpha
This project is used to convert files from one format to another, and to provide a measurement of the quality of the output. This uses the concept of perceptual hashing to create a human-like visual comparison of the original and source files.
20.48 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, BUSINESS
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Business  -  Inventoria Inventory Software Free 11.06
Inventoria is professional inventory stock management software for Windows that allows you to manage inventory in one or several locations. Manage your stock levels by categories, locations, and vendors. Combine Inventoria with HourGuard, Express...
611.18 KB  
Business  -  Java SQL Admin Tool for Linux 2.4.3
This is a Java-based Admin-Tool for SQL-Databases via JDBC. It needs to have JDK 1.6 underneath In the beginnings of Java I had my first look at this exciting product. So I decided to learn more about Java. As beeing a developer for...
686.08 KB  
Business  -  DBBalancer 0.4.4
DBBalancer is some sort of middleware that would sit in between of database clients, like C, C++, TCL, Java JDBC, Perl DBI, and a database server. Currently the only server supported is Postgres, but the architecture is open to embrace more...
174.08 KB  
Business  -  Postgres Plus 9.0.4
Postgres Plus is a distribution of PostgreSQL that contains the following additional features integrated in a convenient installation package: Postgres Studio for administration, Procedural Language Debugger, GridSQL Parallel Query, MySQL...
43.06 MB  
Business  -  Apatar Data Integration 1.12.23
Apatar is an open source Extract, Transform, and Load (ETL) project. Modular architecture delivers: 1. Visual job designer/mapping 2. Connectivity to all major data sources 3. Flexible Deployment Options (GUI, or server engine with JVM, or...
25.94 MB