Skip to content

Commit

Permalink
Release v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikWin committed Oct 7, 2024
1 parent fe1d923 commit 10bbfd5
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions snake-pit/test_smart_source.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from fractions import Fraction
import os
import json

import vidformer
import pandas as pd


def test_http_path():
import vidformer as vf
from fractions import Fraction

server = vf.YrdenServer(bin="../target/debug/vidformer-cli")
tos = vidformer.Source(
server, "tos_720p-XYZ", "https://f.dominik.win/data/dve2/tos_720p.mp4", 0
)

assert tos._server == server
assert tos._name == "tos_720p-XYZ"
assert tos._path == "data/dve2/tos_720p.mp4"
assert tos._stream == 0
assert type(tos._service) == vf.StorageService
assert tos._service._service == "http"
assert type(tos._service._config) == dict
assert len(tos._service._config) == 1
assert tos._service._config["endpoint"] == "https://f.dominik.win"

# run these to make sure they don't crash
tos.ts()
tos.fmt()
2 changes: 1 addition & 1 deletion vidformer-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vidformer-cli"
version = "0.5.3"
version = "0.5.4"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion vidformer-py/src/vidformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A Python library for creating and viewing videos with vidformer."""

__version__ = "0.5.3"
__version__ = "0.5.4"

import subprocess
from fractions import Fraction
Expand Down
2 changes: 1 addition & 1 deletion vidformer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vidformer"
version = "0.5.3"
version = "0.5.4"
description = "A data-systems focused library for declarative video synthesis."
authors = ["Dominik Winecki <[email protected]>"]
edition = "2021"
Expand Down

0 comments on commit 10bbfd5

Please sign in to comment.