Skip to content

[✨ Feature request]: Simplify imports #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
viktor-rick opened this issue Mar 7, 2025 · 1 comment
Open
2 tasks done

[✨ Feature request]: Simplify imports #528

viktor-rick opened this issue Mar 7, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@viktor-rick
Copy link
Collaborator

viktor-rick commented Mar 7, 2025

Description

As a user, I would like to have my imports nicely structured (and PEP8 compliant). Current import structure is too long for this.

Current import
from blueprints.codes.eurocode.nen_en_1993_1_1_c2_a1_2016.chapter_6_ultimate_limit_state.formula_6_5 import Form6Dot5UnityCheckTensileStrength

Proposed design (both the original and):
from blueprints import Form6Dot5UnityCheckTensileStrength

Acceptance Criteria

  • All modules in blueprints.codes.eurocodes can be imported through blueprints (or similar).
  • A scalable solution is designed, so this automatically works in future updates
  • Only classes in the eurocode can be accesses
  • After @RickDGO's noted: The imports are tested

Dependencies

No response

Confirmation

  • I have checked that this feature does not already exist in the issue tracker.
  • I have read and understood the contribution guidelines.
@viktor-rick viktor-rick added the enhancement New feature or request label Mar 7, 2025
@viktor-rick viktor-rick self-assigned this Mar 7, 2025
@viktor-rick
Copy link
Collaborator Author

viktor-rick commented Apr 9, 2025

As discussed (as certain forms exist in multiple chapters):

from blueprints.codes.eurocode.nen_en_1993_1_1_c2_a1_2016 import Form6Dot5UnityCheckTensileStrength

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant