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 6 other make up ManderaGeneral.

Information

Package Ver Latest Release Python Platform Lvl Todo Tests
generalpackager 0.3.13 2021-12-23 13:57 CET 3.8, 3.9 Windows, Ubuntu 4 28 86.7 %

Contents

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

Installation

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

Attributes

Module: generalpackager
├─ Class: GitHub
│  ├─ Method: download
│  ├─ Method: exists
│  ├─ Method: get_description
│  ├─ Method: get_owners_packages
│  ├─ Method: get_topics
│  ├─ Method: get_website
│  ├─ Method: is_general
│  ├─ 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
│  ├─ Property: module
│  └─ Property: objInfo
├─ Class: LocalRepo
│  ├─ Method: bump_version
│  ├─ Method: create_sdist
│  ├─ Property: description
│  ├─ Property: enabled
│  ├─ Method: exists
│  ├─ Property: extras_require
│  ├─ Method: format_file (Untested)
│  ├─ Method: generate_exe (Untested)
│  ├─ Method: get_exeproduct_path (Untested)
│  ├─ Method: get_exetarget_path (Untested)
│  ├─ Method: get_generate_path (Untested)
│  ├─ Method: get_git_exclude_path
│  ├─ Method: get_init_path
│  ├─ Method: get_license_path
│  ├─ Method: get_manifest_path
│  ├─ Method: get_metadata_dict
│  ├─ Method: get_metadata_path
│  ├─ Method: get_org_readme_path (Untested)
│  ├─ Method: get_package_paths_gen
│  ├─ Method: get_path_from_name
│  ├─ Method: get_randomtesting_path (Untested)
│  ├─ Method: get_readme_path
│  ├─ Method: get_repo_path_child
│  ├─ Method: get_repo_path_parent
│  ├─ Method: get_repos_path
│  ├─ Method: get_setup_path
│  ├─ Method: get_test_path
│  ├─ Method: get_test_paths
│  ├─ Method: get_test_template_path (Untested)
│  ├─ Method: get_workflow_path
│  ├─ Method: git_changed_files
│  ├─ Method: has_metadata
│  ├─ Property: install_requires
│  ├─ Method: is_general
│  ├─ Method: load_metadata
│  ├─ Property: manifest
│  ├─ Property: name
│  ├─ Method: path_exists
│  ├─ Method: pip_install
│  ├─ Method: pip_uninstall
│  ├─ Property: private (Untested)
│  ├─ Method: replace_camel_case (Untested)
│  ├─ Method: replace_docstrings (Untested)
│  ├─ Method: text_in_tests
│  ├─ Property: topics
│  ├─ Method: unittest
│  ├─ Method: upload
│  ├─ Property: version
│  └─ Method: write_metadata
├─ Class: Packager
│  ├─ Method: commit_and_push
│  ├─ Method: compare_local_to_github
│  ├─ Method: compare_local_to_pypi
│  ├─ Method: create_blank_locally (Untested)
│  ├─ Method: exists
│  ├─ Method: filter_relative_filenames
│  ├─ Method: general_bumped_set
│  ├─ Method: general_changed_dict
│  ├─ Method: generate_generate (Untested)
│  ├─ Method: generate_git_exclude
│  ├─ Method: generate_init (Untested)
│  ├─ Method: generate_license
│  ├─ Method: generate_localfiles
│  ├─ Method: generate_manifest
│  ├─ Method: generate_personal_readme
│  ├─ Method: generate_randomtesting (Untested)
│  ├─ Method: generate_readme
│  ├─ Method: generate_setup
│  ├─ Method: generate_test_template (Untested)
│  ├─ Method: generate_workflow
│  ├─ Method: get_attributes_markdown
│  ├─ Method: get_badges_dict
│  ├─ Method: get_classifiers
│  ├─ Method: get_dependants
│  ├─ Method: get_dependencies
│  ├─ 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_new_packager
│  ├─ Method: get_ordered_packagers
│  ├─ Method: get_owners_package_names
│  ├─ Method: get_sync_job
│  ├─ Method: get_todos
│  ├─ Method: get_todos_markdown
│  ├─ Method: get_topics
│  ├─ Method: get_triggers
│  ├─ Method: get_unittest_job
│  ├─ Method: get_untested_objInfo_dict
│  ├─ Method: github_link
│  ├─ Method: github_link_path_line
│  ├─ Method: if_publish_bump
│  ├─ Method: if_publish_publish
│  ├─ Method: is_bumped
│  ├─ Method: is_general
│  ├─ Method: relative_path_is_aesthetic
│  ├─ Method: reserve_name
│  ├─ Method: run_ordered_methods
│  ├─ Property: simple_name (Untested)
│  ├─ Method: spawn_children
│  ├─ Method: spawn_parents
│  ├─ Method: step_install_necessities
│  ├─ Method: step_install_package_git
│  ├─ Method: step_install_package_pip
│  ├─ Method: step_run_packager_method
│  ├─ Method: step_setup_python
│  ├─ Method: step_setup_ssh (Untested)
│  ├─ Method: steps_setup
│  ├─ Method: sync_github_metadata
│  ├─ Method: upload_package_summary (Untested)
│  ├─ Method: workflow_sync
│  └─ Method: workflow_unittest
└─ Class: PyPI
   ├─ Method: download
   ├─ Method: exists
   ├─ Method: get_date
   ├─ Method: get_owners_packages
   ├─ Method: get_tarball_url
   ├─ Method: get_version
   └─ Method: is_general

Todo

Module Message
packager.py Prevent workflow using pypi to install a general package.
github.py Get and Set GitHub repo private.
local_repo.py Search for imports to list dependencies.
local_repo.py Decoupled JSON serialize instructions with custom dumps in lib.
local_repo.py Make sure twine is installed when trying to upload to pypi.
pypi.py Move download to it's own package.
pypi.py Find a faster fetch for latest PyPI version and datetime.
packager_files.py Watermark generated files to prevent mistake of thinking you can modify them directly.
packager_markdown.py Sort todos by name to decrease automatic commit changes.
local_repo.py [UnitTest] for Method: format_file
local_repo.py [UnitTest] for Method: generate_exe
local_repo.py [UnitTest] for Method: get_exeproduct_path
local_repo.py [UnitTest] for Method: get_exetarget_path
local_repo.py [UnitTest] for Method: get_generate_path
local_repo.py [UnitTest] for Method: get_org_readme_path
local_repo.py [UnitTest] for Method: get_randomtesting_path
local_repo.py [UnitTest] for Method: get_test_template_path
local_repo.py [UnitTest] for Property: private
local_repo.py [UnitTest] for Method: replace_camel_case
local_repo.py [UnitTest] for Method: replace_docstrings
packager_files.py [UnitTest] for Method: create_blank_locally
packager_files.py [UnitTest] for Method: generate_generate
packager_files.py [UnitTest] for Method: generate_init
packager_files.py [UnitTest] for Method: generate_randomtesting
packager_files.py [UnitTest] for Method: generate_test_template
packager.py [UnitTest] for Property: simple_name
packager_workflow.py [UnitTest] for Method: step_setup_ssh
packager_workflow.py [UnitTest] for Method: upload_package_summary
Generated 2021-12-23 13:57 CET for commit 5d86799.

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.13.tar.gz (31.2 kB view hashes)

Uploaded Source

Built Distribution

generalpackager-0.3.13-py3-none-any.whl (34.3 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