Bismuth assists you with your more tedious Python development tasks. Bootstrap new projects, add features, fix bugs and then deploy on a managed public cloud.
Bismuth assists you with your more tedious Python development tasks. Bootstrap new projects, add features, fix bugs and then deploy on a managed public cloud.
From bootstrapping your projects with our SDK to adding features and fixing bugs. Bismuth can help you get through your tasks and keep your workload manageable.
From bootstrapping your projects with our SDK to adding features and fixing bugs. Bismuth can help you get through your tasks and keep your workload manageable.
Skip your infrastructure hassle. By using parts of our SDK we'll automatically and magically create things like databases and S3 like storage for you.
Bismuth is useable in your favorite terminal with any IDE, we propose commits directly to the git repo so no extension needed.
This makes it more accurate and reliable than competing solutions saving you time and frustration. When Bismuth doesn't know something or is having trouble it will let you know.
Bismuth can help address bugs or implement features asynchronously. That means you can ping Bismuth on a Github issue and it will work it's magic to help you keep your workload under control. No more giant backlog of minor bugs you keep pushing off.
Bismuthos is designed by developers, for developers—because we know what you need.
Co-founder @ marvolo.co
Software Developer @ mangoku.co
Software Engineer @ spimk.io
Project Manager @ neworld.com
CEO & Founder @ itsmyvault.co
Security Analyst @ lockeat.com
import io
import flask
import requests
from PIL import Image
from bismuth import API, BlobStorageclass ThumbnailerAPI(API):
def __init__(self):
super().__init__()
self.add_route('/thumbnail', {"POST": self.thumbnail})
self.storage = BlobStorage() def thumbnail(self, request: flask.Request, url: str):
cached = self.storage.retrieve(url)
if cached:
return flask.send_file(io.BytesIO(cached), mimetype='image/png') image_file = requests.get(url).content
img = Image.open(image_file)
img.thumbnail((100, 100))
thumb_io = io.BytesIO()
img.save(thumb_io, format='PNG')
thumb_io.seek(0)
self.storage.create(url, thumb_io.getvalue()) return flask.send_file(thumb_io, mimetype='image/png')app = ThumbnailerAPI()