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_pymongo_bridge-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

crimson_pymongo_bridge-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for crimson_pymongo_bridge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0a93ca73567ede6af0537330b5f95b332082764da33d1d01bca6615e8c8087c6
MD5 a43e7b7b4dfcc99d58d0f12fc72dfa0d
BLAKE2b-256 0ec257f2bb8e8128794a73a6d8bbc0613d1e58f32e3257ec8178f6b166fe08ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crimson_pymongo_bridge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 710854789a4f482354480e2ec611e04061486c941d863a713391c2d1bf4cd19a
MD5 9d68057ffceb9687a4a54961f8be4f07
BLAKE2b-256 05df750c216635d967cbedce53a88873468da2e2003aa3cb2e83e00c23073489

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