How to use the pdm.tracks.Tracks function in pdm

To help you get started, we’ve selected a few pdm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mkj / pru-mic / pdm / tracks.py View on Github external
def main():
    t = Tracks(None, 1000, 0)

    n = np.zeros(5)
    n[:] = range(5)
    t.add(n, 'five')
    n = np.zeros(4)
    n[:] = range(4)
    t.add(n[:5], 'four')
    n = np.zeros(6)
    n[:] = range(6)
    t.add(n, 'six')
    print(t.tracks)

pdm

A modern Python package and dependency manager supporting the latest PEP standards

MIT
Latest version published 9 days ago

Package Health Score

94 / 100
Full package analysis