Skip to content

Commit

Permalink
new function , package description
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent1218 committed Oct 10, 2021
1 parent b0199b3 commit 25e7a49
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
Binary file added dist/influxdb-data-processor-0.0.2.tar.gz
Binary file not shown.
Binary file added dist/influxdb-data-processor-0.0.3.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
26 changes: 23 additions & 3 deletions influxdb_data_processor.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: influxdb-data-processor
Version: 0.0.1
Version: 0.0.3
Summary: A data processor for data in influxDB
Home-page: UNKNOWN
Author: Pikacent (Chai Wen Xuan)
Expand Down Expand Up @@ -34,13 +34,33 @@ Description:
3. Organization
4. Bucket name
5. CSV file location
6. Sampling frequency
7. Data range
6. Sampling frequency (1 day: '1d', 1hour: '1h', 1 minute: '1t', 1 second: '1s')
7. Data range (1 day: '1d', 1hour: '1h', 1 minute: '1m', 1 second: '1s')

#### CSV file format:
- Only two column ("Measurement", "Field")


### Processing array data

```python
import pandas as pd

from influxdbDataProcessor.processor import processarraydata

df = processarraydata(measurementArr,fieldArr)
```

#### Required input:
1. Token
2. influxDb url
3. Organization
4. Bucket name
5. Sampling frequency (1 day: '1d', 1hour: '1h', 1 minute: '1t', 1 second: '1s')
6. Data range (1 day: '1d', 1hour: '1h', 1 minute: '1m', 1 second: '1s')





Keywords: python,video,stream,video stream,camera stream,sockets
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()

VERSION = '0.0.1'
VERSION = '0.0.3'
DESCRIPTION = 'A data processor for data in influxDB'

# Setting up
Expand Down

0 comments on commit 25e7a49

Please sign in to comment.