Skip to main content

Blueprints, open source python package for civil engineering calculations.

Project description

LinkedIn Run Tests Read the Docs codecov PyPI GitHub Python versions

blueprints banner

Documentation: https://blueprints.readthedocs.io

Source Code: https://github.com/Blueprints-org/blueprints

LinkedIn: https://www.linkedin.com/company/blueprints-org


Welcome to Blueprints, the go-to repository for civil engineering professionals and enthusiasts!

It includes programmable engineering standards, formulas, tables, and checks across a variety of structural and geotechnical disciplines. We offer tools for materials, geometry, and section checks, as well as a foundation of essential use cases designed to meet all key engineering needs.

Blueprints is a collaborative effort between several engineering companies to streamline code, documentation, and knowledge sharing—helping you focus on the work that matters most.

Stop coding civil engineering logic from scratch, ditch Excel, and start collaborating to shape the future of civil engineering! 🚀

See our ROADMAP for detailed feature status and upcoming developments.

Installation

Python >=3.12 is required.

For the last release:

pip install blue-prints

For the actively developed version:

pip install git+https://github.com/Blueprints-org/blueprints.git

Quick Start

from blueprints.materials.concrete import ConcreteMaterial, ConcreteStrengthClass
from blueprints.materials.reinforcement_steel import ReinforcementSteelMaterial, ReinforcementSteelQuality

# Calculate concrete properties
concrete = ConcreteMaterial(concrete_class=ConcreteStrengthClass.C30_37)  # C30/37 concrete
print(f"Design strength: {concrete.f_cd} MPa")

# Check reinforcement
rebar = ReinforcementSteelMaterial(steel_quality=ReinforcementSteelQuality.B500B)  # B500B rebar
print(f"Design yield strength: {rebar.f_yd} MPa")

Output:

Design strength: 20.0 MPa
Design yield strength: 434.7826086956522 MPa

Key Features

  • Eurocode Implementations: EN 1992 (Concrete), EN 1993 (Steel), EN 1997 (Geotechnical), etc.
  • Material Definitions: Concrete, steel, rebar, and soil properties
  • Steel Profile Database: HEA, HEB, IPE, CHS, RHS, UNP profiles, etc.
  • Shape Building Blocks: Rectangle, circle, tube, triangle, hexagon, etc.
  • Engineering Checks: Shear, torsion, punching, anchorage, concrete cover, etc.
  • 100% Test Coverage: Reliable, well-tested implementations

Mission

Our mission is to reduce the cost and time associated with civil engineering calculations by:

  • Offering a robust suite of tools that encapsulate both basic and advanced engineering tasks
  • Providing an open-source alternative to expensive proprietary tools with full transparency
  • Standardizing programmable civil engineering implementations, minimizing redundancy
  • Fostering a community where sharing knowledge and best practices is the norm
  • Ensuring 100% code coverage and high-quality documentation

Documentation

Full documentation is available at blueprints.readthedocs.io.

How to Contribute

We welcome contributions from developers and engineers of all skill levels! Here's how you can contribute:

  • Fork the Repository: Create your own fork of the project.
  • Create a Branch: Make a feature branch (git checkout -b feature/new-feature).
  • Make Your Changes: Write clear, concise code and ensure it's fully covered with tests.
  • Run Tests: Use pytest to ensure all tests pass.
  • Submit a Pull Request: Push your branch and open a pull request against main.

To learn more, see our full Contributor Guide.

License

Blueprints is free and open source software. Distributed under the terms of the MIT license.

Support

If you have found a bug 🐛, or have a feature request ✨, raise an issue on the GitHub issue tracker. Alternatively you can get support on the discussions page.

Disclaimer

Users are responsible for verifying results and ensuring compliance with applicable codes and regulations. See our full disclaimer for details.

Project details


Download files

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

Source Distribution

blue_prints-0.5.2.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blue_prints-0.5.2-py3-none-any.whl (549.6 kB view details)

Uploaded Python 3

File details

Details for the file blue_prints-0.5.2.tar.gz.

File metadata

  • Download URL: blue_prints-0.5.2.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blue_prints-0.5.2.tar.gz
Algorithm Hash digest
SHA256 579db6070bfdc39b89d768c3c5552d4918ca12212f4ffa794793ff71bcdc2291
MD5 efb3ba9e0af8fa6f48ba845115f21e87
BLAKE2b-256 b0783dfd36314395b760779dc8551e0cf905b0a713d959b3d48e8de62335bd27

See more details on using hashes here.

File details

Details for the file blue_prints-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: blue_prints-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 549.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blue_prints-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 754aa686dcdf3773193694493592fbbee2660959b1797b049f51806a1a8d260e
MD5 d2f0e0eec7486b3b0b6f702e3ad710d7
BLAKE2b-256 3463e86117b6fc4a33830af2abfcb8d75df8b391e51b36bcf60c274f0e83eb69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page