Sequentium

Latest version: v0.0.5

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.5

ENHANCEMENT:

- sequentium.sequence.sequences.explicit: add sequence A010060 (Thue-Morse Sequence)
- sequentium.sequence.sequences.explicit_generalised: add class DigitSumSequence (https://mathworld.wolfram.com/DigitSum.html)
- sequentium.sequence.sequences.explicit: add sequence A000120 (Number of 1's in binary expansion of n)
- sequentium.sequence.sequences.explicit: add sequence A053735 (Sum of digits of n written in base 3)
- sequentium.sequence.sequences.explicit: add sequence A053737 (Sum of digits of n written in base 4)
- sequentium.sequence.sequences.explicit: add sequence A053824 (Sum of digits of n written in base 5)
- sequentium.sequence.sequences.explicit: add sequence A053827 (Sum of digits of n written in base 6)
- sequentium.sequence.sequences.explicit: add sequence A053828 (Sum of digits of n written in base 7)
- sequentium.sequence.sequences.explicit: add sequence A053829 (Sum of digits of n written in base 8)
- sequentium.sequence.sequences.explicit: add sequence A053830 (Sum of digits of n written in base 9)
- sequentium.sequence.sequences.explicit: add sequence A007953 (digit sum)
- sequentium.tests.tests_core.test_validation: added tests for validation methods
- sequentium.sequence.core.utils.exceptions: better exceptions

0.0.4

ENHANCEMENT:
- README.md: improve description
- examples.solving_project_euler_problems: add notebook to present and explain the package functionalities

FIX:
- sequentium.sequence.core.utils.validation: Fix validate_positive_integer. Added flag when 0 is allowed.

MAINTENANCE:
- ruff.toml: deleted
- tests.pytest.ini: deleted
- pyproject.toml: added with the config of ruff.toml and pytest.ini
- .github.workflows.linting-and-formatting: renamed and add checks also for the tests directory

0.0.3

ENHANCEMENT:
- sequentium.ruff.toml: config update with new rules
- sequentium.README.md: add badges
- sequentium.tests: refactoring of the tests

FIX:
- sequentium.sequence.cli: fixed small bugs and unexpected behavior for the cli

0.0.2

ENHANCEMENT:

sequentium.github.workflows.release.yml: workflow for automatic upload on pypi
sequentium.sequence.sequences.integer.periodic_generalised.py: added class for representing constant sequences
sequentium.sequence.sequences.integer.recursive.py: added sequence A001608
sequentium.sequence.sequences.integer.explicit.py: added sequence A000566 (heptagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A000567 (octagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A001106 (nonagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A001107 (decagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051682 (hendecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051624 (dodecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051865 (tridecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051866 (tetradecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051867 (pentadecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051868 (hexadecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051869 (heptadecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051870 (octadecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051871 (enneadecagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051872 (icosagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051873 (icosihenagonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051874 (Icosidigonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051875 (icositrigonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A051876 (icositetragonal numbers)
sequentium.sequence.sequences.integer.explicit.py: added sequence A167149 (myriagonal numbers)

0.0.1

ENHANCEMENT:
- sequentium.tests.sequence_tests_suite.py: self.ground_truth_length is removed as we can perform same tests without it.
- sequentium.core.core.py: added __str__ method in Sequence class
- sequentium.ruff.toml: added rule "ANN"
- sequentium.core.core.py: added __eq__ method in Sequence clas
- sequentium.core.mixin.py: new script for mixin classes
- sequentium.core.mixin.py: added AlmostMonotonicIncreasingMixin class
- sequentium.sequences.integer.recursive.py: added A000931

FIX:
- sequentium.core.core.py: method __getitem__ return a generator when the stop value in the slice is missing

0.0.0

First version of Sequentium :-D

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.