Catalog PyPI
Back to packageRELEASE DETAILS

0.0.5

PyPI

aflevering3-tree

A collection of functions from Aflevering 3

Published24 Feb 2022
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.0.5 documentation
This is a collection of functions from an assigment, that i could not be bothered to have on the top of my new project.
They include the functions:

"gen_labels_letters(n)", this generates a List of n length, of max length 24, of letters from A to Z

"gen_labels(n)", this generates a list of n length with names of "L1, L2, ... , Ln"

"permute(L)", permutes a given list L

"pairs(L)", pairs elements of a given list L, with the condition that a < b

"canonical_triplets(A, B)", Makes pairs of with all combinations from A and B, so [(A[1], B[1], (A[1], B[2]), ... , (A[n], B[1]), ... , (A[n], B[n])]

"anchored_triplets(L, R)", takes "canonical_triplets(L, R) + canonical_triplets(R, L)" and outputs that.

Change Log
===========


0.0.1 (24/02/2022)
-------------------
- First version


0.0.2 (24/02/2022)
-------------------
- added import random to hopefully make a function work


0.0.3 (24/02/2022)
------------------
- added 'import string' to make another function work :)))))
- added more the README

0.0.4 (24/02/2022)
------------------
- Improved the pairs function, so L1 > L10
- Removed unnecessary code

0.0.5 (24/02/22)
-----------------
- removed some test code i accidentally uploaded, so everytime this was imported it was spit out a list

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
aflevering3_tree-0.0.5.tar.gz

sdist · 3.03 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:54331ce65629c2460dd67fa1b1853382b83c29388ea1045a1550890d8885f25a

Other collected versions

View all collected versions →