Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
AdsML is a suite of business-to-business electronic commerce standards intended to support the exchange of advertising business messages and content delivery using XML. Typical users include newspapers, advertising agencies, broadcasters and others who buy or sell advertising.
This module is a part-implementation of the protocol in Python. Currently it implements part of the AdsML-Bookings component of the standard.
Currently built for Python 3 only - please let me know if you require Python 2 support.
Installing from PyPI::
pip install adsml
Example::
import adsml
parser = AdsMLParser("adsml-file.txt")
# process the header
header = parser.get_header()
order = parser.get_order()
print ("Order: {}: (buyers ref {})".format(order, order.buyers_reference))
print ("Booking party: {}".format(order.booking_party))
print ("Selling party: {}".format(order.selling_party))
print ("Campaign: {}".format(order.campaign))
print ("Payer information: {}".format(order.payer_information))
print ("Placement: {}".format(order.placement))
print ("Notes: {})".format(order.notes))
FAQs
Python implementation of the AdsML spec (www.adsml.biz)
We found that adsml 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.