Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

wrapper for windows CY type

Project Description

This is a binary Python extension that encapsulates Windows CY values. CY values are actually 64-bit signed integers that are implicitly scaled by 10e4, ie. you can store fixed-point decimal numbers with 4 digits after the decimal point. In Python when you get one of these back from a COM method it returns a tuple of two integers. This is generally not very useful, especially if you think that you can turn around and assign this to some other COM object’s property and expect that it will do the right thing (get the value as a CY value) ‘cause it won’t.

This Python extension DLL doesn’t solve the whole problem because since the COM extensions for Python don’t have any way of passing these values in their full 64-bit glory (as near as I can tell) there are some numbers you just wouldn’t be able to set. This extension will at least though allow you to manipulate these values. It has full Python numeric type support (you can add, subtract, multiply, etc). It converts to and from a variety of types. I think there are probably a few more features needed.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (3.6 kB) Copy SHA256 Checksum SHA256 Source Oct 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting