Commit 8a079af9 authored by Kirill Smelkov's avatar Kirill Smelkov

*: from __future__ import print_function, division, absolute_import

This will make diff in between master and py2 backport a bit smaller.
parent 67466ae5
......@@ -22,6 +22,8 @@
- connect and Conn allow to interoperate with a service via WebSocket.
"""
from __future__ import print_function, division, absolute_import
import websocket
import json
from golang import chan, select, nilchan, func, defer, panic
......
......@@ -36,6 +36,7 @@ See also the following related 3GPP standards references:
- TS 32.425 4.4.6 "IP Throughput measurements"
"""
from __future__ import print_function, division, absolute_import
from xlte import amari
......
......@@ -18,6 +18,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from xlte.amari.drb import _Sampler, Sample, _BitSync, tti, _IncStats
import numpy as np
from golang import func
......
# -*- coding: utf-8 -*-
# xamari - help topics
# Copyright (C) 2022 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
# Copyright (C) 2022-2023 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your
......@@ -19,6 +19,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from collections import OrderedDict
# topic_name -> (topic_summary, topic_help)
......
......@@ -23,6 +23,8 @@ Use LogMeasure to convert enb.xlog (TODO and enb.log) to Measurements.
The KPIs themselves can be computed from Measurements via package xlte.kpi .
"""
from __future__ import print_function, division, absolute_import
from xlte import kpi
from xlte.amari import xlog
from golang import func
......
......@@ -18,6 +18,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from xlte.amari.kpi import LogMeasure, LogError, _trace as trace
from xlte.kpi import Measurement, isNA
from golang import func, defer, b
......
......@@ -22,7 +22,7 @@
# See https://www.nexedi.com/licensing for rationale and options.
"""xamari is a driver program for invoking xlte.amari subcommands"""
from __future__ import print_function
from __future__ import print_function, division, absolute_import
from xlte.amari import help as help_module
......
......@@ -27,6 +27,8 @@
(*) for example result of stats, ue_get, erab_get and synthetic queries.
"""
from __future__ import print_function, division, absolute_import
# XLog protocol
#
# XLog contains entries of 2 kinds:
......
......@@ -18,6 +18,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from xlte.amari import xlog
from golang import func, defer, b
import io
......
......@@ -4,6 +4,8 @@
Usage: kpidemo <time period> <enb.xlog uri>
"""
from __future__ import print_function, division, absolute_import
from xlte import kpi
from xlte.amari import kpi as akpi
from golang import func, defer
......
......@@ -48,6 +48,8 @@ See following 3GPP standards for KPI-related topics:
(*) for example package amari.kpi provides such measurements driver for Amarisoft LTE stack.
"""
from __future__ import print_function, division, absolute_import
import numpy as np
from golang import func
......
......@@ -18,6 +18,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from xlte.kpi import Calc, MeasurementLog, Measurement, Interval, NA, isNA, Σqci, Σcause, nqci
import numpy as np
from pytest import raises
......
# XLTE pythonic package setup
# Copyright (C) 2014 - 2022 Nexedi SA and Contributors.
# Copyright (C) 2014 - 2023 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
......@@ -18,6 +18,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
from setuptools import setup, find_packages
from setuptools.command.build_py import build_py as _build_py
......
......@@ -19,6 +19,8 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from __future__ import print_function, division, absolute_import
# tell python xlte.* modules hierarchy starts at top-level
#
# This allows e.g. `import xlte.amari`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment