-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/initial structure #1
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe pull request introduces a comprehensive setup for the Colony Print API project, establishing a robust development and deployment infrastructure. It includes GitHub Actions workflows for continuous integration and deployment, configuration files for various development environments, and a complete Python package structure. The project now supports multiple Python versions, includes type hints, and provides example applications and scripts for interacting with the Colony Print API. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (27)
Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This pull request introduces a significant number of changes to set up the project structure, workflows, and initial implementation of the Colony Print API client. The most important changes include the addition of GitHub workflows for deployment and testing, the setup of project configuration files, and the initial implementation of the API client and its components.
GitHub Workflows:
.github/workflows/deploy.yml
: Added a deploy workflow triggered by tag pushes, which includes steps for building, testing, and uploading the package to PyPI..github/workflows/main.yml
: Added a main workflow triggered by pushes, which includes steps for building and testing across multiple Python versions and PyPy.Project Configuration:
.project
: Added project configuration for Eclipse with PyDev nature..pydevproject
: Added PyDev project settings for Eclipse.pytest.ini
: Added pytest configuration to specify test file patterns and test paths.setup.cfg
: Added setup configuration for building a universal wheel.setup.py
: Added setup script for the Colony Print API client package, including metadata and dependencies.API Client Implementation:
src/colony_print/__init__.py
: Added initialization of the Colony Print API module.src/colony_print/base.py
: Implemented the base API class with methods for building requests and a ping method.src/colony_print/node.py
: Implemented the NodeAPI class with methods for listing nodes and printing jobs.src/colony_print/scripts/printer.py
: Added a script for printing a test message using the API client.Documentation and Metadata:
CHANGELOG.md
: Added a changelog file adhering to the Keep a Changelog format.README.md
: Updated the README file with a proper title and description.src/colony_print/test/__init__.py
: Added initial test module with licensing information.Summary by CodeRabbit
Release Notes
New Features
Infrastructure
requirements.txt
Documentation
README.md
andCHANGELOG.md
Testing
Chores
.gitignore
to exclude development and build artifacts