
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
.. _pycatia.readthedocs.io: https://pycatia.readthedocs.io .. _installation: https://pycatia.readthedocs.io/en/latest/installation.html .. _introduction: https://pycatia.readthedocs.io/en/latest/introduction.html .. _examples: https://pycatia.readthedocs.io/en/latest/examples.html .. _user_scripts: https://pycatia.readthedocs.io/en/latest/user_scripts.html .. _pypi.org: https://pypi.org/project/pycatia/ .. _pycatia-tools: https://github.com/evereux/pycatia-tools
This is alpha software.
The CATIA com interface is large and I've predominantly wrote tests for those areas I'm familiar. Any bugs that exist should be easy to fix. There are many examples of fixes within the git repository history that can be learned from to fix remaining issues.
My ability to test and support can be limited.
see installation_.
See the introduction_, examples_ and user_scripts_ for a good over view on how to use pycatia.
Releases: pycatia @ pypi.org_
See the documentation @ examples_ and user_scripts_.
A GUI based application that uses pycatia - pycatia-tools_.
Please read the following with regards to raising questions: https://github.com/evereux/pycatia/issues/28
See CONTRIBUTING.md in root of github repository.
Prior to running the tests please ensure CATIA V5 has the following configuration settings:
On the first run, during the running of the tests, the test suite will create the CATIA drawing, products and part it requires to run and adds them to the folder tests/cat_files.
If you have previously run the tests successfully and see unexpected errors, it maybe that the source parts require re-creating. Try deleting the CATIA files in the folder tests/cat_files so that they are regenerated on the next test run.
CATIA V5 should already be running and have NO documents already open.
To run the tests with coverage (-v is verbosity):
.. code-block:: python
py.test -v --cov-report term-missing --cov=pycatia
To run a specific test:
.. code-block:: python
py.test -v tests/test_product.py::test_move
To stop tests running after first failure.
py.test -vx
A reminder for @evereux. I don't do this often and forget ...
Check version is correct.
Check changelog has been updated.
Run the tests. pytest -v tests
Run the examples.
Build the docs. cd docs
./make html
Run mypy over module. mypy pycatia
Build source. python setup.py sdist bdist_wheel
Build pycatia exe python -m nuitka --standalone pycatia-exe.py
.
Merge changes with master branch and upload.
Upload to pypi. twine upload dist/*
.
Update github releases.
FAQs
A python module to interface with the CATIA V5 COM object.
We found that pycatia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.