Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Driver for the XCAM rack to control and readout CCD sensors

Project description

Driver to control the XCAM rack.

Build and Test Commands

Install this package:

pip install xcam --extra-index-url --trusted-host

Install build and test tools:

pip install docutils
pip install coverage
pip install pylint
pip install nose
pip install tox
pip install plantuml

From the root directory (rpc) run the following commands:

pylint --rcfile=pylint.cfg xcam
nosetests --with-coverage --cover-erase --cover-html
coverage run -m unittest discover -b -v -s .
coverage report
python -m unittest discover
python bdist_wheel

To build the README.rst documentation:

pygmentize -S default -f html -a .python > style.css
python %VIRTUAL_ENV%/Scripts/ --link-stylesheet --cloak-email-addresses --toc-top-backlinks --syntax-highlight=short --stylesheet-dirs=. --stylesheet README.css README.rst esapy_rpc.html

Syntax highlighting using pygments:

PyPI Register / Upload commands:

python bdist_wheel
# For PyPI LIVE use:
python register -r
# For PyPI LIVE use: pypi
python bdist_wheel upload -r pypitest
# or,
python bdist_wheel upload -r

To authenticate automatically create a file named .pypirc in your $HOME directory,:

index-servers =

username: lab
password: <password>

Now the upload command can be executed without an authentication prompt using,:

python bdist_wheel upload -r sci-fv

If the above has

Make sure the .pypirc file is defined in your home folder before running the above commands.

Project details

Download files

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

Files for xcam, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size xcam-0.1.0-py2.py3-none-any.whl (44.7 kB) File type Wheel Python version 3.6 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page