Git Product home page Git Product logo

graphmap's Introduction

GraphMap

Organizing the images of the world

Build Status

a way to organize image in a spatial 2D layout. It is a directed cyclic graph where every node has either 0 or 4 edges. Each node may or may not have an image on them. One can imagine this as a quad tree (although cycles are possible), and you are looking from the bottom. Each child gets a quadrant. If a child has an image it covers the parent image in that quadrant. If a node doesn't have an image it is invisible.

Graph Map structure

Features

  • The created graph is immutable. New nodes can be added but old ones cannot be modified.
  • Functional approach is used, GraphMap class returns a Result value and does not throw exception.

See it in Action

KaiiMap Gallery is a website created that uses GraphMap and OpenSeadragon.

Installation

You can use pip to install the stable version

pip install graphmap

If you want to install the latest directly from github you can use

pip install git+https://github.com/abhishekraok/GraphMap

Getting Started

Contributing

Contributions are welcome. Please have unit tests.

Inspiration

graphmap's People

Contributors

abhishekraok avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

python3pkg

graphmap's Issues

Upload to Azure work on older version

The Azure Web apps doesn't allow pip install latest azure storage as there is a dependency on library not present in Azure (cryptography). To allow this to be deployed in Azure, use a version of azure_storage that is supported.

Convert Serializer into DiskPersistence

Serializer was created before when persistence and graph was not separated well. Serializer was used to save graph to disk and Azure.

Currently serializer is shoehorned into the PersistenceInterface.
Convert existing serializer into DiskPersistence, CloudPersistence similar to MemoryPersistence. DiskPersistence can take the base directory in disk where the graph will be stored. CloudPersistence can take the account details (e.g. Azure path, key) and save in cloud.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.