Skip to main content

No project description provided

Project description

Project description

compyc is a tool for compiling Python projects into pyc binary packages.

What can be done?

  • Compile the specified project separately.

  • Bulk compiles all projects in the specified directory.

Installing

Install and update using pip:

$ pip install compyc

Click supports Python 3.6 and newer.

A Simple Example

What does it look like? Here is an example of a simple compyc program:

packaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/

The projects path:

/User/username/Documents/python_projects/packaging_tutorial_1
/User/username/Documents/python_projects/packageing_tutorial_2
$ cd /User/username/Documents/python_projects
# Compile the specified project separately.
$ compyc -p packaging_tutorial_1 -v 0.1.0
$ ls
packaging_tutorial_1 packaging_tutorial_1-0.1.0 packaging_tutorial_2

# Bulk compiles all projects in the specified directory.
$ compyc -v 0.1.0
# or
$ compyc -p /User/username/Documents/python_projects/ -v 0.1.0
$ ls
packaging_tutorial_1 packaging_tutorial_1-0.1.0 
packaging_tutorial_2 packaging_tutorial_2-0.1.0

A description of the parameter -p:

-p is followed by a path value

  • When the path value ends with "/", the program treats the path as a directory, and each folder in the directory is treated as a separate project, and subsequent actions are iteratively compiled for each project in the directory.

  • When the path ends without a "/", the specified path is treated as a stand-alone project.

  • When the -p parameter is omitted, the default path value is ".", which is the current directory, and all projects under the current project are iteratively compiled.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compyc-0.1.26.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

compyc-0.1.26-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file compyc-0.1.26.tar.gz.

File metadata

  • Download URL: compyc-0.1.26.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for compyc-0.1.26.tar.gz
Algorithm Hash digest
SHA256 cbe614bf36a33164b6bb7b6dfeb44106e6b7131e3929fcbc037a52fcf55ec76f
MD5 a3034a1b9fa51f8a90e0ff82d9a363c7
BLAKE2b-256 6030a25723d73d8339cb6435874e463f714678d553a36c4d3b12959c041ef4fb

See more details on using hashes here.

File details

Details for the file compyc-0.1.26-py3-none-any.whl.

File metadata

  • Download URL: compyc-0.1.26-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for compyc-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 1583f0b5ab1da2992d49a7f5a0b55e8b82a8a704a0f176314794a4381a27cc2b
MD5 7a16763a3e351db88b88170ac10567db
BLAKE2b-256 ccf3cf75910c533c0d29ef4bf93c361264b58bda0544d104d50bde2eedd4d765

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page