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

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

This package and 3 other make up ManderaGeneral.

Information

Package Ver Latest Release Python Platform Lvl Todo Tests
generalpackager 0.3 2021-04-10 14:44 CEST 3.8, 3.9 Windows, Ubuntu 2 20 86.2 %

Contents

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

Installation

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

Attributes

Module: generalpackager
└─ Class: Packager
   ├─ Class: GitHub
   │  ├─ Method: download
   │  ├─ Method: exists
   │  ├─ Method: get_description
   │  ├─ Method: get_owners_packages
   │  ├─ Method: get_topics
   │  ├─ Method: get_website
   │  ├─ Method: is_general (Untested)
   │  ├─ Method: set_description
   │  ├─ Method: set_topics
   │  └─ Method: set_website
   ├─ Class: LocalModule
   │  ├─ Method: exists
   │  ├─ Method: get_all_local_modules
   │  ├─ Method: get_dependants
   │  ├─ Method: get_dependencies
   │  ├─ Method: get_env_vars
   │  ├─ Method: is_general (Untested)
   │  ├─ Property: module
   │  └─ Property: objInfo
   ├─ Class: LocalRepo
   │  ├─ Method: bump_version
   │  ├─ Method: create_sdist
   │  ├─ Property: description
   │  ├─ Property: enabled (Untested)
   │  ├─ Method: exists
   │  ├─ Property: extras_require (Untested)
   │  ├─ Method: get_git_exclude_path
   │  ├─ Method: get_license_path
   │  ├─ Method: get_manifest_path
   │  ├─ Method: get_metadata_path
   │  ├─ Method: get_package_paths_gen
   │  ├─ Method: get_path_from_name (Untested)
   │  ├─ Method: get_readme_path
   │  ├─ Method: get_repo_path_child (Untested)
   │  ├─ Method: get_repo_path_parent (Untested)
   │  ├─ Method: get_repos_path
   │  ├─ Method: get_setup_path
   │  ├─ Method: get_test_path
   │  ├─ Method: get_test_paths
   │  ├─ Method: get_workflow_path
   │  ├─ Method: git_changed_files
   │  ├─ Method: has_metadata
   │  ├─ Property: install_requires (Untested)
   │  ├─ Method: is_general (Untested)
   │  ├─ Method: load_metadata
   │  ├─ Property: manifest
   │  ├─ Property: name
   │  ├─ Method: path_exists
   │  ├─ Method: pip_install
   │  ├─ Method: text_in_tests
   │  ├─ Property: topics
   │  ├─ Method: unittest
   │  ├─ Method: upload
   │  └─ Property: version
   ├─ Class: PyPI
   │  ├─ Method: download
   │  ├─ Method: exists
   │  ├─ Method: get_date
   │  ├─ Method: get_owners_packages
   │  ├─ Method: get_tarball_url
   │  ├─ Method: get_version
   │  ├─ Method: is_general (Untested)
   │  └─ Method: reserve_name (Untested)
   ├─ Method: commit_and_push
   ├─ Method: compare_local_to_github
   ├─ Method: compare_local_to_pypi
   ├─ Method: exists
   ├─ Method: filter_relative_filenames
   ├─ Method: general_bumped_set
   ├─ Method: general_changed_dict
   ├─ Method: generate_git_exclude
   ├─ Method: generate_license
   ├─ Method: generate_localfiles (Untested)
   ├─ Method: generate_manifest
   ├─ Method: generate_personal_readme
   ├─ Method: generate_readme
   ├─ Method: generate_setup
   ├─ Method: generate_workflow
   ├─ Method: get_attributes_markdown
   ├─ Method: get_badges_dict
   ├─ Method: get_classifiers
   ├─ Method: get_description_markdown
   ├─ Method: get_env
   ├─ Method: get_footnote_markdown
   ├─ Method: get_information_markdown
   ├─ Method: get_installation_markdown
   ├─ Method: get_latest_release
   ├─ Method: get_ordered_packagers
   ├─ Method: get_owners_package_names
   ├─ Method: get_sync_job
   ├─ Method: get_todos
   ├─ Method: get_topics
   ├─ Method: get_triggers
   ├─ Method: get_unittest_job
   ├─ Method: get_untested_objInfo_dict (Untested)
   ├─ Method: github_link
   ├─ Method: github_link_path_line
   ├─ Method: if_publish_bump
   ├─ Method: if_publish_publish
   ├─ Method: is_bumped
   ├─ Method: is_general (Untested)
   ├─ Method: relative_path_is_aesthetic
   ├─ Method: run_ordered_methods
   ├─ Method: spawn_children (Untested)
   ├─ Method: spawn_parents (Untested)
   ├─ 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: workflow_sync
   └─ Method: workflow_unittest

Todo

Module Message
pypi.py Move download to it's own package.
pypi.py Find a faster fetch for latest PyPI version.
pypi.py Find a faster fetch for latest PyPI datetime.
local_repo.py Search for imports to list dependencies.
packager.py Add a check in workflow to make sure it doesn't use a pypi version in case of wrong order.
packager.py Allow github, pypi or local repo not to exist in any combination.
packager.py Support writing [CI MAJOR] in msg to bump major for example.
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
shared.py Create unittest for 'is_general'.
local_repo.py Create unittest for 'enabled'.
local_repo.py Create unittest for 'extras_require'.
local_repo.py Create unittest for 'get_path_from_name'.
local_repo.py Create unittest for 'get_repo_path_child'.
local_repo.py Create unittest for 'get_repo_path_parent'.
local_repo.py Create unittest for 'install_requires'.
pypi.py Create unittest for 'reserve_name'.
packager.py Create unittest for 'generate_localfiles'.
packager_relations.py Create unittest for 'get_untested_objInfo_dict'.
packager.py Create unittest for 'spawn_children'.
packager.py Create unittest for 'spawn_parents'.
Generated 2021-04-10 14:44 CEST for commit 9c273b8.

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

generalpackager-0.3.tar.gz (24.7 kB view hashes)

Uploaded Source

Built Distribution

generalpackager-0.3-py3-none-any.whl (30.2 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