lxml

The lxml XML toolkit for Python

https://github.com/lxml/lxml

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 173 committers (2.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords from Contributors

closember templates unit-testing apps l10n views gettext cldr asyncio fuzzing
Last synced: 10 months ago · JSON representation

Repository

The lxml XML toolkit for Python

Basic Info
  • Host: GitHub
  • Owner: lxml
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: master
  • Homepage: https://lxml.de/
  • Size: 20.3 MB
Statistics
  • Stars: 2,911
  • Watchers: 83
  • Forks: 591
  • Open Issues: 14
  • Releases: 34
Created over 15 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Funding License Security

README.rst

What is lxml?
=============

lxml is the most feature-rich and easy-to-use library for processing XML and HTML in the Python language.
It's also very fast and memory friendly, just so you know.

For an introduction and further documentation, see `doc/main.txt`_.

For installation information, see `INSTALL.txt`_.

For issue tracker, see https://bugs.launchpad.net/lxml

Support the project
-------------------

lxml has been downloaded from the `Python Package Index`_
millions of times and is also available directly in many package
distributions, e.g. for Linux or macOS.

.. _`Python Package Index`: https://pypi.python.org/pypi/lxml

Most people who use lxml do so because they like using it.
You can show us that you like it by blogging about your experience
with it and linking to the project website.

If you are using lxml for your work and feel like giving a bit of
your own benefit back to support the project, consider sending us
money through GitHub Sponsors, Tidelift or PayPal that we can use
to buy us free time for the maintenance of this great library, to
fix bugs in the software, review and integrate code contributions,
to improve its features and documentation, or to just take a deep
breath and have a cup of tea every once in a while.
Please read the Legal Notice below, at the bottom of this page.
Thank you for your support.

.. class:: center

  Support lxml through `GitHub Sponsors `_

  via a `Tidelift subscription `_

  or via PayPal:

  |Donate|_

.. _`Donate`: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R56JE3VCPDA9N

Please `contact Stefan Behnel `_
for other ways to support the lxml project,
as well as commercial consulting, customisations and trainings on lxml and
fast Python XML processing.

Note that we are not accepting donations in crypto currencies.
Much of the development and hosting for lxml is done in a carbon-neutral way
or with compensated and very low emissions.
Crypto currencies do not fit into that ambition.

.. |Donate| image:: https://lxml.de/paypal_btn_donateCC_LG.png
            :width: 160
            :height: 47
            :alt: Donate to the lxml project

.. _`doc/main.txt`: https://github.com/lxml/lxml/blob/master/doc/main.txt
.. _`INSTALL.txt`: http://lxml.de/installation.html

`GitHub Actions `_
supports the lxml project with their build and CI servers.


Project income report
---------------------

lxml has `well over 100 million downloads `_
per month on PyPI.

* Total project income in 2024: EUR 2826.29  (235.52 € / month, 1.96 € / 1,000,000 downloads)

  - Tidelift: EUR 2777.34
  - Paypal: EUR 48.95

* Total project income in 2023: EUR 2776.56  (231.38 € / month, 2.89 € / 1,000,000 downloads)

  - Tidelift: EUR 2738.46
  - Paypal: EUR 38.10

* Total project income in 2022: EUR 2566.38  (213.87 € / month, 3.56 € / 1,000,000 downloads)

  - Tidelift: EUR 2539.38
  - Paypal: EUR 24.32

* Total project income in 2021: EUR 4640.37  (386.70 € / month)

  - Tidelift: EUR 4066.66
  - Paypal: EUR 223.71
  - other: EUR 350.00

* Total project income in 2020: EUR 6065,86  (506.49 € / month)

  - Tidelift: EUR 4064.77
  - Paypal: EUR 1401.09
  - other: EUR 600.00

* Total project income in 2019: EUR 717.52  (59.79 € / month)

  - Tidelift: EUR 360.30
  - Paypal: EUR 157.22
  - other: EUR 200.00


Legal Notice for Donations
--------------------------

Any donation that you make to the lxml project is voluntary and
is not a fee for any services, goods, or advantages.  By making
a donation to the lxml project, you acknowledge that we have the
right to use the money you donate in any lawful way and for any
lawful purpose we see fit and we are not obligated to disclose
the way and purpose to any party unless required by applicable
law.  Although lxml is free software, to the best of our knowledge
the lxml project does not have any tax exempt status.  The lxml
project is neither a registered non-profit corporation nor a
registered charity in any country.  Your donation may or may not
be tax-deductible; please consult your tax advisor in this matter.
We will not publish or disclose your name and/or e-mail address
without your consent, unless required by applicable law.  Your
donation is non-refundable.

Owner

  • Name: lxml
  • Login: lxml
  • Kind: organization

GitHub Events

Total
  • Create event: 19
  • Commit comment event: 6
  • Release event: 4
  • Watch event: 210
  • Delete event: 14
  • Issue comment event: 73
  • Push event: 137
  • Pull request review event: 24
  • Pull request review comment event: 26
  • Pull request event: 66
  • Fork event: 31
Last Year
  • Create event: 19
  • Commit comment event: 6
  • Release event: 4
  • Watch event: 210
  • Delete event: 14
  • Issue comment event: 73
  • Push event: 137
  • Pull request review event: 24
  • Pull request review comment event: 26
  • Pull request event: 66
  • Fork event: 31

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 6,289
  • Total Committers: 173
  • Avg Commits per committer: 36.353
  • Development Distribution Score (DDS): 0.499
Past Year
  • Commits: 240
  • Committers: 16
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.171
Top Committers
Name Email Commits
scoder n****e@n****e 3,152
Stefan Behnel s****l@b****e 2,512
Stefan Behnel s****r@u****e 123
Simon Sapin s****n@e****g 29
Hugo h****k 26
dependabot[bot] 4****] 25
Burak Arslan b****n@a****r 20
Jakub Wilk j****k@j****t 20
Walter Doerwald w****r@l****e 19
Olli Pottonen o****n@i****i 14
orf t****m@t****s 14
Paul "TBBle" Hampson P****n@P****m 12
ha shao m****x@y****u 11
Bob Kline b****e@r****m 8
Tom Kralidis t****s@g****m 8
Nick Wellnhofer w****r@a****e 7
Miro Hrončok m****o@h****z 7
Marc Abramowitz m****c@m****m 7
Christian Clauss c****s@m****m 6
Maximilian Hils g****t@m****m 6
Laurence Rowe l****e@l****k 6
Roger Hu r****u@h****m 5
Pedro Nacht p****t@g****m 5
Abe Polk 2****k 5
Per Lejontand p****d@g****m 5
Tay Ray Chuan r****9@g****m 5
Lumír 'Frenzy' Balhar f****s@g****m 4
xmo-odoo x****o@o****m 4
Pierpaolo Da Fieno p****o@g****m 4
Per Lejontand p****d@t****m 4
and 143 more...

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 229
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 months
  • Total issue authors: 1
  • Total pull request authors: 107
  • Average comments per issue: 0.0
  • Average comments per pull request: 2.15
  • Merged pull requests: 151
  • Bot issues: 1
  • Bot pull requests: 58
