#Cmd Packaging libs in python
to upgrade tools
python3 -m pip install --user --upgrade setuptools wheel python3 -m pip install --user --upgrade twine
#to upload library:
cd $folder_lib_name
python3 setup.py sdist bdist_wheel #Genera los archivos para subir a www.pypi.org twine upload dist/* #Sube los archivos para distribución, previo configurar una cuenta en www.pypi.org
#to install de library pip install $lib_name==$last_version #se descarga en este caso se creo la demo para el proy integrador: calc_demo_pi==0.05
#using lib: (eg: ipython) In [1]: from calc_demo_pi.Chebychev import func #se importa la bibl In [2]: func.run() #corre una funcion print.
Out[2]: 'Successful!'
#-----------------------------------------
In [2]: func.cheb(5)
Out[2]:
(array([[ 8.5 , -10.47213595, 2.89442719, -1.52786405,
1.10557281, -0.5 ],
[ 2.61803399, -1.17082039, -2. , 0.89442719,
-0.61803399, 0.2763932 ],
[ -0.7236068 , 2. , -0.17082039, -1.61803399,
0.89442719, -0.38196601],
[ 0.38196601, -0.89442719, 1.61803399, 0.17082039,
-2. , 0.7236068 ],
[ -0.2763932 , 0.61803399, -0.89442719, 2. ,
1.17082039, -2.61803399],
[ 0.5 , -1.10557281, 1.52786405, -2.89442719,
10.47213595, -8.5 ]]),
array([ 1. , 0.80901699, 0.30901699, -0.30901699, -0.80901699,
-1. ]))
Metadata
Release files for Orr-Sommerfeld 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Orr_Sommerfeld-0.0.8.tar.gz | 5.3 kB | Without provenance | Details for Orr_Sommerfeld-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Orr_Sommerfeld-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for Orr_Sommerfeld-0.0.8-py3-none-any.whl |
Total release size: 11.2 kB
Release files / Orr_Sommerfeld-0.0.8.tar.gz
| Download URL | Orr_Sommerfeld-0.0.8.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
982c894999c1671a611b68dabb62e8438417e4733e362523a31c0bd3b2d91839
|
|
BLAKE2b-256 checksum How to use checksums |
cd8f15231ca05de87e78da4cac079722e4bfb142fff649b5224b1454ed6e585c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.5
|
Release files / Orr_Sommerfeld-0.0.8-py3-none-any.whl
| Download URL | Orr_Sommerfeld-0.0.8-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1c193ba25cb8bb88037efbb694d24ed9d9251390d5ae21d8110c5345ed3fc30
|
|
BLAKE2b-256 checksum How to use checksums |
82bcaff43b18434e1a1f57ed8891c1efa1882aa8c83e07bf19e130c8222aaf0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.5
|
Security for Orr-Sommerfeld 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.