mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-04 06:29:08 +02:00
2022-01-08 Fred Gleason <fredg@paravelsystems.com>
* Consolidated the 'pypad' and 'rivwebpyapi' Python modules into a single 'rivendellaudio' package namespace. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f0568a8d3c
commit
179f23a54f
10
.gitignore
vendored
10
.gitignore
vendored
@ -31,11 +31,11 @@
|
||||
aclocal.m4
|
||||
apis/rivwebcapi/rivwebcapi.pc
|
||||
apis/rivwebcapi/tests/*_test
|
||||
apis/rivwebpyapi/PKG-INFO
|
||||
apis/rivwebpyapi/SOURCES.txt
|
||||
apis/rivwebpyapi/dependency_links.txt
|
||||
apis/rivwebpyapi/requires.txt
|
||||
apis/rivwebpyapi/top_level.txt
|
||||
apis/PKG-INFO
|
||||
apis/SOURCES.txt
|
||||
apis/dependency_links.txt
|
||||
apis/requires.txt
|
||||
apis/top_level.txt
|
||||
autom4te.cache
|
||||
build_debs.sh
|
||||
cae/caed
|
||||
|
@ -22871,3 +22871,6 @@
|
||||
* Reset the version of the 'rivwebpyapi' module to 4.0.0b3.
|
||||
* Changed the upload PyPI repository for the 'rivwebpyapi' module
|
||||
from 'testpypi' to 'pypi'.
|
||||
2022-01-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Consolidated the 'pypad' and 'rivwebpyapi' Python modules into
|
||||
a single 'rivendellaudio' package namespace.
|
||||
|
3
INSTALL
3
INSTALL
@ -127,9 +127,6 @@ Available at http://www.underbit.com/products/mad/.
|
||||
TwoLAME - MPEG Layer 2 Encoder Library. Needed for MPEG Layer 2 exporting and
|
||||
capture. Available at http://www.twolame.org/.
|
||||
|
||||
Python3 'build' and 'twine' modules. Needed to build DEB packages using
|
||||
the 'make deb' target. Available from the Python Packaging Index (PyPI).
|
||||
|
||||
|
||||
DOCUMENTATION
|
||||
-------------
|
||||
|
@ -2,7 +2,7 @@
|
||||
##
|
||||
## Makefile.am for rivendell/apis
|
||||
##
|
||||
## (C) Copyright 2018-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as
|
||||
@ -24,13 +24,42 @@ SUBDIRS = pypad\
|
||||
rivwebcapi\
|
||||
rivwebpyapi
|
||||
|
||||
pypi:
|
||||
rm -rf pypi
|
||||
mkdir -p pypi/src/rivendellaudio
|
||||
touch pypi/src/rivendellaudio/__init__.py
|
||||
cp pypad/api/pypad.py pypi/src/rivendellaudio/
|
||||
cp rivwebpyapi/api/rivwebpyapi.py pypi/src/rivendellaudio/
|
||||
cp ../LICENSES/LGPLv2.txt pypi/LICENSE
|
||||
cp pyproject.toml pypi/
|
||||
cp setup.cfg pypi/
|
||||
mkdir -p pypi/tests
|
||||
python3 -m build pypi
|
||||
cp pypi/dist/* .
|
||||
cp pypi/src/rivendellaudio.egg-info/* .
|
||||
rm -rf pypi
|
||||
|
||||
post-pypi:
|
||||
python3 -m twine upload --repository pypi *.tar.gz *.whl
|
||||
|
||||
EXTRA_DIST = pyproject.toml\
|
||||
setup.cfg.in
|
||||
|
||||
CLEANFILES = *~\
|
||||
*.idb\
|
||||
*ilk\
|
||||
*.obj\
|
||||
*.pdb\
|
||||
*.qm\
|
||||
moc_*
|
||||
*.tar.gz\
|
||||
*.whl\
|
||||
PKG-INFO\
|
||||
SOURCES.txt\
|
||||
dependency_links.txt\
|
||||
moc_*\
|
||||
not-zip-safe\
|
||||
requires.txt\
|
||||
top_level.txt
|
||||
|
||||
MAINTAINERCLEANFILES = *~\
|
||||
*.tar.gz\
|
||||
|
@ -2,7 +2,7 @@
|
||||
##
|
||||
## Makefile.am for Rivendell pypad/api
|
||||
##
|
||||
## (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as
|
||||
@ -20,7 +20,7 @@
|
||||
##
|
||||
## Use automake to process this into a Makefile.in
|
||||
|
||||
rivendelldir = $(pyexecdir)
|
||||
rivendelldir = $(pyexecdir)/rivendell
|
||||
rivendell_PYTHON = pypad.py
|
||||
|
||||
CLEANFILES = *~\
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send PAD updates to an Ando AdInjector
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import socket
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
last_updates={}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to files
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -22,7 +22,10 @@
|
||||
|
||||
import sys
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to HTTP GET URL
|
||||
#
|
||||
# (C) Copyright 2019-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2019-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import syslog
|
||||
from io import BytesIO
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send PAD updates to Icecast2 mountpoint
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -27,7 +27,10 @@ import requests
|
||||
from requests.auth import HTTPBasicAuth
|
||||
import xml.etree.ElementTree as ET
|
||||
import syslog
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import configparser
|
||||
|
||||
def ProcessPad(update):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send Now & Next updates to an Innovonics 713 RDS encoder
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import socket
|
||||
import configparser
|
||||
import serial
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send Now & Next updates to an Inovonics 713 RDS encoder as TCP
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
# 2020 Eric Adler <eric@whrwfm.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -24,7 +24,10 @@
|
||||
import sys
|
||||
import socket
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import time
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send PAD updates to a Liquid Compass stream encoder
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import socket
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
last_updates={}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to Live365 stations
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
from io import BytesIO
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send Now & Next updates to an Nautel FM Transmitter as TCP for RDS
|
||||
#
|
||||
# (C) Copyright 2018-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
# 2020 Eric Adler <eric@whrwfm.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -25,7 +25,10 @@ import sys
|
||||
import socket
|
||||
import syslog
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import time
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to serial (tty) devices.
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import serial
|
||||
from io import BytesIO
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to a Shoutcast 1 instance
|
||||
#
|
||||
# (C) Copyright 2018-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
from io import BytesIO
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to the Spinitron Playlist Service
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
from io import BytesIO
|
||||
|
||||
last_updates={}
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Output Now & Next data on the basis of Group and Length.
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import socket
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
last_updates={}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send PAD updates to TuneIn
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -26,7 +26,10 @@ import socket
|
||||
import requests
|
||||
import xml.etree.ElementTree as ET
|
||||
import syslog
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
import configparser
|
||||
|
||||
def ProcessPad(update):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send PAD updates via UDP
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -23,7 +23,10 @@
|
||||
import sys
|
||||
import socket
|
||||
import configparser
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to arbitrary URLs
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
from io import BytesIO
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates a WallTime text widget.
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import pycurl
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
from io import BytesIO
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send Now & Next updates to an RDS encoder supporting X-Command
|
||||
#
|
||||
# (C) Copyright 2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2019-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -28,7 +28,10 @@ import configparser
|
||||
import serial
|
||||
import xml.etree.ElementTree as ET
|
||||
import time
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(pypad_name+': ',file=sys.stderr,end='')
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Send CICs via UDP or serial
|
||||
#
|
||||
# (C) Copyright 2018-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -26,7 +26,10 @@ import configparser
|
||||
import serial
|
||||
import time
|
||||
import syslog
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
#
|
||||
# For supressing redundant 'now' updates
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Write PAD updates to a Sirius/XM channel
|
||||
#
|
||||
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,7 +24,10 @@ import sys
|
||||
import syslog
|
||||
import configparser
|
||||
import serial
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
XMPAD_DELIMITER='\02'
|
||||
# XMPAD_DELIMITER='\x7c' #(|)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Exercise every filepath wildcard in 'pypad.Update::resolveFilepath()'
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -22,7 +22,10 @@
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def ProcessPad(update):
|
||||
print()
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Barebones example pypad script for Rivendell
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -24,10 +24,13 @@
|
||||
# To see the full documentation of these classes, enter the following at
|
||||
# a python interactive prompt:
|
||||
#
|
||||
# import pypad
|
||||
# from rivendellaudio import pypad
|
||||
# help(pypad)
|
||||
#
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
#
|
||||
# First, we create a callback method, that will be called every time a
|
||||
@ -66,4 +69,5 @@ rcvr.setPadCallback(ProcessPad)
|
||||
# the target Rivendell system. Once started, all further processing can only
|
||||
# be done in the callback method!
|
||||
#
|
||||
rcvr.start('localhost',pypad.PAD_TCP_PORT)
|
||||
rcvr.start('192.168.21.14',pypad.PAD_TCP_PORT)
|
||||
#rcvr.start('localhost',pypad.PAD_TCP_PORT)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Exercise every PAD accessor method of 'pypad.Update' for each update.
|
||||
#
|
||||
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@ -22,7 +22,10 @@
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
import pypad
|
||||
try:
|
||||
from rivendellaudio import pypad
|
||||
except ModuleNotFoundError:
|
||||
import pypad # Rivendell v3.x style
|
||||
|
||||
def ProcessPad(update):
|
||||
print
|
||||
|
@ -2,7 +2,7 @@
|
||||
##
|
||||
## Automake.am for Python binding for the Rivendell Web API
|
||||
##
|
||||
## (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU Lesser General Public License as
|
||||
@ -23,38 +23,13 @@
|
||||
SUBDIRS = api\
|
||||
tests
|
||||
|
||||
all: @PYPI@
|
||||
|
||||
pypi:
|
||||
rm -rf pypi
|
||||
../../helpers/build_pypi_package.sh rivwebpyapi
|
||||
cp pypi/dist/* .
|
||||
cp pypi/src/rivwebpyapi.egg-info/* .
|
||||
rm -rf pypi
|
||||
|
||||
post-pypi:
|
||||
python3 -m twine upload --repository pypi *.tar.gz *.whl
|
||||
|
||||
EXTRA_DIST = pyproject.toml\
|
||||
setup.cfg.in
|
||||
|
||||
CLEANFILES = *~\
|
||||
*.idb\
|
||||
*ilk\
|
||||
*.obj\
|
||||
*.pdb\
|
||||
*.qm\
|
||||
*.tar.gz\
|
||||
*.whl\
|
||||
PKG-INFO\
|
||||
SOURCES.txt\
|
||||
dependency_links.txt\
|
||||
moc_*\
|
||||
not-zip-safe\
|
||||
requires.txt\
|
||||
top_level.txt
|
||||
|
||||
DISTCLEANFILES = setup.cfg
|
||||
moc_*
|
||||
|
||||
MAINTAINERCLEANFILES = *~\
|
||||
*.tar.gz\
|
||||
|
@ -2,7 +2,7 @@
|
||||
##
|
||||
## Automake.am for Python binding for the Rivendell Web API
|
||||
##
|
||||
## (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU Lesser General Public License as
|
||||
@ -20,7 +20,7 @@
|
||||
##
|
||||
## Use automake to process this into a Makefile.in
|
||||
|
||||
rivendelldir = $(pyexecdir)/rivwebpyapi
|
||||
rivendelldir = $(pyexecdir)/rivendell
|
||||
rivendell_PYTHON = rivwebpyapi.py
|
||||
|
||||
CLEANFILES = *~\
|
||||
|
@ -1,30 +0,0 @@
|
||||
[metadata]
|
||||
name=rivwebpyapi
|
||||
version=@RIVWEBPYAPI_VERSION@
|
||||
author=Fred Gleason
|
||||
author_email=fredg@paravelsystems.com
|
||||
description=Python 3 interface for accessing the Rivendell Web API
|
||||
long_description=This is a Python 3 language binding for the Rivendell Web API.
|
||||
|
||||
Example scripts for testing and exercising the API can be found in the
|
||||
[Rivendell sources](https://github.com/ElvishArtisan/rivendell/tree/qt5)
|
||||
in 'apis/rivwebpyapi/tests/'.
|
||||
long_description_content_type=text/markdown
|
||||
url=https://github.com/ElvishArtisan/rivendell
|
||||
project_urls=
|
||||
Bug Tracker=https://github.com/ElvishArtisan/rivendell/issues
|
||||
classifiers=
|
||||
Programming Language :: Python :: 3
|
||||
License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
||||
Operating System :: OS Independent
|
||||
|
||||
[options]
|
||||
package_dir=
|
||||
=src
|
||||
packages=find:
|
||||
python_requires = >=3.6
|
||||
install_requires =
|
||||
requests >= 2.14.2
|
||||
|
||||
[options.packages.find]
|
||||
where=src
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AddCart Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AddCut Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AddLog Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AssignSchedCode Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AudioInfo Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the AudioStore Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the DeleteAudio Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the DeleteLog Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the EditCart Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the EditCut Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the Export Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ExportPeaks Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the GetPodcast Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the Import Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListCart Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListCartSchedCodes Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListCarts Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListCut Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListCuts Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Access the 'ListGroup' call.
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Access the 'ListGroups' call.
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListLog Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListLogs Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListSchedulerCodes Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListServices Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the ListSystemSettings Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the LockLog Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the PostImage Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the PostPodcast Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the PostRss Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the Rehash Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the RemoveCart Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the RemoveCut Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the RemoveImage Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the RemovePodcast Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the RemoveRss Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the SaveLog Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the SavePodcast Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the TrimAudio Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# Test the UnassignSchedCode Web API call
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
# (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License version 2 as
|
||||
@ -25,7 +25,7 @@
|
||||
import getpass
|
||||
import sys
|
||||
|
||||
from rivwebpyapi import rivwebpyapi
|
||||
from rivendellaudio import rivwebpyapi
|
||||
|
||||
def eprint(*args,**kwargs):
|
||||
print(*args,file=sys.stderr,**kwargs)
|
||||
|
50
apis/setup.cfg.in
Normal file
50
apis/setup.cfg.in
Normal file
@ -0,0 +1,50 @@
|
||||
@GENERATED_SCRIPT_FILE_WARNING@
|
||||
|
||||
[metadata]
|
||||
name=rivendellaudio
|
||||
version=@PYTHONAPI_VERSION@
|
||||
author=Fred Gleason
|
||||
author_email=fredg@paravelsystems.com
|
||||
description=Python 3 interface to the Rivendell Radio Automation System
|
||||
long_description=This is a Python 3 interface for the Rivendell Radio
|
||||
Automation System. It contains the following modules:
|
||||
|
||||
- PyPAD. A system for processing Program Associated Data (PAD) generated
|
||||
by Rivendell.
|
||||
|
||||
Example plug-ins for processing PAD updates can be found in the
|
||||
[Rivendell sources](https://github.com/ElvishArtisan/rivendell/tree/qt5)
|
||||
in 'apis/pypad/tests/'.
|
||||
|
||||
- Web API. Classes for remotely interacting with Rivendell objects,
|
||||
including
|
||||
* Carts
|
||||
* Cuts
|
||||
* Groups
|
||||
* Logs
|
||||
* Podcasts
|
||||
* Scheduler Codes
|
||||
|
||||
Example scripts for testing and exercising the API can be found in the
|
||||
[Rivendell sources](https://github.com/ElvishArtisan/rivendell/tree/qt5)
|
||||
in 'apis/rivwebpyapi/tests/'.
|
||||
long_description_content_type=text/markdown
|
||||
url=https://github.com/ElvishArtisan/rivendell
|
||||
project_urls=
|
||||
Bug Tracker=https://github.com/ElvishArtisan/rivendell/issues
|
||||
classifiers=
|
||||
Programming Language :: Python :: 3
|
||||
License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
||||
Operating System :: OS Independent
|
||||
|
||||
[options]
|
||||
package_dir=
|
||||
=src
|
||||
packages=find:
|
||||
python_requires = >=3.6
|
||||
install_requires =
|
||||
mysqlclient >= 1.3.12
|
||||
requests >= 2.14.2
|
||||
|
||||
[options.packages.find]
|
||||
where=src
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
##
|
||||
## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## Adapted from './autogen.sh' in the Jack Audio Connection Kit.
|
||||
## Copyright (C) 2001-2003 Paul Davis, et al.
|
||||
@ -26,7 +26,7 @@
|
||||
DATESTAMP=`date +%a,\ %d\ %b\ %Y\ %T\ %z`
|
||||
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/control.src > debian/control
|
||||
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/changelog.src | sed "s/@DATESTAMP@/$DATESTAMP/" > debian/changelog
|
||||
sed s/@RIVWEBPYAPI_VERSION@/`cat versions/RIVWEBPYAPI_VERSION`/ < debian/rules.src > debian/rules
|
||||
sed s/@PYTHONAPI_VERSION@/`cat versions/PYTHONAPI_VERSION`/ < debian/rules.src > debian/rules
|
||||
|
||||
mkdir -p m4
|
||||
|
||||
|
25
configure.ac
25
configure.ac
@ -28,7 +28,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
#
|
||||
# API Versioning
|
||||
#
|
||||
AC_SUBST(RIVWEBPYAPI_VERSION,m4_esyscmd(cat versions/RIVWEBPYAPI_VERSION))
|
||||
AC_SUBST(PYTHONAPI_VERSION,m4_esyscmd(cat versions/PYTHONAPI_VERSION))
|
||||
RIVWEBCAPI_CURRENT=m4_esyscmd(cat versions/RIVWEBCAPI_CURRENT)
|
||||
RIVWEBCAPI_REVISION=m4_esyscmd(cat versions/RIVWEBCAPI_REVISION)
|
||||
RIVWEBCAPI_AGE=m4_esyscmd(cat versions/RIVWEBCAPI_AGE)
|
||||
@ -340,22 +340,6 @@ else
|
||||
AC_ARG_VAR(pyexecdir,[the Python extension modules directory])
|
||||
fi
|
||||
|
||||
#
|
||||
# Check for PyPI Module Build Chain
|
||||
#
|
||||
AR_PYTHON_MODULE([build],[BUILD_FOUND=yes],[])
|
||||
AR_PYTHON_MODULE([twine],[TWINE_FOUND=yes],[])
|
||||
if test $BUILD_FOUND ; then
|
||||
if test $TWINE_FOUND ; then
|
||||
PYPI_FOUND=yes
|
||||
AC_SUBST(PYPI,pypi)
|
||||
else
|
||||
AC_SUBST(PYPI,"")
|
||||
fi
|
||||
else
|
||||
AC_SUBST(PYPI,"")
|
||||
fi
|
||||
|
||||
#
|
||||
# Check for FLAC
|
||||
#
|
||||
@ -604,6 +588,7 @@ AC_CONFIG_FILES([rivendell.spec \
|
||||
helpers/install_python.sh \
|
||||
helpers/rdi18n_helper.sh \
|
||||
LICENSES/Makefile \
|
||||
apis/setup.cfg \
|
||||
apis/Makefile \
|
||||
apis/pypad/Makefile \
|
||||
apis/pypad/api/Makefile \
|
||||
@ -613,7 +598,6 @@ AC_CONFIG_FILES([rivendell.spec \
|
||||
apis/rivwebcapi/rivwebcapi.pc \
|
||||
apis/rivwebcapi/rivwebcapi/Makefile \
|
||||
apis/rivwebcapi/tests/Makefile \
|
||||
apis/rivwebpyapi/setup.cfg \
|
||||
apis/rivwebpyapi/Makefile \
|
||||
apis/rivwebpyapi/api/Makefile \
|
||||
apis/rivwebpyapi/tests/Makefile \
|
||||
@ -733,11 +717,6 @@ AC_MSG_NOTICE("| Update I18N Data ... Yes |")
|
||||
else
|
||||
AC_MSG_NOTICE("| Update I18N Data ... No |")
|
||||
fi
|
||||
if test $PYPI_FOUND ; then
|
||||
AC_MSG_NOTICE("| PyPI Module Build Chain Detected ... Yes |")
|
||||
else
|
||||
AC_MSG_NOTICE("| PyPI Module Build Chain Detected ... No |")
|
||||
fi
|
||||
AC_MSG_NOTICE("| |")
|
||||
AC_MSG_NOTICE("| Configured Audio Drivers: |")
|
||||
if test -z $USING_ALSA ; then
|
||||
|
@ -2,7 +2,7 @@
|
||||
##
|
||||
## helper/ Automake.am for Rivendell
|
||||
##
|
||||
## (C) Copyright 2003-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2003-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## Use automake to process this into a Makefile.in
|
||||
##
|
||||
@ -33,8 +33,7 @@ dist_cwrap_SOURCES = cwrap.cpp cwrap.h
|
||||
|
||||
dist_jsmin_SOURCES = jsmin.c
|
||||
|
||||
EXTRA_DIST = build_pypi_package.sh\
|
||||
c_file_warning\
|
||||
EXTRA_DIST = c_file_warning\
|
||||
install_python.sh.in\
|
||||
rdi18n_helper.sh.in\
|
||||
rdpack.sh\
|
||||
|
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
#
|
||||
# Build a PyPI package.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
|
||||
PKG_NAME=$1
|
||||
|
||||
rm -rf pypi
|
||||
mkdir -p pypi/src/$PKG_NAME
|
||||
touch pypi/src/$PKG_NAME/__init__.py
|
||||
cp api/$PKG_NAME.py pypi/src/$PKG_NAME/
|
||||
cp ../../LICENSES/LGPLv2.txt pypi/LICENSE
|
||||
cp pyproject.toml pypi/
|
||||
cp setup.cfg pypi/
|
||||
|
||||
mkdir -p pypi/tests
|
||||
cp tests/*.py pypi/tests/
|
||||
|
||||
python3 -m build pypi
|
||||
|
@ -1,6 +1,6 @@
|
||||
## Makefile.am
|
||||
##
|
||||
## (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License version 2 as
|
||||
@ -19,8 +19,9 @@
|
||||
## Use automake to process this into a Makefile.in
|
||||
|
||||
EXTRA_DIST = PACKAGE_VERSION\
|
||||
PYPAD_VERSION\
|
||||
PYTHONAPI_VERSION\
|
||||
README.txt\
|
||||
RIVWEBPYAPI_VERSION\
|
||||
RIVWEBCAPI_AGE\
|
||||
RIVWEBCAPI_CURRENT\
|
||||
RIVWEBCAPI_REVISION
|
||||
|
@ -27,5 +27,6 @@ RIVWEBCAPI_AGE
|
||||
# 6. If any interfaces have been removed since the last public release,
|
||||
# then set 'RIVWEBCAPI_AGE' to 0.
|
||||
|
||||
RIVWEBPYAPI_VERSION - Version string for rivwebpyapi.
|
||||
See PEP 440 [https://www.python.org/dev/peps/pep-0440/].
|
||||
PYTHONAPI_VERSION - Version string for the Python components beneath '/apis/'.
|
||||
See PEP 440 [https://www.python.org/dev/peps/pep-0440/]
|
||||
for formatting rules.
|
||||
|
Loading…
x
Reference in New Issue
Block a user