Skip to main content

A port of Meringue (https://github.com/stiive/meringue) for Python.

Project description

PyMeringue

PyMeringue is a port of Meringue. PyMeringue offers an extension for Python lists, adding helpful functions to make your life easier.

Installation

Through pip:

$ pip3 install pymeringue

From source:

$ git clone https://github.com/stiive/pymeringue pymeringue
$ cd pymeringue
$ python setup.py install

Sample Usage

PyMeringue is simple to use and can be used as a drop-in replacement for normal Python lists.

import meringue

list1 = Meringue()

for i in range(20):
	list1.append(i)

print(list1) # [0, 1, 2, ... 19]

PyMeringue adds several helpful functions to make managing Python lists easier.

print(list1.last()); # 19

print(list1.at(-1)); # 19

list2 = Meringue(["a", "b", "c", "d", "c", "b", "a"]);

print(list2.removeCommonElements(["a", "c"], ["d"])); # ["b", "b"]

print(list2.unique()); # ["a", "b", "c", "d"]

Documentation

Full documentation can be found at https://meringue.stiive.co.

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

pymeringue-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

pymeringue-1.0.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymeringue-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for pymeringue-1.0.0.tar.gz
Algorithm Hash digest
SHA256 374d05135b74481c99211141753cce65b835787ce1613ac4c8d6789f6922cd83
MD5 7d232b87440f4226c72f09920267c07e
BLAKE2b-256 5c0f48c22fb16157edcde8a039eaf8952ffdaf9921d961d2b22b4c508015949e

See more details on using hashes here.

File details

Details for the file pymeringue-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pymeringue-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for pymeringue-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6027f2c5bc218ae81cb9414b7ec599a1d2dfea258ffeadb2e1b92b2d4d4231f6
MD5 5249e113585fad265e80b62c1643b15d
BLAKE2b-256 704e6be1efebe7a55d38c83ce88e8bc02c988f718c62928cf221483db7f4f33c

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