Skip to main content

Build Status

man

man is a software distribution tool that works over setuptools and help integerate PyPi, Travis, Github and You together. This lets you create a python library and have it deployed in less than ten minutes.

Getting started

Creation

Say that you have an idea of a new library that you would like to share with other on PyPi. You know python, you use github and you don’t want to spend hours struggling in the mess of package distribution.

Thus, just install man:

pip install man

NOTE: If you are on windows, you will need to install pyreadline with pip install pyreadline.

And create a new library:

man new-lib

Then answer the short questions about your library:

Name of your library:
Short description:
Keywords (space separated):
Full name:
E-Mail:
Github username:
PyPi username:

If you don’t already have a PyPi account, you need to create one.

Then you will be prompted for your github password to create a new repository with the name of your lib.

Then you just need to: - Setup Travis: - create an account - Find your repo at https://travis-ci.org/profile/YOURNAME and turn the switch on. - Add your travis password to the .travis.yml: - Open bash - And just run travis encrypt --add deploy.password - And type your travis password - Add classifiers (or tags) for your library so people can find it more easily, run man add tag - Write your code, do commits, tests and whatever you want. - Complete the readme.md (not the readme.rst, because it is always converted from the readme.md.)

First release

Now the version of your code is 0.0.0. I choose to use the simple MAJOR.MINOR.PATCH system as it’s easy to use, understand and work with.

When you are ready for your first release, type

man release major

Enter a description of your first release (it can be more than one line) and confirm that you want to create a new release. Your code is then taged with v1.0.0, and that will trigger a Travis build and deployment on PyPi. You can go on travis-ci.organd when everything is finished, type:

pip install my-new-lib

And that’s it!

And after

Then, everytime you add functionalities or correct bugs and you want to share them just type one of the following:

man release patch  # When you just fix broken things
man release minor  # when you add functionnality
man release major  # when you do big changes (maybe not backward compatible)

All commands are well described, so try to run them with the --help flag to see what man can do.

List of commands:

Id there is a tilde (~) after a command, there is an interactive prompt disponible, with autocompletion.

man - add - keywords [KW1] [KW2] ... - package [PATH_TO_PKG] - dependancy [LIBRARY] [VERSION] ~ - script ~ - tag ~ - remove - keywords ~ - package [PKG_NAME] ~ - dependancy [LIBRARY] ~ - script [NAME] ~ - tag ~ - release [major|minor|patch] - --test - --again - new [DESTINATION_DIR] ~ - changelog - -v / --verbose - config ~ - See the pyconfiglib reference. - gen - readme.rst - setup.py - MANIFEST.in


By Diego Dorn

Metadata

Release files for man 1.5.1

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

Source distribution (sdist)

Source distribution for man 1.5.1
File Size Uploaded Provenance Actions
man-1.5.1.tar.gz 19.8 kB Without provenance Details for man-1.5.1.tar.gz

Release files / man-1.5.1.tar.gz

Download URL man-1.5.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
65a01e99da341b3b73a188c2a242bea7f41e18c07a09b96c597deb91c4a8fb45
BLAKE2b-256 checksum
How to use checksums
b223c994601e6fa9ddacea7de4e7edcbbe80de545ed96a2c26533777273fa941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for man 1.5.1

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.

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