Skip to main content

Your package description.

Project description

Template README.md
This file is from the template repository. Rewrite it for your own package.

Python Package Setup

Setup Base

To install required pip modules for generate_toml.py, run

source scripts/setup_base.sh

User Setup

  • go to generate_toml.py file, and complete the setup in the User Setup session.
options = Options(
    # Will you use the discussion session in your repo?
    discussion=False
)

# Define the general information of your package
kwargs = Kwargs(
    name_space="None",
    module_name="None",
    description="None",
)

If you wrote all the information, run

python generate_toml.py

Template

If you want to understand the generation process, check the template variable in generate_toml.py.

Setup Env

Prerequisite

Finish User Setup first. Of course, conda command must be available.

Setup Env

Run

source scripts/setup_env.sh

steps

  • create an conda environment named as your $MODULE_NAME
  • activate the environment.
  • install requirements.txt

Generate Private Env

Generate a private repository in this repo. I recommend you to write all the unstructured codes in this repo.

source scripts/generate_dev_repo.sh

It will ask you the name of your repo, and then, generate a repo named f'{your_repo_name}-dev'.

Usage Tip

If you wrote your codes in a wrong branch,

  • backup the files to the dev repo
  • remove changes in your main(not main branch) repo
  • move to your correct branch
  • place back the backup codes

Workflows

I currently setup test and release workflows.

Test

If you make a PR with the patterns [ main, develop, 'release/', 'feature/' ],

It will perform your unittest in ["3.9", "3.10", "3.11"]

Release

required secret : PYPI_API_TOKEN

I usually make PRs only when I start release branches. release workflow is not conducted automatically. If you think your branch is ready to be published,

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

crimson_github_app-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crimson_github_app-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file crimson_github_app-0.1.1.tar.gz.

File metadata

  • Download URL: crimson_github_app-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for crimson_github_app-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bf907ccc9a29adb7344ac9a3b313798021038db4a413f34f271f7dcb59fdf040
MD5 3c9e79cbe367c10a22a92c22731b8c78
BLAKE2b-256 c01750d8e39c6eaeb5481aa747a8c6c1484f4b2d13ef7310ca24460fb5b0b3c7

See more details on using hashes here.

File details

Details for the file crimson_github_app-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for crimson_github_app-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1975fc4b260054f61ab62b01d9580c5a0d4390fbcc45cc4c9d0f00c63c6732d1
MD5 4ee202586ca913f36fdb5da3c39236a3
BLAKE2b-256 5ecd082a595be0a46dbe7a457b91fef7ad7d9a0b1e557e67ebd2f3c3cee6126e

See more details on using hashes here.

Supported by

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