Skip to main content

Linq for Python

Project description

Coverage Status

py-linq

LINQ (Language Integrated Query) is a popular querying language available in .NET. This library ports the language so that developers can query collections of objects using the same syntax. This library would be useful for Python developers with experience using the expressiveness and power of LINQ.

Install

Available as a package from PyPI.

pip install py-linq

Usage

To access the LINQ functions an iterable needs to be wrapped by the Enumerable

from py_linq import Enumerable
my_collection = Enumerable([1,2,3])

Documentation

Please visit the project site for better documentation

Authors

Bruce Fenske

Contributors

  1. Oleg Shilo
  2. Sebastien Celles

History

Date Version Description
07-Mar-2019 1.0
  • Issue #17 - Added additional LINQ methods to complete the Enumerable API as per MSDN
06-Jan-2019 0.7
  • Issue #19 - Distinct bug fix
06-Dec-2018 0.6
  • Issue #13 - Empty list as default parameter
  • Issue #14 - except_ method bug fix
19-Jul-2017 0.5
  • last and last_or_default method bug fixes
  • then_by and then_by_descending implementation
30-Jan-2017 0.4
  • Added Python 3 support
15-Jan-2015 0.3
  • Changed README.rst
  • Performance improvements
12-Jan-2015 0.2
  • Added documentation
07-Jan-2015 0.1
  • Initial beta release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_linq-1.0.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_linq-1.0.0-py2.py3-none-any.whl (56.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file py_linq-1.0.0.tar.gz.

File metadata

  • Download URL: py_linq-1.0.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for py_linq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8f3653cdef3a7ce7ee1f4c1a553fa624a3649d40d7691273973804b79cf21c33
MD5 1185d3166ad91279940f3926fb298ef5
BLAKE2b-256 5ca8762d517b417acb78bffd8c3a3b9868d1c0476dce403b4829b95e38979e15

See more details on using hashes here.

File details

Details for the file py_linq-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: py_linq-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for py_linq-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 92ec12627e26c84b8154a548f4df3ceb4f85a2e3dde2a5b6909c89a8c76acf31
MD5 a178d9b2200d34ea6520725da0db731d
BLAKE2b-256 10f24504dbc83829c3a409639ae64b41bcf78d5d1c0f329d9592d8b7761836ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page