Skip to main content

item

https://travis-ci.org/lorien/item.png?branch=master https://coveralls.io/repos/lorien/item/badge.svg?branch=master https://pypip.in/download/item/badge.svg?period=month https://pypip.in/version/item/badge.svg https://landscape.io/github/lorien/item/master/landscape.png

Usage Example

from item import Item
from lxml.html import fromstring

class SomeStructure(Item):
    id = IntegerField('//path/to/@id')
    name = StringField('//path/to/name')
    date = DateTimeField('//path/to/@datetime', '%Y-%m-%d %H:%M:%S')

structure = SomeStructure(fromstring(SOME_HTML))
print(structure.id)
print(structure.name)
print(structure.date)

Installation

pip install item

Metadata

Release files for item 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for item 0.0.3
File Size Uploaded Provenance Actions
item-0.0.3.tar.gz 7.6 kB Without provenance Details for item-0.0.3.tar.gz

Release files / item-0.0.3.tar.gz

Download URL item-0.0.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
10068aa8d94a93ddda85ff074405aafa8b5d36fb8cd08c559a2e4f6cb598c489
BLAKE2b-256 checksum
How to use checksums
89a43f1f6c84d64f22b4841850355634196d3698dc845c61bcbfaf2dcd4b8690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for item 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page