pbanaszkiewicz / python-rrdtool Goto Github PK
View Code? Open in Web Editor NEWBroken
License: GNU Lesser General Public License v3.0
Broken
License: GNU Lesser General Public License v3.0
Hi, I need get data from db. I need format: Ymdhms:value. How to do this ?
Hey,
I would like to know if it's possible to include the xport binding in the python-rrdtool.
I'm working with the python-rrdtool from pip which is currently 1.4.7 and dont find the wrapper/binding?
Thanks
if have a error ,how to do ?
PS C:\Users\Alex> pip install rrdtool-python
Collecting rrdtool-python
Could not find a version that satisfies the requirement rrdtool-python (from versions: )
No matching distribution found for rrdtool-python
PS C:\Users\Alex>
PS C:\Users\Alex>
PS C:\Users\Alex> pip install python-rrdtool
Collecting python-rrdtool
Using cached python-rrdtool-1.4.7.tar.gz
Building wheels for collected packages: python-rrdtool
Running setup.py bdist_wheel for python-rrdtool ... error
Complete output from command "d:\program files (x86)\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\alex\appdata\local\temp\pip-build-bhnwvi\python-rrdtool\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d c:\users\alex\appdata\local\temp\tmp2mgygapip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_ext
running build_configure
error: [Error 193] %1 不是有效的 Win32
Failed building wheel for python-rrdtool
Running setup.py clean for python-rrdtool
Failed to build python-rrdtool
Installing collected packages: python-rrdtool
Running setup.py install for python-rrdtool ... error
Complete output from command "d:\program files (x86)\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\alex\appdata\local\temp\pip-build-bhnwvi\python-rrdtool\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\alex\appdata\local\temp\pip-3qp0uh-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
running build_configure
error: [Error 193] %1 不是有效的 Win32
----------------------------------------
Command ""d:\program files (x86)\anaconda2\python.exe" -u -c "import setuptools, tokenize;file='c:\users\alex\appdata\local\temp\pip-build-bhnwvi\python-rrdtool\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\alex\appdata\local\temp\pip-3qp0uh-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\alex\appdata\local\temp\pip-build-bhnwvi\python-rrdtool
PS C:\Users\Alex>
Hello,
Is there something wrong with the python module? I have inconsistencies between the output of rrdtool xport and the python module. Example:
<row><t>1459948200</t><v>1.0618333333e+01</v><v>1.0032666667e+01</v></row>
<row><t>1459948500</t><v>7.5783333333e+00</v><v>1.3656833333e+01</v></row>
<row><t>1459948800</t><v>7.5783333333e+00</v><v>1.3656833333e+01</v></row>
<row><t>1459949100</t><v>8.4516666667e+00</v><v>1.2316333333e+01</v></row>
<row><t>1459949400</t><v>8.4516666667e+00</v><v>1.2316333333e+01</v></row>
<row><t>1459949700</t><v>NaN</v><v>NaN</v></row>
<row><t>1459950000</t><v>NaN</v><v>NaN</v></row>
<row><t>1459950300</t><v>NaN</v><v>NaN</v></row>
and:
1459947900 (10.618333333333334, 10.032666666666668)
1459948200 (7.578333333333333, 13.656833333333331)
1459948500 (7.578333333333333, 13.656833333333331)
1459948800 (8.451666666666666, 12.316333333333334)
1459949100 (8.451666666666666, 12.316333333333334)
1459949400 (None, None)
1459949700 (None, None)
1459950000 (None, None)
1459950300 (None, None)
1459950600 (None, None)
1459950900 (None, None)
1459951200 (None, None)
1459951500 (0.0, 4.985e-321)
Note: the epoch is calculated based on start, end, step.
There is no one to one match and that should not be the case.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.