Skip to main content

CLI for working with Netflix Open Content resources.

Project description

Netflix Open Content Helper

A command-line utility for downloading test frames from Netflix Open Content.

PyPI - Python Version GitHub branch check runs Documentation PyPI - Version

GitHub License Tests Status Coverage Status codecov

Prerequisites

You will need the AWS CLI installed and available in $PATH to download frame content. No AWS account is needed however, as we use -no-sign-request when downloading files.

Quickstart

Install using pip or pipx.

$ pip install netflix-open-content-helper

or

$ pipx install netflix-open-content-helper

This will provide the command-line utility noc.

Using noc with Netflix Open Content

Download the first frame of Sparks to the current directory.

$ noc download sparks
Downloading: sparks frames 1-1
Downloading... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:11

List the available Netflix Open Content Assets with frame content.

$ noc list
Available content with frames:
- chimera             : Live action footage, 4K. Download configured for the 23.98fps frame rate version. TIFF files.
- cosmoslaundromat    : Animated short film done in Blender, 2K 24p. EXR files.
- meridian            : Live action noir UHD short, 59.94fps. Mastered in Dolby Vision HDR. TIFF files.
- sparks              : Live action 4K HDR test short, 59.94fps, finished at 4000 nits. ACES EXR files.

Open a new web browser window to the Netflix Open Content URL.

$ noc browse
... (web browser opens)

Developer Setup

Clone this repository (or fork on GitHub).

In the local repository directory, set up for Python development. The steps below show Astral's uv in use - but using Python venv is also fine.

# Create and activate Python virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install development dependencies with the project set as editable
uv pip install -e ".[dev]"

# Install Git pre-commit hooks
pre-commit install

Create a feature branch and make changes. See TESTS.md for details on running this product's tests.

Contributing

Contributions to improve this utility are welcome! Please submit issues and pull requests on GitHub.

License

This code is MIT licensed. See the LICENSE file for details.

Credits

Created and maintained by Jason MacLeod.

Reference

See REFERENCE.md for details on how this project is set up, including more developer details.

Made using Marc Goodner's Python Template

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

netflix_open_content_helper-0.1.7.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

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

netflix_open_content_helper-0.1.7-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file netflix_open_content_helper-0.1.7.tar.gz.

File metadata

File hashes

Hashes for netflix_open_content_helper-0.1.7.tar.gz
Algorithm Hash digest
SHA256 03fe8519181f235fbfd2b751c66b2d4c858ee471e874b0e6634f8c36936533a8
MD5 dd0735b89e4d349aa4c02d00dc0e8ab9
BLAKE2b-256 7986d5a7410f36b3e837844128a8d31bfc1ec83f28247533b99a07ac0a750d40

See more details on using hashes here.

Provenance

The following attestation bundles were made for netflix_open_content_helper-0.1.7.tar.gz:

Publisher: release-to-pypi.yml on jdmacleod/netflix-open-content-helper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netflix_open_content_helper-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for netflix_open_content_helper-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bf43c76a0ff1d18c91a839e572ab191fa7980550bb5a74ca22df9fb3aa74664e
MD5 3be8683eb4b91a4eb3749a28ed61cf76
BLAKE2b-256 f82696dc195a64bd94af5ed415a4d123db2a8df8a5b83418ca4ff1bfa5720040

See more details on using hashes here.

Provenance

The following attestation bundles were made for netflix_open_content_helper-0.1.7-py3-none-any.whl:

Publisher: release-to-pypi.yml on jdmacleod/netflix-open-content-helper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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