Skip to main content
# pypi starter project

[![Build Status](https://travis-ci.org/wuhaifengdhu/pypi-starter.svg?branch=master)](https://travis-ci.org/wuhaifengdhu/pypi-starter)
[![codecov](https://codecov.io/gh/wuhaifengdhu/pypi-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/wuhaifengdhu/pypi-starter)

This is a template repository that you can use to quickly create a python application that can be built, tested, and released as an internal python module.

## Setting up a new repository from this template
**Create a directory and pull all the files in this template into it**

```bash
mkdir new_repo_name
cd new_repo_name
git init
git pull https://github.com/wuhaifengdhu/pypi-starter
```

## Build

*Linux*

```bash
virtualenv env
. env/bin/activate
pip install -e .
```

*Windows*
```bash
virtualenv env
env\Scripts\activate
pip install -e .
```

## Tox Tests and Build the Wheels

```
pip install -r requirements-build.txt
# run the python tests
tox -r
```

## upload to pypi
* Register your account in ![pypi](https://pypi.org/)
* Create file .pypirc in your home folder with 600.
```[distutils]
index-servers =
pypi
pypitest

[pypi]
repository=https://upload.pypi.org/legacy/
username=your_username
password=your_password

[pypitest]
repository=https://test.pypi.org/legacy/
username=your_username
password=your_password
```
* Upload your repository
```
Python setup.py bidet_wheel —universal
Twine upload dist/*
```





Release files for devin 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for devin 1.0.0
File Interpreter ABI Platform
devin-1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / devin-1.0.0-py2.py3-none-any.whl

Download URL devin-1.0.0-py2.py3-none-any.whl
Size 40.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8413e18ef3dba4c8af05811770096c6020c0d9ef016624fb853326d5d9219116
BLAKE2b-256 checksum
How to use checksums
8b082642a09d532cc5b1cffb45f1e5741af19e1863392fdc8405125e879ba3bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page