Skip to main content

Tools to interface GitHub, PyPI and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

Project description

generalpackager 0.0.8

Tools to interface GitHub, PyPI and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for my general packages.

workflow Actions Status GitHub last commit PyPI version shields.io PyPI pyversions Generic badge

Contents

generalpackager 0.0.8
├─ Contents
├─ Installation
├─ Attributes
└─ Todo

Installation

Command pandas generallibrary generalfile gitpython requests
pip install generalpackager Yes Yes Yes Yes Yes

Attributes

Module: generalpackager
├─ Class: GitHub
│  ├─ Method: api_url
│  ├─ Method: get_description
│  ├─ Method: get_topics
│  ├─ Method: get_url
│  ├─ Method: get_users_packages
│  ├─ Method: get_website
│  ├─ Method: is_creatable
│  ├─ Method: is_url_functioning
│  ├─ Method: set_description
│  ├─ Method: set_topics
│  └─ Method: set_website
├─ Class: LocalModule
│  ├─ Method: get_all_packages
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ Method: get_env_vars
│  └─ Method: is_creatable
├─ Class: LocalRepo
│  ├─ Method: bump_version
│  ├─ Method: commit_and_push
│  ├─ Method: create_sdist
│  ├─ Method: get_changed_files
│  ├─ Method: get_git_exclude_path
│  ├─ Method: get_license_path
│  ├─ Method: get_local_repos
│  ├─ Method: get_metadata_path
│  ├─ Method: get_package_paths
│  ├─ Method: get_readme_path
│  ├─ Method: get_repos_path
│  ├─ Method: get_setup_path
│  ├─ Method: get_test_path
│  ├─ Method: get_todos
│  ├─ Method: get_workflow_path
│  ├─ Method: is_creatable
│  ├─ Method: metadata_setter
│  ├─ Method: path_is_repo
│  ├─ Method: pip_install
│  ├─ Method: unittest
│  └─ Method: upload
├─ Class: Packager
│  ├─ Class: GitHub
│  ├─ Class: LocalModule
│  ├─ Class: LocalRepo
│  ├─ Class: PyPI
│  │  ├─ Method: get_url
│  │  ├─ Method: get_users_packages
│  │  ├─ Method: get_version
│  │  └─ Method: is_creatable
│  ├─ Method: add
│  ├─ Method: clone_repo
│  ├─ Method: commit_push_store_sha
│  ├─ Method: configure_contents_markdown
│  ├─ Method: general_bumped_set
│  ├─ Method: general_changed_dict
│  ├─ Method: generate_git_exclude
│  ├─ Method: generate_license
│  ├─ Method: generate_localfiles
│  ├─ Method: generate_readme
│  ├─ Method: generate_setup
│  ├─ Method: generate_workflow
│  ├─ Method: get_attributes_markdown
│  ├─ Method: get_badges_dict
│  ├─ Method: get_changed_files
│  ├─ Method: get_classifiers
│  ├─ Method: get_dependencies
│  ├─ Method: get_dependents
│  ├─ Method: get_env
│  ├─ Method: get_footnote_markdown
│  ├─ Method: get_installation_markdown
│  ├─ Method: get_ordered_packagers
│  ├─ Method: get_packager_with_name
│  ├─ Method: get_step
│  ├─ Method: get_sync_job
│  ├─ Method: get_topics
│  ├─ Method: get_triggers
│  ├─ Method: get_unittest_job
│  ├─ Method: get_users_package_names
│  ├─ Method: github_link
│  ├─ Method: if_publish_bump
│  ├─ Method: if_publish_publish
│  ├─ Method: is_bumped
│  ├─ Method: is_creatable
│  ├─ Method: load_general_packagers
│  ├─ Method: remove
│  ├─ Method: run_ordered_methods
│  ├─ Method: step_install_necessities
│  ├─ Method: step_install_package_git
│  ├─ Method: step_install_package_pip
│  ├─ Method: step_run_packager_method
│  ├─ Method: step_setup_python
│  ├─ Method: steps_setup
│  ├─ Method: sync_github_metadata
│  ├─ Method: update_links
│  ├─ Method: workflow_sync
│  └─ Method: workflow_unittest
└─ Class: PyPI

Todo

Module Message
randomtesting.py Install packages in correct order when using git to prevent it using pip.
randomtesting.py Write [CI MAJOR] in commit message to bump major for example.
randomtesting.py Push empty commits to dependents after publish in workflow.
randomtesting.py Generate GitHub profile readme.
randomtesting.py Compare local_repo version with pypi version before publishing.
packager_markdown.py Inherit future crawler class for pypi and github.
packager_grp.py Maybe move PackagerGrp to Packager now that it inherits NetworkDiagram?
packager.py Allow github, pypi or local repo not to exist in any combination.
packager.py Replace badges with generated hardcode.
packager.py Find all imports to generate install_requires.
packager.py Create links for Todos.
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
Generated 2021-02-02 13:57 CET for commit aa156b0.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

generalpackager-0.0.8-py3-none-any.whl (160.8 kB view hashes)

Uploaded Python 3

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