title: Go struct tags in Python
body: <p>Go lang has a feature, that has a name "struct tags".<br>
  <a href="https://github.com/golang/go/wiki/Well-known-struct-tags" rel="nofollow noreferrer">https://github.com/golang/go/wiki/Well-known-struct-tags</a></p>
  
  <p>Does python have something similar to it?<br>
  I mean that I want to say python somehow that if I'm using my class in json unmarshalling that it should be filled using one names, and if it's data from db reading that names could be a little bit different.</p>
  
  <p>Go example:</p>
  
  <pre><code>struct test {
        TestField   int64  `json:"test_int" db:"TestInt"`  
  }
  </code></pre>