Jammy python notes

From OSGeo
Revision as of 17:40, 25 July 2022 by Darkblueb (talk | contribs) (→‎osm2pgsql)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IPython3

ipython3
Python 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.

ipython3 | Unpacking python3-backcall (0.2.0-2) ... | -parso (0.8.1-1) ... | -jedi (0.18.0-1) ... | -traitlets (5.1.1-1) ... | -matplotlib-inline (0.1.3-1) ... | -pickleshare (0.7.5-5) ... | -wcwidth (0.2.5+dfsg1-1) ... | -prompt-toolkit (3.0.28-1) ... | ipython3 (7.31.1-1) ...

Python3 Pandas

python3-pandas
| -matplotlib (3.5.1-2build1) ...
| -numba (0.55.1-0ubuntu2) ...
| -pandas-lib:amd64 (1.3.5+dfsg-3) ...
| -pandas (1.3.5+dfsg-3) ...
| -setuptools (59.6.0-1.2) ...
| -wheel (0.37.1-2) ...
| -pip (22.0.2+dfsg-1) ...
| -pluggy (0.13.0-7.1) ...
| -py (1.10.0-1) ...
| -toml (0.10.2-1) ...
| -pytest (6.2.5-1ubuntu2) ...
| -tables-lib (3.7.0-2build1) ...
| -tables (3.7.0-2build1) ...
| -numexpr (2.8.1-1build1) ...
| -openpyxl (3.0.9-1) ...
| -xlwt (1.3.0-3) ...
| -scipy (1.8.0-1)

Python3 GeoPandas

python3-geopandas
| libspatialindex6:amd64 (1.9.3-2) ...
| libspatialindex-c6:amd64 (1.9.3-2) ...
| pkg-config (0.29.2-1ubuntu3) ...
| -click-plugins (1.1.1-3) ...
| -cligj (0.7.2-1) ...
| -descartes (1.1.0-4) ...
| -munch (2.5.0-1) ...
| -fiona (1.8.21-1build1) ...
| -geographiclib (1.52-1) ...
| -pyproj (3.3.0-2build1) ...
| -shapely (1.8.0-1build1) ...
| -geopandas (0.10.2-1) ...
| -geopy (2.2.0-1) ...
| libspatialindex-dev:amd64 (1.9.3-2) ...
| -rtree (0.9.7-1) ...

Python3 xarray

xarray (0.21.1-1) | libfuse2:amd64 (2.9.9-5ubuntu3) ... | libhttp-parser2.9:amd64 (2.9.4-4) ... | libmbedcrypto7:amd64 (2.28.0-1build1) ... | libmbedx509-1:amd64 (2.28.0-1build1) ... | libmbedtls14:amd64 (2.28.0-1build1) ... | libgit2-1.1:amd64 (1.1.0+dfsg.1-4.1build1) ... | liblzf1:amd64 (3.6-3) ... | -asciitree (0.3.3-3) ... | -blosc (1.9.2+ds1-3build2) ... | -cftime (1.5.2+ds-1build1) ... | -cloudpickle (2.0.0-1) ... | -fsspec (2022.01.0-1) ... | -toolz (0.11.2-1) ... | -locket (0.2.1-1) ... | -partd (1.2.0-1) ... | -dask (2022.01.0+dfsg-1ubuntu1) ... | -msgpack (1.0.3-1build1) ... | -psutil (5.9.0-1build1) ... | -sortedcontainers (2.1.0-2) ... | -tblib (1.7.0-2) ... | -heapdict (1.0.1-1) ... | -zict (2.0.0-1) ... | -distributed (2022.01.0+ds.1-1) ... | -stone (3.3.1-1) ... | -dropbox (11.26.0-1) ... | -monotonic (1.6-2) ... | -fasteners (0.14.1-2) ... | -fusepy (3.0.1-2) ... | -h5py-serial (3.6.0-2build1) ... | -h5netcdf (0.12.0-1) ... | -nacl (1.5.0-2) ... | -netcdf4 (1.5.8-1build1) ... | -numcodecs (0.9.1+ds-2build1) ... | -bcrypt (3.2.0-1build1) ... | -paramiko (2.9.3-0ubuntu1) ... | -pygit2 (1.6.1+dfsg-2) ... | -zarr (2.10.3+ds-1) ... | -libarchive-c (2.9-0.1) ...


