
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
With tags you can generate HTML code by programming python. For every Tag type there is a corresponding class, for every tag an object. This way you can program HTML code by programmatically coding in python. The advantage of this style is that you can easily structure and reuse your HTML code, something that pure HTML is missing. For example, you can create a widget and use it at many different places, or create a template and plug some other html code in. Tags takes care of only creating valid html code.
Example Code:
| from tags import * | | head = Head().append(Title().append(Text("Page Title"))) | body = Body().append(P().append(Text("Page Content"))) | root = Doctype() | root = Doctype().append(Html().append(head).append(body))
This project is still in development. There is enough code to play around, but some tags are missing.
This version requires Python 2.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.