magla | free SQL-powered data pipeline
kandi X-RAY | magla Summary
kandi X-RAY | magla Summary
magla is a Python library. magla has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. You can download it from GitHub.
Magla is an effort to bring the magic of large-scale professional visual effects pipelines to small-scale studios and freelancers - for free. Magla features a backend designed to re-enforce the contextual relationships between things in a visual effects pipeline - a philosophy which is at the core of Magla's design. The idea is that with any given MaglaEntity one can traverse through all the related entities as they exist in the DB. This is achieved with a Postgres + SQLAlchemy combination allowing for an excellent object-oriented interface with powerful SQL queries and relationships behind it.
Magla is an effort to bring the magic of large-scale professional visual effects pipelines to small-scale studios and freelancers - for free. Magla features a backend designed to re-enforce the contextual relationships between things in a visual effects pipeline - a philosophy which is at the core of Magla's design. The idea is that with any given MaglaEntity one can traverse through all the related entities as they exist in the DB. This is achieved with a Postgres + SQLAlchemy combination allowing for an excellent object-oriented interface with powerful SQL queries and relationships behind it.
Support
Quality
Security
License
Reuse
Support
magla has a low active ecosystem.
It has 3 star(s) with 0 fork(s). There are 2 watchers for this library.
It had no major release in the last 6 months.
There are 6 open issues and 1 have been closed. On average issues are closed in 42 days. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of magla is current.
Quality
magla has no bugs reported.
Security
magla has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
magla is licensed under the GPL-3.0 License. This license is Strong Copyleft.
Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.
Reuse
magla releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed magla and discovered the below as its top functions. This is intended to give you an instant insight into magla implemented functionality, and help decide if they suit your requirements.
- Create a tool configuration
- Create a new entity
- Update the configuration dictionary
- Query an entity
- Start the tool
- Get the data as a dict
- Return type by name
- Builds the environment dictionary
- Creates a machine
- Write the machine uuid
- Validate a key
- Check if key is in the cache
- Write the machine uuid to disk
- Create a facility
- Return a list of machines
- Fetch single record from database
- Returns all entities in the database
- Create an instance from an OIO record
- Create a new assignment
- Return directory
- Add a tool configuration
- Create a new user
- Create a new tool version
- Creates a new tool
- Create a new project entry
- Create a new shot
- Copy a new shot version
Get all kandi verified functions for this library.
magla Key Features
No Key Features are available at this moment for magla.
magla Examples and Code Snippets
No Code Snippets are available at this moment for magla.
Community Discussions
No Community Discussions are available at this moment for magla.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install magla
You will need to first set the following environment variables required for magla to function:.
MAGLA_DB_DATA_DIR <-- this is where your sqlite db will be written to
MAGLA_DB_NAME <-- name of your DB
MAGLA_MACHINE_CONFIG_DIR <-- this directory holds information about the current machine needed by magla
All creation and deletion methods are in magla.Root, so this is primarily a demonstration of using the creation methods in the optimal order. Each creation method will return the created MaglaEntity or in the case that a record already exists, creation will abort and return the found record instead. To instead throw an EntityAlreadyExistsError, you must call the magla.Root.create method directly and pass the 'return_existing=False` entity_test_fixtureeter. example: python magla.Root().create(magla.User, {"nickname": "foo"}, return_existing=False). This functionality is demonstrated below where the name of the shot being created is set to increment - meaning that running this script repeatedly will result in new shot and directory tree structures under the same project. The above creates a new Postgres column in the 'facilities' table and returns a MaglaFacility object pre-populated with data in the ' .data' property. Project settings are sent in as a dictionary which is stored as JSON in Postgres. At runtime a MaglaEntity object gets injected and Python's native string formatting can be used to access the object's relationships and attributes for custom naming. For relational tables the creation method will usually need more than one arg for each child SQL table. The below creates Tool, ToolVersion, ToolVersionInstallation, and FileType entities which are related via foreign keys in Postgres.
MAGLA_DB_DATA_DIR <-- this is where your sqlite db will be written to
MAGLA_DB_NAME <-- name of your DB
MAGLA_MACHINE_CONFIG_DIR <-- this directory holds information about the current machine needed by magla
All creation and deletion methods are in magla.Root, so this is primarily a demonstration of using the creation methods in the optimal order. Each creation method will return the created MaglaEntity or in the case that a record already exists, creation will abort and return the found record instead. To instead throw an EntityAlreadyExistsError, you must call the magla.Root.create method directly and pass the 'return_existing=False` entity_test_fixtureeter. example: python magla.Root().create(magla.User, {"nickname": "foo"}, return_existing=False). This functionality is demonstrated below where the name of the shot being created is set to increment - meaning that running this script repeatedly will result in new shot and directory tree structures under the same project. The above creates a new Postgres column in the 'facilities' table and returns a MaglaFacility object pre-populated with data in the ' .data' property. Project settings are sent in as a dictionary which is stored as JSON in Postgres. At runtime a MaglaEntity object gets injected and Python's native string formatting can be used to access the object's relationships and attributes for custom naming. For relational tables the creation method will usually need more than one arg for each child SQL table. The below creates Tool, ToolVersion, ToolVersionInstallation, and FileType entities which are related via foreign keys in Postgres.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page