ntt / evelogo Goto Github PK
View Code? Open in Web Editor NEWPython library for generating EVE Online corporation logos
Python library for generating EVE Online corporation logos
EVE Online Logo Generator. This python module lets you generate corporation logos. LICENSE: This software is released under the MIT license. See evelogo.py for details. REQUIREMENTS: - Python 2.x - Python Imaging Library 1.1.6 or better - Tyrannis Pre-rendered Corporation Logo Symbols pack. INSTALLATION: Place the evelogo.py either in your site-packages folder or in your project dir, whichever is appropriate for your project. Download the corplogos pack: http://dl.eve-files.com/media/corp/Entity/corplogos.7z Extract the corplogos archive and place the corplogos folder anywhere you want. If you place it in your project's work folder, the module will work without having to set the resourcePath in your code. Example usage: import eveapi import evelogo evelogo.resourcePath = "wherever/you/put/corplogos/" YOUR_USERID = 123 YOUR_APIKEY = "bla bla bla" # Generate logos directly from parameters: logo = evelogo.CorporationLogo([[539, 520, 461], [672, 675, 672]]) logo.save("xfi1.png") # Generate large opaque logo image with blue background: logo = evelogo.CorporationLogo([[539, 520, 461], [672, 675, 672]], size=96, transparent=False, bgcolor=(33,133,233)) logo.save("xfi2.png") # Or use the eveapi module! api = eveapi.EVEAPIConnection() corpsheet = api.corp.CorporationSheet(userID=YOUR_USERID, apiKey=YOUR_APIKEY, corporationID=219220371) logo = evelogo.CorporationLogo(corpsheet.logo) logo.save("xfi3.png")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.