Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
thedom is a collection of python objects that enable you to represent and interact with the DOM server side before generating HTML, CSS, and JavaScript for the client.
Readme
|PyPI version| |PyPi downloads| |Build Status| |License| |Bitdeli Badge|
thedom is a collection of python objects that enable developers to generate and interact with web apps server side. It encourages object oriented website development, and code reuse by seperating each DOM element into its own object, and then allowing inheritance and child elements to come together to form new elements not defined in the standard DOM.
write this:
::
from thedom import Layout, Document, Buttons
page = Document.Document()
layout = page.addChildElement(Layout.Center()).addChildElement(Layout.Horizontal())
layout += Buttons.Button(text="Use thedom.", **{'class':'MainAction'})
layout += Buttons.Button(text="Enjoy writing less code.", **{'class':'DeleteAction'})
layout += Buttons.Button(text="100% Python.")
print page.toHTML(formatted=True)
get this:
::
<!DOCTYPE html>
<html>
<head>
<title>
</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</meta>
</head>
<body>
<div class="WCenter">
<div class="WOuter">
<div class="WInner">
<div class="WClear">
<input class="WBlock WLeft MainAction" type="button" value="Use thedom." />
<input class="WBlock WLeft DeleteAction" type="button" value="Enjoy writing less code." />
<input class="WBlock WLeft" type="button" value="100% Python." />
</div>
</div>
</div>
</div>
</body>
</html>
Installing thedom is as simple as:
::
pip install thedom
or if you prefer
::
easy_install thedom
Thanks and I hope you find thedom useful!
~Timothy Crosley
.. |thedom| image:: https://raw.github.com/timothycrosley/thedom/develop/logo.png .. |PyPI version| image:: https://badge.fury.io/py/thedom.png :target: http://badge.fury.io/py/thedom .. |PyPi downloads| image:: https://pypip.in/d/thedom/badge.png :target: https://crate.io/packages/thedom/ .. |Build Status| image:: https://travis-ci.org/timothycrosley/thedom.png?branch=master :target: https://travis-ci.org/timothycrosley/thedom .. |License| image:: https://pypip.in/license/thedom/badge.png :target: https://pypi.python.org/pypi/thedom/ .. |Bitdeli Badge| image:: https://d2weczhvl823v0.cloudfront.net/timothycrosley/thedom/trend.png :target: https://bitdeli.com/free
FAQs
thedom is a collection of python objects that enable you to represent and interact with the DOM server side before generating HTML, CSS, and JavaScript for the client.
We found that thedom demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.