Skip to main content

Pyx, the task-oriented project manager

This project was primarily inspired by mix, project management tool for Elixir projects. It provides generic tasks for creating, testing, running... Python projects, available as command-line tools.

Structure of a Pyx project

You can create a new project with the following command:

pyx new my_project

This will create the following directory:

my_project/
├── .gitignore
├── main.py
├── my_project
│   └── __init__.py
├── Pipfile
├── .pyx
│   ├── project.py
│   └── tasks
├── README.md
├── setup.py
└── test
    └── test_my_project.py

Let's have a look at this. Your code goes in the directory named after your project; here it's ./my_project/. The reason behind this is that pyx will help you build your project as a package.

The entry point of a Pyx project is main.py. It will be run when calling pyx run at the root of the project. This task will actually activate the corresponding pipenv environment, and run the project there.

The test directory is where unit tests files should be placed. There's already one provided, ./test/test_my_project.py. The unit tests are run with pyx test, which will call the unittest module.

The project also contains a README.md and a .gitignore files, for git projects. It contains a setup.py for distributing your project to PyPI, which can be done through the pyx release task. The credentials and repository for distribution are stored in ./.pyx/project.py; although you don't need to write these: if Pyx cannot find them, you'll be prompted to type them.

Metadata

Release files for pyx-manager 1.7.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 pyx-manager 1.7.1
File Size Uploaded
pyx-manager-1.7.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyx-manager 1.7.1
File Interpreter ABI Platform
pyx_manager-1.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / pyx-manager-1.7.1.tar.gz

Download URL pyx-manager-1.7.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9e79465213836ff565c4e7122ffdb8133eff1a53115af8885dbac18e1afdecfb
BLAKE2b-256 checksum
How to use checksums
ddd664e7990339fee9aad2fa5f049e0252f4eeae4ea40dd5d607b904cef45920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Release files / pyx_manager-1.7.1-py3-none-any.whl

Download URL pyx_manager-1.7.1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc3bed3157514715ca568c154a98931eeb1634376e02a7a71c47a537f37f823b
BLAKE2b-256 checksum
How to use checksums
5c73b9488d24047c41192f5f507c5d6d5b698452a6f90220b3d1e16ff8471876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Release history Release notifications | RSS feed

This release

1.7.1 This release

2 release files

1.7

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

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