Past Year
  • Issues: 1
  • Pull requests: 63
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 days
  • Issue authors: 1
  • Pull request authors: 18
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.08
  • Merged pull requests: 44
  • Bot issues: 1
  • Bot pull requests: 30
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (85)
  • cclauss (8)
  • scoder (7)
  • EwoutH (6)
  • abepolk (6)
  • hroncok (6)
  • udifuchs (5)
  • nwellnhof (4)
  • pnacht (4)
  • ferdnyc (4)
  • rotu (4)
  • frenzymadness (4)
  • xmo-odoo (3)
  • mr-c (3)
  • hugovk (3)
Top Labels
Issue Labels
Pull Request Labels
dependencies (85) github_actions (12) feature (3) invalid (3) fixed (2) needs patch (1)

Packages

  • Total packages: 4
  • Total downloads:
    • homebrew 4 last-month
    • pypi 173,825,044 last-month
  • Total docker downloads: 5,072,336,033
  • Total dependent packages: 4,466
    (may contain duplicates)
  • Total dependent repositories: 117,120
    (may contain duplicates)
  • Total versions: 249
  • Total maintainers: 3
  • Total advisories: 6
pypi.org: lxml

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

  • Versions: 171
  • Dependent Packages: 4,127
  • Dependent Repositories: 115,734
  • Downloads: 173,825,044 Last month
  • Docker Downloads: 5,072,336,033
Rankings
Dependent packages count: 0.0%
Docker downloads count: 0.0%
Dependent repos count: 0.0%
Downloads: 0.0%
Average: 0.8%
Stargazers count: 2.0%
Forks count: 2.8%
Last synced: 10 months ago
conda-forge.org: lxml

The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.

  • Homepage: http://lxml.de/
  • License: BSD-3-Clause and MIT-CMU
  • Latest release: 4.9.1
    published almost 4 years ago
  • Versions: 39
  • Dependent Packages: 282
  • Dependent Repositories: 693
Rankings
Dependent packages count: 0.2%
Dependent repos count: 1.0%
Average: 4.2%
Forks count: 7.1%
Stargazers count: 8.3%
Last synced: 10 months ago
anaconda.org: lxml

The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.

  • Homepage: https://lxml.de/
  • License: BSD-3-Clause and GPL-2.0-only and ZPL-2.0 and LicenseRef-ElementTree
  • Latest release: 5.3.0
    published over 1 year ago
  • Versions: 30
  • Dependent Packages: 29
  • Dependent Repositories: 693
Rankings
Dependent packages count: 1.0%
Dependent repos count: 5.9%
Average: 9.6%
Forks count: 14.7%
Stargazers count: 16.6%
Last synced: 10 months ago
formulae.brew.sh: python-lxml

Pythonic binding for the libxml2 and libxslt libraries

  • Versions: 9
  • Dependent Packages: 28
  • Dependent Repositories: 0
  • Downloads: 4 Last month
Rankings
Dependent packages count: 18.7%
Average: 47.6%
Dependent repos count: 56.5%
Downloads: 67.7%
Last synced: 10 months ago

Dependencies

requirements.txt pypi
  • Cython >=0.29.7
.github/workflows/ci.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pat-s/always-upload-cache v3.0.11 composite
.github/workflows/wheels.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • softprops/action-gh-release v1 composite
setup.py pypi