Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Run queries and retrieve data from Centric 8 PLM systems.

Project description

Centric 8 Python provides a python interface to query for data and execute Node operations on a Centric 8 PLM system. You might find it useful for tasks like creating reports or for importing and exporting data.

How it works

Typical Centric 8 Python usage often looks like this:

import centric8python.client as client

# Create a session using a PLM username and password.
host = 'https://plm.mydomain.com'
user = 'joes account'
password = 'joes password'

req = client.Client(host=host)
req.create_session_with_user(user=user, password=password)

# Set up the query and parameters.
query = '''
<Node Parameter="Type" Op="EQ" Value="Style" />
'''
parameters = {'Qry.Limit.Begin': 1,
'Qry.Limit.End': 10,
'Dep.Path': ['__Parent__', 'Images;Attributes;']
}

# Execute the query on the PLM server.
result = req.query_by_xml(query, parameters=parameters)

# Close the session.
req.destroy_session()

Installing

Use pip:

pip install centric8python

Project details


Release history Release notifications

This version
History Node

3.7.6

History Node

3.7.5

History Node

3.7.4

History Node

3.7.3

History Node

3.7.2

History Node

3.7.1

History Node

3.7.0

History Node

3.6.0

History Node

3.5.0

History Node

3.4.0

History Node

3.3.0

History Node

3.2.0

History Node

3.1.0

History Node

3.0.0

History Node

2.3.0

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.0.0

History Node

1.8.0

History Node

1.7.1

History Node

1.7.0

History Node

1.6.0

History Node

1.5.0

History Node

1.4.0

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Centric8Python-3.7.6.tar.gz (20.4 kB) Copy SHA256 hash SHA256 Source None Feb 1, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page