Skip to content

bhrevol/a10sa-script

Repository files navigation

A10SA Script

PyPI Status Python Version License

Read the documentation at https://a10sa-script.readthedocs.io/ Tests Codecov

pre-commit Black

Library for manipulating Vorze A10 sex toy scripts.

Features

  • Read/Write/Convert supported script formats.
  • Export scripts as Buttplug Protocol command sequences.

Supported Formats

  • Vorze CSV
  • Afesta/LPEG VCSX (.bin)
  • Funscript JSON

Requirements

  • Python 3.8+

Installation

You can install A10SA Script via pip from PyPI:

$ pip install a10sa-script

Usage

Convert VCSX Vorze_CycloneSA.bin to script_cyclone.csv:

>>> from a10sa_script.script import VCSXCycloneScript, VorzeRotateScript
>>> with open("Vorze_CycloneSA.bin", "rb") as f:
...     vcsx = VCSXCycloneScript.load(f)
>>> with open("script_cyclone.csv", "wb") as f:
...     VorzeRotateScript(vcsx.commands).dump(f)

Convert CSV script_piston.csv to script.funscript:

>>> from a10sa_script.script import VorzePistonScript, FunscriptScript
>>> with open("script_piston.csv", "rb") as f:
...     csv = VorzePistonScript.load(f)
>>> with open("script.funscript", "wb") as f:
...     FunscriptScript(csv.commands).dump(f)

Please see the Command-line Reference for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, A10SA Script is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

About

Library for manipulating Vorze A10 toy scripts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages