pypi-adapter

Parent POM of Artipie

License

License

Categories

Categories

Artipie Build Tools Distribution
GroupId

GroupId

com.artipie
ArtifactId

ArtifactId

pypi-adapter
Last Version

Last Version

0.7.4
Release Date

Release Date

Type

Type

jar
Description

Description

pypi-adapter
Parent POM of Artipie
Project URL

Project URL

https://github.com/artipie/pypi-adapter
Project Organization

Project Organization

jcabi.com
Source Code Management

Source Code Management

https://github.com/artipie/pypi-adapter/tree/master

Download pypi-adapter

How to add to project

<!-- https://jarcasting.com/artifacts/com.artipie/pypi-adapter/ -->
<dependency>
    <groupId>com.artipie</groupId>
    <artifactId>pypi-adapter</artifactId>
    <version>0.7.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.artipie/pypi-adapter/
implementation 'com.artipie:pypi-adapter:0.7.4'
// https://jarcasting.com/artifacts/com.artipie/pypi-adapter/
implementation ("com.artipie:pypi-adapter:0.7.4")
'com.artipie:pypi-adapter:jar:0.7.4'
<dependency org="com.artipie" name="pypi-adapter" rev="0.7.4">
  <artifact name="pypi-adapter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.artipie', module='pypi-adapter', version='0.7.4')
)
libraryDependencies += "com.artipie" % "pypi-adapter" % "0.7.4"
[com.artipie/pypi-adapter "0.7.4"]

Dependencies

compile (7)

Group / Artifact Type Version
com.artipie : asto jar 0.34
com.artipie : http jar 0.17.7
com.artipie : http-client jar 0.3.5
commons-fileupload : commons-fileupload jar 1.4
org.apache.commons : commons-compress jar 1.20
com.jcabi : jcabi-xml jar 0.22.2
org.slf4j : slf4j-api jar 1.8.0-alpha2

provided (1)

Group / Artifact Type Version
com.google.code.findbugs : annotations jar 3.0.1

runtime (2)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.8.0-beta0
log4j : log4j jar 1.2.17

test (6)

Group / Artifact Type Version
org.llorllale : cactoos-matchers jar 0.19
org.junit.jupiter : junit-jupiter-params jar 5.7.1
com.artipie : vertx-server jar 0.4
org.testcontainers : testcontainers jar 1.15.1
org.apache.httpcomponents : httpmime jar 4.5.12
org.apache.httpcomponents : httpclient jar 4.5.12

Project Modules

There are no modules declared in this project.

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

Javadoc License codecov Hits-of-Code Maven Central PDD status

This Java library turns Python packages storage (files, S3 objects, anything) into Python Repository which pip and twine can perfectly understand. This library is a part of Artipie binary artifact management tool and provides Python storage functionality for Artipie central.

How to use

To install packages with pip add the following section to .pip/pip.conf:

[global]
extra-index-url = https://myname:[email protected]/my_pypi

To upload using pip create valid ~/.pypirc file:

[distutils]
index-servers = example

[example]
repository = https://central.artipie.com/my_pypi
username = myname
password = mypass

To upload package with twine specify --repository-url:

python3 -m twine upload --repository-url https://central.artipie.com/my_pypi -u myname -p mypass --verbose my_project/dist/*

To use a private server with setuptools unittesting add the following to your setup.py:

from setuptools import setup

setup(
    ...
    dependency_links=[
        'https://myname:[email protected]/my_pypi/my_project/'
    ])

PYPI repository API and file structure

PYPI repository API is explained by PEP-503. The repository root / API must return a valid HTML5 page with a single anchor element per project in the repository:

<!DOCTYPE html>
<html>
  <body>
    <a href="/frob/">frob</a>
    <a href="/spamspamspam/">spamspamspam</a>
  </body>
</html>

These links may be helpful:

How to contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

$ mvn verify -Pqulice

To avoid build errors use Maven 3.2+.

com.artipie

Artipie

Binary Artifact Management Toolkit

Versions

Version
0.7.4
0.7.3
0.7.2
0.7.1
0.7
0.6.3
0.6.2
0.6.1
0.6
0.5.4
0.5.3
0.5.2
0.5.1
0.5
0.4
0.3
0.2.1
0.2
0.1
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0