$ sudo apt install python3-xarray
...
The following additional packages will be installed:
  libfuse2 libgit2-1.1 libhttp-parser2.9 liblzf1 libmbedcrypto7 libmbedtls14 libmbedx509-1 python3-asciitree python3-bcrypt
  python3-blosc python3-cftime python3-cloudpickle python3-dask python3-distributed python3-dropbox python3-fasteners
  python3-fsspec python3-fusepy python3-h5netcdf python3-h5py-serial python3-heapdict python3-libarchive-c python3-locket
  python3-monotonic python3-msgpack python3-nacl python3-netcdf4 python3-numcodecs python3-paramiko python3-partd
  python3-psutil python3-pygit2 python3-sortedcontainers python3-stone python3-tblib python3-toolz python3-zarr python3-zict
Suggested packages:
  python-blosc-doc ipython python-dask-doc python3-bcolz python3-boto python3-graphviz python3-h5py python3-skimage
  python3-sklearn python3-sqlalchemy python-fsspec-doc python-h5py-doc python-nacl-doc python3-gssapi python3-invoke
  python-psutil-doc python-pygit2-doc python-sortedcontainers-doc python-toolz-doc python-xarray-doc python3-cartopy
  python3-pydap python3-seaborn jupyter-notebook
The following NEW packages will be installed:
  libfuse2 libgit2-1.1 libhttp-parser2.9 liblzf1 libmbedcrypto7 libmbedtls14 libmbedx509-1 python3-asciitree python3-bcrypt
  python3-blosc python3-cftime python3-cloudpickle python3-dask python3-distributed python3-dropbox python3-fasteners
  python3-fsspec python3-fusepy python3-h5netcdf python3-h5py-serial python3-heapdict python3-libarchive-c python3-locket
  python3-monotonic python3-msgpack python3-nacl python3-netcdf4 python3-numcodecs python3-paramiko python3-partd
  python3-psutil python3-pygit2 python3-sortedcontainers python3-stone python3-tblib python3-toolz python3-xarray python3-zarr
  python3-zict
0 upgraded, 39 newly installed, 0 to remove and 16 not upgraded.
Need to get 6,281 kB of archives.
After this operation, 36.3 MB of additional disk space will be used.
...                         
Get:39 http://mirrors.wikimedia.org/ubuntu jammy/universe amd64 python3-libarchive-c all 2.9-0.1 [14.5 kB]                      
Fetched 6,281 kB in 19s (326 kB/s)                                                                                              
Extracting templates from packages: 100%
Selecting previously unselected package libfuse2:amd64.
(Reading database ... 383465 files and directories currently installed.)

