diff --git a/apptuit/apptuit_client.py b/apptuit/apptuit_client.py
index afa6792..2049aa9 100644
--- a/apptuit/apptuit_client.py
+++ b/apptuit/apptuit_client.py
@@ -286,6 +286,23 @@ class DataPoint(object):
                 raise ValueError("Tag value %s contains an invalid character, allowed characters are a-z, A-Z, 0-9, -, _, ., and /" % tagv)
         self._tags = tags
 
+    @property
+    def value(self):
+        return self._value
+
+    @value.setter
+    def value(self, value):
+        if isinstance(value, (int, float)):
+            self._value = value
+
+        elif isinstance(value, str):
+            try:
+                self._value = float(value)
+            except ValueError:
+                raise ValueError("Expected a numeric value got %s" % value)
+        else:
+            raise ValueError("Expected a numeric value for the value parameter")
+
     def __repr__(self):
         repr = self.metric + "{"
         for tagk, tagv in self.tags.items():

DataPoint should validate parameters
Right now DataPoint does not validate if the "value" parameter is int/long or float. Eventual API call fails if the value is a string (even representation of int/float). 

DataPoint should perform client side validation of all input parameters (metricname, tags, values) without waiting for an error from the server.

As a bonus, if the value is a string representation of int/float, we could coerce it into a number instead of erroring out.
diff --git a/tests/test_send.py b/tests/test_send.py
index f0d9b49..f8ee9a5 100644
--- a/tests/test_send.py
+++ b/tests/test_send.py
@@ -5,7 +5,7 @@ try:
 except ImportError:
     from mock import Mock, patch
 
-from nose.tools import assert_raises, ok_, raises
+from nose.tools import assert_raises, ok_, assert_is_not_none, assert_equals
 from apptuit import Apptuit, DataPoint, ApptuitException
 
 @patch('apptuit.apptuit_client.requests.post')
@@ -85,4 +85,60 @@ def test_invalid_metric_name():
     tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
     ts = int(time.time())
     with assert_raises(ValueError) as ex:
-        DataPoint(metric_name, tags, ts, random.random())
\ No newline at end of file
+        DataPoint(metric_name, tags, ts, random.random())
+
+def test_invalid_datapoint_value():
+    """
+    Test for a non-numeric value for DataPoint
+    """
+    metric_name = "node.load.avg.1m"
+    tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
+    ts = int(time.time())
+    value = 'abc'
+    with assert_raises(ValueError) as ex:
+        DataPoint(metric_name, tags, ts, value)
+
+def test_numeric_datapoint_value():
+    """
+    Test for a numeric DataPoint value
+    """
+    metric_name = "node.load.avg.1m"
+    tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
+    ts = int(time.time())
+    value = 3.14
+    point = DataPoint(metric_name, tags, ts, value)
+    assert_is_not_none(point)
+
+def test_numeric_string_datapoint_value():
+    """
+    Test for a valid DataPoint value which is a string
+    """
+    metric_name = "node.load.avg.1m"
+    tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
+    ts = int(time.time())
+    value = '3.14'
+    point = DataPoint(metric_name, tags, ts, value)
+    assert_is_not_none(point)
+
+def test_datapoint_value_getter():
+    """
+    Test that the value used to create the DataPoint matches with the value
+    returned by the object after creation
+    """
+    metric_name = "node.load.avg.1m"
+    tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
+    ts = int(time.time())
+    value = 3.14
+    point = DataPoint(metric_name, tags, ts, value)
+    assert_equals(point.value, value)
+
+def test_nonstring_invalid_datapoint_value():
+    """
+    Test for a non-str/numeric value for datapoint value
+    """
+    metric_name = "node.load.avg.1m"
+    tags = {"host": "localhost", "region": "us-east-1", "service": "web-server"}
+    ts = int(time.time())
+    value = object()
+    with assert_raises(ValueError):
+        DataPoint(metric_name, tags, ts, value)

pip install -e .
parse_log_pytest
requirements.txt
nose pytest
apt-get update apt-get install -y lintian
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/ApptuitAI/apptuit-py.git@65d256693243562917c4dfd0e8a753781b153b36#egg=apptuit
attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
nose==1.3.7
numpy==1.19.5
packaging==21.3
pandas==1.1.5
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
python-dateutil==2.9.0.post0
pytz==2025.2
requests==2.27.1
six==1.17.0
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
zipp==3.6.0

name: apptuit-py
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - charset-normalizer==2.0.12
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - nose==1.3.7
      - numpy==1.19.5
      - packaging==21.3
      - pandas==1.1.5
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - requests==2.27.1
      - six==1.17.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - zipp==3.6.0
prefix: /opt/conda/envs/apptuit-py

tests/test_send.py::test_invalid_datapoint_value tests/test_send.py::test_nonstring_invalid_datapoint_value
tests/test_send.py::test_send_positive tests/test_send.py::test_send_server_error tests/test_send.py::test_invalid_chars_in_tag_keys tests/test_send.py::test_invalid_chars_in_tag_values tests/test_send.py::test_tags_not_dict tests/test_send.py::test_invalid_metric_name tests/test_send.py::test_numeric_datapoint_value tests/test_send.py::test_numeric_string_datapoint_value tests/test_send.py::test_datapoint_value_getter
apptuit/apptuit_client.py
apptuit/apptuit_client.py