Nightcore

Latest version: v1.1.0

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

Scan your dependencies

1.1.0

Changes

1.1.0 is larger than I expected it to be. At first it was just to do some maintenance and `--output-format` but it turns out there was a fair amount of stuff that I felt could be improved.

CLI

- Added: `--output-format` (see updated readme for information)
- Added: Default output format is smart! `--output-format` is *almost* never necessary.
- Added: Error handling for decoding and encoding audio.
- Fixed: The amount-type metavar no longer has double brackets
eg. `[[octaves|tones|...]]` is now `[octaves|tones|...]`

API

- Added: Asynchronous function (`nightcore.aio.nightcore()`)
- Removed: `RelativeChange` and `BaseInterval` are no longer at the top level of the module.
You can still use them through `nightcore.change.RelativeChange`.
- Fixed: Type hints! Mypy is now very happy.

General

- Changed: Rewrote the API documentation to focus more on convenience than completeness.
It's a much better read now.
- Changed: Badge colors.
Fades from blue (PyPI/Python) to red (FFmpeg/MIT) to black (Black). Pretty!

1.0.1

This package was originally designed purely as a CLI, though the API is now just as much of a first-class citizen. After iterating on the API design and DX, I've landed on something that I feel is easily maintainable and a good experience to use. On top of that, it makes the CLI implementation much cleaner.

The readme has been updated with instructions on how to install (`pip install nightcore`) and use the package.

Future plans

At some point soon I'll be updating the CLI to support exporting different formats of audio, as presently it only exports to MP3. I haven't implemented this yet because I'm not a fan of overloading users with lots of flags and options. There's a beauty in simplicity, and the nightcore CLI echoes that. This will likely be in v1.1.0 once I land on an implementation I'm happy with.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.