Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
my-package.ext (implicit)
filename:my-package.ext (explicit)

Search by package tag:
latest (implicit)
tag:latest (explicit)

Search by package version:
1.0.0 (implicit)
version:1.0.0 (explicit)
prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Go, Helm, Hex, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial
 Public agriconnect agriconnect (AgriConnect) / python
Prebuilt wheel for Python packages

Python logo MarkupSafe  1.1.1

One-liner (summary)

Safely add untrusted strings to HTML/XML markup.

Description

MarkupSafe

MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML. Characters that have special meanings are replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.

Installing

Install and update using pip:

pip install -U MarkupSafe

Examples

>>> from markupsafe import Markup, escape
>>> # escape replaces special characters and wraps in Markup
>>> escape('<script>alert(document.cookie);</script>')
Markup(u'&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
>>> # wrap in Markup to mark text "safe" and prevent escaping
>>> Markup('<strong>Hello</strong>')
Markup('<strong>hello</strong>')
>>> escape(Markup('<strong>Hello</strong>'))
Markup('<strong>hello</strong>')
>>> # Markup is a text subclass (str on Python 3, unicode on Python 2)
>>> # methods and operators escape their arguments
>>> template = Markup("Hello <em>%s</em>")
>>> template % '"World"'
Markup('Hello <em>&#34;World&#34;</em>')

Size

30.4 KB

Downloads

69

Tags

bdist/wheel whl linux_armv7l cp36 cp36m latest

Status  Completed
Checksum (MD5) 439aaffc060cd43469fe7d0c65c1aac7
Checksum (SHA-1) cea2b2f90d866e6649dd0984a5946e1c5669eb2e
Checksum (SHA-256) 1b73813694dbf052cdf28a4d16e390771b0f5b5aebb5bac83422d7e44de8fdeb
Checksum (SHA-512) dcafef6828e9a951e7dce61d344ecc018b37376d4c92ee92b779dfd8bed1616896…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 5 years ago
Uploaded By quan
Slug Id markupsafe-111-cp36-cp36m-linux_armv7lwhl
Unique Id bvLVbnsZHL0z
Version (Raw) 1.1.1
Version (Parsed)
  • Major: 1
  • Minor: 1
  • Patch: 1
  • Type: SemVer (Strict)
  extended metadata
Abi cp36m
Author The Pallets Team <contact@palletsprojects.com>
Classifiers Development Status :: 5 - Production/Stable | Environment :: Web Environment | Intended Audience :: Developers | License :: OSI Approved :: BSD License | Operating System :: OS Independent | Programming Language :: Python | Programming Language :: Python :: 2 | Programming Language :: Python :: 2.7 | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.4 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7 | Topic :: Internet :: WWW/HTTP :: Dynamic Content | Topic :: Software Development :: Libraries :: Python Modules | Topic :: Text Processing :: Markup :: HTML
Homepage URL https://palletsprojects.com/p/markupsafe/
Metadata Version 2.1
Py Filetype bdist_wheel
Py Version cp36
pkg MarkupSafe-1.1.1-cp36-cp36m-lin… 69
30.4 KB
md5 sha1 sha256 sha512
Package Contents (MarkupSafe-1.1.1-cp36-cp36m-linux_armv7l.whl)
Loading...

This package has 14 files/directories.

  Python logo
MarkupSafe
 1.1.1
bdist/wheel whl linux_armv7l cp36 cp36m latest
30.4 KB 5 years ago
69 quan
 Older Python logo
MarkupSafe
 1.1.0
bdist/wheel whl linux_armv7l cp36 cp36m
73 quan

Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!

With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.

If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!

Last scanned

3 hours ago

Scan result

Vulnerable

Vulnerability count

4

Max. severity

High
Target:
HIGH

CVE-8321-40056: library: vulnerability title



Package Name: package_name
Installed Version: 1.2.63
Fixed Version: 2.8.84

References: walker-hamilton.com hernandez.com www.cohen.org
MEDIUM

CVE-4885-26796: library: vulnerability title



Package Name: package_name
Installed Version: 1.4.69
Fixed Version: 2.7.73

References: white-roy.org brown-whitaker.net wilson.com
LOW

CVE-5618-69644: library: vulnerability title



Package Name: package_name
Installed Version: 1.4.12
Fixed Version: 2.5.31

References: ryan.info www.harris.com young.com
LOW

CVE-7675-70079: library: vulnerability title



Package Name: package_name
Installed Version: 1.10.61
Fixed Version: 2.6.99

References: fox-mcdowell.info www.gonzalez.biz www.rangel.info

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'MarkupSafe' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/)
|This version of 'MarkupSafe' @ Cloudsmith|
.. |This version of 'MarkupSafe' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/",title="This version of 'MarkupSafe' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/1.1.1/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true" alt="This version of 'MarkupSafe' @ Cloudsmith" /></a>

rendered as: This version of 'MarkupSafe' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'MarkupSafe' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/)
|Latest version of 'MarkupSafe' @ Cloudsmith|
.. |Latest version of 'MarkupSafe' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true&show_latest=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/",title="Latest version of 'MarkupSafe' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/MarkupSafe/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=markupsafe;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'MarkupSafe' @ Cloudsmith" /></a>

rendered as: Latest version of 'MarkupSafe' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use MarkupSafe @ version 1.1.1 ...

pip install 'MarkupSafe==1.1.1'

You can also install the latest version of this package:

pip install --upgrade 'MarkupSafe'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
  MarkupSafe==1.1.1

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
MarkupSafe==1.1.1

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
MarkupSafe==1.1.1
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top