Setting up python3-heapdict (1.0.1-1) ...
Setting up python3-libarchive-c (2.9-0.1) ...
Setting up python3-tblib (1.7.0-2) ...
Setting up python3-numcodecs (0.9.1+ds-2build1) ...
Setting up python3-bcrypt (3.2.0-1build1) ...
Setting up python3-fsspec (2022.01.0-1) ...
Setting up python3-xarray (0.21.1-1) ...
Setting up python3-sortedcontainers (2.1.0-2) ...
Setting up libfuse2:amd64 (2.9.9-5ubuntu3) ...
Setting up python3-psutil (5.9.0-1build1) ...
Setting up python3-cloudpickle (2.0.0-1) ...
Setting up python3-monotonic (1.6-2) ...
Setting up python3-blosc (1.9.2+ds1-3build2) ...
Setting up python3-stone (3.3.1-1) ...
Setting up libmbedcrypto7:amd64 (2.28.0-1build1) ...
Setting up liblzf1:amd64 (3.6-3) ...
Setting up python3-cftime (1.5.2+ds-1build1) ...
Setting up python3-fasteners (0.14.1-2) ...
Setting up python3-asciitree (0.3.3-3) ...
Setting up python3-toolz (0.11.2-1) ...
Setting up python3-msgpack (1.0.3-1build1) ...
Setting up python3-zarr (2.10.3+ds-1) ...
Setting up python3-zict (2.0.0-1) ...
Setting up python3-locket (0.2.1-1) ...
Setting up python3-netcdf4 (1.5.8-1build1) ...
Setting up python3-nacl (1.5.0-2) ...
Setting up libhttp-parser2.9:amd64 (2.9.4-4) ...
Setting up python3-dropbox (11.26.0-1) ...
Setting up python3-partd (1.2.0-1) ...
Setting up libmbedx509-1:amd64 (2.28.0-1build1) ...
Setting up libmbedtls14:amd64 (2.28.0-1build1) ...
Setting up libgit2-1.1:amd64 (1.1.0+dfsg.1-4.1build1) ...
Setting up python3-pygit2 (1.6.1+dfsg-2) ...
Setting up python3-dask (2022.01.0+dfsg-1ubuntu1) ...
Setting up python3-h5py-serial (3.6.0-2build1) ...
Setting up python3-fusepy (3.0.1-2) ...
Setting up python3-distributed (2022.01.0+ds.1-1) ...
Setting up python3-h5netcdf (0.12.0-1) ...
Setting up python3-paramiko (2.9.3-0ubuntu1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ..

osm2pgsql

osm2pgsql
| gdal-data (3.4.1+dfsg-1build4) ...
| libgdal30 (3.4.1+dfsg-1build4) ...
| libgeos3.10.2:amd64 (3.10.2-1) ...
| libgeos-c1v5:amd64 (3.10.2-1) ...
| proj-data (8.2.1-1) ...
| libproj22:amd64 (8.2.1-1) ...
| proj-bin (8.2.1-1) ...
| python3-pyosmium (3.2.0-1build1) ...
| osm2pgsql (1.6.0+ds-1) ...
| postgresql-14-postgis-3 (3.2.0+dfsg-1ubuntu1) ...
| postgis (3.2.0+dfsg-1ubuntu1) ...
| postgis-doc (3.2.0+dfsg-1ubuntu1) ...
| postgresql-14-postgis-3-scripts (3.2.0+dfsg-1ubuntu1) ...
| python3-psycopg2 (2.9.2-1build2) ...
| libgeotiff5:amd64 (1.7.0-2build1) ...
| mysql-common (5.8+1.0.8) ...
| libmysqlclient21:amd64 (8.0.29-0ubuntu0.22.04.2) ...
| libnetcdf19:amd64 (1:4.8.1-1) ...
| libhdf5-103-1:amd64 (1.10.7+repack-4ubuntu2) ...
| libhdf5-hl-100:amd64 (1.10.7+repack-4ubuntu2) ...
| libhdf4-0-alt (4.2.15-4) ...
| libkmlbase1:amd64 (1.3.0-9) ...
| libkmldom1:amd64 (1.3.0-9) ...
| libkmlengine1:amd64 (1.3.0-9) ...
| libprotobuf-c1:amd64 (1.3.3-1ubuntu2) ...
| libsfcgal1 (1.4.1-1) ...
| libodbc2:amd64 (2.3.9-5) ...
| unixodbc-common (2.3.9-5) ...
| libodbcinst2:amd64 (2.3.9-5) ...
| libogdi4.1 (4.1.0+ds-5) ...
| libqhull-r8.0:amd64 (2020.2-4) ...
| librttopo1:amd64 (1.1.0-2) ...
| libspatialite7:amd64 (5.0.1-2build2) ...
| libxerces-c3.2:amd64 (3.2.3+debian-3build1) ...
| libaec0:amd64 (1.0.6-1) ...
| libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
| libsz2:amd64 (1.0.6-1) ...
| liburiparser1:amd64 (0.9.6+dfsg-1) ...
| libarpack2:amd64 (3.8.0-1) ...
| libsuperlu5:amd64 (5.3.0+dfsg1-2) ...
| libarmadillo10 (1:10.8.2+dfsg-1) ...
| libblosc1:amd64 (1.21.1+ds2-2) ...
| libboost-serialization1.74.0:amd64 (1.74.0-14ubuntu3) ...
| libcfitsio9:amd64 (4.0.0-1) ...
| libcharls2:amd64 (2.3.4-1) ...
| libfyba0:amd64 (4.1.1-7) ...
| libfreexl1:amd64 (1.0.6-1) ...
| grass-doc (7.8.7-1) ...
| grass-core (7.8.7-1) ...
| libgdal-grass (3.4.1-3) ...