Skip to content

Commit 6915d07

Browse files
committed
Change README for PyPI
1 parent 8426d60 commit 6915d07

File tree

3 files changed

+42
-45
lines changed

3 files changed

+42
-45
lines changed

HISTORY.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
History
22
-------
33

4-
1.1.0 (2023-03-02)
4+
1.1.0 (2023-11-03)
55
~~~~~~~~~~~~~~~~~~
66

77
* Remove NumPy types in the code that were removed since NumPy 1.24

README.md

+35-42
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,51 @@
11
# SolidsPy: 2D-Finite Element Analysis with Python
22

3-
![](https://raw.githubusercontent.com/AppliedMechanics-EAFIT/SolidsPy/master/docs/img/wrench.png)
3+
![](https://raw.githubusercontent.com/AppliedMechanics-EAFIT/SolidsPy/master/docs/img/wrench.png)
44
[![PyPI download](https://img.shields.io/pypi/v/solidspy.svg)](https://pypi.python.org/pypi/continuum_mechanics)
55
[![Documentation Status](https://readthedocs.org/projects/solidspy/badge/?version=latest)](https://solidspy.readthedocs.io/en/latest/)
6-
[![Downloads frequency](https://img.shields.io/pypi/dm/solidspy)](https://pypistats.org/packages/solidspy)
6+
[![Downloads frequency](https://img.shields.io/pypi/dm/solidspy)](https://pypistats.org/packages/solidspy)
77
[![image](https://zenodo.org/badge/48294591.svg)](https://zenodo.org/badge/latestdoi/48294591)
88

9-
A simple finite element analysis code for 2D elasticity problems. The
10-
code uses as input simple-to-create text files defining a model in terms
11-
of nodal, element, material and load data.
9+
A simple finite element analysis code for 2D elasticity problems. The code uses
10+
as input simple-to-create text files defining a model in terms of nodal,
11+
element, material and load data.
1212

1313
- Documentation: <http://solidspy.readthedocs.io>
1414
- GitHub: <https://github.com/AppliedMechanics-EAFIT/SolidsPy>
1515
- PyPI: <https://pypi.org/project/solidspy/>
16-
- Free and open source software: [MIT
17-
license](http://en.wikipedia.org/wiki/MIT_License)
16+
- Free and open source software: [MIT license](http://en.wikipedia.org/wiki/MIT_License)
1817

1918
## Features
2019

21-
- It is based on an open-source environment.
22-
- It is easy to use.
23-
- The code allows to find displacement, strain and stress solutions
24-
for arbitrary two-dimensional domains discretized into finite
25-
elements and subject to point loads.
26-
- The code is organized in independent modules for pre-processing,
27-
assembly and post-processing allowing the user to easily modify it
28-
or add features like new elements or analyses pipelines.
29-
- It was created with academic and research purposes.
30-
- It has been used to tech the following courses:
31-
- Computational Modeling.
32-
- Introduction to the Finite Element Methods.
20+
- It is based on an open-source environment.
21+
- It is easy to use.
22+
- The code allows to find displacement, strain and stress solutions
23+
for arbitrary two-dimensional domains discretized into finite
24+
elements and subject to point loads.
25+
- The code is organized in independent modules for pre-processing,
26+
assembly and post-processing allowing the user to easily modify it
27+
or add features like new elements or analyses pipelines.
28+
- It was created with academic and research purposes.
29+
- It has been used to tech the following courses:
30+
- Introduction to Solid Mechanics.
31+
- Computational Modeling.
32+
- Introduction to the Finite Element Methods.
33+
- Introduction to Soil Mechanics.
3334

3435
## Installation
3536

36-
The code is written in Python and it depends on `numpy`, and `scipy`
37-
and. It has been tested under Windows, Mac, Linux and Android.
37+
The code is written in Python and it depends on `numpy`, and `scipy` and. It
38+
has been tested under Windows, Mac, Linux and Android.
3839

3940
To install *SolidsPy* open a terminal and type:
4041

4142
pip install solidspy
4243

43-
To specify through a GUI the folder where the input files are stored you
44-
will need to install
45-
[easygui](http://easygui.readthedocs.org/en/master/).
44+
To specify through a GUI the folder where the input files are stored you will
45+
need to install [easygui](http://easygui.readthedocs.org/en/master/).
4646

4747
To easily generate the required SolidsPy text files out of a
48-
[Gmsh](http://gmsh.info/) model you will need
49-
[meshio](https://github.com/nschloe/meshio).
48+
[Gmsh](http://gmsh.info/) model you will need [meshio](https://github.com/nschloe/meshio).
5049

5150
These two can be installed with:
5251

@@ -55,12 +54,10 @@ These two can be installed with:
5554

5655
## How to run a simple model
5756

58-
For further explanation check the
59-
[docs](http://solidspy.readthedocs.io/en/latest/).
57+
For further explanation check the [docs](http://solidspy.readthedocs.io/en/latest/).
6058

61-
Let\'s suppose that we have a simple model represented by the following
62-
files (see [tutorials/square
63-
example](http://solidspy.readthedocs.io/en/latest/tutorials/square_example.html)
59+
Let's suppose that we have a simple model represented by the following files
60+
(see [tutorials/square example](http://solidspy.readthedocs.io/en/latest/tutorials/square_example.html)
6461
for further explanation).
6562

6663
- `nodes.txt`
@@ -113,15 +110,12 @@ disp = solids_GUI() # run the Finite Element Analysis
113110
plt.show() # plot contours
114111
```
115112

116-
For Mac users it is suggested to use an IPython console to run the
117-
example.
113+
For Mac users it is suggested to use an IPython console to run the example.
118114

119115
## License
120116

121-
This project is licensed under the [MIT
122-
license](http://en.wikipedia.org/wiki/MIT_License). The documents are
123-
licensed under [Creative Commons Attribution
124-
License](http://creativecommons.org/licenses/by/4.0/).
117+
This project is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License).
118+
The documents are licensed under [Creative Commons Attribution License](http://creativecommons.org/licenses/by/4.0/).
125119

126120
## Citation
127121

@@ -132,17 +126,16 @@ To cite SolidsPy in publications use
132126
133127
A BibTeX entry for LaTeX users is
134128

135-
``` bibtex
129+
```bibtex
136130
@software{solidspy,
137131
title = {SolidsPy: 2D-Finite Element Analysis with Python},
138132
version = {1.1.0},
139133
author = {Guarín-Zapata, Nicolás and Gómez, Juan},
140134
year = 2023,
141135
keywords = {Python, Finite elements, Scientific computing, Computational mechanics},
142-
abstract = {SolidsPy is a simple finite element analysis code for
143-
2D elasticity problems. The code uses as input simple-to-create text
144-
files defining a model in terms of nodal, element, material and
145-
load data.},
136+
abstract = {SolidsPy is a simple finite element analysis code for 2D elasticity
137+
problems. The code uses as input simple-to-create text files defining a model
138+
in terms of nodal, element, material and load data.},
146139
url = {https://github.com/AppliedMechanics-EAFIT/SolidsPy},
147140
doi = {https://doi.org/10.5281/zenodo.7694030}
148141
}

setup.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@
1414
here = path.abspath(path.dirname(__file__))
1515

1616
# Get the long description from the README file
17-
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
17+
with open('README.md', 'r', encoding='utf-8') as f:
1818
long_description = f.read()
1919

20+
21+
22+
23+
2024
requirements = ['numpy',
2125
'scipy',
2226
'matplotlib',
@@ -26,7 +30,7 @@
2630
setup(
2731
name='solidspy',
2832

29-
version='1.1.0',
33+
version='1.1.0.post1',
3034

3135
description='A simple Finite Element program',
3236
long_description=long_description,

0 commit comments

Comments
 (0)