From 8ddc0fd801d794fcd7735816790dff66d1c678e2 Mon Sep 17 00:00:00 2001 From: jschendel Date: Sun, 29 Apr 2018 17:49:01 -0600 Subject: [PATCH] DOC: Link to new PyPI instead legacy PyPI (#20872) --- README.md | 6 +++--- doc/source/contributing.rst | 6 +++--- doc/source/index.rst.template | 2 +- doc/source/install.rst | 12 ++++++------ doc/source/release.rst | 2 +- pandas/core/frame.py | 2 +- pandas/io/clipboard/__init__.py | 2 +- versioneer.py | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 78e9b93ae535f..5ff256158aa1b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Latest Release - + latest release @@ -25,7 +25,7 @@ Package Status - + status @@ -158,7 +158,7 @@ The source code is currently hosted on GitHub at: https://github.com/pandas-dev/pandas Binary installers for the latest released version are available at the [Python -package index](https://pypi.python.org/pypi/pandas) and on conda. +package index](https://pypi.org/project/pandas) and on conda. ```sh # conda diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 6d5ac31c39a62..58f097c2fc5f3 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -473,7 +473,7 @@ Here are *some* of the more common ``cpplint`` issues: - every header file must include a header guard to avoid name collisions if re-included :ref:`Continuous Integration ` will run the -`cpplint `_ tool +`cpplint `_ tool and report any stylistic errors in your code. Therefore, it is helpful before submitting code to run the check yourself:: @@ -521,7 +521,7 @@ the more common ``PEP8`` issues: - passing arguments should have spaces after commas, e.g. ``foo(arg1, arg2, kw1='bar')`` :ref:`Continuous Integration ` will run -the `flake8 `_ tool +the `flake8 `_ tool and report any stylistic errors in your code. Therefore, it is helpful before submitting code to run the check yourself on the diff:: @@ -798,7 +798,7 @@ Or with one of the following constructs:: pytest pandas/tests/[test-module].py::[TestClass] pytest pandas/tests/[test-module].py::[TestClass]::[test_method] -Using `pytest-xdist `_, one can +Using `pytest-xdist `_, one can speed up local testing on multicore machines. To use this feature, you will need to install `pytest-xdist` via:: diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index 82ed5e36b6c82..f5ac7b77f4db1 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -12,7 +12,7 @@ pandas: powerful Python data analysis toolkit **Date**: |today| **Version**: |version| -**Binary Installers:** http://pypi.python.org/pypi/pandas +**Binary Installers:** https://pypi.org/project/pandas **Source Repository:** http://github.com/pandas-dev/pandas diff --git a/doc/source/install.rst b/doc/source/install.rst index 4713bbb78d633..6054be112f52c 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -12,7 +12,7 @@ cross platform distribution for data analysis and scientific computing. This is the recommended installation method for most users. Instructions for installing from source, -`PyPI `__, `ActivePython `__, various Linux distributions, or a +`PyPI `__, `ActivePython `__, various Linux distributions, or a `development version `__ are also provided. .. _install.dropping-27: @@ -153,7 +153,7 @@ Installing from PyPI ~~~~~~~~~~~~~~~~~~~~ pandas can be installed via pip from -`PyPI `__. +`PyPI `__. :: @@ -258,7 +258,7 @@ Optional Dependencies * `xarray `__: pandas like handling for > 2 dims, needed for converting Panels to xarray objects. Version 0.7.0 or higher is recommended. * `PyTables `__: necessary for HDF5-based storage. Version 3.0.0 or higher required, Version 3.2.1 or higher highly recommended. * `Feather Format `__: necessary for feather-based storage, version 0.3.1 or higher. -* `Apache Parquet `__, either `pyarrow `__ (>= 0.4.1) or `fastparquet `__ (>= 0.0.6) for parquet-based storage. The `snappy `__ and `brotli `__ are available for compression support. +* `Apache Parquet `__, either `pyarrow `__ (>= 0.4.1) or `fastparquet `__ (>= 0.0.6) for parquet-based storage. The `snappy `__ and `brotli `__ are available for compression support. * `SQLAlchemy `__: for SQL database support. Version 0.8.1 or higher recommended. Besides SQLAlchemy, you also need a database specific driver. You can find an overview of supported drivers for each SQL dialect in the `SQLAlchemy docs `__. Some common drivers are: * `psycopg2 `__: for PostgreSQL @@ -271,11 +271,11 @@ Optional Dependencies * `xlrd/xlwt `__: Excel reading (xlrd) and writing (xlwt) * `openpyxl `__: openpyxl version 2.4.0 for writing .xlsx files (xlrd >= 0.9.0) - * `XlsxWriter `__: Alternative Excel writer + * `XlsxWriter `__: Alternative Excel writer * `Jinja2 `__: Template engine for conditional HTML formatting. * `s3fs `__: necessary for Amazon S3 access (s3fs >= 0.0.7). -* `blosc `__: for msgpack compression using ``blosc`` +* `blosc `__: for msgpack compression using ``blosc`` * One of `qtpy `__ (requires PyQt or PySide), `PyQt5 `__, @@ -287,7 +287,7 @@ Optional Dependencies * `pandas-gbq `__: for Google BigQuery I/O. -* `Backports.lzma `__: Only for Python 2, for writing to and/or reading from an xz compressed DataFrame in CSV; Python 3 support is built into the standard library. +* `Backports.lzma `__: Only for Python 2, for writing to and/or reading from an xz compressed DataFrame in CSV; Python 3 support is built into the standard library. * One of the following combinations of libraries is needed to use the top-level :func:`~pandas.read_html` function: diff --git a/doc/source/release.rst b/doc/source/release.rst index da3362b47b29b..709c9b15b55f7 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -34,7 +34,7 @@ analysis / manipulation tool available in any language. **Where to get it** * Source code: http://github.com/pandas-dev/pandas -* Binary installers on PyPI: http://pypi.python.org/pypi/pandas +* Binary installers on PyPI: https://pypi.org/project/pandas * Documentation: http://pandas.pydata.org pandas 0.22.0 diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 82d5a0286b117..d7efd777f4176 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1892,7 +1892,7 @@ def to_parquet(self, fname, engine='auto', compression='snappy', Notes ----- This function requires either the `fastparquet - `_ or `pyarrow + `_ or `pyarrow `_ library. Examples diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py index 37d398f20ef41..b76a843e3e7f2 100644 --- a/pandas/io/clipboard/__init__.py +++ b/pandas/io/clipboard/__init__.py @@ -71,7 +71,7 @@ def determine_clipboard(): try: # qtpy is a small abstraction layer that lets you write # applications using a single api call to either PyQt or PySide - # https://pypi.python.org/pypi/QtPy + # https://pypi.org/project/QtPy import qtpy # noqa except ImportError: # If qtpy isn't installed, fall back on importing PyQt5, or PyQt5 diff --git a/versioneer.py b/versioneer.py index 5dae3723ecf9c..2725fe98641a4 100644 --- a/versioneer.py +++ b/versioneer.py @@ -12,7 +12,7 @@ * Compatible With: python2.6, 2.7, 3.2, 3.3, 3.4, and pypy * [![Latest Version] (https://pypip.in/version/versioneer/badge.svg?style=flat) -](https://pypi.python.org/pypi/versioneer/) +](https://pypi.org/project/versioneer/) * [![Build Status] (https://travis-ci.org/warner/python-versioneer.png?branch=master) ](https://travis-ci.org/warner/python-versioneer)