README 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Thrift Python Software Library
  2. License
  3. =======
  4. Licensed to the Apache Software Foundation (ASF) under one
  5. or more contributor license agreements. See the NOTICE file
  6. distributed with this work for additional information
  7. regarding copyright ownership. The ASF licenses this file
  8. to you under the Apache License, Version 2.0 (the
  9. "License"); you may not use this file except in compliance
  10. with the License. You may obtain a copy of the License at
  11. http://www.apache.org/licenses/LICENSE-2.0
  12. Unless required by applicable law or agreed to in writing,
  13. software distributed under the License is distributed on an
  14. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. KIND, either express or implied. See the License for the
  16. specific language governing permissions and limitations
  17. under the License.
  18. Using Thrift with Python
  19. ========================
  20. Thrift is provided as a set of Python packages. The top level package is
  21. thrift, and there are subpackages for the protocol, transport, and server
  22. code. Each package contains modules using standard Thrift naming conventions
  23. (i.e. TProtocol, TTransport) and implementations in corresponding modules
  24. (i.e. TSocket). There is also a subpackage reflection, which contains
  25. the generated code for the reflection structures.
  26. The Python libraries can be installed manually using the provided setup.py
  27. file, or automatically using the install hook provided via autoconf/automake.
  28. To use the latter, become superuser and do make install.