Changelog
1.6.3
- Slight restructuring
1.6.2
- Corrected circular import
1.6.1
- wildcard import was unable to access new classes.
1.6.0
- Added new HyperPlane class, defined by multiple points.
- Added new HyperPlaneSegment class.
- Added line.hyperplane_intersection function, that returns the intersection of two HyperPlanes
- Added vector.orthogonalise_vector_set function that returns an orthonormal vector set when given a list of vecotrs.
- Added vector.independent_of function, which returns True if a given vector is independent of a given list of vectors.
- Changed colour.dim and colour.bright doc strings.
- Added pygame_.init, which must be called before any pygame_ functions can be used.
- Added new pad method to vectors and points.
- Altered wildcard imports to prevent exposising modules.
1.5.3
- Made Point._coords public
1.5.2
- Fixed import * shadowing numpy and other internal imports.
1.5.1
- Fixed circular import causing crash.
1.5.0
- Added a new Point class, as well as Point2d and Point3d subclasses.
- Added a new Vector class, with Vector2d and Vector3d subclasses.
- Points and Vectors support operations between them such as addition, subtraction, multiplication and division.
- Points and Vectors can exist in an arbitrary amount of dimensions, and all functions have been modified to require data passed in as a Point or Vector explicitly. Lines are simply a tuple containing two Points.
- Added a new Colour class, that can be defined using a string hex code, or a RGB(A) tuple.
- Conversion between hex and RGB tuples is built in, and so are operations such as addition, subtraction, multiplication and division.
- Addition blends two colours together. The quantity attribute can be used to control weighting.
- Subtraction is defined as the inverse of addition, while multiplication and division are the conventional implementations
- Functions have now been separated into different modules, those being: colour, images, line, point, pygame, types and vector.
- All functions and classes can still be accessed via C_librarianthefirstsecondandlast.<function>.
- Added the following:
- convert_tuple_to_list, which accepts a tuple and recursively converts it into a list.
- truncate_file_at_byte_sequence, which accepts a file and a byte sequence, and truncates the file at the last occurrence of the byte sequence.
- colour.to_hex which converts an RGB tuple into a string hex code.
- colour.to_rgb, which converts a string hex code into a tuple of RGB values.
- colour.bright, which brightens a colour by a given percentage
- colour.dim, which dims a colour by a given percentage.
- colour.random_colour, which returns a random colour
- images.replace_colour, which replaces all pixels of a given colour inside a PIL ImageFile with a different colour.
- vector.cross_product, which calculates the cross product of the given vectors.
- degs and rads as types showing whether the function accepts or outputs radians or degrees.
- Altered the following:
- Vector and Point are no longer types, and are now classes.
- line.point_on_segment and line.line_intersect can now accept vectors existing in an arbitrary amount of dimensions, and are now more efficient.
- point.distance, point.angle_from and point.rotate_about can now accept points existing in an arbitrary amount of dimensions.
- vector.vector_from now uses subtraction of Points.
- vector.vector_from_angle and vector.angle_from_vector now accept/output a list of hypersherical angles when creating/accepting a vector existing in more than two dimensions.
- All vector functions now accept vectors existing in an arbitrary amount of dimensions.
1.4.0
-Added or altered type annotations within many functions
-Made warn() use a set to prevent duplicate warnings.
-Altered rotate_about to accept degrees.
-Rotation functions now consistently accept degrees and return radians.
1.3.1
-(Hopefully) fixed warn slowing down the game.
1.2.2
-Fixed issue with smooth_blur
1.2.1
-Made smooth_blur smoother
1.2.0
-Added two new functions. smooth_blur and blocky_blur
1.1.2
-(Attempted to) Fixed issue with negative sliders
1.1.1
-Fixed minor issue
1.1.0
-Added truncation of decimals.
-Added text wrapping of text through popup_text
-Added cull_whitespace. A function that removes whitespace within an image, returning only the smallest bounding box required.
-Added the ability to rotate a point about a separate point.
Metadata
Release files for C-librarianthefirstsecondandlast 1.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c_librarianthefirstsecondandlast-1.6.3.tar.gz | 15.7 kB | Without provenance | Details for c_librarianthefirstsecondandlast-1.6.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c_librarianthefirstsecondandlast-1.6.3-py3-none-any.whl | Python 3 | none | any | Details for c_librarianthefirstsecondandlast-1.6.3-py3-none-any.whl |
Total release size: 35.6 kB
Release files / c_librarianthefirstsecondandlast-1.6.3.tar.gz
| Download URL | c_librarianthefirstsecondandlast-1.6.3.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdf9ff1bd0d8929384eea196b1e0cd2ea53a45974563bab75e2bb0f5af632eaa
|
|
BLAKE2b-256 checksum How to use checksums |
0abc6e2d078a6ef82ca76fbf2d090219b542ee1d2e262abdb3cdce45fee5e443
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / c_librarianthefirstsecondandlast-1.6.3-py3-none-any.whl
| Download URL | c_librarianthefirstsecondandlast-1.6.3-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e500e16f03f6198daa6f6cc63507fa7c5b0e584dd3f95dd1e4e8d2658f295191
|
|
BLAKE2b-256 checksum How to use checksums |
10b5ae92f9e97720f3413bd9d54c2d3b46289ee811a68df9710a52c00bd80c30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for C-librarianthefirstsecondandlast 1.6.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.