Python code for solving 3D structural problems using the finite element method

Python 3D finite element code This python code allows for solving 3D structural problems using the finite element method. New features will be added over time. This code has NOT been validated on reference cases yet. Requirements and dependencies Current features: Meshes Tetrahedral mesh generation from a set of points using scipy.spatial.Delaunay 4-node tetrahedral (Tet4), 6-node prism (Prism6), 8-node brick (Brick8) elements support Support for meshes containing different types of elements, possibly of different orders Materials Linear isotropic elastic materials […]

Read more

Python-beryl: a Python driver for BerylDB

If you want to learn more about BerylDB and how to install it, feel free to check our documentation at docs.beryl.dev.Follow us on Twitter. QuickStart The quick start guide will show you how to set up a simple application using BerylDB’s Python driver. It scope is only how to set up the driver and perform the simple operations. For more advanced coverage, we encourage reading our tutorial. Connecting to BerylDB Let’s create a new example.py file that we will   […]

Read more

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables

Overview Applications with more than a handful of user-settable options are best configured through a combination of command line args, config files, hard-coded defaults, and in some cases, environment variables. Python’s command line parsing modules such as argparse have very limited support for config files and environment variables, so this module extends argparse to add these features. Available on PyPI: http://pypi.python.org/pypi/ConfigArgParse Features command-line, config file, env var, and default settings can now be defined, documented, and parsed in one go […]

Read more

A thin, practical wrapper around terminal capabilities in Python

Coding with Blessings looks like this… from blessings import Terminal t = Terminal() print(t.bold(‘Hi there!’)) print(t.bold_red_on_bright_green(‘It hurts my eyes!’)) with t.location(0, t.height – 1): print(‘This is at the bottom.’) Or, for byte-level control, you can drop down and play with raw terminal capabilities: print(‘{t.bold}All your {t.red}bold and red base{t.normal}’.format(t=t)) print(t.wingo(2)) Full API Reference The Pitch Blessings lifts several of curses‘ limiting assumptions, and it makes your code pretty, too: Use styles, color, and maybe a    

Read more

A python package to help people create full-screen text UIs on any platform

ASCIIMATICS Asciimatics is a package to help people create full-screen text UIs (from interactive forms to ASCII animations) on any platform. It is licensed under the Apache Software Foundation License 2.0. Why? Why not? It brings a little joy to anyone who was programming in the 80s… Oh and it provides a single cross-platform Python class to do all the low-level console function you could ask for, including: Coloured/styled    

Read more

Create beautiful and testable command-line interfaces

Create beautiful and testable command-line interfaces. Cleo is mostly a higher level wrapper for CliKit, so a lot of the components and utilities comes from it. Refer to its documentation for more information. Resources Usage To make a command that greets you from the command line, create greet_command.py and add the following to it: from cleo import Command class GreetCommand(Command): “”” Greets someone greet {name? : Who do you want to greet?} {–y|yell : If set, the task will yell […]

Read more

Boto3 : The AWS SDK for Python

Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at our doc site, including a list of services that are supported. Getting Started Assuming that you have Python and virtualenv installed, set up your environment and install the required dependencies like this or you can install the library […]

Read more

Typer, build great CLIs. Easy to code. Based on Python type hints

Typer, build great CLIs. Easy to code. Based on Python type hints. Documentation: https://typer.tiangolo.com Source Code: https://github.com/tiangolo/typer Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python 3.6+ type hints. The key features are: Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs. Easy to use: It’s easy to use for the final users. Automatic […]

Read more

Google Cloud Client Library for Python

Python idiomatic clients for Google Cloud Platform services. Stability levels The development status classifier on PyPI indicates the current stability of a package. General Availability GA (general availability) indicates that the client library for a particular service is stable, and that the code surface will not change in backwards-incompatible ways unless either absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority. GA libraries […]

Read more
1 406 407 408 409 410 975