Gearpy

Latest version: v1.0.0

Safety actively analyzes 623626 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.0

This release contains:

- Documentation:
- add dependencies badge
- prevent `ReadTheDocs` to build the [documentation](https://gearpy.readthedocs.io/en/latest/?badge=latest) without a valid release tag
- Maintenance:
- fix downcasting object `pandas` warning
- Bug:
- fix bug in `tox.ini` markers
- Release:
- update Python version dependency
- review dependencies versions

0.7.2

This release contains:

- Tests:
- make workflow building more robust
- Enhancement:
- remove requirements files
- remore requirements reference from `.readthedocs.yaml` and `tox.ini`
- Bug:
- split package building in order to avoid invalid versions

0.7.1

This release contains:

- Tests:
- update Github test workflows in order to test also package building
- update building tools in test workflows
- Maintenance:
- update author email
- remove unused type hinting
- Enhancement:
- update tupe hinting from `__future__`
- Bug:
- include data `.csv` files in package building
- Release:
- create a `pyproject.toml` file
- update building tools in release workflow

0.7.0

This release contains:

- Development:
- create `StopCondition`
- edit `Solver` to handle `StopCondition`
- create `Amperometer` sensor
- create function and `Powertrain` method to export computed time variables
- Tests:
- add `StopCondition` tests
- add `Amperometer` tests
- add time variables export function tests
- update existing tests
- split GitHub workflows for different OS
- Maintenance:
- fix some typos in documentation
- remove unused variables
- Enhancement:
- move simulation parameters from `Solver` instantiation to `Solver.run` method
- make private some attributes of `Solver`, `PWMControl` and `rules`
- Bug:
- fix bug in `WormGear.tangential_force` computation
- fix bug in `Powertrain.plot` label visualization
- Documentation:
- fix documentation broken links
- add `StopCondition` documentation
- add `Amperometer` documentation
- add export function and method documentation
- add `StopCondition` and `Amperometer` usage example
- add contribution to front page
- add time variables examport usage example
- update existing usage examples
- resize usage example images to improve readability
- replace directives with Sphinx admonitions
- add cross-reference links
- remove private attribute documentation
- add Lewis factor table
- refractor badges
- update test workflows' badges
- convert `README.md` in `README.rst`

0.6.0

This release contains:

- Development:
- create `Timer` sensor
- create `ConstantPWM` rule to control a `DCMotor` at a constant `pwm`
- create `HelicalGear`, `WormGear` and `WormWheel` rotating objects
- create `Current` and `Angle` units
- update utilities to handle `HelicalGear`, `WormGear` and `WormWheel`
- add trigonometric methods to `Angle` and `AngularPosition`
- add self-locking property to `Powertrain`
- edit `Solver` to handle self-locking property
- Tests:
- add `Timer` tests
- add `ConstantPWM` tests
- add `HelicalGear`, `WormGear` and `WormWheel` tests
- update utilities tests
- update `Powertrain` tests
- update `Solver` tests
- move common test to `slave` and `gear` folders
- remove redundant composite strategies
- remove test deadlines
- Maintenance:
- fix some typos in tests and documentation
- Enhancement:
- make rules' attributes read-only properties
- rename `Transmission` to `Powertrain`
- move mechanical objects to separate files
- move rules to separate files
- move sensors to separate files
- update tests structure according to code re-organization
- convert `float` `pressure_angle` to `Angle` instance
- remove redundant abstract methods
- improve legend in stress `Powertrain.plot`
- Bug:
- fix bug on load torque computation not taking into account mating efficiency
- Documentation:
- add cross reference links to usage examples
- add rules' properties documentation
- add `Timer` documentation
- add `ConstantPWM` documentation
- add `HelicalGear`, `WormGear` and `WormWheel` documentation
- add trigonometric methods documentation
- update usage examples
- add new utilities documentation
- add link to example code in documentation
- add worm and helical gear usage example in documentation
- add multiple simulation concatenation usage example in documentation
- add logo
- Release:
- extend support to Python 3.12

0.5.0

This release contains:

- Development:
- create `Current` and `Angle` units
- add units format method and possibility to calculate the opposite of a unit
- add `electric_current` and `pwm` properties and time variables to `DCMotor`
- update `Transmission` and `Solver` to manage `electric_current` and `pwm` properties
- edit `Transmission.snapshot` to select variables to be printed
- add multiple simulation concatenation feature
- add simulation result reset through `Transmission.reset`
- create DC motor animation function
- create `PWMControl` to control `DCMotor`'s `pwm`
- edit `Solver` to integrate motor control
- create `AbsoluteRotaryEncoder` and `Tachometer` sensors
- create basic rules to control `DCMotor`'s `pwm`
- Tests:
- update `external_torque` tests
- update tests according to `eletric_current` and `pwm` modifications
- update tests according to `Transmission` and `Solver` last modifications
- add `DCMotor` animation tests
- add `Angle` and `Current` tests
- add `AbsoluteRotaryEncoder` and `Tachometer` tests
- add motor control basic rules tests
- improve composite strategies tests
- Maintenance:
- fix some typo in documentation and tests
- Enhancement:
- improved `external_torque` input checks
- add check in `Transmission.snapshot` on `target_time` parameter value outside simulation limits
- complete type hinting
- simplify `DCMotor.compute_torque`'s formula
- `DCMotor.compute_torque` assigns computed value to `driving_torque` and returns `None`
- move simulation parameter from `Solver` instantiation to `Solver.run` method
- improve error messages
- Bug:
- fix bug on simulation final time step
- fix bug on `Solver` operation order
- remove `Transmission.snapshot` `NaN`s
- Documentation:
- add documentation for new units
- add documentation for new `DCMotor` properties
- update `Transmission` and `Solver` documentation
- add `DCMotor` animation documentation
- add sensors documentation
- add rules documentation
- add PWM control documentation
- add more usage examples for new features

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.